Browse Source

安全中心新增ico

master
liaoxinyu 1 year ago
parent
commit
8beebd1db7
  1. BIN
      assets/img/info1.png
  2. BIN
      assets/img/info2.png
  3. BIN
      assets/img/info3.png
  4. BIN
      assets/img/info4.png
  5. 2
      pages/auth/certification.vue
  6. 60
      pages/safe/index.vue

BIN
assets/img/info1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 735 B

BIN
assets/img/info2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 935 B

BIN
assets/img/info3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 955 B

BIN
assets/img/info4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 834 B

2
pages/auth/certification.vue

@ -253,7 +253,7 @@
} }
Profile.newAuth(data, {btn: this.$refs.btn}).then((res) => { Profile.newAuth(data, {btn: this.$refs.btn}).then((res) => {
this.$toast.success(this.$t('auth.b4')); // this.$toast.success(this.$t('auth.b4'));
setTimeout(() => { setTimeout(() => {
this.$back(); this.$back();
}, 1500) }, 1500)

60
pages/safe/index.vue

@ -17,15 +17,14 @@
<van-icon name="arrow" /> <van-icon name="arrow" />
</v-link> --> </v-link> -->
<!-- -------login---------- --> <!-- -------login---------- -->
<v-link <v-link tag="li" to="/pages/safe/login-password" class="item link-active d-flex align-center" style="padding: 10px 0px;">
tag="li" <view class="img_info">
to="/pages/safe/login-password" <img src="@/assets/img/info1.png" style="width: 20px;" />
class="item link-active d-flex p-x-md p-y-md align-center border-b" </view>
> <view class="flex-fill d-flex justify-between m-r-xs">
<view class="flex-fill d-flex justify-between m-r-xs"> <view class="color-light">{{$t('safe.c8')}}</view>
<view class="color-light">{{$t('safe.c8')}}</view> </view>
</view> <van-icon name="arrow" />
<van-icon name="arrow" />
</v-link> </v-link>
<!-- ----------交易密码---------- --> <!-- ----------交易密码---------- -->
<!-- <v-link <!-- <v-link
@ -64,12 +63,15 @@
</v-link> --> </v-link> -->
</view> </view>
</view> </view>
<view class=" m-x-lg m-y-lg p-x-md bg-panel-3 rounded-md box-shadow"> <view class=" m-x-lg m-y-lg bg-panel-3 rounded-md box-shadow">
<view class="list"> <view class="list">
<v-link tag="view" :to="{path: status!=2&&status!=1?'/pages/auth/certification':''}" <v-link tag="view" :to="{path: status!=2&&status!=1?'/pages/auth/certification':''}"
style="display: flex;justify-content: space-between;align-items: center;" style="display: flex;justify-content: space-between;align-items: center;padding: 10px 0px;"
class="item link-active d-flex p-x-md p-y-md align-center border-b"> class="item link-active d-flex p-x-md align-center">
<view style="display: flex;align-items: center;"> <view style="display: flex;align-items: center;">
<view class="img_info">
<img src="@/assets/img/info2.png" style="width: 20px;" />
</view>
<view class="color-light" v-if="status==0">{{$t('common.c9')}}</view> <view class="color-light" v-if="status==0">{{$t('common.c9')}}</view>
<view class="color-yellows" v-else-if="status==1">{{$t('auth.a5')}}</view> <view class="color-yellows" v-else-if="status==1">{{$t('auth.a5')}}</view>
<view class="color-buy" v-else-if="status==2">{{$t('common.c10')}}</view> <view class="color-buy" v-else-if="status==2">{{$t('common.c10')}}</view>
@ -79,20 +81,28 @@
</v-link> </v-link>
</view> </view>
</view> </view>
<view class=" m-x-lg m-y-lg p-x-md bg-panel-3 rounded-md box-shadow"> <view class=" m-x-lg m-y-lg bg-panel-3 rounded-md box-shadow">
<view class="list"> <view class="list">
<v-link tag="li" to="/pages/safe/email" class="item link-active d-flex p-x-md p-y-md align-center border-b"> <v-link tag="li" to="/pages/safe/email" class="item link-active d-flex p-x-md align-center" style="justify-content: space-between;padding: 10px 0px;">
<span class="color-light" style="width: 200rpx;">{{$t('accountSettings.a7')}}</span>
<view class="d-flex align-center"> <view class="d-flex align-center">
<view style="word-wrap: break-word;">{{user.email}}</view> <view class="img_info">
<img src="@/assets/img/info3.png" style="width: 18px;" />
</view>
<view class="color-light" style="">{{$t('accountSettings.a7')}}</view>
</view>
<view class="d-flex align-center" style="justify-content: space-between;width: 160px;">
<view style="word-wrap: break-word;width: 100px;">{{user.email}}</view>
<van-icon class="p-l-xs" name="arrow" size="16" color="#9FA6B5" @click.stop /> <van-icon class="p-l-xs" name="arrow" size="16" color="#9FA6B5" @click.stop />
</view> </view>
</v-link> </v-link>
</view> </view>
</view> </view>
<view class=" m-x-lg m-y-lg p-x-md bg-panel-3 rounded-md box-shadow"> <view class=" m-x-lg m-y-lg bg-panel-3 rounded-md box-shadow">
<view class="list"> <view class="list">
<v-link tag="li" to="/pages/assets/address-list" class="item link-active d-flex p-x-md p-y-md align-center border-b"> <v-link tag="li" to="/pages/assets/address-list" class="item link-active d-flex p-x-md align-center" style="padding: 10px 0px;">
<view class="img_info">
<img src="@/assets/img/info4.png" style="width: 20px;" />
</view>
<view class="flex-fill d-flex justify-between m-r-xs"> <view class="flex-fill d-flex justify-between m-r-xs">
<view class="color-light">{{$t('base.c5')}}</view> <view class="color-light">{{$t('base.c5')}}</view>
</view> </view>
@ -160,6 +170,16 @@ export default {
</script> </script>
<style scoped> <style scoped>
.bg-panel-3{ .bg-panel-3{
background-color: #242424; background-color: #242424;
} }
.img_info{
width: 40px;
height: 40px;
display: flex;
margin-right: 10px;
border-radius: 40px;
align-items: center;
justify-content: center;
background-color: #313147;
}
</style> </style>
Loading…
Cancel
Save