1 line
2.6 KiB
Plaintext
1 line
2.6 KiB
Plaintext
<view class="content data-v-4a5acee3"><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-4a5acee3" bind:__l="__l"></m-search><block wx:if="{{noData===true}}"><view class="noData data-v-4a5acee3"><no-data vue-id="68d96f0f-2" custom="{{true}}" class="data-v-4a5acee3" bind:__l="__l" vue-slots="{{['default']}}"><view class="title data-v-4a5acee3">暂无关注,打开他人主页可关注</view></no-data></view></block><block wx:else><block wx:if="{{noData===false}}"><view class="list cu-card article dynamic data-v-4a5acee3"><block wx:for="{{noticeListQuery}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="cu-item data-v-4a5acee3" style="padding:0;"><view data-event-opts="{{[['tap',[['goToDetails',['$0'],[[['noticeListQuery','',index]]]]]]]}}" class="cu-list menu solid-bottom data-v-4a5acee3" bindtap="__e"><view class="cu-item arrow data-v-4a5acee3" style="min-height:90rpx;padding-top:10rpx;"><view class="action data-v-4a5acee3"><view class="action data-v-4a5acee3"><block wx:if="{{item.type==='校园通知'}}"><view class="cu-tag radius bg-orange light margin-right-xs data-v-4a5acee3">{{item.type}}</view></block><block wx:if="{{item.type==='家长建议'}}"><view class="cu-tag radius bg-blue light margin-right-xs data-v-4a5acee3">{{item.type}}</view></block><block wx:if="{{item.type==='学生想法'}}"><view class="cu-tag radius bg-green light margin-right-xs data-v-4a5acee3">{{item.type}}</view></block><text class="text-black text-lg data-v-4a5acee3">{{item.title}}</text></view></view></view></view><view class="text-content data-v-4a5acee3" style="margin:10rpx 0 0 0;"><text class="text-gray data-v-4a5acee3">文章标签:</text><text class="data-v-4a5acee3">{{item.label}}</text></view><view class="text-content data-v-4a5acee3" style="margin:10rpx 0 0 0;"><text class="text-gray data-v-4a5acee3">发表人:</text><text data-event-opts="{{[['tap',[['goToUserInfo',['$0'],[[['noticeListQuery','',index]]]]]]]}}" bindtap="__e" class="data-v-4a5acee3">{{item.real_name}}</text><text data-event-opts="{{[['tap',[['cancelFollow',['$0'],[[['noticeListQuery','',index]]]]]]]}}" class="cancel data-v-4a5acee3" bindtap="__e">取消关注</text></view><view class="text-content data-v-4a5acee3" style="margin:10rpx 0 0 0;"><text class="text-gray data-v-4a5acee3">发表时间:</text><text class="data-v-4a5acee3">{{item.release_time}}</text></view></view></block></view></block></block></view> |