个人信息
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="contenttow flex-between">
|
<view class="contenttow flex-between">
|
||||||
<view class="contenttowitem" v-for="(item,index) in list" :key="index" @click="clickproduct(item)">
|
<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">
|
<view class="contenttowitemtiter">
|
||||||
{{item.shopName}}|{{item.productName}}
|
{{item.shopName}}|{{item.productName}}
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -292,8 +292,6 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
async onLoad() {
|
async onLoad() {
|
||||||
|
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.GetTop()
|
this.GetTop()
|
||||||
}, 1000)
|
}, 1000)
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="container">
|
<view class="container">
|
||||||
<view class="user-info-wrap">
|
<view class="user-info-wrap" @click="clickinformation">
|
||||||
<view style="width: 108rpx; height: 108rpx;border-radius: 50%;">
|
<view style="width: 108rpx; height: 108rpx;border-radius: 50%;">
|
||||||
<image style="width: 108rpx; height: 108rpx; border-radius: 50%;" v-if="userInfo.avatar"
|
<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>
|
||||||
<image style="width: 108rpx; height: 108rpx; border-radius: 50%;" v-else src="@/static/avatar.png"
|
<image style="width: 108rpx; height: 108rpx; border-radius: 50%;" v-else src="@/static/avatar.png"
|
||||||
mode="aspectFill">
|
mode="aspectFill">
|
||||||
@@ -55,6 +55,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
clickinformation(){
|
||||||
|
uni.pro.navigateTo('user/information')
|
||||||
|
},
|
||||||
//退出登录
|
//退出登录
|
||||||
boxClick() {
|
boxClick() {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
|
|||||||
Reference in New Issue
Block a user