1 line
2.5 KiB
Plaintext
1 line
2.5 KiB
Plaintext
|
<view class="content data-v-729e89f7"><m-search bind:input="__e" vue-id="3d999422-1" show="{{false}}" placeholder="搜索" button="none" backgroundColor="#efecec" value="{{searchStr}}" data-event-opts="{{[['^input',[['__set_model',['','searchStr','$event',[]]]]]]}}" class="data-v-729e89f7" bind:__l="__l"></m-search><block wx:if="{{noData===true}}"><view class="noData data-v-729e89f7"><no-data vue-id="3d999422-2" custom="{{true}}" class="data-v-729e89f7" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['update']]]]}}" class="title data-v-729e89f7" bindtap="__e">暂无数据,点击重新加载</view></no-data></view></block><block wx:else><block wx:if="{{noData===false}}"><view class="list cu-card article dynamic data-v-729e89f7"><block wx:for="{{noticeListQuery}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="cu-item data-v-729e89f7" style="padding:0;"><view data-event-opts="{{[['tap',[['goToDetails',['$0'],[[['noticeListQuery','',index]]]]]]]}}" class="cu-list menu solid-bottom data-v-729e89f7" bindtap="__e"><view class="cu-item arrow data-v-729e89f7" style="min-height:90rpx;padding-top:10rpx;"><view class="action data-v-729e89f7"><view class="action data-v-729e89f7"><block wx:if="{{item.type==='校园通知'}}"><view class="cu-tag radius bg-orange light margin-right-xs data-v-729e89f7">{{item.type}}</view></block><block wx:if="{{item.type==='家长建议'}}"><view class="cu-tag radius bg-blue light margin-right-xs data-v-729e89f7">{{item.type}}</view></block><block wx:if="{{item.type==='学生想法'}}"><view class="cu-tag radius bg-green light margin-right-xs data-v-729e89f7">{{item.type}}</view></block><text class="text-black text-lg data-v-729e89f7">{{item.title}}</text></view></view></view></view><view class="text-content data-v-729e89f7" style="margin:10rpx 0 0 0;"><text class="text-gray data-v-729e89f7">文章标签:</text><text class="data-v-729e89f7">{{item.label}}</text></view><view data-event-opts="{{[['tap',[['goToUserInfo',['$0'],[[['noticeListQuery','',index]]]]]]]}}" class="text-content data-v-729e89f7" style="margin:10rpx 0 0 0;" bindtap="__e"><text class="text-gray data-v-729e89f7">发表人:</text><text class="data-v-729e89f7">{{item.real_name}}</text></view><view class="text-content data-v-729e89f7" style="margin:10rpx 0 0 0;"><text class="text-gray data-v-729e89f7">发表时间:</text><text class="data-v-729e89f7">{{item.release_time}}</text></view></view></block></view></block></block></view>
|