diff --git a/package.json b/package.json index 08333a6..a07498f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "snavigation", "private": true, - "version": "2.0.0 beta 4", + "version": "2.0.0 beta 5", "type": "module", "scripts": { "dev": "vite --host", diff --git a/public/lib/iconfont.js b/public/lib/iconfont.js index 904e813..b355350 100644 --- a/public/lib/iconfont.js +++ b/public/lib/iconfont.js @@ -1 +1 @@ -window._iconfont_svg_string_4182315='',function(t){var c=(c=document.getElementsByTagName("script"))[c.length-1],l=c.getAttribute("data-injectcss"),c=c.getAttribute("data-disable-injectsvg");if(!c){var i,o,a,e,h,s=function(c,l){l.parentNode.insertBefore(c,l)};if(l&&!t.__iconfont__svg__cssinject__){t.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}i=function(){var c,l=document.createElement("div");l.innerHTML=t._iconfont_svg_string_4182315,(l=l.getElementsByTagName("svg")[0])&&(l.setAttribute("aria-hidden","true"),l.style.position="absolute",l.style.width=0,l.style.height=0,l.style.overflow="hidden",l=l,(c=document.body).firstChild?s(l,c.firstChild):c.appendChild(l))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(i,0):(o=function(){document.removeEventListener("DOMContentLoaded",o,!1),i()},document.addEventListener("DOMContentLoaded",o,!1)):document.attachEvent&&(a=i,e=t.document,h=!1,d(),e.onreadystatechange=function(){"complete"==e.readyState&&(e.onreadystatechange=null,n())})}function n(){h||(h=!0,a())}function d(){try{e.documentElement.doScroll("left")}catch(c){return void setTimeout(d,50)}n()}}(window); \ No newline at end of file +window._iconfont_svg_string_4182315='',function(t){var c=(c=document.getElementsByTagName("script"))[c.length-1],l=c.getAttribute("data-injectcss"),c=c.getAttribute("data-disable-injectsvg");if(!c){var i,o,a,e,h,s=function(c,l){l.parentNode.insertBefore(c,l)};if(l&&!t.__iconfont__svg__cssinject__){t.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}i=function(){var c,l=document.createElement("div");l.innerHTML=t._iconfont_svg_string_4182315,(l=l.getElementsByTagName("svg")[0])&&(l.setAttribute("aria-hidden","true"),l.style.position="absolute",l.style.width=0,l.style.height=0,l.style.overflow="hidden",l=l,(c=document.body).firstChild?s(l,c.firstChild):c.appendChild(l))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(i,0):(o=function(){document.removeEventListener("DOMContentLoaded",o,!1),i()},document.addEventListener("DOMContentLoaded",o,!1)):document.attachEvent&&(a=i,e=t.document,h=!1,d(),e.onreadystatechange=function(){"complete"==e.readyState&&(e.onreadystatechange=null,n())})}function n(){h||(h=!0,a())}function d(){try{e.documentElement.doScroll("left")}catch(c){return void setTimeout(d,50)}n()}}(window); \ No newline at end of file diff --git a/src/components/AllFunc/AllBox.vue b/src/components/AllFunc/AllBox.vue index 7bc9d2d..6bf1e7c 100644 --- a/src/components/AllFunc/AllBox.vue +++ b/src/components/AllFunc/AllBox.vue @@ -4,7 +4,7 @@ 常用 即将完善 - 还能有啥呢 😢 + 还能有啥呢 😢 diff --git a/src/components/AllFunc/AllFunc.vue b/src/components/AllFunc/AllFunc.vue index 2b28827..a3c10cd 100644 --- a/src/components/AllFunc/AllFunc.vue +++ b/src/components/AllFunc/AllFunc.vue @@ -28,51 +28,61 @@ const status = statusStore(); border-radius: 8px; transition: opacity 0.3s, transform 0.3s, margin-top 0.3s, height 0.3s; z-index: 2; - - :deep(.scrollbar) { - max-height: calc(460px - 84px); - } - :deep(.set-item) { - width: 100%; - border-radius: 8px; - margin-bottom: 12px; - border: none; - box-shadow: var(--main-box-shadow); - --n-color: var(--main-background-light-color); - .n-card__content { - display: flex; - flex-direction: row; - align-items: center; - justify-content: space-between; - .desc { + .all { + overflow: hidden; + height: 100%; + :deep(.scrollbar) { + max-height: calc(460px - 84px); + } + :deep(.set-item) { + width: 100%; + border-radius: 8px; + margin-bottom: 12px; + border: none; + box-shadow: var(--main-box-shadow); + --n-color: var(--main-background-light-color); + .n-card__content { display: flex; flex-direction: row; align-items: center; justify-content: space-between; - width: 100%; - } - .name { - display: flex; - flex-direction: column; - .title { - font-size: 16px; + .desc { + display: flex; + flex-direction: row; + align-items: center; + justify-content: space-between; + width: 100%; + @media (max-width: 720px) { + flex-direction: column; + align-items: flex-start; + .name { + margin-bottom: 8px; + } + } } - .tip { - font-size: 13px; - opacity: 0.8; + .name { + display: flex; + flex-direction: column; + .title { + font-size: 16px; + } + .tip { + font-size: 13px; + opacity: 0.8; + } + } + .set { + width: 200px; + @media (max-width: 768px) { + width: 140px; + min-width: 140px; + } } } - .set { - width: 200px; - @media (max-width: 768px) { - width: 140px; - min-width: 140px; - } + &:last-child { + margin-bottom: 0; } } - &:last-child { - margin-bottom: 0; - } } &.big { height: 80%; diff --git a/src/components/AllFunc/AllSet.vue b/src/components/AllFunc/AllSet.vue index 4235681..eead552 100644 --- a/src/components/AllFunc/AllSet.vue +++ b/src/components/AllFunc/AllSet.vue @@ -1,176 +1,211 @@ - - - - 壁纸 - - - - 壁纸偏好 - 除默认以外的其他选项可能会导致页面载入缓慢 - - - - - 恢复默认 + + + + + 壁纸 + + + + 壁纸偏好 + + 除默认以外的其他选项可能会导致页面载入缓慢 + + + + + + 恢复默认 + + + + + + + {{ backgroundType === 4 ? "已开启自定义" : "自定义" }} - - - 自定义 - - - - - + + - - - - - 搜索 - - - 搜索引擎 - 切换或自定义搜索引擎 - - { - status.setSiteStatus('focus'); - status.setEngineChangeStatus(true); - } - " - > - 前往调整 - - - - - 搜索建议 - 是否显示搜索建议 - - - - - - 跳转方式 - 全站链接跳转方式 - - + + + + + 搜索 + + + 搜索引擎 + 切换或自定义搜索引擎 + + { + status.setSiteStatus('focus'); + status.setEngineChangeStatus(true); + } + " + > + 前往调整 + + + + + 搜索建议 + 是否显示搜索建议 + + + + + + 跳转方式 + 全站链接跳转方式 + + + + + + + + 壁纸 + + + 壁纸遮罩 + 壁纸周围是否显示暗色遮罩 + + + + 天气与时间 + + + 时间显秒 + 是否在分钟后面显示秒数 + + + + + + 时钟显零 + 是否在时钟小于 10 时补 0 + + + + 搜索框 + + + 自动聚焦 + 打开网站时自动聚焦搜索框 + + + + + + 自动失焦 + 跳转搜索后搜索框自动失焦 + + + + + + + + 重置 + + + 站点重置 + 若站点显示异常或出现问题时可尝试此操作 + + 重置 + + 备份 + + + 站点备份 + 将站点配置及个性化内容进行备份 + + 备份 + + 恢复 + + + 数据恢复 + 将备份的站点内容进行恢复 + + + + 恢复 + + + + + + + + + + - - - - - - 壁纸 - - - 壁纸遮罩 - 壁纸周围是否显示暗色遮罩 - - - - 天气与时间 - - - 时间显秒 - 是否在分钟后面显示秒数 - - - - - - 时钟显零 - 是否在时钟小于 10 时补 0 - - - - 搜索框 - - - 自动聚焦 - 打开网站时自动聚焦搜索框 - - - - - - 自动失焦 - 跳转搜索后搜索框自动失焦 - - - - - - - - 重置 - - - 站点重置 - 若站点显示异常或出现问题时可尝试此操作 - - 重置 - - 备份 - - - 站点备份 - 将站点配置及个性化内容进行备份 - - 备份 - - 恢复 - - - 数据恢复 - 将备份的站点内容进行恢复 - - - - 恢复 + + + + + + 取消 - - - - + 确认 + + + +