|
@@ -134,9 +134,7 @@
|
|
|
]),
|
|
|
},
|
|
|
onLoad() {
|
|
|
- console.log("kseeeesskkk");
|
|
|
if(this.beginload) {
|
|
|
-
|
|
|
this.getpicture(); // 开机广告
|
|
|
//this.gethotelist(); // 酒店列表
|
|
|
if(this.allow) {
|
|
@@ -201,8 +199,10 @@
|
|
|
},
|
|
|
goinfor() {
|
|
|
if(this.successlogion && this.hasLogin) {
|
|
|
+
|
|
|
uni.navigateTo({
|
|
|
- url: '../myCenter/information' // 我的消息通知
|
|
|
+ url: '../myCenter/information' ,// 我的消息通知
|
|
|
+
|
|
|
})
|
|
|
}else {
|
|
|
uni.navigateTo({
|
|
@@ -223,9 +223,12 @@
|
|
|
// })
|
|
|
// },
|
|
|
goSearch() {
|
|
|
+ let lat = this.lat;
|
|
|
+ let lon = this.lot;
|
|
|
uni.navigateTo({
|
|
|
- url: './searchresult' // 我的搜索
|
|
|
+ url: `/pages/index/searchresult?lat=${lat}&lon=${lon}`
|
|
|
})
|
|
|
+
|
|
|
},
|
|
|
// 滚动到顶部
|
|
|
upper(e) {
|