diff --git a/dist88.zip b/dist.zip similarity index 98% rename from dist88.zip rename to dist.zip index 3124ccc..044b4a2 100644 Binary files a/dist88.zip and b/dist.zip differ diff --git a/src/api/server/index.js b/src/api/server/index.js index 0aba142..6e21600 100644 --- a/src/api/server/index.js +++ b/src/api/server/index.js @@ -59,8 +59,8 @@ Object.assign(settings, { // api请求根地址 打包使用完整地址 调试使用本地服务器代理 避免跨域 // baseURL: process.env.NODE_ENV == 'production' ? 'http://qkladmin2.ruanmeng.top/api/' : '/api/', // baseURL: process.env.NODE_ENV == 'production' ? 'https://guanli.coin.amatak.net/api/' : '/api/', - // baseURL: process.env.NODE_ENV == 'production' ? 'https://ser.xtzcoin.com/api/' : '/api/', - baseURL: process.env.NODE_ENV == 'production' ? 'https://ser.xtzcoin.com/api/' : 'https://ser.xtzcoin.com/api/', + baseURL: process.env.NODE_ENV == 'production' ? 'https://ser.xtzcoin.com/api/' : '/api/', + // baseURL: process.env.NODE_ENV == 'production' ? 'https://ser.xtzcoin.com/api/' : 'https://ser.xtzcoin.com/api/', // baseURL: 'https://aaccdd.kixcoin.org/api/' , // baseURL: 'https://guanli.coin.amatak.net/api/', // baseURL: 'https://api.hipc.world/', diff --git a/src/views/profile/certification.vue b/src/views/profile/certification.vue index bbddf34..9679433 100644 --- a/src/views/profile/certification.vue +++ b/src/views/profile/certification.vue @@ -9,7 +9,7 @@
- +
@@ -17,7 +17,7 @@
-
+
@@ -29,7 +29,7 @@ :placeholder="$t('profile.pleaseEnterName')" />
-
+
-
{{$t('profile.addressInfo')}}
-
+ + -
{{$t('profile.contactInformation')}}
-
+ +
@@ -142,23 +142,16 @@
-
+ + - -
-
- -
-

{{$t('profile.clickUpload1')}}

+ >{{$t('profile.nextStep')}} --> + +

{{$t('profile.clickUpload1')}}

{{$t('profile.pelaseDownload')}} 3. {{$t('profile.fileFormat')}}:pdf./ gif./ jpeg./jpg./png.

  • 4. {{$t('profile.maximumFileSize')}}:5 MB
  • - - - - - - +
    + + + + + + +
    - +
    - -
    + + +

    {{$t('profile.inSubmit')}}

    @@ -240,7 +236,7 @@ >{{$t('profile.gotIt')}}
    -
    +

    {{$t('profile.congratulations')}},{{detail.status_text_lang}}!

    @@ -252,7 +248,7 @@ >{{$t('profile.back')}}
    -
    +

    {{detail.status_text_lang}}!{{$t('profile.resetApply')}}

    @@ -335,14 +331,23 @@ export default { Profile.getAuthInfo() .then(res => { this.detail = res; + /** + * status审核状态 + 高级认证状态 0未认证,1待审核,2已通过,3已驳回 + primary_status实名状态 + 0未实名,1已实名 + */ + // 展示页面 + // if (res.primary_status !== 0) { + // this.setp = 0; + // return; + // } else if (res.primary_status == 0) { this.setp = 0; - return; - } else if (res.status == 0) { + } + else { this.setp = 1; - } else { - this.setp = 2; } }) .catch(res => {}); @@ -364,13 +369,17 @@ export default { // 初级认证 primaryAuth() { let data = this.form; - data.country_code = this.country.country_code; + // data.country_code = this.country.country_code; + data.front_img = this.topForm.front_img; + data.back_img = this.topForm.back_img; if (utils.validate("#auth")) { Profile.primaryAuth(data) .then(res => { - this.$message.success(this.$t("profile.preliminary")); + // this.$message.success(this.$t("profile.preliminary")); + this.$message.success(this.$t("profile.advancedCertification")); + this.getAuthInfo(); // this.setp++; - this.$router.push("/wallet/assets/exchange") + // this.$router.push("/wallet/assets/exchange") }) .catch(err => {}); } @@ -439,6 +448,17 @@ export default { .form-control, /deep/ .el-input__inner{ background-color: #fff; color: #333; - border-color: #ececec; + border: 1px solid #ececec; +} +/deep/ .el-input.is-focus .el-input__inner{ + box-shadow: 0 0 0 0.2rem rgba(247,213,88,0.25); +} +/deep/ .el-step__head.is-process{ + color: #999; + border-color: #999; +} +/deep/ .el-step__head.is-finish, /deep/ .el-step__title.is-finish{ + color: #F7D558; + border-color: #F7D558; }