news.wxml 1.8 KB

1
  1. <view class="new" style="{{(colorStyle)}}"><block wx:if="{{$root.g0}}"><view class="news default">{{$root.m0}}</view></block><block wx:if="{{$root.g1}}"><view class="news acea-row row-between-wrapper skeleton-rect"><view class="pictrue"><image src="{{img}}"></image></view><view class="swiperTxt"><swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="2500" duration="{{duration}}" vertical="true" circular="true" disable-touch="true"><block wx:for="{{itemNew}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><swiper-item catchtouchmove="catchTouchMove"><view class="acea-row row-between-wrapper" hover-class="none" data-event-opts="{{[['tap',[['gopage',['$0'],[[['itemNew','',index,'chiild.__$n1.val']]]]]]]}}" bindtap="__e"><view class="text acea-row row-between-wrapper"><view class="newsTitle line1">{{item.chiild[0].val}}</view></view><view class="iconfont icon-xiangyou"></view></view></swiper-item></block></block></swiper></view></view></block><block wx:if="{{$root.g2}}"><view class="news acea-row row-between-wrapper"><view class="pictrue"><image src="{{img}}"></image></view><view class="swiperTxt"><swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="2500" duration="{{duration}}" vertical="true" circular="true"><block wx:for="{{itemNew}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><swiper-item catchtouchmove="catchTouchMove"><view class="acea-row row-between-wrapper" hover-class="none" data-event-opts="{{[['tap',[['gopage',['$0'],[[['itemNew','',index,'chiild.__$n1.val']]]]]]]}}" bindtap="__e"><view class="text acea-row row-between-wrapper"><view class="newsTitle line1">{{item.chiild[0].val}}</view></view><view class="iconfont icon-xiangyou"></view></view></swiper-item></block></block></swiper></view></view></block></view>