bug110,124,108 + 建设页

This commit is contained in:
shijingjing
2023-03-20 14:54:29 +08:00
parent 32871fdc1b
commit b84814c461
7 changed files with 58 additions and 35 deletions

View File

@@ -46,7 +46,7 @@
</div>
</div>
</div>
<div class="logout">
<div class="logout" v-if="token">
<b class="login-out" @click="onLogout">退出登录</b>
</div>
<AiLogin ref="login" @success="getAuth()"/>

View File

@@ -1,7 +1,5 @@
<template>
<div class="AppHarvestQR">
<u-navbar :is-back="false" title="我的丰收码" title-color="#000" title-width="300" title-size="32"
:background="backgroundNavbar" :title-bold="true"></u-navbar>
<div class="card">
<div class="myself">
<img class="avatar" :src="user.avatarUrl" alt="" v-if="user.avatarUrl">
@@ -28,13 +26,8 @@
import { mapState } from 'vuex'
export default {
name: "AppHarvestQR",
appName: '丰收码',
customNavigation: true,
data() {
return {
backgroundNavbar: {
background: '#FFF'
},
qrCode: '',
}
},
@@ -52,6 +45,9 @@ export default {
},
onLoad() {
this.getQrCode()
uni.setNavigationBarTitle({
title: '我的丰收码'
})
}
}
</script>
@@ -65,6 +61,7 @@ export default {
height: 100%;
box-sizing: border-box;
border-radius: 16px;
background: #FFF;
.myself {
padding: 72px;

View File

@@ -1,7 +1,5 @@
<template>
<div class="page">
<u-navbar :is-back="false" title="个人认证" title-color="#000" title-width="300" title-size="32"
:background="{background: '#FFF'}" :title-bold="true"></u-navbar>
<div class="info-list">
<div class="item-content mar-b8">
<div class="item solid">
@@ -74,13 +72,14 @@ import {mapActions, mapState} from 'vuex'
export default {
name: "userInfo",
appName: "个人中心",
customNavigation: true,
computed: {
...mapState(['user', 'token']),
},
onLoad() {
this.getUserInfo('qujing')
uni.setNavigationBarTitle({
title: '个人中心'
})
},
data() {
return {