feat: use vant replace element-plus as mobile UI framework

This commit is contained in:
RockYang
2024-01-24 17:34:30 +08:00
parent 8dd6bf8933
commit 84bdc6be7f
33 changed files with 437 additions and 3215 deletions

View File

@@ -1,17 +0,0 @@
.title {
color: #fff;
text-align: center;
font-size: 16px;
font-weight: bold;
}
.app-background {
background-color: #282828;
height: 100vh;
}
.mobile-setting .content {
padding-top: 60px;
}
.mobile-setting .content .van-field__label {
width: 100px;
text-align: right;
}

View File

@@ -1,20 +0,0 @@
.title {
color #fff
text-align center
font-size 16px
font-weight bold
}
.app-background {
background-color #282828
height 100vh
}
.mobile-setting {
.content {
padding-top 60px
.van-field__label {
width 100px
text-align right
}
}
}

View File

@@ -1,47 +0,0 @@
.app-background {
background-color: #1c1c1c;
height: 100vh;
}
.mobile-chat-list {
background-color: #1c1c1c;
position: absolute;
top: 40px;
width: 100%;
}
.content .van-cell__value .chat-list-item {
display: flex;
font-size: 16px;
color: #fff;
background-color: #1c1c1c;
}
.content .van-cell__value .chat-list-item .van-image {
min-width: 32px;
width: 32px;
height: 32px;
}
.content .van-cell__value .chat-list-item .van-ellipsis {
margin-top: 5px;
margin-left: 10px;
}
.van-picker-column .picker-option {
display: flex;
width: 100%;
padding: 0 10px;
}
.van-picker-column .picker-option .van-image {
width: 20px;
height: 20px;
margin-right: 5px;
}
.van-nav-bar .van-nav-bar__right .van-icon {
font-size: 20px;
}
.popup {
background-color: #1c1c1c;
}
.dialog {
background-color: #1c1c1c;
}
.field {
background-color: #1c1c1c;
}

View File

@@ -1,58 +0,0 @@
$fontSize = 16px;
.app-background {
background-color: #1c1c1c;
height: 100vh;
}
.mobile-chat-list {
background-color: #1c1c1c;
position: absolute;
top: 40px;
width: 100%;
}
.content {
.van-cell__value {
.chat-list-item {
display flex
font-size $fontSize
color: #fff;
background-color: #1c1c1c;
.van-image {
min-width 32px
width 32px
height 32px
}
.van-ellipsis {
margin-top 5px;
margin-left 10px;
}
}
}
}
.van-picker-column {
.picker-option {
display flex
width 100%
padding 0 10px
.van-image {
width 20px;
height 20px;
margin-right 5px
}
}
}
.van-nav-bar {
.van-nav-bar__right {
.van-icon {
font-size 20px;
}
}
}
.popup {
background-color: #1c1c1c;
}
.dialog {
background-color: #1c1c1c;
}
.field {
background-color: #1c1c1c;
}

View File

