searchZmt.wxml 1.5 KB

1
  1. <view class="content data-v-24babb1a"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="Search-box data-v-24babb1a" bindtap="__e"><view class="Search-box-size data-v-24babb1a"><image class="box-img data-v-24babb1a" src="../../static/img/img01.png"></image><input class="box-word data-v-24babb1a" 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-24babb1a" bindtap="__e">搜索</view></view><view style="height:100rpx;" class="data-v-24babb1a"></view><block wx:for="{{list}}" wx:for-item="item" wx:for-index="__i0__"><view data-event-opts="{{[['tap',[['navTo',['/pages/user/dydetail?id='+item.id]]]]]}}" class="dy-wrap flex data-v-24babb1a" bindtap="__e"><view class="user-logo data-v-24babb1a"><image src="{{item.headimg}}" mode class="data-v-24babb1a"></image></view><view class="user-num data-v-24babb1a"><view class="user-name data-v-24babb1a">{{''+item.name+''}}</view><view class="sub-num data-v-24babb1a">{{'发表文章:'+item.count+''}}</view><view class="read-num data-v-24babb1a">{{'阅读量:'+item.visit+''}}</view></view><view data-event-opts="{{[['tap',[['dingYue',['$0'],[[['list','',__i0__]]]]]]]}}" class="{{['dy-btn','data-v-24babb1a',(item.is_sub==1)?'dying':'']}}" catchtap="__e">{{''+(item.is_sub==1?'已订阅':'订阅')+''}}</view></view></block></view>