HHSLinkSLink/HSLink-wx/unpackage/dist/dev/mp-weixin/pages/person-info-page/person-info-page.wxml

1 line
3.5 KiB
Plaintext
Raw Permalink Normal View History

2020-12-19 12:13:27 +08:00
<view class="page data-v-60f73f74"><view class="top data-v-60f73f74"><view class="left data-v-60f73f74"><avatar vue-id="21082980-1" userName="{{userInfo.real_name}}" size="90" class="data-v-60f73f74" bind:__l="__l"></avatar></view><view class="user-info data-v-60f73f74"><view class="other-info data-v-60f73f74"><view class="follow data-v-60f73f74"><view class="one-top data-v-60f73f74">{{userInfo.followNumber}}</view><view class="one-bottom data-v-60f73f74">关注</view></view><view class="fans data-v-60f73f74"><view class="one-top data-v-60f73f74">{{userInfo.fansNumber}}</view><view class="one-bottom data-v-60f73f74">粉丝</view></view><view class="score data-v-60f73f74"><view class="one-top data-v-60f73f74">{{userInfo.integral}}</view><view class="one-bottom data-v-60f73f74">积分</view></view></view><view class="info-bottom data-v-60f73f74"><block wx:if="{{userInfo.isFollow===0}}"><view data-event-opts="{{[['tap',[['addFollow',['$0'],['userInfo']]]]]}}" class="follow-button data-v-60f73f74" bindtap="__e">关注</view></block><block wx:if="{{userInfo.isFollow===1}}"><view data-event-opts="{{[['tap',[['cancelFollow',['$0'],['userInfo']]]]]}}" class="follow-button-ed data-v-60f73f74" bindtap="__e">已关注</view></block></view></view></view><view class="middle data-v-60f73f74"><view class="cu-item content data-v-60f73f74"><textarea auto-height="true" maxlength="2000" disabled="false" data-event-opts="{{[['input',[['__set_model',['$0','signature','$event',[]],['userInfo']]]]]}}" value="{{userInfo.signature}}" bindinput="__e" class="data-v-60f73f74"></textarea></view></view><view class="bottom data-v-60f73f74"><block wx:if="{{noData===true}}"><view class="noData data-v-60f73f74"><no-data vue-id="21082980-2" custom="{{true}}" class="data-v-60f73f74" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['update']]]]}}" class="title data-v-60f73f74" bindtap="__e">暂无数据,点击重新加载</view></no-data></view></block><block wx:else><block wx:if="{{noData===false}}"><view class="list cu-card article dynamic data-v-60f73f74"><block wx:for="{{noticeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item.is_pass==='1'}}"><view class="cu-item data-v-60f73f74" style="padding:0;"><view data-event-opts="{{[['tap',[['goToDetails',['$0'],[[['noticeList','',index]]]]]]]}}" class="cu-list menu solid-bottom data-v-60f73f74" bindtap="__e"><view class="cu-item arrow data-v-60f73f74" style="min-height:90rpx;padding-top:10rpx;"><view class="action data-v-60f73f74"><view class="action data-v-60f73f74"><block wx:if="{{item.type==='校园通知'}}"><view class="cu-tag radius bg-orange light margin-right-xs data-v-60f73f74">{{item.type}}</view></block><block wx:if="{{item.type==='家长建议'}}"><view class="cu-tag radius bg-blue light margin-right-xs data-v-60f73f74">{{item.type}}</view></block><block wx:if="{{item.type==='学生想法'}}"><view class="cu-tag radius bg-green light margin-right-xs data-v-60f73f74">{{item.type}}</view></block><text class="text-black text-lg data-v-60f73f74">{{item.title}}</text></view></view></view></view><view class="text-content data-v-60f73f74" style="margin:10rpx 0 0 0;"><text class="text-gray data-v-60f73f74">文章标签:</text><text class="data-v-60f73f74">{{item.label}}</text></view><view class="text-content data-v-60f73f74" style="margin:10rpx 0 0 0;"><text class="text-gray data-v-60f73f74">发表时间:</text><text class="data-v-60f73f74">{{item.release_time}}</text></view></view></block></block></view></block></block></view></view>