INFO
This commit is contained in:
+23
-22
@@ -7,11 +7,10 @@
|
||||
<view class="view-info">
|
||||
<view class="userinfo">
|
||||
<view class="flex">
|
||||
<cloud-image v-if="userInfo.avatar_file" borderRadius="50%" class="userinfo-headimg"
|
||||
:src="userInfo.avatar_file.url"></cloud-image>
|
||||
<cloud-image v-if="userInfo.avatar_file" borderRadius="50%" class="userinfo-headimg"
|
||||
:src="userInfo.avatar_file.url"></cloud-image>
|
||||
<image v-else
|
||||
|
||||
src="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/static/center/avatar.png?expire_at=1741142218&er_sign=2f723854c2a07dcb5571d2ede5458f7f"
|
||||
src="https://qnycdn.mymoyu.top/static/avatar.jpg"
|
||||
class="userinfo-headimg borde-radius"></image>
|
||||
<view class="flex-one">
|
||||
<view class="flex-one-text">用户名:{{ userInfo.nickname }}</view>
|
||||
@@ -107,29 +106,29 @@
|
||||
<script>
|
||||
import uSubsection from "../../uni_modules/uview-ui/components/u-subsection/u-subsection.vue"
|
||||
import uModal from "../../uni_modules/uview-ui/components/u-modal/u-modal.vue"
|
||||
|
||||
|
||||
const uniIdCo = uniCloud.importObject("uni-id-co")
|
||||
import {
|
||||
store,
|
||||
mutations
|
||||
} from '@/uni_modules/uni-id-pages/common/store.js';
|
||||
|
||||
import {
|
||||
store,
|
||||
mutations
|
||||
} from '@/pages3/uni_modules/uni-id-pages/common/store.js';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
uSubsection,
|
||||
uModal
|
||||
},
|
||||
computed: {
|
||||
userInfo() {
|
||||
return store.userInfo
|
||||
},
|
||||
realNameStatus () {
|
||||
if (!this.userInfo.realNameAuth) {
|
||||
return 0
|
||||
}
|
||||
|
||||
return this.userInfo.realNameAuth.authStatus
|
||||
}
|
||||
userInfo() {
|
||||
return store.userInfo
|
||||
},
|
||||
realNameStatus() {
|
||||
if (!this.userInfo.realNameAuth) {
|
||||
return 0
|
||||
}
|
||||
|
||||
return this.userInfo.realNameAuth.authStatus
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -221,6 +220,7 @@
|
||||
<style lang="scss" scoped>
|
||||
@import '../../uni_modules/uview-ui/theme.scss';
|
||||
@import '../../uni_modules/uview-ui/index.scss';
|
||||
|
||||
::v-deep .u-modal__content {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
@@ -366,8 +366,9 @@
|
||||
height: 130rpx;
|
||||
overflow: hidden;
|
||||
margin-right: 20rpx;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.borde-radius {
|
||||
border-radius: 50%;
|
||||
}
|
||||
@@ -523,4 +524,4 @@
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
Reference in New Issue
Block a user