|
...
|
...
|
@@ -17,7 +17,10 @@ Page({ |
|
|
|
/**
|
|
|
|
* 生命周期函数--监听页面加载
|
|
|
|
*/
|
|
|
|
options:null,
|
|
|
|
onLoad: function (options) {
|
|
|
|
//latitude=34.215637&longitude=108.891264&scale=16&height=397
|
|
|
|
this.options=options
|
|
|
|
PubSub.on(
|
|
|
|
'follow',
|
|
|
|
data=>{
|
|
...
|
...
|
@@ -101,12 +104,14 @@ Page({ |
|
|
|
size:10,
|
|
|
|
hasMore:true,
|
|
|
|
GetCollectionSellerList(){
|
|
|
|
App.Customer.GetCollectionSellerList({
|
|
|
|
openid:getApp().openid,
|
|
|
|
lat:this.location.latitude,
|
|
|
|
lng:this.location.longitude,
|
|
|
|
App.Customer.GetActivitySellerList({
|
|
|
|
lat:this.options.latitude,
|
|
|
|
lng:this.options.longitude,
|
|
|
|
offset:this.offset,
|
|
|
|
size:this.size,
|
|
|
|
distance:50,
|
|
|
|
lat_extend:this.location.latitude,
|
|
|
|
lng_extend:this.location.longitude,
|
|
|
|
}).then(res=>{
|
|
|
|
let sellers=res.data;
|
|
|
|
let sellersLength=sellers.length;
|
...
|
...
|
|