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

View File

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

View File

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

View File

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

View File

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