|
@@ -156,27 +156,28 @@
|
|
|
|
|
|
|
|
|
</view>
|
|
|
- <view class="personal-btn" v-if="!islogin">
|
|
|
- <u-button type="error" @click="gotoUrl('pagesA/pages/login/index')" shape="circle" :custom-style="customStyle">
|
|
|
- <span>注册 / 登录</span>
|
|
|
- </u-button>
|
|
|
-
|
|
|
+ <template v-if="detail.realName">
|
|
|
+ <view class="personal-btn" v-if="!islogin">
|
|
|
+ <u-button type="error" @click="gotoUrl('pagesA/pages/login/index')" shape="circle" :custom-style="customStyle">
|
|
|
+ <span>注册 / 登录</span>
|
|
|
+ </u-button>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ <view class="personal-btn" v-if="islogin">
|
|
|
+ <u-button type="error" v-if="isedit" @click="gotoUrl('pages/user/edit')" shape="circle" :custom-style="customStyle">
|
|
|
+ <span>编辑</span>
|
|
|
+ <u-icon custom-prefix="custom-icon" name="edit-2-line"></u-icon>
|
|
|
+ </u-button>
|
|
|
+
|
|
|
+
|
|
|
+ <u-button type="error" v-if="!isedit" @click="likeBtn" shape="circle" :custom-style="customStyle">
|
|
|
+ <span>{{isLike?'已赞':'赞Ta'}}</span>
|
|
|
+ <u-icon custom-prefix="custom-icon" name="thumb-up-line"></u-icon>
|
|
|
+ </u-button>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ </template>
|
|
|
|
|
|
-
|
|
|
- </view>
|
|
|
- <view class="personal-btn" v-if="islogin">
|
|
|
- <u-button type="error" v-if="isedit" @click="gotoUrl('pages/user/edit')" shape="circle" :custom-style="customStyle">
|
|
|
- <span>编辑</span>
|
|
|
- <u-icon custom-prefix="custom-icon" name="edit-2-line"></u-icon>
|
|
|
- </u-button>
|
|
|
-
|
|
|
-
|
|
|
- <u-button type="error" v-if="!isedit" @click="likeBtn" shape="circle" :custom-style="customStyle">
|
|
|
- <span>{{isLike?'已赞':'赞Ta'}}</span>
|
|
|
- <u-icon custom-prefix="custom-icon" name="thumb-up-line"></u-icon>
|
|
|
- </u-button>
|
|
|
-
|
|
|
- </view>
|
|
|
|
|
|
|
|
|
</view>
|