Commit 6d4fdfa6b634f900f28291453aca00c36bf822ec

Authored by vking
1 parent 6bf7a16c

remove s接口

... ... @@ -500,13 +500,13 @@ Page({
if(this.findSellerData){
param=Object.assign(param,this.findSellerData.paramObj)
}
this.selectComponent('#list').getList(param);
//this.selectComponent('#list').getList(param);
this.param=param;
let now_sid=[];
App.Customer.SellerList(param).then(async res => {
//this.mapData.region.southwest.latitude='';
if (res.ret == 200) {
let sellersList=res.data;
let sellersList=res.data.list;
let sellersLength=sellersList.length;
sellersList.forEach((seller,si) => {
now_sid.push(seller.id);
... ... @@ -584,7 +584,8 @@ Page({
let obj={
hasSellers:now_sid.length>0,
hasGetSellersEnd:true,
hasSearchLimit:(tags.length>0 || this.data.multiIndex[0]>0) || this.findSellerData
hasSearchLimit:(tags.length>0 || this.data.multiIndex[0]>0) || this.findSellerData,
listMoreCount:res.data.flag
}
if(this.hasSellerConcat){
obj.markers=this.data.markers.concat(markers);
... ...
... ... @@ -10,7 +10,6 @@
"a2l":"/components/tips/add-to-lite",
"boost":"/components/tips/boost",
"caixi":"/components/reserve/caixi",
"list":"/components/reserve/seller-box-transverse-cview/list",
"activity-enter":"/components/activity/enter",
"as-phone":"/components/actionSheet/phone",
"activity-tips":"/components/tips/discount"
... ...
... ... @@ -133,14 +133,12 @@
<view bindtap="moveToLocation" class="moveToLocation">
<image src="http://nosqn.colorcun.com/reserve/images/golocal.png"></image>
</view>
<view class="toast" wx:if="{{hasGetSellersEnd && listMoreCount<1 && !hasSearchLimit && markers.length<2}}">该地区没有可供预订的餐厅哦!努力开通中</view>
<view class="toast" wx:if="{{hasGetSellersEnd && markers.length<2 && listMoreCount>0}}">移动或缩放地图,获取更多餐厅</view>
<view class="toast" wx:if="{{hasGetSellersEnd && listMoreCount<1 && !hasSearchLimit}}">该地区没有可供预订的餐厅哦!努力开通中</view>
<view class="toast" wx:if="{{hasGetSellersEnd && markers.length<3 && listMoreCount>0}}">移动或缩放地图,获取更多餐厅</view>
<getpos bindpos="onpos" id="getpos"></getpos>
<seller-box id="seller-box" bindevent="sellerBoxEvent"></seller-box>
<cover-view class="tab-patch"></cover-view>
<a2l bindshow="a2lshow" bindhide="a2lshow" key="INDEX"></a2l>
<list id="list" bindevent="listEvent"
multiArray="{{multiArray}}" multiIndex="{{multiIndex}}" tags="{{tags}}"></list>
<caixi multiArray="{{multiArray}}" multiIndex="{{multiIndex}}"
bindactive="caixiActive" id="caixi"
></caixi>
... ...
... ... @@ -63,7 +63,7 @@ export default {
//地图页-商家
'App.Customer.SellerList': {
alias: 'App.Customer.NewSellerList'
//alias: 'App.Customer.NewSellerList'
},
//地图页-商家-列表
... ...