Commit eca6235bcc44ed5240a8a8e25cd50141f0e2bb85

Authored by wangfan
1 parent 734efb67

c端预定

1 <!--components/showModal/showModal.wxml--> 1 <!--components/showModal/showModal.wxml-->
2 <view class="seller flex-ll"> 2 <view class="seller flex-ll">
3 <view class="image"> 3 <view class="image">
4 - <image src="{{seller.seller_image}}"></image> 4 + <image src="{{seller.seller_image || 'http://qn.colorcun.com/custom/lite-online/image/seller-def.png'}}"></image>
5 <view class="room_num" wx:if="{{seller.room_num>0}}">{{seller.room_num}}个包间</view> 5 <view class="room_num" wx:if="{{seller.room_num>0}}">{{seller.room_num}}个包间</view>
6 </view> 6 </view>
7 <view class="info flex-tb"> 7 <view class="info flex-tb">
@@ -316,6 +316,7 @@ Page({ @@ -316,6 +316,7 @@ Page({
316 param.cuisine=await DA.getCatesID(this.data.multiIndex[1]-1); 316 param.cuisine=await DA.getCatesID(this.data.multiIndex[1]-1);
317 } 317 }
318 App.Reserve.SellerList(param).then(res => { 318 App.Reserve.SellerList(param).then(res => {
  319 + this.mapData.region.southwest.latitude='';
319 if (res.ret == 200) { 320 if (res.ret == 200) {
320 let sellersIds=["scale"+this.mapData.scale]; 321 let sellersIds=["scale"+this.mapData.scale];
321 res.data.forEach(seller=>{ 322 res.data.forEach(seller=>{
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 style="width: 100%; height: {{map.height}}px;"></map> 17 style="width: 100%; height: {{map.height}}px;"></map>
18 <formids url="/pages/reserve/search" style="position: fixed;"> 18 <formids url="/pages/reserve/search" style="position: fixed;">
19 <cover-view class="searchAddr flex-ll" style="top: {{searchAddrTop}}rpx;"> 19 <cover-view class="searchAddr flex-ll" style="top: {{searchAddrTop}}rpx;">
20 - <cover-image class="icon" src="http://qn.colorcun.com/custom/lite-online/image/search.png"></cover-image> 20 + <cover-image class="icon" src="http://qn.colorcun.com/custom/lite-online/image/search26.png"></cover-image>
21 <cover-view class="title">{{hasSuggestion?suggestion.title:'请输入位置'}}</cover-view> 21 <cover-view class="title">{{hasSuggestion?suggestion.title:'请输入位置'}}</cover-view>
22 </cover-view> 22 </cover-view>
23 </formids> 23 </formids>
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 <nav>请输入位置</nav> 2 <nav>请输入位置</nav>
3 <view class="pages"> 3 <view class="pages">
4 <view class="searchAddr flex-ll" style="top: {{searchAddrTop}}rpx;"> 4 <view class="searchAddr flex-ll" style="top: {{searchAddrTop}}rpx;">
5 - <image class="icon" src="http://qn.colorcun.com/custom/lite-online/image/search.png"></image> 5 + <image class="icon" src="http://qn.colorcun.com/custom/lite-online/image/search26.png"></image>
6 <input style="width: 100%;" placeholder="请输入位置" 6 <input style="width: 100%;" placeholder="请输入位置"
7 type="text" confirm-type="done" 7 type="text" confirm-type="done"
8 focus 8 focus