HHSLinkSLink/HSLink-wx/unpackage/dist/build/mp-weixin/pages/tabbar/homepage/homepage.wxml
2020-12-19 12:13:27 +08:00

1 line
2.5 KiB
Plaintext

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