shish 8 tháng trước cách đây
mục cha
commit
6a60675235
1 tập tin đã thay đổi với 13 bổ sung1 xóa
  1. 13 1
      hdApp/src/admin/home/workbench.vue

+ 13 - 1
hdApp/src/admin/home/workbench.vue

@@ -377,7 +377,7 @@
             </view>
           </view>
 
-          <view v-if="!$util.isEmpty(data.warning)" style="color:red;font-size:36upx;font-weight:bold;text-align:center;margin-bottom:15upx;margin-top:20upx;">{{ data.warning }}</view>
+          <view v-if="!$util.isEmpty(data.warning)" class="warning-banner">{{ data.warning }}</view>
 
         <template v-if="!$util.isEmpty(ad)">
           <block v-for="(adInfo, adIndex) in ad" :key="adIndex">
@@ -2038,4 +2038,16 @@ export default {
     }
   }
 }
+
+.warning-banner {
+  background-color: #ff6b6b;
+  border-radius: 8upx;
+  margin: 0upx 10upx 20upx 10upx;
+  padding: 20upx 24upx;
+  color: #ffffff;
+  font-size: 32upx;
+  font-weight: 600;
+  text-align: center;
+  line-height: 1.4;
+}
 </style>