index.wxml 4.4 KB

1
  1. <view class="container"><view class="bg"></view><u-loading-page vue-id="8dd740cc-1" loading="{{loading}}" bind:__l="__l"></u-loading-page><view class="menutop"><view class="search"><uni-search-bar class="search" vue-id="8dd740cc-2" placeholder="搜索关键字" radius="{{36}}" bgColor="#FFF" clearButton="auto" cancelButton="none" value="{{searchValue}}" data-event-opts="{{[['^confirm',[['search']]],['^blur',[['blur']]],['^focus',[['focus']]],['^input',[['__set_model',['','searchValue','$event',[]]],['input']]],['^cancel',[['cancel']]],['^clear',[['clear']]]]}}" bind:confirm="__e" bind:blur="__e" bind:focus="__e" bind:input="__e" bind:cancel="__e" bind:clear="__e" bind:__l="__l"></uni-search-bar></view></view><u-tabs vue-id="8dd740cc-3" list="{{tabBars}}" lineWidth="20" lineHeight="5" lineColor="{{'url('+lineBg+') center'}}" activeStyle="{{({color:'#111111',fontWeight:'bold',transform:'scale(1.05)'})}}" inactiveStyle="{{({color:'#666666',transform:'scale(1)'})}}" itemStyle="padding-left: 15px; padding-right: 15px; height: 32px;padding-bottom:3px" data-event-opts="{{[['^click',[['getmenu']]]]}}" bind:click="__e" bind:__l="__l"></u-tabs><scroll-view style="margin-top:15px;" id="scrollList" lower-threshold="50" scroll-y="true" data-event-opts="{{[['touchstart',[['scrollViewTouchStart',['$event']]]],['touchend',[['scrollViewTouchEnd',['$event']]]],['scrolltolower',[['scrolltolower',['$event']]]]]}}" bindtouchstart="__e" bindtouchend="__e" bindscrolltolower="__e"><view><u-list vue-id="8dd740cc-4" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-list-item vue-id="{{('8dd740cc-5-'+index)+','+('8dd740cc-4')}}" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({item:item.$orig})}}" class="cell_item" bindtap="__e"><u-row vue-id="{{('8dd740cc-6-'+index)+','+('8dd740cc-5-'+index)}}" justify="space-between" customStyle="margin-bottom: 10px" bind:__l="__l" vue-slots="{{['default']}}"><u-col vue-id="{{('8dd740cc-7-'+index)+','+('8dd740cc-6-'+index)}}" span="{{8}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="smtitle">{{item.$orig.fbdw+"发布"}}</view></u-col><u-col style="text-align:right;" vue-id="{{('8dd740cc-8-'+index)+','+('8dd740cc-6-'+index)}}" offset="{{1}}" span="{{3}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{item.$orig.xclx=='1'}}"><text class="{{['classify',(item.$orig.xclx=='1')?'classify1':'']}}">{{item.$orig.xclxmc}}</text></block><block wx:if="{{item.$orig.xclx=='2'}}"><text class="{{['classify',(item.$orig.xclx=='2')?'classify2':'']}}">{{item.$orig.xclxmc}}</text></block><block wx:if="{{item.$orig.xclx=='3'}}"><text class="{{['classify',(item.$orig.xclx=='3')?'classify3':'']}}">{{item.$orig.xclxmc}}</text></block></u-col></u-row><u-row vue-id="{{('8dd740cc-9-'+index)+','+('8dd740cc-5-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="bigtitle">{{item.$orig.xcbt}}</view></u-row><u-row class="imagebox" vue-id="{{('8dd740cc-10-'+index)+','+('8dd740cc-5-'+index)}}" justify="space-between" customStyle="margin-bottom: 10px" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{item.$orig.file}}" wx:for-item="items" wx:for-index="__i0__"><block wx:if="{{item.g0}}"><u-col vue-id="{{('8dd740cc-11-'+index+'-'+__i0__)+','+('8dd740cc-10-'+index)}}" span="4" bind:__l="__l" vue-slots="{{['default']}}"><image class="image" style="width:96%;border-radius:5px;" src="{{items}}" mode="widthFix"></image></u-col></block><block wx:else><block wx:for="{{item.$orig.file}}" wx:for-item="items" wx:for-index="__i1__"><u-col vue-id="{{('8dd740cc-12-'+index+'-'+__i0__+'-'+__i1__)+','+('8dd740cc-10-'+index)}}" span="12" bind:__l="__l" vue-slots="{{['default']}}"><image class="image" style="width:100%;border-radius:5px;" src="{{items}}" mode="widthFix"></image></u-col></block></block></block></u-row><u-row vue-id="{{('8dd740cc-13-'+index)+','+('8dd740cc-5-'+index)}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="otther">完成阅读获<text style="color:#FF1D1D;">{{item.$orig.count}}</text>{{'积分 · '+item.$orig.jf+'浏览'}}</view></u-row></view></u-list-item></block><block wx:if="{{$root.g1>0}}"><u-list-item vue-id="{{('8dd740cc-14')+','+('8dd740cc-4')}}" bind:__l="__l" vue-slots="{{['default']}}"><u-loadmore vue-id="{{('8dd740cc-15')+','+('8dd740cc-14')}}" status="{{status}}" bind:__l="__l"></u-loadmore></u-list-item></block></u-list></view></scroll-view></view>