Files
yiqiu 0b845b2075
All checks were successful
continuous-integration/drone/push Build is passing
feat: 会员中心全局暗色主题重构
阶段一:全局覆盖
- 新增 dark-override.css (450+ 行),覆盖所有 Element UI 组件暗色样式
  - 输入框、表格、Tabs、弹窗、按钮、分页、复选框、下拉框等
  - 侧边栏、顶栏、主内容区暗色背景
  - 滚动条、日期选择器、消息面板等
- header.php 引入 dark-override.css

阶段二:页面独立 CSS 暗色化(22 个文件)
- 白色背景 #fff → #161b22
- 浅灰背景 #F3F5F9 → #0d1117
- 深色文字 #171725/#1E2736 → #E6E8EB
- 灰色文字 #8692B0 → #8B949E
- 浅色边框 #E6E7EB → rgba(255,255,255,0.06)
- 悬停背景 #F5F7FA → #21262d
2026-03-19 19:49:49 +08:00

952 lines
20 KiB
CSS

.el-main {
padding: 0 !important;
}
.finance .finance-top .finance-title {
padding: 0.24rem;
font-size: 0.16rem;
font-weight: 600;
color: #E6E8EB;
border-bottom: 1px solid #EAEAEA;
}
.finance .finance-top .finance-money-main {
padding: 0.24rem;
border-bottom: 1px solid #EAEAEA;
}
.finance .finance-top .finance-money-main .finance-balance {
display: flex;
justify-content: space-between;
align-items: flex-start;
}
.finance .finance-top .finance-money-main .finance-balance .balance-left .balance-left-title {
font-weight: 400;
font-size: 0.14rem;
color: #646464;
}
.finance .finance-top .finance-money-main .finance-balance .balance-left .balance-left-title .balance-title-num {
font-weight: 600;
color: #E6E8EB;
}
.finance .finance-top .finance-money-main .finance-balance .balance-left .balance-left-num {
margin-top: 0.16rem;
font-weight: 600;
font-size: 0.45rem;
color: #E6E8EB;
}
.finance .finance-top .finance-money-main .finance-balance .balance-left .balance-left-num .prefix {
font-size: 0.24rem;
}
.finance .finance-top .finance-money-main .finance-balance .balance-right {
display: flex;
align-items: center;
column-gap: 0.16rem;
}
.finance .finance-top .finance-money-main .finance-balance .balance-right .el-button {
height: 0.37rem;
border-radius: 0.04rem;
}
.finance .finance-top .finance-money-main .finance-balance .balance-right .balance-tx-btn {
color: var(--color-primary);
border-color: var(--color-primary);
}
.finance .finance-top .finance-money-main .finance-balance .balance-right .tx-list {
font-size: 0.14rem;
color: #999999;
cursor: pointer;
}
.finance .finance-top .finance-money-main .finance-other-money {
margin-top: 0.24rem;
padding-top: 0.24rem;
display: flex;
align-items: center;
border-top: 1px dashed #EAEAEA;
}
.finance .finance-top .finance-money-main .finance-other-money .other-money-item {
display: flex;
align-items: center;
padding: 0 0.4rem;
border-left: 1px solid #EAEAEA;
}
.finance .finance-top .finance-money-main .finance-other-money .other-money-item:nth-of-type(1) {
padding-left: 0;
border-left: none;
}
.finance .finance-top .finance-money-main .finance-other-money .other-money-item .other-money-item-title {
display: flex;
align-items: center;
column-gap: 0.05rem;
color: #646464;
font-weight: 400;
font-size: 0.14rem;
margin-right: 0.08rem;
}
.finance .finance-top .finance-money-main .finance-other-money .other-money-item .other-money-item-value {
font-weight: 600;
font-size: 0.18rem;
color: #E6E8EB;
}
.finance .finance-top .finance-money-main .finance-other-money .other-money-item .other-money-item-value .prefix {
font-size: 0.12rem;
}
.finance .finance-top .finance-money-main .finance-other-money .other-money-item .freeze-list {
margin-left: 0.16rem;
font-weight: 400;
font-size: 0.12rem;
color: var(--color-primary);
text-decoration: underline;
cursor: pointer;
}
.finance .content_box {
padding: 0.24rem;
}
.a-text {
cursor: pointer;
}
.a-text:hover {
text-decoration: underline;
}
.content_searchbar {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 0.2rem;
margin-bottom: 0.2rem;
}
.content_searchbar .left_tips {
display: flex;
align-items: center;
column-gap: 0.2rem;
}
.content_searchbar .left_tips .all-pay {
padding: 0 10px;
height: 32px;
}
.content_searchbar .left_tips .all-del {
margin-left: 0;
padding: 0 10px;
height: 32px;
}
.content_searchbar .left_tips .tips_item {
display: flex;
align-items: center;
}
.finance .el-tabs__content {
min-height: 5rem;
}
.dot {
width: 0.08rem;
height: 0.08rem;
line-height: 0.1rem;
border-radius: 50%;
display: inline-block;
margin-right: 0.1rem;
}
.dot.new {
background: #0058FF;
}
.dot.renew,
.dot.on_demand {
background: #3DD598;
}
.dot.upgrade,
.dot.change_billing_cycle {
background: #F0142F;
}
.dot.artificial {
background: #F99600;
}
.dot.recharge {
background: #9C27B0;
}
.main_table {
margin-top: 0.7rem;
}
.main_table > thead > tr > th:nth-child(1) {
padding-left: 0.3rem;
}
.pay-html {
display: flex;
justify-content: center;
}
.pay-html > img {
width: 2.5rem;
height: 2.5rem;
}
.status-tag {
padding: 0.04rem 0.1rem;
border-radius: 3px;
font-size: 13px;
border: none;
}
.status-tag.Unpaid {
background-color: rgba(240, 20, 47, 0.08);
color: var(--color-danger);
border: none;
}
.status-tag.Paid {
background-color: rgba(61, 213, 152, 0.12);
color: var(--color-success);
border: none;
}
.status-tag.Wait {
background-color: rgba(230, 162, 60, 0.12);
color: var(--color-warning);
border: none;
}
.status-tag.Refunded {
background-color: rgba(64, 158, 255, 0.12);
color: var(--color-info);
border: none;
}
.gateway-pay {
color: #5c5ee4;
cursor: pointer;
}
.tooltip {
text-align: center;
}
.balance-tag {
padding: 0.04rem 0.1rem;
border-radius: 3px;
font-size: 13px;
}
.balance-tag.Recharge,
.balance-tag.recharge {
background: rgba(54, 153, 255, 0.12);
color: var(--color-info);
}
.Applied {
background: rgba(249, 150, 0, 0.12);
color: var(--color-warning);
}
.Refund {
background: rgba(240, 20, 47, 0.12);
color: var(--color-danger);
}
.Withdraw {
background: rgba(61, 213, 152, 0.12);
color: var(--color-success);
}
.Artificial {
background: rgba(54, 153, 255, 0.12);
color: var(--color-primary);
}
.Freeze {
background: rgba(240, 20, 47, 0.12);
color: var(--color-danger);
}
.Unfreeze {
background: rgba(54, 153, 255, 0.12);
color: var(--color-info);
}
.el-form,
.el-select {
width: 100%;
}
.el-form-item__label {
font-size: 0.16rem;
font-family: PingFang SC;
font-weight: 400;
color: #E6E8EB;
}
.kd-dialog .dialog-title {
font-size: 0.24rem;
font-weight: 400;
color: #E6E8EB;
}
.kd-dialog .dialog-dec {
margin-top: 0.2rem;
color: #E6E8EB;
}
.kd-dialog .el-dialog__body {
padding: 0.24rem;
font-size: 0.16rem;
}
.kd-dialog .dialog-box {
margin-top: 0.3rem;
padding: 0.2rem 0.16rem;
border: 0.01rem solid #e6e7eb;
}
.kd-dialog .kd-item {
margin-bottom: 0.1rem;
font-size: 0.14rem;
}
.kd-dialog .kd-item:nth-last-of-type(1) {
margin-bottom: 0;
}
.kd-dialog .kd-item .kd-label {
color: #8B949E;
}
.kd-dialog .kd-item .kd-value {
margin-left: 0.3rem;
color: #4E5259;
}
.kd-dialog .dialog-fotter {
display: flex;
justify-content: center;
margin-top: 0.4rem;
}
.kd-dialog .dialog-fotter .el-button {
width: 1.12rem;
height: 0.46rem;
color: #E6E8EB;
font-size: 0.16rem;
background: #E7E7E7;
border-radius: 0.03rem 0.03rem 0.03rem 0.03rem;
}
.info-dialog .dialog-title {
font-size: 0.24rem;
font-weight: 400;
color: #E6E8EB;
}
.info-dialog .certification-info {
margin-top: 0.1rem;
margin-bottom: 0.3rem;
padding: 0.2rem 0.16rem;
border: 0.01rem solid #e6e7eb;
}
.info-dialog .certification-info .kd-item {
margin-bottom: 0.1rem;
font-size: 0.14rem;
}
.info-dialog .certification-info .kd-item:nth-last-of-type(1) {
margin-bottom: 0;
}
.info-dialog .certification-info .kd-item .kd-label {
color: #8B949E;
}
.info-dialog .certification-info .kd-item .kd-value {
margin-left: 0.3rem;
color: #4E5259;
}
.info-dialog .dialog-dec {
font-size: 0.14rem;
padding: 0.12rem 0.16rem;
margin-top: 0.4rem;
color: var(--color-danger);
border-radius: 0.03rem 0.03rem 0.03rem 0.03rem;
background: #FDE6E9;
}
.info-dialog .dialog-dec p {
margin: 0;
}
.info-dialog .el-dialog__body {
padding: 0.24rem;
font-size: 0.16rem;
}
.info-dialog .dialog-fotter {
display: flex;
justify-content: end;
margin-top: 0.4rem;
}
.info-dialog .info-form .el-form-item__label {
padding: 0 !important;
}
.info-dialog .save-btn,
.info-dialog .cancel-btn {
width: 1.12rem;
height: 0.46rem;
font-size: 0.16rem;
border-radius: 0.03rem;
border: none;
}
.info-dialog .save-btn {
background: var(--color-primary);
color: rgba(255, 255, 255, 0.9);
}
.info-dialog .cancel-btn {
margin-left: 0.12rem;
background: #E7E7E7;
color: #E6E8EB;
}
.info-dialog .first-save-tip {
font-size: 0.14rem;
color: var(--color-danger);
}
.cancel-dialog .dialog-title {
font-size: 0.24rem;
font-weight: 400;
color: #E6E8EB;
}
.cancel-dialog .el-dialog__body {
padding: 0.24rem;
font-size: 0.16rem;
}
.cancel-dialog .dialog-dec {
margin-top: 0.3rem;
color: #E6E8EB;
}
.cancel-dialog .dialog-fotter {
margin-top: 0.4rem;
display: flex;
justify-content: center;
}
.cancel-dialog .dialog-fotter .save-btn,
.cancel-dialog .dialog-fotter .cancel-btn {
width: 1.12rem;
height: 0.46rem;
border-radius: 0.03rem 0.03rem 0.03rem 0.03rem;
border: none;
font-size: 0.16rem;
}
.cancel-dialog .dialog-fotter .save-btn {
background: var(--color-primary);
color: rgba(255, 255, 255, 0.9);
}
.cancel-dialog .dialog-fotter .cancel-btn {
margin-left: 0.12rem;
background: #E7E7E7;
color: #E6E8EB;
}
.mail-dialog .dialog-title {
font-size: 0.24rem;
font-weight: 400;
color: #E6E8EB;
}
.mail-dialog .dialog-dec {
font-size: 0.14rem;
margin-top: 0.3rem;
color: #E6E8EB;
}
.mail-dialog .el-dialog__body {
padding: 0.24rem;
font-size: 0.16rem;
}
.mail-dialog .dialog-fotter {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 0.4rem;
}
.mail-dialog .info-form .el-form-item__label {
padding: 0 !important;
}
.mail-dialog .fotter-left {
color: #E6E8EB;
font-size: 0.16rem;
}
.mail-dialog .fotter-left .price-blue {
font-weight: bold;
color: var(--color-primary);
}
.mail-dialog .save-btn,
.mail-dialog .cancel-btn {
width: 1.12rem;
height: 0.46rem;
font-size: 0.16rem;
border-radius: 0.03rem;
border: none;
}
.mail-dialog .save-btn {
background: var(--color-primary);
color: rgba(255, 255, 255, 0.9);
}
.mail-dialog .cancel-btn {
margin-left: 0.12rem;
background: #E7E7E7;
color: #E6E8EB;
}
.creat-dia .dialog-tips {
display: flex;
}
.creat-dia .tips_item {
margin-right: 0.2rem;
}
.credit-content {
margin-top: 0.4rem;
}
.credit-content .credit-top {
display: flex;
margin-bottom: 0.4rem;
}
.credit-content .credit-top .credit-item {
margin-left: 0.4rem;
padding: 0.31rem 0.2rem 0.4rem 0.2rem;
flex: 1;
flex-shrink: 0;
border-radius: 0.03rem 0.03rem 0.03rem 0.03rem;
border: 0.01rem solid #e6e7eb;
}
.credit-content .credit-top .credit-item:nth-of-type(1) {
margin-left: 0;
}
.credit-content .credit-top .credit-item .item-top {
display: flex;
justify-content: space-between;
align-items: center;
color: #8B949E;
}
.credit-content .credit-top .credit-item .item-top .item-l {
font-size: 0.16rem;
}
.credit-content .credit-top .credit-item .item-top .item-r {
font-size: 0.14rem;
}
.credit-content .credit-top .credit-item .item-top .label-box {
display: inline-block;
padding: 0.03rem 0.16rem;
border-radius: 0.03rem 0.03rem 0.03rem 0.03rem;
}
.credit-content .credit-top .credit-item .item-top .is-active {
background-color: rgba(54, 153, 255, 0.12);
color: var(--color-primary);
}
.credit-content .credit-top .credit-item .item-top .no-active {
background-color: rgba(240, 20, 47, 0.08);
color: var(--color-danger);
}
.credit-content .credit-top .credit-item .item-bottom {
margin-top: 0.1rem;
}
.credit-content .credit-top .credit-item .item-bottom .item-bl {
font-size: 0.28rem;
font-weight: bold;
color: #E6E8EB;
}
.credit-content .credit-top .credit-item .flex-bottom {
display: flex;
justify-content: space-between;
align-items: center;
}
.credit-content .credit-top .credit-item .flex-bottom .credit-btn,
.credit-content .credit-top .credit-item .flex-bottom .no-btn {
height: 0.32rem;
font-size: 0.14rem;
border-radius: 0.03rem 0.03rem 0.03rem 0.03rem;
}
.credit-content .credit-top .credit-item .flex-bottom .credit-btn {
background: var(--color-primary);
color: #FFFFFF;
}
.credit-content .credit-top .credit-item .flex-bottom .no-btn {
border: 0.01rem solid #e6e7eb;
background: #161b22;
color: #8B949E;
}
.credit-content .credit-operation {
cursor: pointer;
font-size: 0.14rem;
color: var(--color-primary);
}
.dialog-form {
display: flex;
flex-direction: column;
}
.el-row {
display: flex;
align-items: center;
margin-top: 0.3rem;
}
.form-footer {
display: flex;
justify-content: flex-end;
}
.form-footer > .btn-ok {
background: var(--color-primary);
border-radius: 3px;
color: rgba(255, 255, 255, 0.9);
display: flex;
align-items: center;
justify-content: center;
}
.form-footer > .btn-no {
background: #e7e7e7;
border-radius: 3px;
color: #E6E8EB;
display: flex;
align-items: center;
justify-content: center;
}
.true-money {
color: var(--color-warning);
}
.orderid_a {
cursor: pointer;
}
.orderid_a:hover {
border-bottom: 2px solid #808080;
}
.el-input__suffix {
display: flex;
align-items: center;
}
.input-search {
padding-right: 0.1rem;
cursor: pointer;
}
.cz-input {
display: flex;
flex-direction: row;
align-items: center;
}
.cz-input > .btn-ok {
margin-left: 0.1rem;
height: 0.46rem;
background: var(--color-primary);
border-radius: 3px;
color: rgba(255, 255, 255, 0.9);
display: flex;
align-items: center;
justify-content: center;
}
.el-table__expand-icon {
position: absolute;
left: 0.1rem;
}
.el-table__indent {
padding: 0 !important;
}
.mobel {
display: none;
}
.el-icon-more {
font-size: 0.16rem;
color: var(--color-primary);
cursor: pointer;
}
.el-popover {
min-width: 0.5rem !important;
}
.operation-box {
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.operation-item {
margin-top: 0.05rem;
margin-bottom: 0.05rem;
cursor: pointer;
}
.operation-item:hover {
color: var(--color-primary);
}
.has-border {
border: 0.01rem solid #e6e7eb;
}
.contract-status {
display: inline-block;
padding: 0.04rem 0.1rem;
border-radius: 0.03rem;
}
.help-icon {
cursor: pointer;
margin-left: 0.04rem;
color: var(--color-primary);
}
.delete-order-dialog .el-dialog__header {
padding: 0;
}
.delete-order-dialog .el-dialog__body {
padding: 0;
}
.delete-order-dialog .delete-box {
height: 2.56rem;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: #161b22;
}
.delete-order-dialog .delete-content {
font-size: 0.18rem;
color: #E6E8EB;
}
.delete-order-dialog .delete-btn {
margin-top: 0.4rem;
display: flex;
justify-content: center;
}
.delete-order-dialog .delete-btn .save-btn,
.delete-order-dialog .delete-btn .cancel-btn {
width: 1.12rem;
height: 0.46rem;
border-radius: 0.03rem 0.03rem 0.03rem 0.03rem;
border: none;
font-size: 0.16rem;
}
.delete-order-dialog .delete-btn .save-btn {
background: var(--color-danger);
color: rgba(255, 255, 255, 0.9);
}
.delete-order-dialog .delete-btn .cancel-btn {
margin-left: 0.12rem;
background: #E7E7E7;
color: #E6E8EB;
}
.pre-dialog .dialog-box {
text-align: center;
}
.pre-dialog .dialog-box .tit {
font-size: 0.18rem;
font-weight: bold;
color: #333;
margin-top: 0;
margin-bottom: 0.3rem;
}
.pre-dialog .dialog-box .con .item {
margin: 5px 0;
}
.pre-dialog .dialog-fotter {
margin-top: 0.2rem;
}
.pre-dialog .dialog-fotter .save-btn {
background: var(--color-primary);
color: #fff;
}
.pre-dialog .s-tip {
margin: 0.2rem 0 0 0;
font-size: 0.14rem;
color: #999;
}
@media screen and (max-width: 750px) {
.content_searchbar .left_tips .tips_item {
margin-right: 0.1rem;
}
.searchbar {
width: 100%;
}
.searchbar .el-input {
width: 100% !important;
margin-left: 0 !important;
}
.content_searchbar {
flex-wrap: wrap;
}
.mob-searchbar {
margin-top: 0.53rem;
}
.mob-search-input {
height: 0.8rem;
background: rgba(134, 146, 176, 0.1);
border-radius: 3px 3px 0px 0px;
}
.mob-search-input > input {
height: 0.8rem;
background: rgba(134, 146, 176, 0.1);
border-radius: 3px 3px 0px 0px;
}
.mob-tabledata {
display: flex;
flex-direction: column;
border: 1px solid #d7d8db;
border-radius: 0px 0px 3px 3px;
}
.mob-tabledata-item {
height: auto;
border-bottom: 1px solid #d7d8db;
display: flex;
flex-direction: column;
padding: 0 0.3rem;
}
.mob-item-row {
display: flex;
justify-content: space-between;
margin-top: 0.2rem;
}
.mob-item-row1,
.mob-item-row3,
.mob-item-row-notes {
font-size: 0.26rem;
line-height: 0.26rem;
color: #8B949E;
margin-left: 0.26rem;
}
.mob-item-row1 {
margin-top: 0.41rem;
align-items: center;
}
.mob-item-row2 {
font-size: 0.3rem;
line-height: 0.31rem;
color: #E6E8EB;
}
.mob-item-row3 {
margin-bottom: 0.33rem;
}
.mob-item-row2-name {
width: 50%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.bottom-text {
font-size: 0.26rem;
line-height: 0.26rem;
color: #8B949E;
margin: 0.4rem 0;
display: flex;
justify-content: center;
}
.back-top-img {
width: 0.88rem;
position: fixed;
right: 0.3rem;
bottom: 1.17rem;
}
.el-form-item__label {
font-size: 0.32rem;
line-height: 0.32rem;
}
.dialog-form .el-input__inner {
height: 0.8rem;
}
.cz-input > .btn-ok {
height: 0.8rem;
}
.dialog-footer {
flex-direction: column;
}
.dialog-footer .btn-ok,
.dialog-footer .btn-no {
width: 100%;
height: 0.8rem;
font-size: 0.34rem;
}
.dialog-footer .btn-no {
margin-left: 0;
margin-top: 0.2rem;
}
.top-line {
display: none;
}
.order-detail-table {
margin-top: 0.5rem;
}
.main_table {
display: none;
}
.mob-item-row-child {
background: #eef4ff;
display: flex;
flex-direction: column;
}
.child-row {
display: flex;
flex-direction: row;
justify-content: space-between;
font-size: 0.26rem;
margin-bottom: 0.16rem;
line-height: 0.4rem;
color: #8B949E;
margin-left: 0.26rem;
margin-right: 0.2rem;
}
.child-row:nth-child(1) {
margin-top: 0.16rem;
}
.child-row-name {
color: #E6E8EB;
width: 2.86rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.money {
font-size: 0.4rem;
}
.item-balance > .text {
font-size: 0.26rem;
}
.money-num > .text {
font-size: 0.26rem;
}
.item-unbalance > .text {
font-size: 0.26rem;
}
.btn-tx,
.btn-cz {
height: 0.42rem;
width: 0.76rem;
font-size: 0.22rem;
}
.balance-tag {
font-size: 0.24rem;
}
.left_tips {
font-size: 0.26rem;
}
.balance-searchbar {
margin-top: 0;
}
.form-footer {
display: flex;
flex-direction: column;
}
}
/* 签章上传样式 */
.seal-upload .el-upload {
border: 1px dashed #d9d9d9;
border-radius: 6px;
cursor: pointer;
position: relative;
overflow: hidden;
transition: all 0.3s;
}
.seal-upload .el-upload:hover {
border-color: var(--color-primary);
}
.seal-upload-content {
width: 150px;
height: 150px;
position: relative;
}
.seal-upload-content .seal-image {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
}
.seal-upload-content .seal-mask {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #fff;
opacity: 0;
transition: opacity 0.3s;
}
.seal-upload-content:hover .seal-mask {
opacity: 1;
}
.seal-mask-actions {
display: flex;
gap: 20px;
}
.seal-mask-actions i {
font-size: 20px;
cursor: pointer;
transition: transform 0.2s;
}
.seal-upload-placeholder {
width: 150px;
height: 150px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #8c939d;
}
.seal-upload-placeholder i {
font-size: 32px;
color: #8c939d;
}
.seal-upload-text {
margin-top: 8px;
font-size: 12px;
color: #606266;
}
.seal-upload-tip {
margin-top: 4px;
font-size: 11px;
color: #909399;
text-align: center;
line-height: 1.4;
}