Browse Source

个人中心登录、认证判断修复,内页样式

master
luyisha 3 years ago
parent
commit
dc0bc9dd9b
  1. 3
      pages/accountSettings/accountSettings.vue
  2. 3
      pages/assets/address-list.vue
  3. 28
      pages/base/home.vue
  4. 7
      pages/safe/index.vue

3
pages/accountSettings/accountSettings.vue

@ -204,4 +204,7 @@ export default {
::v-deep .lb-picker-default-slot {
font-size: 14px !important;
}
.bg-panel-3{
background-color: #242424;
}
</style>

3
pages/assets/address-list.vue

@ -186,4 +186,7 @@ export default {
};
</script>
<style lang="scss">
.bg-panel-4{
background-color: #242424;
}
</style>

28
pages/base/home.vue

@ -506,8 +506,8 @@
</view>
</view>
<v-link :to="detail.status!=2?'/pages/auth/index':''" tag="div"
class="p-xs m-xs color-theme-1 d-flex justify-between align-center" style="background-color: #212121;" v-if="!isLogin">
<v-link :to="detail.status!=2?'/pages/auth/index':''" tag="div" v-if="false"
class="p-xs m-xs color-theme-1 d-flex justify-between align-center" style="background-color: #212121;">
<view class="d-flex align-center">
<van-icon name="manager" class="col-fff" />
@ -517,14 +517,20 @@
<text class="bg-theme-1 color-white p-x-xs p-y-xxs rounded" v-else>{{$t('auth.a3')}}</text>
</v-link>
<v-link class=" p-xs m-xs d-flex justify-between align-center" to="/pages/login/index" v-else >
<v-link class=" p-xs m-xs d-flex justify-between align-center" :to="detail.status!=2?'/pages/auth/index':''" v-if="isLogin">
<view style="display: flex;">
<image src="@/assets/img/home/login.png" mode="aspectFit" class="logine"></image>
<image src="@/assets/img/home/Havelogged.png" mode="aspectFit" class="havelogg"></image>
<view style="margin-left: 26rpx;">
<view class="color-light username">{{username}}</view>
<view class="border_authentication">
{{$t("base.f6")}}
<view class="border_authentication" v-if="detail.status===2">
{{$t('auth.a4')}},{{$t('auth.a3')}}
</view>
<view class="border_authentication" v-else-if="detail.primary_status===1">
{{$t("base.f6")}}<!-- {{detail.primary_status_text}} -->
</view>
<view class="border_authentication" v-else>
{{$t('first.a0')}}
</view>
</view>
</view>
@ -677,15 +683,15 @@
<!-- $localImgUrl('pages1.png') -->
<view class="color-light">{{ $t("base.c1") }}</view>
</view>
<v-link to="/pages/safe/index" tag="div" class="manage_text">
<v-link :to="isLogin?'/pages/safe/index':'/pages/login/index'" tag="div" class="manage_text">
<img src="@/static/img/pages2.png">
<view class="color-light">{{ $t("base.c3") }}</view>
</v-link>
<v-link to="/pages/notice/index" tag="div" class="manage_text">
<v-link :to="isLogin?'/pages/notice/index':'/pages/login/index'" tag="div" class="manage_text">
<img src="@/static/img/pages3.png">
<view class="color-light">{{ $t("base.c4") }}</view>
</v-link>
<v-link to="/pages/assets/address-list" tag="div" class="manage_text">
<v-link :to="isLogin?'/pages/assets/address-list':'/pages/login/index'" tag="div" class="manage_text">
<img src="@/static/img/pages4.png">
<view class="color-light">{{ $t("base.c5") }}</view>
</v-link>
@ -693,7 +699,7 @@
<img src="@/static/img/pages5.png">
<view class="color-light">{{ $t("first.a1") }}</view>
</v-link>
<v-link to="/pages/accountSettings/accountSettings" tag="div" class="manage_text">
<v-link :to="isLogin?'/pages/accountSettings/accountSettings':'/pages/login/index'" tag="div" class="manage_text">
<img src="@/static/img/pages6.png">
<view class="color-light">{{ $t("base.c6") }}</view>
</v-link>
@ -1372,7 +1378,9 @@
.goLogin {
padding: 5px 15px;
border: 1px solid $theme-1;
// border: 1px solid $theme-1;
color: #fff;
border: 1px solid #fff;
}
.p-y-xxs {

7
pages/safe/index.vue

@ -112,4 +112,9 @@ export default {
}
};
</script>
</script>
<style scoped>
.bg-panel-3{
background-color: #242424;
}
</style>
Loading…
Cancel
Save