个人信息

This commit is contained in:
魏啾
2024-05-16 10:15:14 +08:00
parent afedc67e9e
commit 855e165bff
3 changed files with 6 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
</view>
<view class="contenttow flex-between">
<view class="contenttowitem" v-for="(item,index) in list" :key="index" @click="clickproduct(item)">
<image class="contenttowitemimage" :src="item.image" mode=""></image>
<image class="contenttowitemimage" :src="item.image" mode="aspectFill"></image>
<view class="contenttowitemtiter">
{{item.shopName}}|{{item.productName}}
</view>

View File

@@ -292,8 +292,6 @@
},
},
async onLoad() {
setTimeout(() => {
this.GetTop()
}, 1000)

View File

@@ -1,9 +1,9 @@
<template>
<view class="container">
<view class="user-info-wrap">
<view class="user-info-wrap" @click="clickinformation">
<view style="width: 108rpx; height: 108rpx;border-radius: 50%;">
<image style="width: 108rpx; height: 108rpx; border-radius: 50%;" v-if="userInfo.avatar"
:src="userInfo.avatar" mode="aspectFill">
:src="userInfo.avatar" mode="aspectFill" >
</image>
<image style="width: 108rpx; height: 108rpx; border-radius: 50%;" v-else src="@/static/avatar.png"
mode="aspectFill">
@@ -55,6 +55,9 @@
}
},
methods: {
clickinformation(){
uni.pro.navigateTo('user/information')
},
//退出登录
boxClick() {
uni.showModal({