Browse Source

修改首页、客服提醒、认证新增选择日期

master
liaoxinyu 11 months ago
parent
commit
df31cb813c
  1. 1
      i18n/lang/en.json
  2. 1
      i18n/lang/zh-TW.json
  3. 6
      pages/assets/records.vue
  4. 70
      pages/auth/primary.vue
  5. 8
      pages/base/home.vue

1
i18n/lang/en.json

@ -69,6 +69,7 @@
"c5": "your transfer order has been submitted successfully, please wait patiently, and the transfer result will be notified by SMS or e-mail. Please check it carefully. If you have any questions, please contact the customer service in time.", "c5": "your transfer order has been submitted successfully, please wait patiently, and the transfer result will be notified by SMS or e-mail. Please check it carefully. If you have any questions, please contact the customer service in time.",
"c6": "Proportion of increase", "c6": "Proportion of increase",
"c7": "Current valuation", "c7": "Current valuation",
"c8": "Select date",
"loading": "loading", "loading": "loading",
"c12": "Rejection Information", "c12": "Rejection Information",
"c13": "Withdrawal password", "c13": "Withdrawal password",

1
i18n/lang/zh-TW.json

@ -68,6 +68,7 @@
"c4": "數量", "c4": "數量",
"c5": "您的劃轉訂單已提交成功,請耐心等待,劃轉結果會以簡訊或郵件的管道通知。請注意查收,如有疑問請及時聯系客服", "c5": "您的劃轉訂單已提交成功,請耐心等待,劃轉結果會以簡訊或郵件的管道通知。請注意查收,如有疑問請及時聯系客服",
"c6": "漲幅比例", "c6": "漲幅比例",
"c8": "選擇日期",
"loading": "加载中", "loading": "加载中",
"c12": "駁回信息", "c12": "駁回信息",
"c13": "提款密碼", "c13": "提款密碼",

6
pages/assets/records.vue

@ -116,6 +116,12 @@ import formData from "@/utils/class/date";
this.depositHistory(); this.depositHistory();
} }
}, },
cancelWithdraw(item) {
Wallet.cancelWithdraw({ withdraw_id: item.id }).then(res => {
this.$toast(this.$t('otc.d4'));
this.getWithdrawRecords()
})
},
}, },
onLoad(e) { onLoad(e) {
// console.log('---------',e); // console.log('---------',e);

70
pages/auth/primary.vue

@ -9,33 +9,40 @@
<v-input v-model="form.realname" :placeholder="$t('auth.b0')"></v-input> <v-input v-model="form.realname" :placeholder="$t('auth.b0')"></v-input>
</view> </view>
</view> </view>
<!-- 出生日期 --> <!-- 出生日期 -->
<view class="form-item border-b p-md m-b-md" v-if="0"> <view class="form-item border-b p-md m-b-md" v-if="0">
<view class="label m-b-xs">{{$t('auth.d0')}}</view> <view class="label m-b-xs">{{$t('auth.d0')}}</view>
<view class="input color-light" > <view class="input color-light" >
<uni-datetime-picker <uni-datetime-picker
type="date" type="date"
:value="single" :value="single"
start="1900-1-1" start="1900-1-1"
end="2050-12-12" end="2050-12-12"
@change="selectDate" @change="selectDate"
/> />
</view> </view>
</view> </view>
<!-- 证件号类型 --> <view class="form-item border-b p-md m-b-md">
<view class="form-item border-b p-md m-b-md"> <view class="label m-b-xs">{{$t('auth.d0')}}</view>
<view class="label m-b-xs">{{$t('auth.d1')}}</view> <view class="input color-light">
<view class="input color-light" style="height: 30px;"> <uni-datetime-picker type="date" :placeholder="$t('common.c8')" start="1873-1-01" :end="new Date().toLocaleDateString()"
<v-picker :value="form.type" @change="selectType" :list="typeList" range-value="value" range-label="label"> :clear-icon="false" v-model="form.birthday" />
<v-input disabled :value="activeType.label" :placeholder="$t('auth.d13')"> </view>
<template #right> </view>
<van-icon class="color-default" name="arrow" /> <!-- 证件号类型 -->
</template> <view class="form-item border-b p-md m-b-md">
</v-input> <view class="label m-b-xs">{{$t('auth.d1')}}</view>
</v-picker> <view class="input color-light" style="height: 30px;">
</view> <v-picker :value="form.type" @change="selectType" :list="typeList" range-value="value" range-label="label">
</view> <v-input disabled :value="activeType.label" :placeholder="$t('auth.d13')">
<!-- 证件号 --> <template #right>
<van-icon class="color-default" name="arrow" />
</template>
</v-input>
</v-picker>
</view>
</view>
<!-- 证件号 -->
<view class="form-item border-b p-md m-b-md"> <view class="form-item border-b p-md m-b-md">
<view class="label m-b-xs">{{$t('auth.b1')}}</view> <view class="label m-b-xs">{{$t('auth.b1')}}</view>
<view class="input color-light"> <view class="input color-light">
@ -263,4 +270,13 @@ export default {
height: 24px; height: 24px;
font-size: 15px; font-size: 15px;
} }
/deep/.uni-date-x--border{
border: 0px;
}
/deep/.uni-date__x-input{
padding-left: 0px;
}
/deep/.uni-date-x .icon-calendar{
padding-left: 0px;
}
</style> </style>

8
pages/base/home.vue

@ -1351,7 +1351,7 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.circle-pulse1 { .circle-pulse1 {
background: red; // background: red;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
@ -1360,9 +1360,9 @@
font-size: 12px; font-size: 12px;
border-radius: 50%; border-radius: 50%;
position: absolute; position: absolute;
right: 25%; right: 10%;
top: -10px; top: 16px;
color: #fff; color: red;
} }
// .colbg { // .colbg {
// background-color: $bg; // background-color: $bg;

Loading…
Cancel
Save