publisherPage.wxml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!-- 为发布者个人页面 -->
  2. <view class="card block-background-color">
  3. <cover-image class="avatar" src="{{hasPubInfo ? pubInfo[pubIndex].publisher[0].avatar : '/images/user/user.png'}}">
  4. </cover-image>
  5. <view wx:if="{{hasPubInfo}}" class="publisher-name primary-text">{{pubInfo[pubIndex].publisher[0].name}}</view>
  6. </view>
  7. <view class="gap"></view>
  8. <view class="btn block-background-color" hover-class="btn-hover" bindtap="publishInfo">
  9. <image class="btn-icon" mode="aspectFit" src="/images/user/publish1.png"></image>
  10. <view class="btn-text primary-text">发布消息</view>
  11. <view class="btn-arrow secondary-text">></view>
  12. </view>
  13. <view class="line"></view>
  14. <view class="btn block-background-color" hover-class="btn-hover" bindtap="myPublish">
  15. <image class="btn-icon" mode="aspectFit" src="/images/user/publish2.png"></image>
  16. <view class="btn-text primary-text">我发布的消息</view>
  17. <view class="btn-arrow secondary-text">></view>
  18. </view>
  19. <view class="line"></view>
  20. <view class="btn block-background-color" hover-class="btn-hover" bindtap="receivedQuestion">
  21. <image class="btn-icon" mode="aspectFit" src="/images/user/question.png"></image>
  22. <view class="btn-text primary-text">我收到的问题</view>
  23. <view class="btn-arrow secondary-text">></view>
  24. </view>
  25. <view class="gap"></view>
  26. <view class="btn block-background-color" hover-class="btn-hover" bindtap="administratorSetting">
  27. <image class="btn-icon" mode="aspectFit" src="/images/user/setting.png"></image>
  28. <view class="btn-text primary-text">管理员资格设置</view>
  29. <view class="btn-arrow secondary-text">></view>
  30. </view>
  31. <view class="line"></view>
  32. <view class="btn block-background-color" hover-class="btn-hover" bindtap="publisherInfoChange">
  33. <image class="btn-icon" mode="aspectFit" src="/images/user/modify.png"></image>
  34. <view class="btn-text primary-text">社团组织信息修改</view>
  35. <view class="btn-arrow secondary-text">></view>
  36. </view>
  37. <view class="gap"></view>
  38. <picker class="btn block-background-color" model:value="{{pubIndex}}" range="{{pubName}}">
  39. <image class="btn-icon" mode="aspectFit" src="/images/user/setting.png"></image>
  40. <view class="btn-text primary-text">切换社团组织</view>
  41. <view class="btn-arrow secondary-text">></view>
  42. </picker>