Skip to content

Commit

Permalink
chore: 修改面板样式
Browse files Browse the repository at this point in the history
  • Loading branch information
dlzmoe committed Sep 4, 2024
1 parent f9334e8 commit 286612d
Show file tree
Hide file tree
Showing 4 changed files with 283 additions and 292 deletions.
269 changes: 132 additions & 137 deletions dist/linuxdo-scripts.user.js

Large diffs are not rendered by default.

269 changes: 132 additions & 137 deletions linuxdo-scripts.user.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<dialog open id="menu_suspendedball">
<div class="menu-header">
<div class="title">linuxdo 增强插件设置 {{ version }}</div>
<div class="title">linuxdo 增强插件设置</div>
<div class="close" @click="closedialog">+</div>
</div>
<div class="menu-flex">
Expand All @@ -24,6 +24,7 @@
<li><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24" class="icon-sm"><path fill="currentColor" fill-rule="evenodd" d="M12.4 3.767a1 1 0 0 0-.8 0l-6 2.625a1 1 0 0 0-.6.916V13c0 1.714.616 3.283 1.638 4.5A6.99 6.99 0 0 1 12 15c2.153 0 4.078.972 5.362 2.5A6.97 6.97 0 0 0 19 13V7.308a1 1 0 0 0-.6-.916zm3.47 15.067A4.99 4.99 0 0 0 12 17a4.99 4.99 0 0 0-3.87 1.834A6.97 6.97 0 0 0 12 20c1.43 0 2.762-.43 3.87-1.166m-5.072-16.9a3 3 0 0 1 2.405 0l6 2.626A3 3 0 0 1 21 7.308V13a9 9 0 1 1-18 0V7.308A3 3 0 0 1 4.798 4.56zM12 8.5a1.75 1.75 0 1 0 0 3.5 1.75 1.75 0 0 0 0-3.5m-3.75 1.75a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0" clip-rule="evenodd"></path></svg>用户标签</li>
<li><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-brand-openai"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M11.217 19.384a3.501 3.501 0 0 0 6.783 -1.217v-5.167l-6 -3.35" /><path d="M5.214 15.014a3.501 3.501 0 0 0 4.446 5.266l4.34 -2.534v-6.946" /><path d="M6 7.63c-1.391 -.236 -2.787 .395 -3.534 1.689a3.474 3.474 0 0 0 1.271 4.745l4.263 2.514l6 -3.348" /><path d="M12.783 4.616a3.501 3.501 0 0 0 -6.783 1.217v5.067l6 3.45" /><path d="M18.786 8.986a3.501 3.501 0 0 0 -4.446 -5.266l-4.34 2.534v6.946" /><path d="M18 16.302c1.391 .236 2.787 -.395 3.534 -1.689a3.474 3.474 0 0 0 -1.271 -4.745l-4.308 -2.514l-5.955 3.42" /></svg>AI 配置</li>
<li><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-refresh"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4" /><path d="M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4" /></svg>数据备份同步</li>
<Updates />
</ul>
<div class="menu-body">
<div class="menu-body-item act">
Expand Down Expand Up @@ -79,8 +80,7 @@
<MenuEditorJa :sort="19" v-model="settingData.checked19" />
<!-- 开启列表页导航栏浮动 -->
<MenuStickyNav :sort="20" v-model="settingData.checked20" />
<!-- 检测更新 -->
<Updates />

</div>
<div class="menu-body-item">
<!-- 自定义论坛 logo -->
Expand Down
31 changes: 16 additions & 15 deletions src/components/Other/Updates.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<template>
<div class="item">
<div class="tit">
当前版本:{{ version }}
<a href="https://github.com/dlzmoe/linuxdo-scripts" target="_blank">Github源码</a>
<a href="https://linuxdo-scripts-docs.netlify.app/" target="_blank">使用文档</a>
<img
src="https://img.shields.io/github/stars/dlzmoe%2Flinuxdo-scripts?style=flat"
/>
</div>
<div class="item-foot">
<span>
<a href="https://github.com/dlzmoe/linuxdo-scripts" target="_blank">
Github 源码
</a>
</span>
<span>当前版本:{{ version }}</span>
</div>
</template>

Expand All @@ -22,18 +20,21 @@ export default {
};
</script>
<style lang="less" scoped>
a {
margin-left: 10px;
}
a:hover {
text-decoration: underline;
}
.tit {
.item-foot {
display: flex;
align-items: center;
flex-direction: column;
align-items: flex-start;
position: absolute;
bottom: 70px;
left: 10px;
line-height: 2;
img {
margin-left: 10px;
width: auto !important;
height: 20px !important;
}
}
</style>

0 comments on commit 286612d

Please sign in to comment.