HHSLinkSLink/HSLink-wx/unpackage/dist/build/mp-weixin/pages/tabbar/follow/follow.wxml

1 line
2.6 KiB
Plaintext
Raw Normal View History

2020-12-19 12:13:27 +08:00
<view class="content data-v-0802b833"><m-search bind:input="__e" vue-id="68d96f0f-1" show="{{false}}" placeholder="搜索" button="none" backgroundColor="#efecec" value="{{searchStr}}" data-event-opts="{{[['^input',[['__set_model',['','searchStr','$event',[]]]]]]}}" class="data-v-0802b833" bind:__l="__l"></m-search><block wx:if="{{noData===true}}"><view class="noData data-v-0802b833"><no-data vue-id="68d96f0f-2" custom="{{true}}" class="data-v-0802b833" bind:__l="__l" vue-slots="{{['default']}}"><view class="title data-v-0802b833">暂无关注,打开他人主页可关注</view></no-data></view></block><block wx:else><block wx:if="{{noData===false}}"><view class="list cu-card article dynamic data-v-0802b833"><block wx:for="{{noticeListQuery}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="cu-item data-v-0802b833" style="padding:0;"><view data-event-opts="{{[['tap',[['goToDetails',['$0'],[[['noticeListQuery','',index]]]]]]]}}" class="cu-list menu solid-bottom data-v-0802b833" bindtap="__e"><view class="cu-item arrow data-v-0802b833" style="min-height:90rpx;padding-top:10rpx;"><view class="action data-v-0802b833"><view class="action data-v-0802b833"><block wx:if="{{item.type==='校园通知'}}"><view class="cu-tag radius bg-orange light margin-right-xs data-v-0802b833">{{item.type}}</view></block><block wx:if="{{item.type==='家长建议'}}"><view class="cu-tag radius bg-blue light margin-right-xs data-v-0802b833">{{item.type}}</view></block><block wx:if="{{item.type==='学生想法'}}"><view class="cu-tag radius bg-green light margin-right-xs data-v-0802b833">{{item.type}}</view></block><text class="text-black text-lg over-flow data-v-0802b833">{{item.title}}</text></view></view></view></view><view class="text-content data-v-0802b833" style="margin:10rpx 0 0 0;"><text class="text-gray data-v-0802b833">文章标签:</text><text class="data-v-0802b833">{{item.label}}</text></view><view class="text-content data-v-0802b833" style="margin:10rpx 0 0 0;"><text class="text-gray data-v-0802b833">发表人:</text><text data-event-opts="{{[['tap',[['goToUserInfo',['$0'],[[['noticeListQuery','',index]]]]]]]}}" bindtap="__e" class="data-v-0802b833">{{item.real_name}}</text><text data-event-opts="{{[['tap',[['cancelFollow',['$0'],[[['noticeListQuery','',index]]]]]]]}}" class="cancel data-v-0802b833" bindtap="__e">取消关注</text></view><view class="text-content data-v-0802b833" style="margin:10rpx 0 0 0;"><text class="text-gray data-v-0802b833">发表时间:</text><text class="data-v-0802b833">{{item.release_time}}</text></view></view></block></view></block></block></view>