zhb 2 месяцев назад
Родитель
Сommit
4f954e4e3e
4 измененных файлов с 24 добавлено и 24 удалено
  1. 11 11
      pages/customer/deposit.vue
  2. 1 1
      pages/customer/style.scss
  3. 4 4
      pages/customer/withdrawal.vue
  4. 8 8
      pages/ib/withdraw.vue

+ 11 - 11
pages/customer/deposit.vue

@@ -7,7 +7,7 @@
                 <view class="b-card">
                     <view class="card-top">
                         <text class="tit"><text class="iconfont icon-caret-right"></text>{{ t('Custom.Deposit.Title1')
-                        }}</text>
+                            }}</text>
                         <cwg-combox :clearable="false" v-model:value="loginValue" :options="loginComboxOptions"
                             :placeholder="t('placeholder.choose')" />
                     </view>
@@ -18,7 +18,7 @@
                 <view class="b-card">
                     <view class="card-top">
                         <text class="tit"><text class="iconfont icon-caret-right"></text>{{ t('Custom.Deposit.Title2')
-                        }}</text>
+                            }}</text>
                         <view v-for="(group, index) in sortedTableData" :key="index">
                             <view class="channelType" v-if="group.length" v-t="groupTitleMap[group[0].type]" />
                             <PaymentMethodsList :list="group" @select="isShowStep3" />
@@ -46,7 +46,7 @@
                             </view>
                             <view class="btn-bottom">
                                 <text class="btn crm-cursor" @click="isStep3Open()">{{ t('Btn.Confirm')
-                                    }}</text>
+                                }}</text>
                             </view>
 
                         </view>
@@ -84,7 +84,7 @@
                                     <uni-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
                                         <text class="tit"><text class="iconfont icon-caret-right"></text>{{
                                             t('news_add_field.Label.Title4')
-                                            }}</text>
+                                        }}</text>
                                     </uni-col>
                                     <uni-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
                                         <uni-forms-item>
@@ -116,7 +116,7 @@
                                                         WireTransferAccount.bankUname || '--'
                                                     }}</text></view>
                                             <view class="row"><text class="label">{{ t('Custom.Deposit.bankName')
-                                                    }}</text><text class="content">{{ WireTransferAccount.bankName ||
+                                            }}</text><text class="content">{{ WireTransferAccount.bankName ||
                                                         '--'
                                                     }}</text></view>
                                             <view class="row"><text class="label SpecialColor">{{
@@ -125,7 +125,7 @@
                                                         WireTransferAccount.bankCardNum || '--'
                                                     }}</text></view>
                                             <view class="row"><text class="label">{{ t('Custom.Deposit.bankAddr')
-                                                    }}</text><text class="content">{{ WireTransferAccount.bankAddr ||
+                                            }}</text><text class="content">{{ WireTransferAccount.bankAddr ||
                                                         '--'
                                                     }}</text></view>
                                             <view class="row"><text class="label SpecialColor">{{
@@ -134,7 +134,7 @@
                                                         WireTransferAccount.swiftCode || '--'
                                                     }}</text></view>
                                             <view class="row"><text class="label">{{ t('Custom.Deposit.bankCode')
-                                                    }}</text><text class="content">{{ WireTransferAccount.bankCode ||
+                                            }}</text><text class="content">{{ WireTransferAccount.bankCode ||
                                                         '--'
                                                     }}</text></view>
                                             <view class="row"><text class="label SpecialColor">{{
@@ -161,7 +161,7 @@
                                                         + '-' +
                                                         WireTransferAccount.type }}</text></view>
                                             <view class="row"><text class="label">{{ t('Custom.Withdraw.Title6')
-                                                    }}</text><text class="content">{{ WireTransferAccount.address ||
+                                            }}</text><text class="content">{{ WireTransferAccount.address ||
                                                         '--'
                                                     }}</text></view>
                                             <view class="row"><text class="label">QR Code</text>
@@ -238,7 +238,7 @@
                                             <uni-forms-item :label="t('Custom.Deposit.UploadRemittanceVoucher')">
                                                 <view class="upload-box">
                                                     <button class="btn-upload" @click="chooseImage">{{ t('upload')
-                                                        }}</button>
+                                                    }}</button>
                                                     <image v-if="imageUrl" :src="imageUrl" mode="aspectFit"
                                                         class="img-preview" />
                                                 </view>
@@ -266,7 +266,7 @@
                                                     <text>{{ t('news_add_field1.activitiesNZ.itemDeposit2') }}</text>
                                                     <text class="clause crm-cursor" @click="dialogClauseNZ = true">{{
                                                         t('news_add_field1.activitiesNZ.itemDeposit3')
-                                                    }}</text>
+                                                        }}</text>
                                                     <text>{{ t('news_add_field1.activitiesNZ.itemDeposit4') }}</text>
                                                 </view>
                                             </uni-forms-item>
