Commit 98e77443 authored by Mac's avatar Mac

1

parent 597706d8
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
<div class='mynews'> <div class='mynews'>
<!-- 发布动态按钮 --> <!-- 发布动态按钮 -->
<view class="fbanniu"@click="btnclick"> <view class="fbanniu" v-if="UserId == mall_User" @click="btnclick">
<image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/fabupyq.png" style="height: 26rpx;" mode="aspectFit"></image> <image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/fabupyq.png" style="height: 26rpx;" mode="aspectFit"></image>
<text style="font-size: 10px;color: #FFF;">发布</text> <text style="font-size: 10px;color: #FFF;">发布</text>
</view> </view>
...@@ -336,7 +336,7 @@ ...@@ -336,7 +336,7 @@
}; };
this.showAuth = true; this.showAuth = true;
} else { } else {
this.mall_User = uni.getStorageSync("mall_UserInfo")?uni.getStorageSync("mall_UserInfo").UserId:0; this.mall_User = this.u.UserId?this.u.UserId:0;
if(options && options.UserId){ if(options && options.UserId){
this.UserId = options.UserId this.UserId = options.UserId
}else{ }else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment