Browse Source

修改资产的布局,隐藏邮箱绑定的按钮

master
liaoxinyu 2 years ago
parent
commit
595045b736
  1. 5
      pages/assets/address-list.vue
  2. 2
      pages/auth/senior.vue
  3. 37
      pages/base/mine.vue
  4. 4
      pages/otc/detail.vue
  5. 2
      pages/safe/email.vue
  6. 2
      pages/safe/google.vue
  7. 2
      wxcomponents/vant/search/index.vue

5
pages/assets/address-list.vue

@ -11,8 +11,8 @@
<main class="layout-main p-t-md"> <main class="layout-main p-t-md">
<view class="p-md fn-sm"> <view class="p-md fn-sm">
<ul> <ul>
<li class="m-b-xs">·{{ $t("assets.a1") }}</li> <li class="m-b-xs">·{{ $t("assets.a1") }}{{lang=='zh-TW'||lang=='jp'?'。':'.'}}</li>
<li>·API{{ $t("assets.a2", { name: "API" }) }}</li> <li>·API{{ $t("assets.a2", { name: "API" }) }}{{lang=='zh-TW'||lang=='jp'?'。':'.'}}</li>
</ul> </ul>
</view> </view>
<template v-for="parentItem in list"> <template v-for="parentItem in list">
@ -118,6 +118,7 @@ export default {
del: false, del: false,
list: [], list: [],
query: {}, query: {},
lang: uni.getStorageSync('language')
}; };
}, },
computed: {}, computed: {},

2
pages/auth/senior.vue

