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.",
"c6": "Proportion of increase",
"c7": "Current valuation",
"c8": "Select date",
"loading": "loading",
"c12": "Rejection Information",
"c13": "Withdrawal password",

1
i18n/lang/zh-TW.json

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

6
pages/assets/records.vue

@ -116,6 +116,12 @@ import formData from "@/utils/class/date";
this.depositHistory();
}
},
cancelWithdraw(item) {
Wallet.cancelWithdraw({ withdraw_id: item.id }).then(res => {
this.$toast(this.$t('otc.d4'));
this.getWithdrawRecords()
})
},
},
onLoad(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>
</view>
</view>
<!-- 出生日期 -->
<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="input color-light" >
<uni-datetime-picker
type="date"
:value="single"
start="1900-1-1"
end="2050-12-12"
@change="selectDate"
/>
</view>
</view>
<!-- 证件号类型 -->
<view class="form-item border-b p-md m-b-md">
<view class="label m-b-xs">{{$t('auth.d1')}}</view>
<view class="input color-light" style="height: 30px;">
<v-picker :value="form.type" @change="selectType" :list="typeList" range-value="value" range-label="label">
<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" v-if="0">
<view class="label m-b-xs">{{$t('auth.d0')}}</view>
<view class="input color-light" >
<uni-datetime-picker
type="date"
:value="single"
start="1900-1-1"
end="2050-12-12"
@change="selectDate"
/>
</view>
</view>
<view class="form-item border-b p-md m-b-md">
<view class="label m-b-xs">{{$t('auth.d0')}}</view>
<view class="input color-light">
<uni-datetime-picker type="date" :placeholder="$t('common.c8')" start="1873-1-01" :end="new Date().toLocaleDateString()"
:clear-icon="false" v-model="form.birthday" />
</view>
</view>
<!-- 证件号类型 -->
<view class="form-item border-b p-md m-b-md">
<view class="label m-b-xs">{{$t('auth.d1')}}</view>
<view class="input color-light" style="height: 30px;">
<v-picker :value="form.type" @change="selectType" :list="typeList" range-value="value" range-label="label">
<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="label m-b-xs">{{$t('auth.b1')}}</view>
<view class="input color-light">
@ -263,4 +270,13 @@ export default {
height: 24px;
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>

8
pages/base/home.vue

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

Loading…
Cancel
Save