@@ -2259,7 +2259,7 @@ watch(() => params.agree6, (newVal) => {
             }
 
             .uni-easyinput__content-input {
-                height: px2rpx(44) !important;
+                height: px2rpx(35) !important;
             }
         }
     }

+ 1 - 1
pages/customer/style.scss

@@ -227,7 +227,7 @@
       }
 
       .uni-easyinput__content-input {
-        height: px2rpx(44) !important;
+        height: px2rpx(35) !important;
       }
     }
   }

+ 4 - 4
pages/customer/withdrawal.vue

@@ -487,7 +487,7 @@ const rules = computed(() => ({
     rules: [
       {
         required: true,
-        errorMessage: t('vaildate.amount.format1'),
+        errorMessage: t('vaildate.amount.format'),
       },
       {
         validateFunction: (rule, value, data, callback) => {
@@ -578,7 +578,7 @@ const amountErrorMessage = ref('')
 const validateAmount = () => {
   const amount = form.amount
   if (!amount && amount !== 0) {
-    amountErrorMessage.value = t('vaildate.amount.format1')
+    amountErrorMessage.value = t('vaildate.amount.format')
     return false
   }
   if (mAmount.minAmount && mAmount.maxAmount) {
@@ -591,7 +591,7 @@ const validateAmount = () => {
     }
   }
   if (!/^[0-9]+([.]{1}[0-9]{1,2})?$/.test(amount)) {
-    amountErrorMessage.value = t('vaildate.amount.format1')
+    amountErrorMessage.value = t('vaildate.amount.format')
     return false
   }
   amountErrorMessage.value = ''
@@ -1894,7 +1894,7 @@ onMounted(() => {
       }
 
       .uni-easyinput__content-input {
-        height: px2rpx(44) !important;
+        height: px2rpx(35) !important;
       }
     }
   }

+ 8 - 8
pages/ib/withdraw.vue

@@ -7,7 +7,7 @@
                 <view class="b-card">
                     <view class="card-top">
                         <text class="tit">{{ t('Custom.Deposit.Title22')
-                        }}</text>
+                            }}</text>
                         <view v-for="(group, groupKey) in tableData" :key="groupKey">
 
                             <!-- 通道分组标题 -->
@@ -17,7 +17,7 @@
                         <view v-if="step3" class="reselect-btn">
                             <button class="s-btn reselect" type="primary" @click="showTable">{{
                                 t('Custom.Deposit.Reselect')
-                            }}</button>
+                                }}</button>
                         </view>
                     </view>
                 </view>
@@ -151,7 +151,7 @@
                                             </text>
                                             <text v-if="channelData.type == 'BANK'">{{
                                                 t('Custom.Withdraw.addBank')
-                                            }}</text>
+                                                }}</text>
                                             <text v-if="channelData.type == 'BANK'" class="add-btn crm-cursor"
                                                 @click="openAddBankCard('add_bankCard')">
                                                 {{ t('Custom.Withdraw.addBank1') }}
@@ -307,7 +307,7 @@
                                         <template #label>
                                             <view class="tit">
                                                 <text>{{ t('Custom.Withdraw.Title3') + '(' + channelData.currency + ')'
-                                                }}</text>
+                                                    }}</text>
                                             </view>
                                         </template>
                                         <uni-easyinput v-model.trim="form.amount" autocomplete="off" type="number"
@@ -634,7 +634,7 @@ const rules = computed(() => ({
         rules: [
             {
                 required: true,
-                errorMessage: t('vaildate.amount.format1'),
+                errorMessage: t('vaildate.amount.format'),
             },
             {
                 validateFunction: (rule, value, data, callback) => {
@@ -706,7 +706,7 @@ const amountErrorMessage = ref('')
 const validateAmount = () => {
     const amount = form.amount
     if (!amount && amount !== 0) {
-        amountErrorMessage.value = t('vaildate.amount.format1')
+        amountErrorMessage.value = t('vaildate.amount.format')
         return false
     }
     if (mAmount.minAmount && mAmount.maxAmount) {
@@ -719,7 +719,7 @@ const validateAmount = () => {
         }
     }
     if (!/^[0-9]+([.]{1}[0-9]{1,2})?$/.test(amount)) {
-        amountErrorMessage.value = t('vaildate.amount.format1')
+        amountErrorMessage.value = t('vaildate.amount.format')
         return false
     }
     amountErrorMessage.value = ''
@@ -1629,7 +1629,7 @@ watch(() => form.amount, (newVal) => {
             }
 
             .uni-easyinput__content-input {
-                height: px2rpx(44) !important;
+                height: px2rpx(35) !important;
             }
         }
     }