فهرست منبع

feat:代理

ljc 1 ماه پیش
والد
کامیت
74e61d177a
4فایلهای تغییر یافته به همراه11 افزوده شده و 18 حذف شده
  1. 5 11
      pages/ib/subsList.vue
  2. 0 1
      pages/mine/components/BankItem.vue
  3. 5 5
      pages/mine/components/SecurityCenterTab.vue
  4. 1 1
      static/scss/global/global.scss

+ 5 - 11
pages/ib/subsList.vue

@@ -13,8 +13,7 @@
             </button>
           </view>
           <view class="search-bar">
-            <cwg-complex-search :fields="filterFields" v-model="searchParams" @search="handleSearch"
-                                @reset="handleReset" />
+            <cwg-complex-search :fields="filterFields" v-model="searchParams" @search="handleSearch" @reset="handleReset" />
           </view>
         </view>
       </cwg-match-media>
@@ -89,13 +88,10 @@
   const { t, locale } = useI18n()
   const { Code } = Config
   const searchParams = ref({})
-  const search = ref({
+  const search = reactive({
     ibNo: '',
     name: '',
     cId: '',
-    data: '',
-    startDate: '',
-    endDate: '',
   })
 
   const filterFields = [
@@ -212,19 +208,17 @@
 
   const handleSearch = (params: any) => {
     // 拦截处理 daterange,将 date 拆分为 startDate 和 endDate
+    console.log(params)
     const payload = { ...params }
+    Object.assign(search, payload)
 
-
-    search.value = payload
     nextTick(() => {
       tableRef.value.refreshTable()
     })
   }
 
   const handleReset = (params: any) => {
-    search.value = {
-      ...params,
-    }
+    Object.assign(search, params)
     nextTick(() => {
       tableRef.value.refreshTable()
     })

+ 0 - 1
pages/mine/components/BankItem.vue

@@ -433,7 +433,6 @@ onMounted(() => {
 
 :deep(.uni-row1) {
     .uni-col {
-        padding: 0 10px !important;
     }
 
     .uni-forms-item {

+ 5 - 5
pages/mine/components/SecurityCenterTab.vue

@@ -1,7 +1,7 @@
 <template>
     <view class="user-form crm-form">
-        <uni-row class="demo-uni-row uni-row1">
-            <uni-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
+        <uni-row class="demo-uni-row uni-row1" :gutter="20">
+            <uni-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12" class="card bg-body">
                 <view class="content-title">
                     <view v-t="'PersonalManagement.Title.CustomerZonePasswordChange'"></view>
                 </view>
@@ -40,7 +40,7 @@
                     </uni-row>
                 </uni-forms>
             </uni-col>
-            <uni-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
+            <uni-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12" class="card bg-body">
                 <view class="content-title">
                     <view v-t="'PersonalManagement.Title.EmailChange'"></view>
                 </view>
@@ -226,9 +226,9 @@ onMounted(() => {
 
 
 <style scoped lang="scss">
+  @import "@/uni.scss";
 :deep(.uni-row1) {
     .uni-col {
-        padding: 0 10px !important;
     }
 
     .uni-forms-item {
@@ -288,7 +288,7 @@ onMounted(() => {
     }
 
     .btn-code {
-        margin-bottom: px2rpx(18);
+        margin-bottom: px2rpx(12);
         width: auto;
         padding: px2rpx(10) px2rpx(16);
     }

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

@@ -1372,7 +1372,7 @@ uni-content.collapsed {
     box-sizing: border-box;
 
     .uni-col {
-        padding: 0 px2rpx(10) !important;
+        //padding: 0 px2rpx(10) !important;
         box-sizing: border-box;
     }