银花优选微信小程序修改后的最新版本代码
This commit is contained in:
72
pages/business/index.wxml
Normal file
72
pages/business/index.wxml
Normal file
@@ -0,0 +1,72 @@
|
||||
<view class="container">
|
||||
<view class="container-header">
|
||||
<view class="header">
|
||||
<!--<view class="searchbox2">
|
||||
<view class="logobox"><image src="../../images/logo2.png" /></view>
|
||||
</view>-->
|
||||
<view class="searchbox">
|
||||
<view class="icobox" bindtap="onsearch"><image src="../../images/searchto1.png" /></view>
|
||||
<view class="inpubox">
|
||||
<input type="text" placeholder="{{qkeyword}}" confirm-type="search" focus="{{getfocus}}" bindinput="getkeyword" bindconfirm="onsearch" placeholder-style="color:#bbb;" />
|
||||
</view>
|
||||
<view class="searchicobox" bindtap="onsearch">搜索</view>
|
||||
|
||||
|
||||
</view>
|
||||
|
||||
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
<view class="menudata_box">
|
||||
<view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<view class="business_box">
|
||||
<view class="business_item" wx:for="{{business}}" bindtap="onview" data-id="{{item._id}}">
|
||||
<view class="business_item_top">
|
||||
<view class="ub item_image">
|
||||
<image wx:if="{{item.showpic==0}}" src="{{item.image}}" />
|
||||
</view>
|
||||
<view class="ub-f1 item_info">
|
||||
<view class="item_title">{{item.name}}</view>
|
||||
<view class="item_distance">
|
||||
<view class="item_distance_box">
|
||||
<view class="ub-f1">距您直线距离{{item.distance}}</view>
|
||||
<view class="addressico" catchtap="inserver">
|
||||
<image src="../../images/Pin-Assistor.png" bindtap="onamap" data-id='{{item.name+"-"+item.address}}' data-lat="{{item.lat}}" data-lon="{{item.lon}}" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item_address">
|
||||
<view class="ub-f1">地址:{{item.address}}</view>
|
||||
<view class="ub ico" catchtap="inserver">
|
||||
<view class="ico_box" bindtap="oncopy0" data-id="{{item.address}}">
|
||||
<image src="../../images/copy.png" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="ub business_item_bottom">
|
||||
<view class="item_product" wx:for="{{item.products}}" wx:for-item="cell" wx:for-index="index0" catchtap="inserver">
|
||||
<view bindtap="ondetail" data-id="{{cell._id}}">
|
||||
<view class="product_image">
|
||||
<image src="{{cell.image}}" />
|
||||
</view>
|
||||
<view class="products_title">{{cell.name}}</view>
|
||||
<view class="products_price">
|
||||
<text>¥{{cell.hyje}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="nodata" hidden="{{nodataHidden}}">
|
||||
<image src="../../images/order-null.png"/>
|
||||
<view>暂无数据</view>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user