dengjie commit : 上传头像和收藏产品
This commit is contained in:
@@ -53,10 +53,10 @@
|
||||
url: '../../packageMy/changeAvatar/changeAvatar'
|
||||
})
|
||||
},
|
||||
//获取普通会员和VIP会员
|
||||
//获取头像昵称和普通会员和VIP会员
|
||||
getUser() {
|
||||
this.$apiServe.getUser().then(res => {
|
||||
// console.log('个人信息==', res.data.data);
|
||||
console.log('个人信息==', res.data.data);
|
||||
var data = res.data.data
|
||||
this.avatar = data.avatar
|
||||
this.nickname = data.nickname
|
||||
|
||||
@@ -29,9 +29,10 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<u-button v-if="type==1" type="success" text="移除" color="#0EBB5B" @click="deleteProduct(item)">
|
||||
|
||||
<u-button v-if="type==1" type="success" text="取消收藏" color="#0EBB5B" @click="cancelCollect(item)">
|
||||
</u-button>
|
||||
<u-button v-if="type==2" type="success" text="取消收藏" color="#0EBB5B" @click="cancelCollect(item)">
|
||||
<u-button v-if="type==2" type="success" text="移除" color="#0EBB5B" @click="deleteProduct(item)">
|
||||
</u-button>
|
||||
</u-grid-item>
|
||||
</u-grid>
|
||||
@@ -40,10 +41,11 @@
|
||||
</u-modal> -->
|
||||
<view style="font-size: 24rpx;color: #A3A3A3;text-align: center;padding: 26rpx 0;"
|
||||
v-if="type==1&&productList.length==0">
|
||||
暂无更多浏览记录</view>
|
||||
暂无更多收藏记录</view>
|
||||
<view style="font-size: 24rpx;color: #A3A3A3;text-align: center;padding: 26rpx 0;"
|
||||
v-if="type==2&&productList.length==0">
|
||||
暂无更多收藏记录</view>
|
||||
暂无更多浏览记录</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user