fix: 测试样式bug统一修复。
This commit is contained in:
@@ -481,14 +481,14 @@ page {
|
|||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
|
||||||
&.status-normal {
|
&.status-normal {
|
||||||
background-color: rgba(82, 196, 26, 0.2);
|
background-color: rgba(82, 196, 26, 0.2);
|
||||||
color: #ffffff;
|
color: #52c41a;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.status-disabled {
|
&.status-disabled {
|
||||||
background-color: rgba(255, 77, 79, 0.2);
|
background-color: rgba(255, 77, 79, 0.15);
|
||||||
color: #ffffff;
|
color: #ff4d4f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -474,14 +474,14 @@ page {
|
|||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
|
||||||
&.status-normal {
|
&.status-normal {
|
||||||
background-color: rgba(82, 196, 26, 0.2);
|
background-color: rgba(82, 196, 26, 0.2);
|
||||||
color: #ffffff;
|
color: #52c41a;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.status-disabled {
|
&.status-disabled {
|
||||||
background-color: rgba(255, 77, 79, 0.2);
|
background-color: rgba(255, 77, 79, 0.15);
|
||||||
color: #ffffff;
|
color: #ff4d4f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -491,12 +491,12 @@ page {
|
|||||||
|
|
||||||
&.status-normal {
|
&.status-normal {
|
||||||
background-color: rgba(82, 196, 26, 0.2);
|
background-color: rgba(82, 196, 26, 0.2);
|
||||||
color: #ffffff;
|
color: #52c41a;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.status-disabled {
|
&.status-disabled {
|
||||||
background-color: rgba(255, 77, 79, 0.2);
|
background-color: rgba(255, 77, 79, 0.15);
|
||||||
color: #ffffff;
|
color: #ff4d4f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -554,14 +554,14 @@ page {
|
|||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
|
||||||
&.status-normal {
|
&.status-normal {
|
||||||
background-color: rgba(82, 196, 26, 0.2);
|
background-color: rgba(82, 196, 26, 0.2);
|
||||||
color: #ffffff;
|
color: #52c41a;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.status-disabled {
|
&.status-disabled {
|
||||||
background-color: rgba(255, 77, 79, 0.2);
|
background-color: rgba(255, 77, 79, 0.15);
|
||||||
color: #ffffff;
|
color: #ff4d4f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -526,14 +526,14 @@ page {
|
|||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
|
||||||
&.status-normal {
|
&.status-normal {
|
||||||
background-color: rgba(82, 196, 26, 0.2);
|
background-color: rgba(82, 196, 26, 0.2);
|
||||||
color: #ffffff;
|
color: #52c41a;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.status-disabled {
|
&.status-disabled {
|
||||||
background-color: rgba(255, 77, 79, 0.2);
|
background-color: rgba(255, 77, 79, 0.15);
|
||||||
color: #ffffff;
|
color: #ff4d4f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -489,12 +489,12 @@ page {
|
|||||||
|
|
||||||
&.status-normal {
|
&.status-normal {
|
||||||
background-color: rgba(82, 196, 26, 0.2);
|
background-color: rgba(82, 196, 26, 0.2);
|
||||||
color: #ffffff;
|
color: #52c41a;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.status-disabled {
|
&.status-disabled {
|
||||||
background-color: rgba(255, 77, 79, 0.2);
|
background-color: rgba(255, 77, 79, 0.15);
|
||||||
color: #ffffff;
|
color: #ff4d4f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -517,12 +517,12 @@ page {
|
|||||||
|
|
||||||
&.status-normal {
|
&.status-normal {
|
||||||
background-color: rgba(82, 196, 26, 0.2);
|
background-color: rgba(82, 196, 26, 0.2);
|
||||||
color: #ffffff;
|
color: #52c41a;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.status-disabled {
|
&.status-disabled {
|
||||||
background-color: rgba(255, 77, 79, 0.2);
|
background-color: rgba(255, 77, 79, 0.15);
|
||||||
color: #ffffff;
|
color: #ff4d4f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -504,14 +504,14 @@ page {
|
|||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
|
||||||
&.status-normal {
|
&.status-normal {
|
||||||
background-color: rgba(82, 196, 26, 0.2);
|
background-color: rgba(82, 196, 26, 0.2);
|
||||||
color: #ffffff;
|
color: #52c41a;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.status-disabled {
|
&.status-disabled {
|
||||||
background-color: rgba(255, 77, 79, 0.2);
|
background-color: rgba(255, 77, 79, 0.15);
|
||||||
color: #ffffff;
|
color: #ff4d4f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -74,7 +74,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="balance-section">
|
<view class="balance-section">
|
||||||
<view class="status-tag" :class="item.status === '0' ? 'status-normal' : 'status-disabled'">
|
<view class="status-tag" :class="item.status == 0 ? 'status-normal' : 'status-disabled'">
|
||||||
{{ dictStr(item.status, statusList) }}
|
{{ dictStr(item.status, statusList) }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -556,12 +556,12 @@ page {
|
|||||||
|
|
||||||
&.status-normal {
|
&.status-normal {
|
||||||
background-color: rgba(82, 196, 26, 0.2);
|
background-color: rgba(82, 196, 26, 0.2);
|
||||||
color: #ffffff;
|
color: #52c41a;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.status-disabled {
|
&.status-disabled {
|
||||||
background-color: rgba(255, 77, 79, 0.2);
|
background-color: rgba(255, 77, 79, 0.15);
|
||||||
color: #ffffff;
|
color: #ff4d4f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -520,14 +520,14 @@ page {
|
|||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
|
||||||
&.status-normal {
|
&.status-normal {
|
||||||
background-color: rgba(82, 196, 26, 0.2);
|
background-color: rgba(82, 196, 26, 0.2);
|
||||||
color: #ffffff;
|
color: #52c41a;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.status-disabled {
|
&.status-disabled {
|
||||||
background-color: rgba(255, 77, 79, 0.2);
|
background-color: rgba(255, 77, 79, 0.15);
|
||||||
color: #ffffff;
|
color: #ff4d4f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -473,12 +473,12 @@ page {
|
|||||||
|
|
||||||
&.status-normal {
|
&.status-normal {
|
||||||
background-color: rgba(82, 196, 26, 0.2);
|
background-color: rgba(82, 196, 26, 0.2);
|
||||||
color: #ffffff;
|
color: #52c41a;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.status-disabled {
|
&.status-disabled {
|
||||||
background-color: rgba(255, 77, 79, 0.2);
|
background-color: rgba(255, 77, 79, 0.15);
|
||||||
color: #ffffff;
|
color: #ff4d4f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -533,12 +533,12 @@ function dictStr(value, list) {
|
|||||||
|
|
||||||
&.status-normal {
|
&.status-normal {
|
||||||
background-color: rgba(82, 196, 26, 0.2);
|
background-color: rgba(82, 196, 26, 0.2);
|
||||||
color: #ffffff;
|
color: #52c41a;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.status-disabled {
|
&.status-disabled {
|
||||||
background-color: rgba(255, 77, 79, 0.2);
|
background-color: rgba(255, 77, 79, 0.15);
|
||||||
color: #ffffff;
|
color: #ff4d4f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user