1 line
3.2 KiB
Plaintext
1 line
3.2 KiB
Plaintext
<view><block s-if="{{list.length!=0}}"><view class="disjb fw"><view class="list-box"><block s-for="{{list}}" s-for-item="item" s-for-index="index" s-key="index"><block s-if="{{index%2==0}}"><view data-event-opts="{{[['tap',[['goDetail',[index]]]]]}}" class="posir colf radius30 mar-x30" bindtap="__e"><image class="radius30 width100" src="{{item.main_img}}" mode="widthFix"></image><view data-event-opts="{{[['tap',[['chooseLike',[index]]]]]}}" class="posia list-like-box" catchtap="__e"><block s-if="{{!item.status}}"><image src="/static/public/no-like.png" mode="aspectFill"></image></block><block s-else><image class="{{['animated',item.status?'bounceIn':'bounceOut']}}" src="/static/public/like.png" mode="aspectFill"></image></block></view><view class="posia fon20 list-cont-box"><view class="fon30 bold mar-x10">{{item.title}}<block s-if="{{item.isVideo}}"><text class="fon28 pbackc mar-z20" style="width:56rpx;height:28rpx;border-radius:5rpx;padding:0 6rpx;">视频</text></block></view><view class="mar-x10">{{item.content}}</view><view class="disac"><image class="list-headimg" src="{{item.head_img}}" mode="aspectFill"></image><view>{{item.name}}</view></view></view><block s-if="{{item.isVideo}}"><image class="posia" style="top:50%;left:50%;transform:translate(-50%,-50%);width:119rpx;height:119rpx;" src="/static/public/video.png" mode></image></block></view></block></block></view><view class="list-box"><block s-for="{{list}}" s-for-item="item" s-for-index="index" s-key="index"><block s-if="{{index%2!=0}}"><view data-event-opts="{{[['tap',[['goDetail',[index]]]]]}}" class="posir colf radius30 mar-x30" bindtap="__e"><image class="radius30 width100" src="{{item.main_img}}" mode="widthFix"></image><view data-event-opts="{{[['tap',[['chooseLike',[index]]]]]}}" class="posia list-like-box" catchtap="__e"><block s-if="{{!item.status}}"><image src="/static/public/no-like.png" mode="aspectFill"></image></block><block s-else><image class="{{['animated',item.status?'bounceIn':'bounceOut']}}" src="/static/public/like.png" mode="aspectFill"></image></block></view><view class="posia fon20 list-cont-box"><view class="fon30 bold mar-x10">{{item.title}}<block s-if="{{item.isVideo}}"><text class="fon28 pbackc mar-z20" style="width:56rpx;height:28rpx;border-radius:5rpx;padding:0 6rpx;">视频</text></block></view><view class="mar-x10">{{item.content}}</view><view class="disac"><image class="list-headimg" src="{{item.head_img}}" mode="aspectFill"></image><view>{{item.name}}</view></view></view><block s-if="{{item.isVideo}}"><image class="posia" style="top:50%;left:50%;transform:translate(-50%,-50%);width:119rpx;height:119rpx;" src="/static/public/video.png" mode></image></block></view></block></block></view></view></block><block s-else><view style="display:flex;flex-direction:column;align-items:center;"><image style="width:474rpx;height:273rpx;" src="/static/public/nothing.png" mode="aspectFill"></image><view class="fon24 col3" style="margin-bottom:60rpx;">暂无内容</view></view></block><pu-po vue-id="0e958f4e-1" isShowT="{{isShowT}}" contentVal="{{pu_content}}" data-event-opts="{{[['^comfirmev',[['comfirmev']]],['^cancleev',[['cancleev']]]]}}" bind:comfirmev="__e" bind:cancleev="__e"></pu-po></view> |