40 lines
2.9 KiB
Plaintext
40 lines
2.9 KiB
Plaintext
<view class="_div x-search searchContainer">
|
|
<view class="xk_main_page">
|
|
<view class="_div x-search body">
|
|
<view class="searchTab uni-flex uni-row">
|
|
<view bindtap="__e" class="{{['flex-item','searchTabItem','',searchType==1?'searchTabItemFocus':'']}}" data-event-opts="{{[ [ 'tap',[ [ 'switchSelectTab',[1] ] ] ] ]}}">方剂</view>
|
|
<view bindtap="__e" class="{{['flex-item','searchTabItem',searchType==2?'searchTabItemFocus':'']}}" data-event-opts="{{[ [ 'tap',[ [ 'switchSelectTab',[2] ] ] ] ]}}">中药</view>
|
|
</view>
|
|
<view class="_div x-search search">
|
|
<view class="_div x-search">
|
|
<input autoFocus="{{true}}" bindconfirm="__e" bindinput="__e" class="_input x-search" data-event-opts="{{[ [ 'confirm',[ [ 'x_redirect',['/pages/result/result?keyword='+inputValue] ] ] ],[ 'input',[ [ '__set_model',[ '','inputValue','$event',[] ] ] ] ] ]}}" placeholder="{{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',[ ['x_redirect'] ] ] ]}}">取消</label>
|
|
</view>
|
|
<view class="_i x-search"></view>
|
|
</view>
|
|
<view class="_div x-search thing">
|
|
<view bindtap="__e" class="_p x-search" data-event-opts="{{[ [ 'tap',[ [ 'x_redirect',['/pages/result/result?keyword='+item.$orig.name+'&tab='+searchType] ] ] ] ]}}" wx:for="{{$root.l0}}" wx:for-index="__i0__">
|
|
<view class="uni-flex uni-row" wx:if="{{!item.$orig.ad_id}}">
|
|
<view class="image-content flex-item">
|
|
<image mode="aspectFill" src="{{item.$orig.pic}}" style="width:80px;height:80px;background-color:#eeeeee;" wx:if="{{item.$orig.pic}}"></image>
|
|
</view>
|
|
<view class="flex-item">
|
|
<text style="color:#94674b;">{{item.$orig.name+''}}</text>
|
|
<text style="margin-left:10rpx;">{{item.$orig.book+''}}</text>
|
|
</view>
|
|
</view>
|
|
<xad bind:__l="__l" vueId="{{'50cad900-1-'+__i0__}}" x_common_ad="{{item.$orig}}" x_cp_ad="{{item.a0}}" wx:if="{{item.$orig.ad_id}}"></xad>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<boot-nav nav bind:__l="__l" vueId="50cad900-2"></boot-nav>
|
|
</view>
|
|
<view class="xk_ad_0">
|
|
<xad bind:__l="__l" vueId="50cad900-3" x_common_ad="{{common_ad}}" x_cp_ad="{{cp_ad}}"></xad>
|
|
</view>
|
|
</view>
|