yaofang/pages/book/chapter.wxml

28 lines
2.1 KiB
Plaintext

<view class="_div bookPage body" wx:if="{{isProduct}}">
<view class="xk_main_page">
<view class="searchTab">
<view class="_ul bookPage result">
<view class="_li bookPage" style="border-bottom:0rpx;padding-bottom:0rpx;" wx:for="{{$root.l1}}" wx:for-index="__i0__">
<view wx:if="{{!item.$orig.ad_id}}">
<view class="_div bookPage title x_bottom">
<view class="_h3 bookPage x_font_16 xfocus_color">{{'|-'+item.$orig.chapter.name+''}}</view>
<view bindtap="__e" class="xfocus_color x_font_16" data-event-opts="{{[ [ 'tap',[ [ 'toDetail',['$0','$1'],[ [ ['itemList','',__i0__,'chapter.content_id'] ],[ ['itemList','',__i0__,'chapter.name'] ] ] ] ] ] ]}}" wx:if="{{item.$orig.chapter.content_id>0}}">查看</view>
</view>
<view class="_div bookPage title x_child_li" wx:if="{{first.g0>0}}" wx:for="{{item.l0}}" wx:for-index="__i1__" wx:for-item="first">
<view class="_h3 bookPage x_font_16">{{'|-----'+first.$orig.chapter.name+''}}</view>
<view bindtap="__e" class="_h3 bookPage x_font_16" data-event-opts="{{[ [ 'tap',[ [ 'toDetail',['$0','$1'],[ [ ['itemList','',__i0__],['child','',__i1__,'chapter.content_id'] ],[ ['itemList','',__i0__],['child','',__i1__,'chapter.name'] ] ] ] ] ] ]}}">查看</view>
</view>
</view>
<!-- <xad bind:__l="__l" vueId="{{'5a72f066-1-'+__i0__}}" x_common_ad="{{item.$orig}}" x_cp_ad="{{item.a0}}" wx:if="{{item.$orig.ad_id}}"></xad> -->
</view>
</view>
</view>
<xpop bind:__l="__l" class="vue-ref" data-ref="xpop" vueId="5a72f066-2"></xpop>
<view style="height:100px;"></view>
<boot-nav bind:__l="__l" nav="book" vueId="5a72f066-3"></boot-nav>
</view>
<view class="xk_ad_0">
<xad bind:__l="__l" vueId="5a72f066-4" x_common_ad="{{common_ad}}" x_cp_ad="{{cp_ad}}"></xad>
</view>
</view>