searchArt.wxml 3.0 KB

1
  1. <view class="content data-v-68a1d796"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="Search-box data-v-68a1d796" bindtap="__e"><view class="Search-box-size data-v-68a1d796"><image class="box-img data-v-68a1d796" src="../../static/img/img01.png"></image><input class="box-word data-v-68a1d796" type="text" placeholder="请输入关键字" data-event-opts="{{[['input',[['__set_model',['','keyword','$event',[]]]]]]}}" value="{{keyword}}" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['getList',['click']]]]]}}" class="Search-box-sort data-v-68a1d796" bindtap="__e">搜索</view></view><view style="height:100rpx;" class="data-v-68a1d796"></view><view class="art-list data-v-68a1d796"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="__i0__"><block wx:if="{{item.$orig.image_input.length==1}}"><view data-event-opts="{{[['tap',[['goToDetail',['$0'],[[['list','',__i0__,'id']]]]]]]}}" class="art-item-one flex art-item data-v-68a1d796" bindtap="__e"><view class="art-left flex data-v-68a1d796"><view class="art-tit clamp2 data-v-68a1d796">{{''+item.$orig.title+''}}</view><view class="art-time data-v-68a1d796"><block wx:if="{{item.$orig.is_hot==1}}"><image class="hot data-v-68a1d796" src="../../static/icon/hot.png" mode></image></block><text class="store-name data-v-68a1d796">{{item.$orig.mername}}</text><text class="pl data-v-68a1d796">{{item.$orig.comment+"评论"}}</text><text class="creat-time data-v-68a1d796">{{item.f0}}</text></view></view><view class="art-right data-v-68a1d796"><image src="{{item.$orig.image_input}}" mode class="data-v-68a1d796"></image></view></view></block><block wx:if="{{item.$orig.image_input.length==0}}"><view data-event-opts="{{[['tap',[['goToDetail',['$0'],[[['list','',__i0__,'id']]]]]]]}}" class="art-item-zero flex art-item data-v-68a1d796" bindtap="__e"><view class="art-tit clamp2 data-v-68a1d796">{{''+item.$orig.title+''}}</view><view class="art-time data-v-68a1d796"><image class="hot data-v-68a1d796" src="../../static/icon/hot.png" mode></image><text class="store-name data-v-68a1d796">{{item.$orig.mername}}</text><text class="pl data-v-68a1d796">{{item.$orig.comment+"评论"}}</text><text class="creat-time data-v-68a1d796">{{item.f1}}</text></view></view></block><block wx:if="{{item.$orig.image_input.length>1}}"><view data-event-opts="{{[['tap',[['goToDetail',['$0'],[[['list','',__i0__,'id']]]]]]]}}" class="art-item-three art-item flex data-v-68a1d796" bindtap="__e"><view class="art-tit clamp2 data-v-68a1d796">{{''+item.$orig.title+''}}</view><view class="art-img-list data-v-68a1d796"><block wx:for="{{item.$orig.image_input}}" wx:for-item="imgitem" wx:for-index="__i1__"><image src="{{imgitem}}" mode class="data-v-68a1d796"></image></block></view><view class="art-time data-v-68a1d796"><image class="hot data-v-68a1d796" src="../../static/icon/hot.png" mode></image><text class="store-name data-v-68a1d796">{{item.$orig.mername}}</text><text class="pl data-v-68a1d796">{{item.$orig.comment+"评论"}}</text><text class="creat-time data-v-68a1d796">{{item.f2}}</text></view></view></block></block></view></view>