Browse Source

修改文档2022.02.14

master
ltlzx 4 years ago
parent
commit
1404c1d63b
  1. 7
      src/components/SecondaryNav.vue
  2. 5
      src/i18n/en.json
  3. 5
      src/i18n/tw.json
  4. 3
      src/views/contract/hold-position.vue
  5. 64
      src/views/profile/certification.vue
  6. 15
      src/views/profile/index.vue

7
src/components/SecondaryNav.vue

@ -65,11 +65,12 @@ export default {
}, { }, {
url: `/profile/certification`, url: `/profile/certification`,
label: this.$t('common.auth') label: this.$t('common.auth')
}, {
url: `/profile/invite`,
label: this.$t('common.invitationReward')
}, },
// { // {
// url: `/profile/invite`,
// label: this.$t('common.invitationReward')
// },
// {
// url: `/profile/login-history`, // url: `/profile/login-history`,
// label: this.$t('common.visitHistory') // label: this.$t('common.visitHistory')
// } // }

5
src/i18n/en.json

@ -683,6 +683,9 @@
"buyLevel": "equal" "buyLevel": "equal"
}, },
"profile": { "profile": {
"tips":"Withdrawal quota. For more withdrawal quota, please complete advanced certification.",
"SelectAreaCode":"Select area code",
"driverLicense":"Driver's license",
"country":"Country", "country":"Country",
"country1":"Please enter your country", "country1":"Please enter your country",
"realName": "Real Name Authentication", "realName": "Real Name Authentication",
@ -739,7 +742,7 @@
"userInfo": "Account Information", "userInfo": "Account Information",
"verState": "Verification State", "verState": "Verification State",
"max": "Max", "max": "Max",
"limitH": "Hourly withdrawal limit", "limitH": "Hourly withdrawal limit.",
"verLeave": "Verification Level", "verLeave": "Verification Level",
"exceed": "Exceed", "exceed": "Exceed",
"contactUs": "Contact Us", "contactUs": "Contact Us",

5
src/i18n/tw.json

@ -622,6 +622,9 @@
"buyLevel": "買平" "buyLevel": "買平"
}, },
"profile": { "profile": {
"tips":"提幣限額,如需更多提幣額度,請完成⾼級認證",
"SelectAreaCode":"選擇區號",
"driverLicense":"駕駛證",
"country":"國家", "country":"國家",
"country1":"請輸入國家", "country1":"請輸入國家",
"realName": "實名認證", "realName": "實名認證",
@ -678,7 +681,7 @@
"userInfo": "帳戶資訊", "userInfo": "帳戶資訊",
"verState": "驗證狀態", "verState": "驗證狀態",
"max": "最大", "max": "最大",
"limitH": "小時提幣限額", "limitH": "小時提幣限額",
"verLeave": "驗證級別", "verLeave": "驗證級別",
"exceed": "超過", "exceed": "超過",
"contactUs": "聯繫我們", "contactUs": "聯繫我們",

3
src/views/contract/hold-position.vue

@ -477,7 +477,8 @@ export default {
return this.holdPositionList.filter((item) => item.hold_position); return this.holdPositionList.filter((item) => item.hold_position);
}, },
activeStep() { activeStep() {
if (!this.form.amount || !this.activeItem.avail_position) return 0; // return 0
if (!this.form.amount || !this.activeItem.avail_position) return 100;
let num = (this.form.amount / this.activeItem.avail_position) * 100; let num = (this.form.amount / this.activeItem.avail_position) * 100;
return num; return num;
}, },

64
src/views/profile/certification.vue

@ -95,16 +95,27 @@
/> />
</div> </div>
</div> </div>
<div class="form-group"> <!-- <div class="form-group">
<label>{{$t('profile.additionalInformation')}}{{$t('profile.optional')}}</label> <label>{{$t('profile.additionalInformation')}}{{$t('profile.optional')}}</label>
<input type="text" v-model="form.extra" class="form-control" placeholder /> <input type="text" v-model="form.extra" class="form-control" placeholder />
</div> </div> -->
<div class="label my-2 blue">{{$t('profile.contactInformation')}}</div> <div class="label my-2 blue">{{$t('profile.contactInformation')}}</div>
<div class="form-row"> <div class="form-row">
<div class="form-group col-md-6"> <!-- <div class="form-group col-md-12"> -->
<label>{{$t('profile.phoneNumber')}}*</label> <!-- <label>{{$t('profile.phoneNumber')}}*</label> -->
<div class="input-group mb-3"> <!-- <div class="input-group mb-3"> -->
<el-dropdown tragger="click" class="input-group-prepend"> <div class="form-group col-md-3">
<label>{{$t('profile.SelectAreaCode')}}*</label>
<el-select v-model="form.country_id" filterable placeholder="请选择" >
<el-option
v-for="item in countryList"
:key="item.id"
:label="'+'+item.country_code +'('+item.name+')'"
:value="item.id">
</el-option>
</el-select>
</div>
<!-- <el-dropdown tragger="click" class="input-group-prepend">
<button <button
class="btn btn-outline-secondary dropdown-toggle" class="btn btn-outline-secondary dropdown-toggle"
type="button" type="button"
@ -117,7 +128,9 @@
@click.native="form.country_id=item.id" @click.native="form.country_id=item.id"
>{{item.country_code}}{{item.name}}</el-dropdown-item> >{{item.country_code}}{{item.name}}</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown> -->
<div class="form-group col-md-9">
<label>{{$t('profile.phoneNumber')}}*</label>
<input <input
type="text" type="text"
required required
@ -125,7 +138,8 @@
:placeholder="$t('profile.enterPhoneNumber')" :placeholder="$t('profile.enterPhoneNumber')"
/> />
</div> </div>
</div> <!-- </div>
</div> -->
</div> </div>
<div class="text-center"> <div class="text-center">
<button <button
@ -182,7 +196,7 @@
</div> </div>
</template> </template>
</upload-img> </upload-img>
<upload-img <!-- <upload-img
class="mb-3" class="mb-3"
v-model="topForm.front_img" v-model="topForm.front_img"
required required
@ -194,7 +208,7 @@
<em>{{$t('profile.clickUpload')}}</em> <em>{{$t('profile.clickUpload')}}</em>
</div> </div>
</template> </template>
</upload-img> </upload-img> -->
<div class="text-center mt-3"> <div class="text-center mt-3">
<button type="button" class="btn w-25 btn-primary rounded-pill" @click="topAuth">{{$t('profile.nextStep')}}</button> <button type="button" class="btn w-25 btn-primary rounded-pill" @click="topAuth">{{$t('profile.nextStep')}}</button>
</div> </div>
@ -285,8 +299,16 @@ export default {
return [ return [
{ {
label: this.$t("profile.iD"), label: this.$t("profile.iD"),
value: 1 value: 1,
} },
{
label: this.$t("profile.driverLicense"),
value: 2,
},
{
label: this.$t("profile.passport"),
value: 3,
},
]; ];
} }
}, },
@ -310,12 +332,17 @@ export default {
}, },
// //
getCountryCode() { getCountryCode() {
Member.getCountryCode() Member.getCountryCode().then(res => {
.then(res => {
this.countryList = res; this.countryList = res;
this.form.country_id = this.countryList[0].id; for(let i=0; i<this.countryList.length;i++){
}) let item=this.countryList[i];
.catch(res => {}); if(item.country_code=="1"){
this.form.country_id = item.id;
break;
}
}
}).catch(res => {});
}, },
// //
primaryAuth() { primaryAuth() {
@ -325,7 +352,8 @@ export default {
Profile.primaryAuth(data) Profile.primaryAuth(data)
.then(res => { .then(res => {
this.$message.success(this.$t("profile.preliminary")); this.$message.success(this.$t("profile.preliminary"));
this.setp++; // this.setp++;
this.$router.push("/wallet/assets/exchange")
}) })
.catch(err => {}); .catch(err => {});
} }

15
src/views/profile/index.vue

@ -22,10 +22,11 @@
</div> </div>
<div> <div>
{{$t('profile.max')}} {{$t('profile.max')}}
<span class="font-weight-bold">20k</span> <span class="font-weight-bold">1k</span>
<span class="font-weight-bold light-purple">USD</span> <span class="font-weight-bold light-purple">USD</span>
<span class="font-weight-bold">24</span> <span class="font-weight-bold">24</span>
{{$t('profile.limitH')}} {{$t('profile.limitH')}}
{{$t('profile.tips')}}
</div> </div>
</div> </div>
</div> </div>
@ -81,8 +82,8 @@
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-4 d-flex"> <!-- <div class="col-md-4 d-flex">
<!-- 邀请好友 --> 邀请好友
<div class="panel-box bg-panel shadow-sm w-100"> <div class="panel-box bg-panel shadow-sm w-100">
<div class="heading d-flex justify-content-between">{{$t('profile.inviteFriends')}}</div> <div class="heading d-flex justify-content-between">{{$t('profile.inviteFriends')}}</div>
<div class="tab-content"> <div class="tab-content">
@ -90,7 +91,7 @@
<button type="button" class="bottom-left-btn btn btn-sm btn-primary rounded-pill" @click="$router.push('/profile/invite')">{{$t('profile.sendInvitation')}}</button> <button type="button" class="bottom-left-btn btn btn-sm btn-primary rounded-pill" @click="$router.push('/profile/invite')">{{$t('profile.sendInvitation')}}</button>
</div> </div>
</div> </div>
</div> </div> -->
<div class="col-md-4 d-flex"> <div class="col-md-4 d-flex">
<!-- 重置密码 --> <!-- 重置密码 -->
<div class="panel-box bg-panel shadow-sm w-100"> <div class="panel-box bg-panel shadow-sm w-100">
@ -101,8 +102,8 @@
</div> </div>
</div> </div>
</div> </div>
<div class="col-md-4 d-flex"> <!-- <div class="col-md-4 d-flex">
<!-- 访问记录 --> 访问记录
<div class="panel-box bg-panel shadow-sm w-100"> <div class="panel-box bg-panel shadow-sm w-100">
<div class="heading d-flex justify-content-between">{{$t('profile.registrationDecord')}}</div> <div class="heading d-flex justify-content-between">{{$t('profile.registrationDecord')}}</div>
<div class="tab-content"> <div class="tab-content">
@ -110,7 +111,7 @@
<button type="button" class="bottom-left-btn btn btn-sm btn-primary rounded-pill" @click="$router.push('/profile/login-history')">{{$t('profile.recordingDEtail')}}</button> <button type="button" class="bottom-left-btn btn btn-sm btn-primary rounded-pill" @click="$router.push('/profile/login-history')">{{$t('profile.recordingDEtail')}}</button>
</div> </div>
</div> </div>
</div> </div> -->
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save