|
|
@@ -1,5 +1,5 @@
|
|
|
<!--为使用者-我的页面-->
|
|
|
-<view class="card block-background-color">
|
|
|
+<view class="card">
|
|
|
<cover-image class="avatar" src="{{hasUserInfo ? userInfo.avatarUrl : '/images/user/user.png'}}"></cover-image>
|
|
|
<view wx:if="{{hasUserInfo}}" class="nickname primary-text">{{userInfo.nickName}}</view>
|
|
|
<view wx:else class="nickname"><button class="block-background-color" size="mini" open-type="getUserInfo"
|
|
|
@@ -7,66 +7,52 @@
|
|
|
<view class="location secondary-text">{{publisherId.length == 0 ? '尚未加入任何社团组织' : publisherName}}</view>
|
|
|
</view>
|
|
|
|
|
|
-<view wx:if="{{hasUserInfo}}">
|
|
|
- <view class="gap"></view>
|
|
|
+<view class="mid" wx:if="{{hasUserInfo}}">
|
|
|
|
|
|
<view class="btn block-background-color" hover-class="btn-hover" bindtap="myFavor">
|
|
|
- <image class="btn-icon" mode="aspectFit" src="/images/user/follow.png"></image>
|
|
|
+ <image class="btn-icon" mode="aspectFit" src="/images/user/like.png"></image>
|
|
|
<view class="btn-text primary-text">我的收藏</view>
|
|
|
- <view class="btn-arrow secondary-text">></view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="line"></view>
|
|
|
|
|
|
<view class="btn block-background-color" hover-class="btn-hover" bindtap="myFollow">
|
|
|
<image class="btn-icon" mode="aspectFit" src="/images/user/follow.png"></image>
|
|
|
<view class="btn-text primary-text">我的关注</view>
|
|
|
- <view class="btn-arrow secondary-text">></view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="line"></view>
|
|
|
|
|
|
<view class="btn block-background-color" hover-class="btn-hover" bindtap="myQuestion">
|
|
|
<image class="btn-icon" mode="aspectFit" src="/images/user/question.png"></image>
|
|
|
<view class="btn-text primary-text">我的提问</view>
|
|
|
- <view class="btn-arrow secondary-text">></view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="gap"></view>
|
|
|
|
|
|
- <view class="btn block-background-color" hover-class="btn-hover" bindtap="setting">
|
|
|
- <image class="btn-icon" mode="aspectFit" src="/images/user/setting.png"></image>
|
|
|
- <view class="btn-text primary-text">设置</view>
|
|
|
- <view class="btn-arrow secondary-text">></view>
|
|
|
- </view>
|
|
|
|
|
|
- <view class="line"></view>
|
|
|
+ <view class="bottom">
|
|
|
+ <view class="btn" bindtap="setting">
|
|
|
+ <image class="btn-icon" mode="aspectFit" src="/images/user/setting.png"></image>
|
|
|
+ <view>设置</view>
|
|
|
+ </view>
|
|
|
|
|
|
- <view class="btn block-background-color" hover-class="btn-hover" bindtap="aboutUs">
|
|
|
- <image class="btn-icon" mode="aspectFit" src="/images/user/about.png"></image>
|
|
|
- <view class="btn-text primary-text">关于我们</view>
|
|
|
- <view class="btn-arrow secondary-text">></view>
|
|
|
- </view>
|
|
|
+ <view class="btn" bindtap="aboutUs">
|
|
|
+ <image class="btn-icon" mode="aspectFit" src="/images/user/about.png"></image>
|
|
|
+ <view>关于我们</view>
|
|
|
+ </view>
|
|
|
|
|
|
- <view class="line"></view>
|
|
|
-
|
|
|
- <view class="btn block-background-color" hover-class="btn-hover" bindtap="opinion">
|
|
|
- <image class="btn-icon" mode="aspectFit" src="/images/user/feedback.png"></image>
|
|
|
- <view class="btn-text primary-text">意见反馈</view>
|
|
|
- <view class="btn-arrow secondary-text">></view>
|
|
|
+ <view class="btn" bindtap="opinion">
|
|
|
+ <image class="btn-icon" mode="aspectFit" src="/images/user/feedback.png"></image>
|
|
|
+ <view>意见反馈</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
+</view>
|
|
|
|
|
|
- <view class="gap"></view>
|
|
|
|
|
|
- <view wx:if="{{publisherId.length == 0}}" class="btn block-background-color" hover-class="btn-hover"
|
|
|
+
|
|
|
+<view wx:if="{{publisherId.length == 0}}" class="publisher primary-background-color" hover-class="btn-hover"
|
|
|
bindtap="publisherLogin">
|
|
|
- <image class="btn-icon" mode="aspectFit" src="/images/user/settle.png"></image>
|
|
|
- <view class="btn-text primary-text">社团/组织入驻</view>
|
|
|
- <view class="btn-arrow secondary-text">></view>
|
|
|
- </view>
|
|
|
- <view wx:else class="btn block-background-color" hover-class="btn-hover" bindtap="publisherPage">
|
|
|
- <image class="btn-icon" mode="aspectFit" src="/images/user/settle.png"></image>
|
|
|
- <view class="btn-text primary-text">社团/组织管理</view>
|
|
|
- <view class="btn-arrow secondary-text">></view>
|
|
|
+ <text class="white-text-color">社团\n组织\n入驻</text>
|
|
|
</view>
|
|
|
-</view>
|
|
|
+ <view wx:else class="publisher primary-background-color" hover-class="btn-hover" bindtap="publisherPage">
|
|
|
+ <text class="white-text-color">社团\n组织\n管理</text>
|
|
|
+</view>
|
|
|
+
|