@@ -1,45 +1,36 @@
.app-background {
background-color: #1c1c1c;
height: 100vh;
.mobile-chat .message-list-box {
padding-top: 50px;
padding-bottom: 10px;
overflow-x: auto;
background: #f5f5f5;
}
body,
.mobile-chat,
.van-sticky,
.van-nav-bar,
.van-list,
.message-list-box,
.van-cell,
.chat-box,
.van-cell-group,
.van-field {
background-color: #1c1c1c !important;
color: #fff !important;
.mobile-chat .message-list-box .van-cell {
background: none;
font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
}
.chat-box-wrapper {
position: fixed;
bottom: 0;
width: 100%;
background-color: #1c1c1c;
.mobile-chat .chat-box-wrapper .van-sticky .van-cell-group--inset {
margin: 0;
}
.icon-box .van-icon,
.mobile-chat .van-nav-bar__title .van-dropdown-menu__title,
.mobile-chat .van-nav-bar__title .van-cell__title,
.mobile-chat .van-nav-bar__right .van-icon {
color: #fff !important;
.mobile-chat .chat-box-wrapper .van-sticky .van-cell-group--inset .van-cell {
padding: 10px;
}
.mobile-chat .chat-box-wrapper .van-sticky .van-cell-group--inset .van-cell .icon-box .van-icon {
font-size: 24px;
margin: 10px 0;
}
.mobile-chat .chat-box-wrapper .van-sticky .van-cell-group--inset .van-cell .button-voice {
padding: 0 5px;
height: 30px;
}
.mobile-chat .van-nav-bar__title .van-dropdown-menu__title {
margin-right: 15px;
margin-right: 10px;
}
.mobile-chat .van-nav-bar__title .van-cell__title {
text-align: left;
}
.mobile-chat .chat-list-wrapper {
position: fixed;
top: 50px;
bottom: 60px;
width: 100vw;
overflow-y: scroll;
}
.mobile-chat .van-nav-bar__right .van-icon {
font-size: 20px;
}
.van-theme-dark .mobile-chat .message-list-box {
background: #232425;
}

View File

@@ -1,51 +1,61 @@
.app-background {
background-color #1c1c1c
height 100vh
}
body,
.mobile-chat,
.van-sticky,
.van-nav-bar,
.van-list,
.message-list-box
.van-cell,
.chat-box,
.van-cell-group,
.van-field {
background-color #1c1c1c !important
color #fff !important
}
.chat-box-wrapper {
position fixed
bottom 0
width 100%
background-color #1c1c1c
}
.icon-box .van-icon,
.mobile-chat .van-nav-bar__title .van-dropdown-menu__title,
.mobile-chat .van-nav-bar__title .van-cell__title,
.mobile-chat .van-nav-bar__right .van-icon {
color #fff !important
}
.mobile-chat {
.van-nav-bar__title {
.van-dropdown-menu__title {
margin-right 15px
}
.van-cell__title {
text-align left
}
}
.chat-list-wrapper {
position fixed
top 50px
bottom 60px
width 100vw
overflow-y scroll
}
.van-nav-bar__right {
.van-icon {
font-size 20px
}
}
}
.mobile-chat {
.message-list-box {
padding-top 50px
padding-bottom 10px
overflow-x auto
background #F5F5F5;
.van-cell {
background none
font-family: 'Microsoft YaHei', '', Arial, sans-serif;
}
}
.chat-box-wrapper {
.van-sticky {
.van-cell-group--inset {
margin 0
.van-cell {
padding 10px
.icon-box {
.van-icon {
font-size 24px
margin 10px 0
}
}
.button-voice {
padding 0 5px
height 30px
}
}
}
}
}
.van-nav-bar__title {
.van-dropdown-menu__title {
margin-right 10px
}
.van-cell__title {
text-align left
}
}
.van-nav-bar__right {
.van-icon {
font-size 20px
}
}
}
.van-theme-dark {
.mobile-chat {
.message-list-box {
background #232425;
}
}
}

View File

@@ -1,13 +0,0 @@
.custom-scroll ::-webkit-scrollbar {
width: 8px; /* 滚动条宽度 */
}
.custom-scroll ::-webkit-scrollbar-track {
background-color: #282c34;
}
.custom-scroll ::-webkit-scrollbar-thumb {
background-color: #444;
border-radius: 8px;
}
.custom-scroll ::-webkit-scrollbar-thumb:hover {
background-color: #666;
}

View File

@@ -1,26 +0,0 @@
.custom-scroll {
/* */
::-webkit-scrollbar {
width: 8px; /* */
}
/* */
::-webkit-scrollbar-track {
background-color: #282C34;
}
/* */
::-webkit-scrollbar-thumb {
background-color: #444444;
border-radius 8px
}
/* */
::-webkit-scrollbar-thumb:hover {
background-color: #666666;
}
}

View File

@@ -1,45 +0,0 @@
.my-tabbar {
background-color: #171717;
box-shadow: -3px 4px 16px #000;
box-sizing: border-box;
}
.banner {
display: flex;
justify-content: center;
align-items: center;
background-color: #171717;
border-bottom-right-radius: 10px;
box-shadow: 0 -4px 13px #000;
height: 40px;
width: 100%;
position: fixed;
z-index: 2 /* Add z-index */;
}
.banner-title {
color: #2cc995;
font-size: 20px;
font-weight: bold;
text-shadow: 0 -4px 13px #000;
}
.mobile-home {
background-color: #171717;
}
.mobile-home .van-tabbar before {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 50px;
background-color: #171717;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
opacity: 0;
transition: opacity 0.5s;
z-index: -1;
}
.mobile-home .van-tabbar.activeTab before {
opacity: 1;
}
.router-view {
margin-bottom: 50px;
}

View File

@@ -1,45 +0,0 @@
.my-tabbar {
background-color #171717
box-shadow -3px 4px 16px #000
box-sizing border-box
}
.banner {
display flex
justify-content center
align-items center
background-color #171717
border-bottom-right-radius 10px
box-shadow 0 -4px 13px #000
height 40px
width 100%
position fixed
z-index 2 /* Add z-index */
}
.banner-title {
color #2CC995
font-size 20px
font-weight bold
text-shadow 0 -4px 13px #000
}
.mobile-home {
background-color #171717
}
.mobile-home .van-tabbar before {
position absolute
bottom 0
left 0
right 0
height 50px
background-color #171717
border-top-left-radius 10px
border-top-right-radius 10px
opacity 0
transition opacity 0.5s
z-index -1
}
.mobile-home .van-tabbar.activeTab before {
opacity 1
}
.router-view {
margin-bottom 50px
}

View File

@@ -1,252 +0,0 @@
.page-sd {
background-color: #282828;
}
.page-sd .inner {
display: flex;
}
.page-sd .inner .sd-box {
margin: 10px;
background-color: #282828;
min-width: 92%;
max-width: 92%;
padding: 0px;
border-radius: 0px;
color: #fff;
font-size: 14px;
}
.page-sd .inner .sd-box h2 {
font-weight: bold;
font-size: 20px;
text-align: center;
color: #fff;
}
.page-sd .inner .sd-box ::-webkit-scrollbar {
width: 0;
height: 0;
background-color: transparent;
}
.page-sd .inner .sd-box .sd-params {
margin-top: 10px;
overflow: auto;
}
.page-sd .inner .sd-box .sd-params .param-line {
padding: 0 10px;
}
.page-sd .inner .sd-box .sd-params .param-line .el-icon {
position: relative;
top: 3px;
}
.page-sd .inner .sd-box .sd-params .param-line .el-input__suffix-inner .el-icon {
top: 0;
}
.page-sd .inner .sd-box .sd-params .param-line .grid-content,
.page-sd .inner .sd-box .sd-params .param-line .form-item-inner {
display: flex;
}
.page-sd .inner .sd-box .sd-params .param-line .grid-content .el-icon,
.page-sd .inner .sd-box .sd-params .param-line .form-item-inner .el-icon {
margin-left: 10px;
margin-top: 2px;
}
.page-sd .inner .sd-box .sd-params .param-line.pt {
padding-top: 5px;
padding-bottom: 5px;
}
.page-sd .inner .sd-box .submit-btn {
padding: 10px 15px 0 15px;
text-align: center;
}
.page-sd .inner .sd-box .submit-btn .el-button {
width: 100%;
}
.page-sd .inner .sd-box .submit-btn .el-button span {
color: #2d3a4b;
}
.page-sd .inner .el-form .el-form-item__label {
color: #fff;
}
.page-sd .inner .task-list-box {
width: 100%;
padding: 10px;
color: #fff;
overflow-x: hidden;
}
.page-sd .inner .task-list-box .running-job-list .job-item {
width: 100%;
padding: 2px;
background-color: #555;
}
.page-sd .inner .task-list-box .running-job-list .job-item .job-item-inner {
position: relative;
height: 100%;
overflow: hidden;
}
.page-sd .inner .task-list-box .running-job-list .job-item .job-item-inner .progress {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
}
.page-sd .inner .task-list-box .running-job-list .job-item .job-item-inner .progress span {
font-size: 20px;
color: #fff;
}
.page-sd .inner .task-list-box .finish-job-list .job-item {
width: 100%;
height: 100%;
border: 1px solid #666;
padding: 6px;
overflow: hidden;
border-radius: 6px;
transition: all 0.3s ease; /* 添加过渡效果 */
}
.page-sd .inner .task-list-box .finish-job-list .job-item .opt .opt-line {
margin: 6px 0;
}
.page-sd .inner .task-list-box .finish-job-list .job-item .opt .opt-line ul {
display: flex;
flex-flow: row;
}
.page-sd .inner .task-list-box .finish-job-list .job-item .opt .opt-line ul li {
margin-right: 6px;
}
.page-sd .inner .task-list-box .finish-job-list .job-item .opt .opt-line ul li a {
padding: 3px 0;
width: 40px;
text-align: center;
border-radius: 5px;
display: block;
cursor: pointer;
background-color: #4e5058;
color: #fff;
}
.page-sd .inner .task-list-box .finish-job-list .job-item .opt .opt-line ul li a:hover {
background-color: #6d6f78;
}
.page-sd .inner .task-list-box .finish-job-list .job-item .opt .opt-line ul .show-prompt {
font-size: 20px;
cursor: pointer;
}
.page-sd .inner .task-list-box .finish-job-list .animate:hover {
box-shadow: 0 0 10px rgba(71,255,241,0.6); /* 添加阴影效果 */
transform: translateY(-10px); /* 向上移动10像素 */
}
.page-sd .inner .task-list-box .el-image {
width: 100%;
height: 100%;
overflow: visible;
}
.page-sd .inner .task-list-box .el-image img {
height: 100%;
}
.page-sd .inner .task-list-box .el-image .el-image-viewer__wrapper img {
width: auto;
height: auto;
}
.page-sd .inner .task-list-box .el-image .image-slot {
display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
height: 100%;
min-height: 200px;
color: #fff;
height: 240px;
}
.page-sd .inner .task-list-box .el-image .image-slot .iconfont {
font-size: 50px;
margin-bottom: 10px;
}
.page-sd .inner .task-list-box .el-image.upscale {
max-height: 100%;
}
.page-sd .inner .task-list-box .el-image.upscale img {
height: 100%;
}
.page-sd .inner .task-list-box .el-image.upscale .el-image-viewer__wrapper img {
width: auto;
height: auto;
}
.page-sd .el-overlay-dialog .el-dialog {
background-color: #1a1b1e;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__header .el-dialog__title {
color: #f5f5f5;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body {
padding: 0 0 0 15px !important;
display: flex;
height: 100%;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row {
width: 100%;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .img-container {
display: flex;
justify-content: center;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .img-container .image-slot {
display: flex;
height: 100vh;
align-items: center;
justify-content: center;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .img-container .image-slot .el-icon {
font-size: 60px;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info {
background-color: #25262b;
padding: 1rem 1.5rem;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .info-line {
width: 100%;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .info-line .prompt {
background-color: #35363b;
padding: 10px;
color: #999;
overflow: auto;
max-height: 100%;
min-height: 100%;
position: relative;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .info-line .prompt .el-icon {
position: absolute;
right: 10px;
bottom: 10px;
cursor: pointer;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .info-line .wrapper {
margin-top: 10px;
display: flex;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .info-line .wrapper label {
display: flex;
width:100%;
color: #a5a5a5;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .info-line .wrapper .item-value {
display: flex;
width: 100%;
background-color: #35363b;
padding: 2px 5px;
border-radius: 5px;
color: #f5f5f5;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .copy-params {
padding: 20px 0 10px 0;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .copy-params .el-button {
width: 100%;
}
.page-sd .mj-list-item-prompt .el-icon {
margin-left: 10px;
cursor: pointer;
position: relative;
top: 2px;
}

View File

@@ -1,106 +0,0 @@
.page-sd {
background-color: #282828;
.inner {
display: flex;
align-items: center;
justify-content: center;
.sd-box {
background-color #282828
min-width 92%
max-width 92%
padding 0px
border-radius 0px
color #ffffff;
font-size 14px
h2 {
font-weight: bold;
font-size 20px
text-align center
color #fff
}
//
::-webkit-scrollbar {
width: 0;
height: 0;
background-color: transparent;
}
.sd-params {
margin-top 10px
overflow auto
.param-line {
padding 0 10px
.el-icon {
position relative
top 3px
}
.el-input__suffix-inner {
.el-icon {
top 0
}
}
.grid-content
.form-item-inner {
display flex
.el-icon {
margin-left 10px
margin-top 2px
}
}
}
.param-line.pt {
padding-top 5px
padding-bottom 5px
}
}
.submit-btn {
padding 10px 15px 0 15px
text-align center
.el-button {
width 100%
span {
color #2D3A4B
}
}
}
}
.el-form {
.el-form-item__label {
color #ffffff
}
}
@import "mobile/task-mobile-list.styl"
}
@import "sd-task-mobile-dialog.styl"
.mj-list-item-prompt {
.el-icon {
margin-left 10px
cursor pointer
position relative
top 2px
}
}
}

View File

@@ -1,252 +0,0 @@
.page-sd {
background-color: #282828;
}
.page-sd .inner {
display: flex;
align-items: center;
justify-content: center;
}
.page-sd .inner .sd-box {
background-color: #282828;
min-width: 92%;
max-width: 92%;
padding: 0px;
border-radius: 0px;
color: #fff;
font-size: 14px;
}
.page-sd .inner .sd-box h2 {
font-weight: bold;
font-size: 16px;
text-align: center;
color: #fff;
}
.page-sd .inner .sd-box ::-webkit-scrollbar {
width: 0;
height: 0;
background-color: transparent;
}
.page-sd .inner .sd-box .sd-params {
margin-top: 10px;
overflow: auto;
}
.page-sd .inner .sd-box .sd-params .param-line {
padding: 0 10px;
}
.page-sd .inner .sd-box .sd-params .param-line .el-icon {
position: relative;
top: 3px;
}
.page-sd .inner .sd-box .sd-params .param-line .el-input__suffix-inner .el-icon {
top: 0;
}
.page-sd .inner .sd-box .sd-params .param-line .grid-content,
.page-sd .inner .sd-box .sd-params .param-line .form-item-inner {
display: flex;
}
.page-sd .inner .sd-box .sd-params .param-line .grid-content .el-icon,
.page-sd .inner .sd-box .sd-params .param-line .form-item-inner .el-icon {
margin-left: 10px;
margin-top: 2px;
}
.page-sd .inner .sd-box .sd-params .param-line.pt {
padding-top: 5px;
padding-bottom: 5px;
}
.page-sd .inner .sd-box .submit-btn {
padding: 10px 15px 0 15px;
text-align: center;
}
.page-sd .inner .sd-box .submit-btn .el-button {
width: 100%;
}
.page-sd .inner .sd-box .submit-btn .el-button span {
color: #2d3a4b;
}
.page-sd .inner .el-form .el-form-item__label {
color: #fff;
}
.page-sd .inner .task-list-box {
width: 100%;
padding: 5px;
color: #fff;
overflow-x: hidden;
}
.page-sd .inner .task-list-box .running-job-list .job-item {
width: 100%;
padding: 2px;
background-color: #555;
}
.page-sd .inner .task-list-box .running-job-list .job-item .job-item-inner {
position: relative;
height: 100%;
overflow: hidden;
}
.page-sd .inner .task-list-box .running-job-list .job-item .job-item-inner .progress {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
}
.page-sd .inner .task-list-box .running-job-list .job-item .job-item-inner .progress span {
font-size: 20px;
color: #fff;
}
.page-sd .inner .task-list-box .finish-job-list .job-item {
width: 100%;
height: 100%;
border: 1px solid #666;
padding: 6px;
overflow: hidden;
border-radius: 6px;
transition: all 0.3s ease; /* 添加过渡效果 */
}
.page-sd .inner .task-list-box .finish-job-list .job-item .opt .opt-line {
margin: 6px 0;
}
.page-sd .inner .task-list-box .finish-job-list .job-item .opt .opt-line ul {
display: flex;
flex-flow: row;
}
.page-sd .inner .task-list-box .finish-job-list .job-item .opt .opt-line ul li {
margin-right: 6px;
}
.page-sd .inner .task-list-box .finish-job-list .job-item .opt .opt-line ul li a {
padding: 3px 0;
width: 40px;
text-align: center;
border-radius: 5px;
display: block;
cursor: pointer;
background-color: #4e5058;
color: #fff;
}
.page-sd .inner .task-list-box .finish-job-list .job-item .opt .opt-line ul li a:hover {
background-color: #6d6f78;
}
.page-sd .inner .task-list-box .finish-job-list .job-item .opt .opt-line ul .show-prompt {
font-size: 20px;
cursor: pointer;
}
.page-sd .inner .task-list-box .finish-job-list .animate:hover {
box-shadow: 0 0 10px rgba(71,255,241,0.6); /* 添加阴影效果 */
transform: translateY(-10px); /* 向上移动10像素 */
}
.page-sd .inner .task-list-box .el-image {
width: 100%;
height: 100%;
overflow: visible;
}
.page-sd .inner .task-list-box .el-image img {
height: 240px;
}
.page-sd .inner .task-list-box .el-image .el-image-viewer__wrapper img {
width: auto;
height: auto;
}
.page-sd .inner .task-list-box .el-image .image-slot {
display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
height: 100%;
min-height: 200px;
color: #fff;
height: 240px;
}
.page-sd .inner .task-list-box .el-image .image-slot .iconfont {
font-size: 50px;
margin-bottom: 10px;
}
.page-sd .inner .task-list-box .el-image.upscale {
max-height: 310px;
}
.page-sd .inner .task-list-box .el-image.upscale img {
height: 310px;
}
.page-sd .inner .task-list-box .el-image.upscale .el-image-viewer__wrapper img {
width: auto;
height: auto;
}
.page-sd .el-overlay-dialog .el-dialog {
background-color: #1a1b1e;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__header .el-dialog__title {
color: #f5f5f5;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body {
padding: 0 0 0 15px !important;
display: flex;
height: 100%;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row {
width: 100%;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .img-container {
display: flex;
justify-content: center;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .img-container .image-slot {
display: flex;
height: 100vh;
align-items: center;
justify-content: center;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .img-container .image-slot .el-icon {
font-size: 60px;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info {
background-color: #25262b;
padding: 1rem 1.5rem;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .info-line {
width: 100%;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .info-line .prompt {
background-color: #35363b;
padding: 10px;
color: #999;
overflow: auto;
max-height: 100px;
min-height: 50px;
position: relative;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .info-line .prompt .el-icon {
position: absolute;
right: 10px;
bottom: 10px;
cursor: pointer;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .info-line .wrapper {
margin-top: 10px;
display: flex;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .info-line .wrapper label {
display: flex;
width: 100px;
color: #a5a5a5;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .info-line .wrapper .item-value {
display: flex;
width: 100%;
background-color: #35363b;
padding: 2px 5px;
border-radius: 5px;
color: #f5f5f5;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .copy-params {
padding: 30px 0 10px 0;
}
.page-sd .el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .copy-params .el-button {
width: 100%;
}
.page-sd .mj-list-item-prompt .el-icon {
margin-left: 10px;
cursor: pointer;
position: relative;
top: 2px;
}

View File

@@ -1,106 +0,0 @@
.page-sd {
background-color: #282828;
.inner {
display: flex;
align-items: center;
justify-content: center;
.sd-box {
background-color #282828
min-width 92%
max-width 92%
padding 0px
border-radius 0px
color #ffffff;
font-size 14px
h2 {
font-weight: bold;
font-size 16px
text-align center
color #fff
}
//
::-webkit-scrollbar {
width: 0;
height: 0;
background-color: transparent;
}
.sd-params {
margin-top 10px
overflow auto
.param-line {
padding 0 10px
.el-icon {
position relative
top 3px
}
.el-input__suffix-inner {
.el-icon {
top 0
}
}
.grid-content
.form-item-inner {
display flex
.el-icon {
margin-left 10px
margin-top 2px
}
}
}
.param-line.pt {
padding-top 5px
padding-bottom 5px
}
}
.submit-btn {
padding 10px 15px 0 15px
text-align center
.el-button {
width 100%
span {
color #2D3A4B
}
}
}
}
.el-form {
.el-form-item__label {
color #ffffff
}
}
@import "./task-list.styl"
}
@import "./sd-task-dialog.styl"
.mj-list-item-prompt {
.el-icon {
margin-left 10px
cursor pointer
position relative
top 2px
}
}
}

View File

@@ -1,93 +0,0 @@
.page-invitation {
display: flex;
justify-content: center;
background-color: #1c1c1c;
height: 100vh;
overflow-x: hidden;
overflow-y: visible;
}
.page-invitation .inner {
max-width: 100%;
width: 100%;
color: #fff;
}
.page-invitation .inner .center {
display: flex;
justify-content: center;
align-items: center;
}
.page-invitation .inner .title {
color: #fff;
text-align: center;
font-size: 16px;
font-weight: bold;
}
.page-invitation .inner .share-box .info {
line-height: 1.5;
border: 1px solid #444;
border-radius: 10px;
padding: 10px;
margin: 10px;
background-color: #1c1c1c;
}
.page-invitation .inner .share-box .info strong {
color: #f56c6c;
}
.page-invitation .inner .share-box .invite-qrcode {
text-align: center;
margin: 15px;
}
.page-invitation .inner .share-box .invite-url {
margin: 10px;
padding: 8px;
display: flex;
justify-content: space-between;
border: 1px solid #444;
border-radius: 10px;
background-color: #1c1c1c;
}
.page-invitation .inner .share-box .invite-url span {
position: relative;
font-size: 14px;
font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
top: 0px;
}
.page-invitation .inner .invite-stats {
padding: 10px 10px;
}
.page-invitation .inner .invite-stats .item-box {
border-radius: 10px;
padding: 10 0px;
}
.page-invitation .inner .invite-stats .item-box .el-col {
height: 80px;
display: flex;
align-items: center;
justify-content: center;
}
.page-invitation .inner .invite-stats .item-box .el-col .iconfont {
font-size: 30px;
}
.page-invitation .inner .invite-stats .item-box .el-col .item-info {
font-size: 14px;
}
.page-invitation .inner .invite-stats .item-box .el-col .item-info .text,
.page-invitation .inner .invite-stats .item-box .el-col .item-info .num {
padding: 3px 0;
text-align: center;
}
.page-invitation .inner .invite-stats .item-box .el-col .item-info .num {
font-size: 14px;
}
.page-invitation .inner .invite-stats .yellow {
background-color: #fec;
color: #d68f00;
}
.page-invitation .inner .invite-stats .blue {
background-color: #d6e4ff;
color: #1062fe;
}
.page-invitation .inner .invite-stats .green {
background-color: #e7f8eb;
color: #2d9f46;
}

View File

@@ -1,94 +0,0 @@
.page-invitation {
display flex
justify-content center
background-color #1c1c1c
height 100vh
overflow-x hidden
overflow-y visible
.inner {
max-width 100%
width 100%
color #fff
.center {
display flex
justify-content center
align-items center
}
.title {
color #fff
text-align center
font-size 16px
font-weight bold
}
.share-box {
.info {
line-height 1.5
border 1px solid #444444
border-radius 10px
padding 10px
margin 10px
background-color #1c1c1c
strong {
color #f56c6c
}
}
.invite-qrcode {
text-align center
margin 15px
}
.invite-url {
margin 10px
padding 8px
display flex
justify-content space-between
border 1px solid #444444
border-radius 10px
background-color #1c1c1c
span {
position relative
font-size 14px
font-family 'Microsoft YaHei', '', Arial, sans-serif
top 0px
}
}
}
.invite-stats {
padding 10px 10px
.item-box {
border-radius 10px
padding 10 0px
.el-col {
height 80px
display flex
align-items center
justify-content center
.iconfont {
font-size 30px
}
.item-info {
font-size 14px
.text, .num {
padding 3px 0
text-align center
}
.num {
font-size 14px
}
}
}
}
.yellow {
background-color #ffeecc
color #D68F00
}
.blue {
background-color #D6E4FF
color #1062FE
}
.green {
background-color #E7F8EB
color #2D9F46
}
}
}
}

View File

@@ -1,142 +0,0 @@
.app-background {
background-color: #1c1c1c;
height: 100vh;
}
.member {
background-color: #1c1c1c;
height: 100vh;
}
.member .el-dialog .el-dialog__body {
padding-top: 5px;
}
.member .el-dialog .el-dialog__body .pay-container .count-down {
display: flex;
justify-content: center;
}
.member .el-dialog .el-dialog__body .pay-container .pay-qrcode {
display: flex;
justify-content: center;
}
.member .el-dialog .el-dialog__body .pay-container .pay-qrcode .el-image {
width: 280px;
height: 280px;
}
.member .el-dialog .el-dialog__body .pay-container .tip {
display: flex;
justify-content: center;
}
.member .el-dialog .el-dialog__body .pay-container .tip .el-icon {
font-size: 20px;
}
.member .el-dialog .el-dialog__body .pay-container .tip .text {
font-size: 16px;
margin-left: 10px;
}
.member .el-dialog .el-dialog__body .pay-container .tip.success {
color: #07c160;
}
.member .title {
text-align: center;
background-color: #1c1c1c;
font-size: 16px;
color: #fff;
padding: 5px;
font-weight: bold;
}
.member .inner {
color: #fff;
overflow-x: hidden;
overflow-y: visible;
}
.member .inner .user-profile {
padding: 0 20px 0 20px;
background-color: #1c1c1c;
color: #fff;
border-radius: 10px;
width: 100%;
height: 91vh;
}
.member .inner .user-profile .el-form-item__label {
color: #fff;
justify-content: start;
}
.member .inner .user-profile .user-opt .el-col {
padding: 8px;
}
.member .inner .user-profile .user-opt .el-col .el-button {
width: 100%;
}
.member .inner .product-box .info {
padding: 0 20px 0 20px;
}
.member .inner .product-box .info .el-alert__description {
font-size: 14px !important;
color: #1c1c1c;
margin: 0;
}
.member .inner .product-box .list-box {
padding: 0 20px 0 5px;
}
.member .inner .product-box .list-box .product-item {
border: 1px solid #5f5f5f;
border-radius: 6px;
overflow: hidden;
cursor: pointer;
transition: all 0.3s ease /* 添加过渡效果 */;
}
.member .inner .product-box .list-box .product-item .image-container {
display: flex;
justify-content: center;
}
.member .inner .product-box .list-box .product-item .image-container .el-image {
width: 50px;
}
.member .inner .product-box .list-box .product-item .image-container .el-image .el-image__inner {
border-radius: 10px;
}
.member .inner .product-box .list-box .product-item .product-title {
display: flex;
padding: 5px;
}
.member .inner .product-box .list-box .product-item .product-title .name {
width: 100%;
text-align: center;
font-size: 16px;
font-weight: bold;
color: #2cc995;
}
.member .inner .product-box .list-box .product-item .product-info {
padding: 10px 20px;
font-size: 14px;
color: #999;
}
.member .inner .product-box .list-box .product-item .product-info .info-line {
display: flex;
width: 100%;
padding: 2px 0;
}
.member .inner .product-box .list-box .product-item .product-info .info-line .label {
display: flex;
width: 100%;
}
.member .inner .product-box .list-box .product-item .product-info .info-line .price,
.member .inner .product-box .list-box .product-item .product-info .info-line .expire {
display: flex;
width: 100%;
justify-content: right;
}
.member .inner .product-box .list-box .product-item .product-info .info-line .price {
color: #f56c6c;
}
.member .inner .product-box .list-box .product-item .product-info .info-line .expire {
color: #409eff;
}
.member .inner .product-box .list-box .product-item .product-info .pay-way {
padding: 5px 0;
display: flex;
justify-content: space-between;
}
.member .inner .product-box .list-box .product-item hover {
box-shadow: 0 0 10px rgba(71,255,241,0.6) /* 添加阴影效果 */;
transform: translateY(-10px) /* 向上移动10像素 */;
}

View File

@@ -1,149 +0,0 @@
.app-background {
background-color #1c1c1c
height 100vh
}
.member {
background-color #1c1c1c
height 100vh
.el-dialog {
.el-dialog__body {
padding-top 5px
.pay-container {
.count-down {
display flex
justify-content center
}
.pay-qrcode {
display flex
justify-content center
.el-image {
width 280px
height 280px
}
}
.tip {
display flex
justify-content center
.el-icon {
font-size 20px
}
.text {
font-size 16px
margin-left 10px
}
}
.tip.success {
color #07c160
}
}
}
}
.title {
text-align center
background-color #1c1c1c
font-size 16px
color #ffffff
padding 5px
font-weight bold
}
.inner {
color #ffffff
overflow-x hidden
overflow-y visible
.user-profile {
padding 0 20px 0 20px
background-color #1c1c1c
color #ffffff
border-radius 10px
width 100%
height 91vh
.el-form-item__label {
color #ffffff
justify-content start
}
.user-opt {
.el-col {
padding 8px
.el-button {
width 100%
}
}
}
}
.product-box {
.info {
.el-alert__description {
font-size 14px !important
color #1c1c1c
margin 0
}
padding 0 20px 0 20px
}
.list-box {
padding 0 20px 0 5px
.product-item {
border 1px solid #5f5f5f
border-radius 6px
overflow hidden
cursor pointer
transition all 0.3s ease /* */
.image-container {
display flex
justify-content center
.el-image {
width 50px
.el-image__inner {
border-radius 10px
}
}
}
.product-title {
display flex
padding 5px
.name {
width 100%
text-align center
font-size 16px
font-weight bold
color #2cc995
}
}
.product-info {
padding 10px 20px
font-size 14px
color #999999
.info-line {
display flex
width 100%
padding 2px 0
.label {
display flex
width 100%
}
.price, .expire {
display flex
width 100%
justify-content right
}
.price {
color #f56c6c
}
.expire {
color #409eff
}
}
.pay-way {
padding 5px 0
display flex
justify-content space-between
}
}
& hover {
box-shadow 0 0 10px rgba(71, 255, 241, 0.6) /* */
transform translateY(-10px) /* 10 */
}
}
}
}
}
}

View File

@@ -1,72 +0,0 @@
.el-overlay-dialog .el-dialog {
background-color: #1a1b1e;
}
.el-overlay-dialog .el-dialog .el-dialog__header .el-dialog__title {
color: #f5f5f5;
}
.el-overlay-dialog .el-dialog .el-dialog__body {
padding: 0 0 0 15px !important;
display: flex;
height: 100%;
}
.el-overlay-dialog .el-dialog .el-dialog__body .el-row {
width: 100%;
}
.el-overlay-dialog .el-dialog .el-dialog__body .el-row .img-container {
display: flex;
justify-content: center;
}
.el-overlay-dialog .el-dialog .el-dialog__body .el-row .img-container .image-slot {
display: flex;
height: 100vh;
align-items: center;
justify-content: center;
}
.el-overlay-dialog .el-dialog .el-dialog__body .el-row .img-container .image-slot .el-icon {
font-size: 60px;
}
.el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info {
background-color: #25262b;
padding: 1rem 1.5rem;
}
.el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .info-line {
width: 100%;
}
.el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .info-line .prompt {
background-color: #35363b;
padding: 10px;
color: #999;
overflow: auto;
max-height: 100px;
min-height: 50px;
position: relative;
}
.el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .info-line .prompt .el-icon {
position: absolute;
right: 10px;
bottom: 10px;
cursor: pointer;
}
.el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .info-line .wrapper {
margin-top: 10px;
display: flex;
}
.el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .info-line .wrapper label {
display: flex;
width: 100px;
color: #a5a5a5;
}
.el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .info-line .wrapper .item-value {
display: flex;
width: 100%;
background-color: #35363b;
padding: 2px 5px;
border-radius: 5px;
color: #f5f5f5;
}
.el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .copy-params {
padding: 30px 0 10px 0;
}
.el-overlay-dialog .el-dialog .el-dialog__body .el-row .task-info .copy-params .el-button {
width: 100%;
}

View File

@@ -1,96 +0,0 @@
.el-overlay-dialog {
.el-dialog {
background-color #1a1b1e
.el-dialog__header {
.el-dialog__title {
color #F5F5F5
}
}
.el-dialog__body {
padding 0 0 0 15px !important
display flex
height 100%
.el-row {
width 100%
.img-container {
display flex
justify-content center
.image-slot {
display flex
height 100vh
align-items center
justify-content center
.el-icon {
font-size 60px
}
}
}
.task-info {
background-color #25262b
padding 1rem 1.5rem
.info-line {
width 100%
.prompt {
background-color #35363b
padding 10px
color #999999
overflow auto
max-height 100px
min-height 50px
position relative
.el-icon {
position absolute
right 10px
bottom 10px
cursor pointer
}
}
.wrapper {
margin-top 10px
display flex
label {
display flex
width 100px
color #a5a5a5
}
.item-value {
display flex
width 100%
background-color #35363b
padding 2px 5px
border-radius 5px
color #F5F5F5
}
}
}
.copy-params {
padding 30px 0 10px 0
.el-button {
width 100%
}
}
}
}
// end el-row
}
}
}

View File

@@ -1,106 +0,0 @@
.task-list-box {
width: 100%;
padding: 5px;
color: #fff;
overflow-x: hidden;
}
.task-list-box .running-job-list .job-item {
width: 100%;
padding: 2px;
background-color: #555;
}
.task-list-box .running-job-list .job-item .job-item-inner {
position: relative;
height: 100%;
overflow: hidden;
}
.task-list-box .running-job-list .job-item .job-item-inner .progress {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
}
.task-list-box .running-job-list .job-item .job-item-inner .progress span {
font-size: 20px;
color: #fff;
}
.task-list-box .finish-job-list .job-item {
width: 100%;
height: 100%;
border: 1px solid #666;
padding: 6px;
overflow: hidden;
border-radius: 6px;
transition: all 0.3s ease; /* 添加过渡效果 */
}
.task-list-box .finish-job-list .job-item .opt .opt-line {
margin: 6px 0;
}
.task-list-box .finish-job-list .job-item .opt .opt-line ul {
display: flex;
flex-flow: row;
}
.task-list-box .finish-job-list .job-item .opt .opt-line ul li {
margin-right: 6px;
}
.task-list-box .finish-job-list .job-item .opt .opt-line ul li a {
padding: 3px 0;
width: 40px;
text-align: center;
border-radius: 5px;
display: block;
cursor: pointer;
background-color: #4e5058;
color: #fff;
}
.task-list-box .finish-job-list .job-item .opt .opt-line ul li a:hover {
background-color: #6d6f78;
}
.task-list-box .finish-job-list .job-item .opt .opt-line ul .show-prompt {
font-size: 20px;
cursor: pointer;
}
.task-list-box .finish-job-list .animate:hover {
box-shadow: 0 0 10px rgba(71,255,241,0.6); /* 添加阴影效果 */
transform: translateY(-10px); /* 向上移动10像素 */
}
.task-list-box .el-image {
width: 100%;
height: 100%;
overflow: visible;
}
.task-list-box .el-image img {
height: 240px;
}
.task-list-box .el-image .el-image-viewer__wrapper img {
width: auto;
height: auto;
}
.task-list-box .el-image .image-slot {
display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
height: 100%;
min-height: 200px;
color: #fff;
height: 240px;
}
.task-list-box .el-image .image-slot .iconfont {
font-size: 50px;
margin-bottom: 10px;
}
.task-list-box .el-image.upscale {
max-height: 310px;
}
.task-list-box .el-image.upscale img {
height: 310px;
}
.task-list-box .el-image.upscale .el-image-viewer__wrapper img {
width: auto;
height: auto;
}

View File

@@ -1,142 +0,0 @@
.task-list-box {
width 100%
padding 5px
color #ffffff
overflow-x hidden
.running-job-list {
.job-item {
//border: 1px solid #454545;
width: 100%;
padding 2px
background-color #555555
.job-item-inner {
position relative
height 100%
overflow hidden
.progress {
position absolute
width 100%
height 100%
top 0
left 0
display flex
justify-content center
align-items center
span {
font-size 20px
color #ffffff
}
}
}
}
}
.finish-job-list {
.job-item {
width 100%
height 100%
border 1px solid #666666
padding 6px
overflow hidden
border-radius 6px
transition: all 0.3s ease; /* */
.opt {
.opt-line {
margin 6px 0
ul {
display flex
flex-flow row
li {
margin-right 6px
a {
padding 3px 0
width 40px
text-align center
border-radius 5px
display block
cursor pointer
background-color #4E5058
color #ffffff
&:hover {
background-color #6D6F78
}
}
}
.show-prompt {
font-size 20px
cursor pointer
}
}
}
}
}
.animate {
&:hover {
box-shadow: 0 0 10px rgba(71, 255, 241, 0.6); /* */
transform: translateY(-10px); /* 10 */
}
}
}
.el-image {
width 100%
height 100%
overflow visible
img {
height 240px
}
.el-image-viewer__wrapper {
img {
width auto
height auto
}
}
.image-slot {
display flex
flex-flow column
justify-content center
align-items center
height 100%
min-height 200px
color #ffffff
height 240px
.iconfont {
font-size 50px
margin-bottom 10px
}
}
}
.el-image.upscale {
max-height 310px
img {
height 310px
}
.el-image-viewer__wrapper {
img {
width auto
height auto
}
}
}
}