🐛 Fix: optimized software UI

ISSUES CLOSED: #12
This commit is contained in:
萌萌哒赫萝 2023-02-27 10:24:50 +08:00
parent 1bb48b6e76
commit d6ce555054
5 changed files with 34 additions and 8 deletions

View File

@ -137,7 +137,7 @@
<el-col
v-for="(item, index) in filterList"
:key="item.id"
:xs="24"
:xs="12"
:sm="12"
:md="8"
:lg="3"
@ -658,6 +658,9 @@ export default {
&.active
transform: rotate(180deg)
#gallery-view
position absolute
left 140px
right 0
height 100%
.cursor-pointer
cursor pointer
@ -692,7 +695,6 @@ export default {
background #44B363
color #fff
#gallery-view
position relative
.round
border-radius 14px
.pull-right

View File

@ -937,6 +937,9 @@ export default {
color #49B1F5
#picgo-setting
height 100%
position absolute
left 140px
right 0
.sub-title
font-size 14px
.setting-list

View File

@ -54,7 +54,7 @@
v-for="item in pluginList"
:key="item.fullName"
class="plugin-item__container"
:span="12"
:span="24"
>
<div
class="plugin-item"
@ -90,7 +90,7 @@
</div>
<div class="plugin-item__info-bar">
<span class="plugin-item__author">
{{ item.author }}
{{ item.author.replace(/<.*>/, '') }}
</span>
<span class="plugin-item__config">
<template v-if="searchText">
@ -546,7 +546,9 @@ export default {
<style lang='stylus'>
$darwinBg = #172426
#plugin-view
position relative
position absolute
left 140px
right 0
padding 0 20px 0
.el-loading-mask
background-color rgba(0, 0, 0, 0.8)
@ -639,9 +641,11 @@ $darwinBg = #172426
font-size 16px
height 22px
line-height 22px
// font-weight 600
font-weight 600
cursor pointer
text-overflow ellipsis
white-space nowrap
overflow hidden
transition all .2s ease-in-out
&:hover
color: #1B9EF3

View File

@ -310,6 +310,9 @@ export default {
align-items center
justify-content center
#upload-view
position absolute
left 140px
right 0
height 100%
.view-title
margin 10vh auto 10px
@ -350,6 +353,7 @@ export default {
.el-progress-bar__inner
transition all .2s ease-in-out
.paste-style
justify-content center
text-align center
margin-top 16px
display flex

View File

@ -141,7 +141,7 @@ function openEditPage (configId: string) {
}
function formatTime (time: number): string {
return dayjs(time).format('YYYY-MM-DD HH:mm:ss')
return dayjs(time).format('YY/MM/DD HH:mm')
}
async function deleteConfig (id: string) {
@ -183,8 +183,10 @@ export default {
</script>
<style lang='stylus'>
#config-list-view
position relative
position absolute
min-height 100%
left 150px
right 0
overflow-x hidden
overflow-y auto
padding-bottom 50px
@ -218,12 +220,23 @@ export default {
position absolute
right 5px
top 8px
left 0
font-size 18pxc
word-break break-all
display flex
align-items center
color #eee
.el-icon-edit
right 20px
position absolute
top 2px
margin-right 10px
cursor pointer
.el-icon-delete
position absolute
top 2px
margin-right 10px
right 0
cursor pointer
.el-icon-edit
margin-right 10px