diff --git a/components/popup/index.js b/components/popup/index.js
index 6e8b6ed..2931547 100644
--- a/components/popup/index.js
+++ b/components/popup/index.js
@@ -132,6 +132,9 @@ baseComponent({
onExited() {
this.triggerEvent('closed')
},
+ stopMove: function(){
+ return true
+ },
/**
* 获取过渡的类名
*/
diff --git a/components/popup/index.wxml b/components/popup/index.wxml
index cacb404..5f1be80 100644
--- a/components/popup/index.wxml
+++ b/components/popup/index.wxml
@@ -1,7 +1,7 @@
-
+
-
-
+
立即续费
开通会员
diff --git a/pages/index/index.js b/pages/index/index.js
index 27dcadd..eac5f80 100644
--- a/pages/index/index.js
+++ b/pages/index/index.js
@@ -108,6 +108,7 @@ Page({
app.nowCity = { cityName: app.nowLocation.cityName, cityCode: app.nowLocation.cityCode }
that.setData({ cityName: app.nowLocation.cityName })
}
+ event.emit('EventMessage', { what: 444, desc: 'nowCity' })
that.located = true
},
fail: function (res) {
diff --git a/pages/mall/fragment/index.js b/pages/mall/fragment/index.js
index 18f6f12..b12e937 100644
--- a/pages/mall/fragment/index.js
+++ b/pages/mall/fragment/index.js
@@ -5,7 +5,7 @@ const event = require('../../../utils/event')
const storage = require('../../../utils/storage')
const util = require('../../../utils/util')
const app = getApp()
-var form = {sortBy: 1, pageNum: 10, pageSize: 1, categoryId: ''}
+var form = {sortBy: 0, pageNum: 10, pageSize: 1, categoryId: '', cityId: ''}
var typeList = []
Component({
@@ -72,7 +72,6 @@ Component({
}
form.categoryId = typeList[0].categoryId
this.setData({ tabList })
- this.fetchAgentList()
})
}
this.initLogin()
@@ -93,6 +92,7 @@ Component({
if(message.what == 888){
this.initLogin()
} else if(message.what == 444){
+ form.cityId = app.nowCity.cityCode
this.setData({ cityName: app.nowCity.cityName })
this.fetchAgentList()
}
diff --git a/pages/mall/fragment/index.wxml b/pages/mall/fragment/index.wxml
index 1db9bba..1c9e7b1 100644
--- a/pages/mall/fragment/index.wxml
+++ b/pages/mall/fragment/index.wxml
@@ -12,7 +12,7 @@
输入关键字搜索
-
+
@@ -80,7 +80,7 @@
-
+