37 lines
2.5 KiB
Plaintext
37 lines
2.5 KiB
Plaintext
<view wx:if="{{isProduct}}">
|
|
<view class="_div bookPage body xk_main_page">
|
|
<view class="_div x-search search">
|
|
<view class="_div x-search">
|
|
<input bindinput="__e" class="_input x-search" data-event-opts="{{[ [ 'input',[ [ '__set_model',[ '','inputValue','$event',[] ] ] ] ] ]}}" placeholder="请输入搜索" type="text" value="{{inputValue}}"></input>
|
|
<image alt="{{true}}" class="_img x-search" src="/static/app_image/search_icon1.png"></image>
|
|
<view class="_em x-search iconBox">
|
|
<button bindtap="__e" class="_button x-search icon font_family icon-icon_guanbi" data-event-opts="{{[ [ 'tap',[ [ 'searchClose',['$event'] ] ] ] ]}}"></button>
|
|
</view>
|
|
<label bindtap="__e" class="_span x-search" data-event-opts="{{[ [ 'tap',[ [ 'e0',['$event'] ] ] ] ]}}">取消</label>
|
|
</view>
|
|
<view class="_i x-search"></view>
|
|
</view>
|
|
<view class="searchTab">
|
|
<view bindtap="__e" class="{{['','searchTabItem',focusType==item.key?'searchTabItemFocus':'']}}" data-event-opts="{{[ [ 'tap',[ [ 'focus',['$0'],[ [ ['categoryList','',key,'key'] ] ] ] ] ] ]}}" wx:for="{{categoryList}}" wx:for-index="key">{{item.title}}</view>
|
|
<view style="clear:both;"></view>
|
|
<view class="_ul bookPage result">
|
|
<view bindtap="__e" class="_li bookPage" data-event-opts="{{[ [ 'tap',[ [ 'x_redirect',['/pages/book/chapter?id='+book.$orig.id+'&book='+book.$orig.name] ] ] ] ]}}" wx:for="{{$root.l0}}" wx:for-index="__i0__" wx:for-item="book">
|
|
<view class="_div bookPage title" wx:if="{{book.$orig.id}}">
|
|
<view class="_h3 bookPage">{{''+book.$orig.name+''}}</view>
|
|
<view class="_h3 bookPage">
|
|
<text wx:if="{{book.$orig.author}}">{{book.$orig.author}}</text>
|
|
</view>
|
|
</view>
|
|
<xad bind:__l="__l" vueId="{{'59a10720-1-'+__i0__}}" x_common_ad="{{book.$orig}}" x_cp_ad="{{book.a0}}" wx:if="{{book.$orig.ad_id}}"></xad>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<xpop bind:__l="__l" class="vue-ref" data-ref="xpop" vueId="59a10720-2"></xpop>
|
|
<view style="height:100px;"></view>
|
|
<boot-nav bind:__l="__l" nav="book" vueId="59a10720-3"></boot-nav>
|
|
</view>
|
|
<view class="xk_ad_0">
|
|
<xad bind:__l="__l" vueId="59a10720-4" x_common_ad="{{common_ad}}" x_cp_ad="{{cp_ad}}"></xad>
|
|
</view>
|
|
</view>
|