Procházet zdrojové kódy

feat: table-th search-btn 颜色

ljc před 1 měsícem
rodič
revize
8228d928b8

+ 3 - 2
components/cwg-complex-search.vue

@@ -42,7 +42,7 @@
                 </view>
                 <view class="form-actions">
                     <!-- <button class="reset-btn" @click="resetForm" v-t="'Documentary.tradingCenter.item4'" /> -->
-                    <button class="search-btn" type="primary" @click="handleSearch" v-t="'Btn.Search'" />
+                    <button class="search-btn" @click="handleSearch" v-t="'Btn.Search'" />
                 </view>
             </view>
         </cwg-match-media>
@@ -105,7 +105,7 @@
             </scroll-view>
             <template #footer>
                 <!-- <button class="reset-btn" @click="resetTempForm" v-t="'Documentary.tradingCenter.item4'" /> -->
-                <button class="search-btn" type="primary" @click="applyFilter" v-t="'Btn.Search'" />
+                <button class="search-btn" @click="applyFilter" v-t="'Btn.Search'" />
             </template>
         </cwg-popup>
 
@@ -445,6 +445,7 @@ onMounted(() => {
 
         .reset-btn,
         .search-btn {
+            background-color: var(--btn-color);
             line-height: px2rpx(35);
             font-size: px2rpx(14);
         }

+ 1 - 1
components/cwg-tabel.vue

@@ -842,7 +842,7 @@ defineExpose({
             top: 0;
             z-index: 100;
             transition: all 0.3s;
-            background-color: #f3f3f3 !important;
+            background-color: var(--table-th-color) !important;
             border-bottom: 1px solid var(--bs-light-bg-subtle) !important;
             color: #000 !important;
 

+ 1 - 1
pages/follow/trading-center-single.vue

@@ -652,6 +652,6 @@
     margin-bottom: 16px;
     font-size: 14px;
     font-weight: bold;
-    color: #4497ff;
+    color: var(--bs-heading-color);
   }
 </style>

+ 1 - 1
pages/ib/transfer.vue

@@ -137,7 +137,7 @@
 
                                                 <view type="submit" value="Submit"
                                                     class="btn btn-danger waves-effect waves-light"><i
-                                                        class="fi fi-rs-check"></i> Submit
+                                                        class="fi fi-rs-check"></i> {{t('Btn.Submit')}}
                                                 </view>
                                             </view>
                                         </uni-forms>

+ 3 - 1
static/scss/global/global.scss

@@ -140,6 +140,8 @@
     --status-expired-border: var(--color-slate-400);
     --status-cancelled-border: var(--color-slate-300);
     --bs-secondary: #ef4223;
+    --btn-color: #f3f3f3;
+    --table-th-color: #f3f3f3;
 
 
     // 新的
@@ -701,7 +703,7 @@ uni-content.collapsed {
 }
 
 .search-btn {
-    background-color: #cf1322 !important;
+    background-color: #cf1322;
 }