@ -94,7 +94,7 @@ export default {
Profile.topAuth(data, {btn: this.$refs.btn}) Profile.topAuth(data, {btn: this.$refs.btn})
.then(() => { .then(() => {
// alert($t('auth.c4') ); // alert($t('auth.c4') );
this.$toast.success(this.$t('auth.c4') + ""); this.$toast.success(this.$t('auth.c4') + ".");
clearTimeout(this.timer); // clearTimeout(this.timer); //
this.timer = setTimeout(()=>{ // this.timer = setTimeout(()=>{ //
this.$router.push("/pages/base/index"); this.$router.push("/pages/base/index");

37
pages/base/mine.vue

@ -30,32 +30,32 @@
<v-link tag="view" to="/pages/assets/recharge" v-if="user_auth_level==1" @click="getAuthInfo" <v-link tag="view" to="/pages/assets/recharge" v-if="user_auth_level==1" @click="getAuthInfo"
class="manage_text"> class="manage_text">
<img src="@/assets/img/home/Make.png" alt="" class="h-25" /> <img src="@/assets/img/home/Make.png" alt="" class="h-25" />
<view class="color-light fn-middle fn-ms">{{$t("base.b5")}}</view> <view class="color-light fn-middle fn-ms" style="text-align: center;">{{$t("base.b5")}}</view>
</v-link> </v-link>
<v-link tag="view" to="/pages/auth/primary" v-if="user_auth_level==0" @click="getAuthInfo" <v-link tag="view" to="/pages/auth/primary" v-if="user_auth_level==0" @click="getAuthInfo"
class="manage_text"> class="manage_text">
<img src="@/assets/img/home/Make.png" alt="" class="h-25" /> <img src="@/assets/img/home/Make.png" alt="" class="h-25" />
<view class="color-light fn-middle fn-ms">{{$t("base.b5")}}</view> <view class="color-light fn-middle fn-ms" style="text-align: center;">{{$t("base.b5")}}</view>
</v-link> </v-link>
<v-link tag="view" to="/pages/assets/draw" class="manage_text"> <v-link tag="view" to="/pages/assets/draw" class="manage_text">
<img src="@/assets/img/home/currency.png" alt="" class="h-25" /> <img src="@/assets/img/home/currency.png" alt="" class="h-25" />
<view class="color-light fn-ms">{{$t("base.b6")}}</view> <view class="color-light fn-ms" style="text-align: center;">{{$t("base.b6")}}</view>
</v-link> </v-link>
<v-link tag="view" to="/pages/transfer/index" class="manage_text"> <v-link tag="view" to="/pages/transfer/index" class="manage_text">
<img src="@/assets/img/home/transfer.png" alt="" class="h-25" /> <img src="@/assets/img/home/transfer.png" alt="" class="h-25" />
<view class="color-light fn-ms">{{$t("base.d8")}}</view> <view class="color-light fn-ms" style="text-align: center;">{{$t("base.d8")}}</view>
</v-link> </v-link>
<v-link tag="view" :to="{path: '/pages/exchange/his',query: { symbol: symbol }}" class="manage_text"> <v-link tag="view" :to="{path: '/pages/exchange/his'}" class="manage_text">
<img src="@/assets/img/home/check.png" alt="" class="h-25" /> <img src="@/assets/img/home/check.png" alt="" class="h-25" />
<view class="color-light fn-ms">{{$t("base.h1")}}</view> <view class="color-light fn-ms" style="text-align: center;">{{$t("base.h1")}}</view>
</v-link> </v-link>
</view> --> </view> -->
<view class="m-t-ms p-b-ms w-max " style="margin-top: 10px" v-if="0"> <view class="m-t-ms p-b-ms w-max " style="margin-top: 10px">
<view class="d-flex justify-between align-center rounded-lg"> <view class="d-flex justify-between align-center rounded-lg">
<v-link tag="view" <v-link tag="view"
:to="ProfileDetail.primary_status!=1?'/pages/auth/index':'/pages/assets/recharge'" :to="ProfileDetail.primary_status!=1?'/pages/auth/index':'/pages/assets/recharge'"
class="d-flex bg-form-panel-3 align-center p-y-xxs rounded-xs w-33 justify-center"> class="d-flex bg-form-panel-3 align-center p-y-xxs rounded-xs w-33 justify-center" style="background-color: #fff;">
<view class="m-r-xs d-flex align-center"> <view class="m-r-xs d-flex align-center">
<img src="static/img/13.png" alt="" class="h-25" /> <img src="static/img/13.png" alt="" class="h-25" />
</view> </view>
@ -63,14 +63,14 @@
</v-link> </v-link>
<v-link tag="view" <v-link tag="view"
:to="ProfileDetail.status==1?'/pages/auth/index':(ProfileDetail.status==2?'/pages/assets/draw':'/pages/auth/senior')" :to="ProfileDetail.status==1?'/pages/auth/index':(ProfileDetail.status==2?'/pages/assets/draw':'/pages/auth/senior')"
class="d-flex bg-form-panel-3 align-center p-y-xxs rounded-xs w-33 justify-center"> class="d-flex bg-form-panel-3 align-center p-y-xxs rounded-xs w-33 justify-center" style="background-color: #fff;">
<view class="m-r-xs d-flex align-center"> <view class="m-r-xs d-flex align-center">
<img src="static/img/5.png" alt="" class="h-25" /> <img src="static/img/5.png" alt="" class="h-25" />
</view> </view>
<text class="color-light fn-ms">{{$t("base.b6")}}</text> <text class="color-light fn-ms">{{$t("base.b6")}}</text>
</v-link> </v-link>
<v-link tag="view" to="/pages/transfer/index" <v-link tag="view" to="/pages/transfer/index"
class="d-flex bg-form-panel-3 align-center p-y-xxs rounded-xs w-33 justify-center"> class="d-flex bg-form-panel-3 align-center p-y-xxs rounded-xs w-33 justify-center" style="background-color: #fff;">
<view class="m-r-xs d-flex align-center"> <view class="m-r-xs d-flex align-center">
<img src="static/img/hua.png" alt="" class="h-25" /> <img src="static/img/hua.png" alt="" class="h-25" />
</view> </view>
@ -102,7 +102,7 @@
{{$t('otc.d5')}} {{$t('otc.d5')}}
</view> --> </view> -->
<!-- </view> --> <!-- </view> -->
<view style="padding: 15px;background-color: #F6F9FF;" @click="showPopup"> <view style="padding: 15px;background-color: #F6F9FF;" @click="showPopup" v-if="0">
<view style="background-color: #fff;border-radius: 10px;padding: 15px;display: flex;align-items: center;justify-content: space-between;"> <view style="background-color: #fff;border-radius: 10px;padding: 15px;display: flex;align-items: center;justify-content: space-between;">
<view style="display: flex;align-items: center;"> <view style="display: flex;align-items: center;">
<view style="background-color: #ECF1FF;padding: 10px;border-radius: 50px;height: 24px;margin-right: 10px;"> <view style="background-color: #ECF1FF;padding: 10px;border-radius: 50px;height: 24px;margin-right: 10px;">
@ -707,14 +707,15 @@
.popup_box_a_box1{ .popup_box_a_box1{
display: flex; display: flex;
align-items: center; align-items: center;
.popup_box_a_img{
height: 20px;
padding: 10px;
border-radius: 50px;
background-color: #ECF1FF;
}
} }
} }
} }
.popup_box_a_img{
height: 20px;
padding: 10px;
margin-bottom: 5px;
border-radius: 50px;
background-color: #fff;
// background-color: #ECF1FF;
}
</style> </style>

4
pages/otc/detail.vue

@ -247,7 +247,7 @@ export default {
this.$dialog this.$dialog
.confirm({ .confirm({
title: this.$t("otc.d0"), title: this.$t("otc.d0"),
message: this.$t("otc.h0") + "", message: this.$t("otc.h0") + ".",
confirmButtonText: this.$t("common.confirm"), confirmButtonText: this.$t("common.confirm"),
cancelButtonText: this.$t("common.cancel"), cancelButtonText: this.$t("common.cancel"),
type: "warning", type: "warning",
@ -270,7 +270,7 @@ export default {
this.$dialog this.$dialog
.confirm({ .confirm({
title: this.$t("otc.d0"), title: this.$t("otc.d0"),
message: this.$t('otc.h1')+"", message: this.$t('otc.h1')+".",
confirmButtonText: this.$t("common.confirm"), confirmButtonText: this.$t("common.confirm"),
cancelButtonText: this.$t("common.cancel"), cancelButtonText: this.$t("common.cancel"),
type: "warning", type: "warning",

2
pages/safe/email.vue

@ -38,7 +38,7 @@
</view> </view>
</main> </main>
<view class="p-md bg-panel-4"> <view class="p-md bg-panel-4">
<v-button block class="w-max" type="theme" ref="btn" @click="chnageEmail">{{user.email?$t('safe.a0'):$t('safe.a1')}}</v-button> <!-- <v-button block class="w-max" type="theme" ref="btn" @click="chnageEmail">{{user.email?$t('safe.a0'):$t('safe.a1')}}</v-button> -->
</view> </view>
<van-toast id="van-toast" /> <van-toast id="van-toast" />
</v-page> </v-page>

2
pages/safe/google.vue

@ -6,7 +6,7 @@
<main v-show="step==1&&!user.google_token" class="layout-main bg-panel-4 p-t-md"> <main v-show="step==1&&!user.google_token" class="layout-main bg-panel-4 p-t-md">
<view <view
class="p-x-md p-y-xs bg-theme-1-transparent color-theme-1 fn-sm" class="p-x-md p-y-xs bg-theme-1-transparent color-theme-1 fn-sm"
>{{$t('safe.c0')}}</view> >{{$t('safe.c0')}}.</view>
<!-- 二维码 --> <!-- 二维码 -->
<view class="row p-md fn-center code-box"> <view class="row p-md fn-center code-box">
<v-qr class="v-qr" :text="googleToken.qrcode_url"></v-qr> <v-qr class="v-qr" :text="googleToken.qrcode_url"></v-qr>

2
wxcomponents/vant/search/index.vue

@ -12,7 +12,7 @@
<view v-if="showAction || useActionSlot" class="van-search__action" hover-class="van-search__action--hover" hover-stay-time="70"> <view v-if="showAction || useActionSlot" class="van-search__action" hover-class="van-search__action--hover" hover-stay-time="70">
<slot v-if="useActionSlot" name="action"></slot> <slot v-if="useActionSlot" name="action"></slot>
<view v-else @click="onCancel" class="cancel-class">{{ actionText }}</view> <view v-else @click="onCancel" class="cancel-class">{{ $t('common.cancel') }}</view>
</view> </view>
</view></uni-shadow-root> </view></uni-shadow-root>
</template> </template>

Loading…
Cancel
Save