-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ window.pjax ? abcjsInit() : window.addEventListener('load', abcjsInit)
+})()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ window.pjax ? abcjsInit() : window.addEventListener('load', abcjsInit)
+})()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ window.pjax ? abcjsInit() : window.addEventListener('load', abcjsInit)
+})()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+Author: ayozooZ
Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
Related Articles
Announcement
懒惰不是不努力的借口
Contents
- 1. React
- 1.1. React组件的基本要素
- 1.2. React 组件导入导出
- 1.3. JSX书写标签语言
- 1.3.1. 什么是JSX
- 1.3.2. 为什么出现JSX
- 1.3.3. 使用JSX的优势
- 1.3.4. JSX与HTML的区别
- 1.3.5. HTML转换为JSX
- 1.3.6. JSX语法规则
- 1.3.7. JSX语法规则
- 1.3.8. 什么是JSX
- 1.3.9. 为什么出现JSX
- 1.3.10. 使用JSX的优势
- 1.3.11. JSX与HTML的区别
- 1.3.12. HTML转换为JSX
- 1.3.13. JSX语法规则
- 1.3.14. 什么是JSX
- 1.3.15. 为什么出现JSX
- 1.3.16. 使用JSX的优势
- 1.3.17. JSX与HTML的区别
- 1.3.18. HTML转换为JSX
- 1.3.19. JSX语法规则
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ typeof ABCJS === 'object' ? abcjsFn()
+ : getScript('https://cdn.jsdelivr.net/npm/abcjs/dist/abcjs-basic-min.min.js').then(abcjsFn)
+ }
-
-
+ window.pjax ? abcjsInit() : window.addEventListener('load', abcjsInit)
+})()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ typeof ABCJS === 'object' ? abcjsFn()
+ : getScript('https://cdn.jsdelivr.net/npm/abcjs/dist/abcjs-basic-min.min.js').then(abcjsFn)
+ }
-
-
+ window.pjax ? abcjsInit() : window.addEventListener('load', abcjsInit)
+})()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/archives/2022/07/index.html b/archives/2022/07/index.html
index c5f5965..d93950e 100644
--- a/archives/2022/07/index.html
+++ b/archives/2022/07/index.html
@@ -1,278 +1,200 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+July 2022 | ayozooZ
+
+
-
-
-
-
-
-
-
-
-
-Archive | ayozooZ
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ const renderV9 = svg => {
+ mermaidSrc.insertAdjacentHTML('afterend', svg)
+ }
+ typeof renderFn === 'string' ? renderV9(renderFn) : renderV10()
+ })
+ }
+ const loadMermaid = () => {
+ window.loadMermaid ? runMermaid() : getScript('https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js').then(runMermaid)
+ }
+ btf.addGlobalFn('themeChange', runMermaid, 'mermaid')
+ window.pjax ? loadMermaid() : document.addEventListener('DOMContentLoaded', loadMermaid)
+})()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- October 2022 | ayozooZ
+
+
-
-
-
-
-
-
-
-
-
-Archive | ayozooZ
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Um..! 6 posts in total. Keep on posting.
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ if (!itemStr) {
+ return undefined
+ }
+ const item = JSON.parse(itemStr)
+ const now = Date.now()
+
+ if (now > item.expiry) {
+ localStorage.removeItem(key)
+ return undefined
+ }
+ return item.value
+ }
+ }
+
+ win.getScript = (url, attr = {}) => new Promise((resolve, reject) => {
+ const script = document.createElement('script')
+ script.src = url
+ script.async = true
+ script.onerror = reject
+ script.onload = script.onreadystatechange = function() {
+ const loadState = this.readyState
+ if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
+ script.onload = script.onreadystatechange = null
+ resolve()
+ }
+
+ Object.keys(attr).forEach(key => {
+ script.setAttribute(key, attr[key])
+ })
+
+ document.head.appendChild(script)
+ })
+
+ win.getCSS = (url, id = false) => new Promise((resolve, reject) => {
+ const link = document.createElement('link')
+ link.rel = 'stylesheet'
+ link.href = url
+ if (id) link.id = id
+ link.onerror = reject
+ link.onload = link.onreadystatechange = function() {
+ const loadState = this.readyState
+ if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
+ link.onload = link.onreadystatechange = null
+ resolve()
+ }
+ document.head.appendChild(link)
+ })
+
+ win.activateDarkMode = () => {
+ document.documentElement.setAttribute('data-theme', 'dark')
+ if (document.querySelector('meta[name="theme-color"]') !== null) {
+ document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
+ }
+ }
+ win.activateLightMode = () => {
+ document.documentElement.setAttribute('data-theme', 'light')
+ if (document.querySelector('meta[name="theme-color"]') !== null) {
+ document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
+ }
+ }
+ const t = saveToLocal.get('theme')
+
+ if (t === 'dark') activateDarkMode()
+ else if (t === 'light') activateLightMode()
+
+ const asideStatus = saveToLocal.get('aside-status')
+ if (asideStatus !== undefined) {
+ if (asideStatus === 'hide') {
+ document.documentElement.classList.add('hide-aside')
+ } else {
+ document.documentElement.classList.remove('hide-aside')
+ }
+ }
+
+ const detectApple = () => {
+ if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
+ document.documentElement.classList.add('apple')
+ }
+ }
+ detectApple()
+ })(window)
+
+
+July 2022
Articles - 1
2022
Announcement
懒惰不是不努力的借口
+
+ Categories
+
+
+ -
+
- 前端框架3 +
Info
Article :
6
Runtime :
Total Count :
39.5k
UV :
PV :
Last Update :
\ No newline at end of file
diff --git a/archives/2022/10/index.html b/archives/2022/10/index.html
index cf4856d..a1830eb 100644
--- a/archives/2022/10/index.html
+++ b/archives/2022/10/index.html
@@ -1,278 +1,200 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 2022 | ayozooZ
+
+
-
-
-
-
-
-
-
-
-
-Archive | ayozooZ
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Um..! 6 posts in total. Keep on posting.
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ if (!itemStr) {
+ return undefined
+ }
+ const item = JSON.parse(itemStr)
+ const now = Date.now()
+
+ if (now > item.expiry) {
+ localStorage.removeItem(key)
+ return undefined
+ }
+ return item.value
+ }
+ }
+
+ win.getScript = (url, attr = {}) => new Promise((resolve, reject) => {
+ const script = document.createElement('script')
+ script.src = url
+ script.async = true
+ script.onerror = reject
+ script.onload = script.onreadystatechange = function() {
+ const loadState = this.readyState
+ if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
+ script.onload = script.onreadystatechange = null
+ resolve()
+ }
+
+ Object.keys(attr).forEach(key => {
+ script.setAttribute(key, attr[key])
+ })
+
+ document.head.appendChild(script)
+ })
+
+ win.getCSS = (url, id = false) => new Promise((resolve, reject) => {
+ const link = document.createElement('link')
+ link.rel = 'stylesheet'
+ link.href = url
+ if (id) link.id = id
+ link.onerror = reject
+ link.onload = link.onreadystatechange = function() {
+ const loadState = this.readyState
+ if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
+ link.onload = link.onreadystatechange = null
+ resolve()
+ }
+ document.head.appendChild(link)
+ })
+
+ win.activateDarkMode = () => {
+ document.documentElement.setAttribute('data-theme', 'dark')
+ if (document.querySelector('meta[name="theme-color"]') !== null) {
+ document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
+ }
+ }
+ win.activateLightMode = () => {
+ document.documentElement.setAttribute('data-theme', 'light')
+ if (document.querySelector('meta[name="theme-color"]') !== null) {
+ document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
+ }
+ }
+ const t = saveToLocal.get('theme')
+
+ if (t === 'dark') activateDarkMode()
+ else if (t === 'light') activateLightMode()
+
+ const asideStatus = saveToLocal.get('aside-status')
+ if (asideStatus !== undefined) {
+ if (asideStatus === 'hide') {
+ document.documentElement.classList.add('hide-aside')
+ } else {
+ document.documentElement.classList.remove('hide-aside')
+ }
+ }
+
+ const detectApple = () => {
+ if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
+ document.documentElement.classList.add('apple')
+ }
+ }
+ detectApple()
+ })(window)
+
+
+October 2022
Articles - 1
Announcement
懒惰不是不努力的借口
+
+ Categories
+
+
+ -
+
- 前端框架3 +
Info
Article :
6
Runtime :
Total Count :
39.5k
UV :
PV :
Last Update :
\ No newline at end of file
diff --git a/archives/2022/index.html b/archives/2022/index.html
index d2a8384..70b15d5 100644
--- a/archives/2022/index.html
+++ b/archives/2022/index.html
@@ -1,298 +1,200 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- August 2023 | ayozooZ
+
+
-
-
-
-
-
-
-
-
-
-Archive | ayozooZ
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Um..! 6 posts in total. Keep on posting.
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ if (now > item.expiry) {
+ localStorage.removeItem(key)
+ return undefined
+ }
+ return item.value
+ }
+ }
+
+ win.getScript = (url, attr = {}) => new Promise((resolve, reject) => {
+ const script = document.createElement('script')
+ script.src = url
+ script.async = true
+ script.onerror = reject
+ script.onload = script.onreadystatechange = function() {
+ const loadState = this.readyState
+ if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
+ script.onload = script.onreadystatechange = null
+ resolve()
+ }
+
+ Object.keys(attr).forEach(key => {
+ script.setAttribute(key, attr[key])
+ })
+
+ document.head.appendChild(script)
+ })
+
+ win.getCSS = (url, id = false) => new Promise((resolve, reject) => {
+ const link = document.createElement('link')
+ link.rel = 'stylesheet'
+ link.href = url
+ if (id) link.id = id
+ link.onerror = reject
+ link.onload = link.onreadystatechange = function() {
+ const loadState = this.readyState
+ if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
+ link.onload = link.onreadystatechange = null
+ resolve()
+ }
+ document.head.appendChild(link)
+ })
+
+ win.activateDarkMode = () => {
+ document.documentElement.setAttribute('data-theme', 'dark')
+ if (document.querySelector('meta[name="theme-color"]') !== null) {
+ document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
+ }
+ }
+ win.activateLightMode = () => {
+ document.documentElement.setAttribute('data-theme', 'light')
+ if (document.querySelector('meta[name="theme-color"]') !== null) {
+ document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
+ }
+ }
+ const t = saveToLocal.get('theme')
+
+ if (t === 'dark') activateDarkMode()
+ else if (t === 'light') activateLightMode()
+
+ const asideStatus = saveToLocal.get('aside-status')
+ if (asideStatus !== undefined) {
+ if (asideStatus === 'hide') {
+ document.documentElement.classList.add('hide-aside')
+ } else {
+ document.documentElement.classList.remove('hide-aside')
+ }
+ }
+
+ const detectApple = () => {
+ if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
+ document.documentElement.classList.add('apple')
+ }
+ }
+ detectApple()
+ })(window)
+
+
+2022
Articles - 2
Announcement
懒惰不是不努力的借口
+
+ Categories
+
+
+ -
+
- 前端框架3 +
Info
Article :
6
Runtime :
Total Count :
39.5k
UV :
PV :
Last Update :
\ No newline at end of file
diff --git a/archives/2023/08/index.html b/archives/2023/08/index.html
index 65d6986..a851670 100644
--- a/archives/2023/08/index.html
+++ b/archives/2023/08/index.html
@@ -1,278 +1,200 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- October 2023 | ayozooZ
+
+
-
-
-
-
-
-
-
-
-
-Archive | ayozooZ
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Um..! 6 posts in total. Keep on posting.
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ if (!itemStr) {
+ return undefined
+ }
+ const item = JSON.parse(itemStr)
+ const now = Date.now()
+
+ if (now > item.expiry) {
+ localStorage.removeItem(key)
+ return undefined
+ }
+ return item.value
+ }
+ }
+
+ win.getScript = (url, attr = {}) => new Promise((resolve, reject) => {
+ const script = document.createElement('script')
+ script.src = url
+ script.async = true
+ script.onerror = reject
+ script.onload = script.onreadystatechange = function() {
+ const loadState = this.readyState
+ if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
+ script.onload = script.onreadystatechange = null
+ resolve()
+ }
+
+ Object.keys(attr).forEach(key => {
+ script.setAttribute(key, attr[key])
+ })
+
+ document.head.appendChild(script)
+ })
+
+ win.getCSS = (url, id = false) => new Promise((resolve, reject) => {
+ const link = document.createElement('link')
+ link.rel = 'stylesheet'
+ link.href = url
+ if (id) link.id = id
+ link.onerror = reject
+ link.onload = link.onreadystatechange = function() {
+ const loadState = this.readyState
+ if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
+ link.onload = link.onreadystatechange = null
+ resolve()
+ }
+ document.head.appendChild(link)
+ })
+
+ win.activateDarkMode = () => {
+ document.documentElement.setAttribute('data-theme', 'dark')
+ if (document.querySelector('meta[name="theme-color"]') !== null) {
+ document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
+ }
+ }
+ win.activateLightMode = () => {
+ document.documentElement.setAttribute('data-theme', 'light')
+ if (document.querySelector('meta[name="theme-color"]') !== null) {
+ document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
+ }
+ }
+ const t = saveToLocal.get('theme')
+
+ if (t === 'dark') activateDarkMode()
+ else if (t === 'light') activateLightMode()
+
+ const asideStatus = saveToLocal.get('aside-status')
+ if (asideStatus !== undefined) {
+ if (asideStatus === 'hide') {
+ document.documentElement.classList.add('hide-aside')
+ } else {
+ document.documentElement.classList.remove('hide-aside')
+ }
+ }
+
+ const detectApple = () => {
+ if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
+ document.documentElement.classList.add('apple')
+ }
+ }
+ detectApple()
+ })(window)
+
+
+August 2023
Articles - 1
Announcement
懒惰不是不努力的借口
+
+ Categories
+
+
+ -
+
- 前端框架3 +
Info
Article :
6
Runtime :
Total Count :
39.5k
UV :
PV :
Last Update :
\ No newline at end of file
diff --git a/archives/2023/10/index.html b/archives/2023/10/index.html
index 245f551..ae994e5 100644
--- a/archives/2023/10/index.html
+++ b/archives/2023/10/index.html
@@ -1,278 +1,200 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- November 2023 | ayozooZ
+
+
-
-
-
-
-
-
-
-
-
-Archive | ayozooZ
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Um..! 6 posts in total. Keep on posting.
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ if (!itemStr) {
+ return undefined
+ }
+ const item = JSON.parse(itemStr)
+ const now = Date.now()
+
+ if (now > item.expiry) {
+ localStorage.removeItem(key)
+ return undefined
+ }
+ return item.value
+ }
+ }
+
+ win.getScript = (url, attr = {}) => new Promise((resolve, reject) => {
+ const script = document.createElement('script')
+ script.src = url
+ script.async = true
+ script.onerror = reject
+ script.onload = script.onreadystatechange = function() {
+ const loadState = this.readyState
+ if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
+ script.onload = script.onreadystatechange = null
+ resolve()
+ }
+
+ Object.keys(attr).forEach(key => {
+ script.setAttribute(key, attr[key])
+ })
+
+ document.head.appendChild(script)
+ })
+
+ win.getCSS = (url, id = false) => new Promise((resolve, reject) => {
+ const link = document.createElement('link')
+ link.rel = 'stylesheet'
+ link.href = url
+ if (id) link.id = id
+ link.onerror = reject
+ link.onload = link.onreadystatechange = function() {
+ const loadState = this.readyState
+ if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
+ link.onload = link.onreadystatechange = null
+ resolve()
+ }
+ document.head.appendChild(link)
+ })
+
+ win.activateDarkMode = () => {
+ document.documentElement.setAttribute('data-theme', 'dark')
+ if (document.querySelector('meta[name="theme-color"]') !== null) {
+ document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
+ }
+ }
+ win.activateLightMode = () => {
+ document.documentElement.setAttribute('data-theme', 'light')
+ if (document.querySelector('meta[name="theme-color"]') !== null) {
+ document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
+ }
+ }
+ const t = saveToLocal.get('theme')
+
+ if (t === 'dark') activateDarkMode()
+ else if (t === 'light') activateLightMode()
+
+ const asideStatus = saveToLocal.get('aside-status')
+ if (asideStatus !== undefined) {
+ if (asideStatus === 'hide') {
+ document.documentElement.classList.add('hide-aside')
+ } else {
+ document.documentElement.classList.remove('hide-aside')
+ }
+ }
+
+ const detectApple = () => {
+ if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
+ document.documentElement.classList.add('apple')
+ }
+ }
+ detectApple()
+ })(window)
+
+
+October 2023
Articles - 1
2023
Announcement
懒惰不是不努力的借口
+
+ Categories
+
+
+ -
+
- 前端框架3 +
Info
Article :
6
Runtime :
Total Count :
39.5k
UV :
PV :
Last Update :
\ No newline at end of file
diff --git a/archives/2023/11/index.html b/archives/2023/11/index.html
index 7fffc58..0ddabd5 100644
--- a/archives/2023/11/index.html
+++ b/archives/2023/11/index.html
@@ -1,298 +1,200 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 2023 | ayozooZ
+
+
-
-
-
-
-
-
-
-
-
-Archive | ayozooZ
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Um..! 6 posts in total. Keep on posting.
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ if (now > item.expiry) {
+ localStorage.removeItem(key)
+ return undefined
+ }
+ return item.value
+ }
+ }
+
+ win.getScript = (url, attr = {}) => new Promise((resolve, reject) => {
+ const script = document.createElement('script')
+ script.src = url
+ script.async = true
+ script.onerror = reject
+ script.onload = script.onreadystatechange = function() {
+ const loadState = this.readyState
+ if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
+ script.onload = script.onreadystatechange = null
+ resolve()
+ }
+
+ Object.keys(attr).forEach(key => {
+ script.setAttribute(key, attr[key])
+ })
+
+ document.head.appendChild(script)
+ })
+
+ win.getCSS = (url, id = false) => new Promise((resolve, reject) => {
+ const link = document.createElement('link')
+ link.rel = 'stylesheet'
+ link.href = url
+ if (id) link.id = id
+ link.onerror = reject
+ link.onload = link.onreadystatechange = function() {
+ const loadState = this.readyState
+ if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
+ link.onload = link.onreadystatechange = null
+ resolve()
+ }
+ document.head.appendChild(link)
+ })
+
+ win.activateDarkMode = () => {
+ document.documentElement.setAttribute('data-theme', 'dark')
+ if (document.querySelector('meta[name="theme-color"]') !== null) {
+ document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
+ }
+ }
+ win.activateLightMode = () => {
+ document.documentElement.setAttribute('data-theme', 'light')
+ if (document.querySelector('meta[name="theme-color"]') !== null) {
+ document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
+ }
+ }
+ const t = saveToLocal.get('theme')
+
+ if (t === 'dark') activateDarkMode()
+ else if (t === 'light') activateLightMode()
+
+ const asideStatus = saveToLocal.get('aside-status')
+ if (asideStatus !== undefined) {
+ if (asideStatus === 'hide') {
+ document.documentElement.classList.add('hide-aside')
+ } else {
+ document.documentElement.classList.remove('hide-aside')
+ }
+ }
+
+ const detectApple = () => {
+ if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
+ document.documentElement.classList.add('apple')
+ }
+ }
+ detectApple()
+ })(window)
+
+
+November 2023
Articles - 2
Announcement
懒惰不是不努力的借口
+
+ Categories
+
+
+ -
+
- 前端框架3 +
Info
Article :
6
Runtime :
Total Count :
39.5k
UV :
PV :
Last Update :
\ No newline at end of file
diff --git a/archives/2023/index.html b/archives/2023/index.html
index 01a26e5..eb9522b 100644
--- a/archives/2023/index.html
+++ b/archives/2023/index.html
@@ -1,338 +1,200 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 归档 | ayozooZ
+
+
-
-
-
-
-
-
-
-
-
-Archive | ayozooZ
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Um..! 6 posts in total. Keep on posting.
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ const asideStatus = saveToLocal.get('aside-status')
+ if (asideStatus !== undefined) {
+ if (asideStatus === 'hide') {
+ document.documentElement.classList.add('hide-aside')
+ } else {
+ document.documentElement.classList.remove('hide-aside')
+ }
+ }
+
+ const detectApple = () => {
+ if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
+ document.documentElement.classList.add('apple')
+ }
+ }
+ detectApple()
+ })(window)
+
+
+2023
Articles - 4
Announcement
懒惰不是不努力的借口
+
+ Categories
+
+
+ -
+
- 前端框架3 +
Info
Article :
6
Runtime :
Total Count :
39.5k
UV :
PV :
Last Update :
\ No newline at end of file
diff --git a/archives/index.html b/archives/index.html
index 5b44530..1a9a480 100644
--- a/archives/index.html
+++ b/archives/index.html
@@ -1,381 +1,200 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- categories | ayozooZ
+
-
-
-
-
-
-
-
-
-
-categories | ayozooZ
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Um..! 6 posts in total. Keep on posting.
-
-
-
-
- 2023
-
-
-
-
-
-
-
-
- React之Hook篇
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ const asideStatus = saveToLocal.get('aside-status')
+ if (asideStatus !== undefined) {
+ if (asideStatus === 'hide') {
+ document.documentElement.classList.add('hide-aside')
+ } else {
+ document.documentElement.classList.remove('hide-aside')
+ }
+ }
+
+ const detectApple = () => {
+ if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
+ document.documentElement.classList.add('apple')
+ }
+ }
+ detectApple()
+ })(window)
+
+
+归档
Articles - 6
Announcement
懒惰不是不努力的借口
+
+ Categories
+
+
+ -
+
- 前端框架3 +
Info
Article :
6
Runtime :
Total Count :
39.5k
UV :
PV :
Last Update :
\ No newline at end of file
diff --git a/categories/index.html b/categories/index.html
index 59a4774..366565f 100644
--- a/categories/index.html
+++ b/categories/index.html
@@ -1,274 +1,215 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-