|
@@ -137,6 +137,22 @@
|
|
this.isdingwei()
|
|
this.isdingwei()
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ onShareAppMessage(res) {
|
|
|
|
+ debugger
|
|
|
|
+ let path = `/pages/find/find?id=${this.searchVal}`
|
|
|
|
+ if (res.from === 'button') {
|
|
|
|
+ return {
|
|
|
|
+ title: "本地生活一键搜索",
|
|
|
|
+ path: path,
|
|
|
|
+ };
|
|
|
|
+ }
|
|
|
|
+ if (res.from === 'menu') {
|
|
|
|
+ return {
|
|
|
|
+ title: "本地生活一键搜索",
|
|
|
|
+ path: path,
|
|
|
|
+ };
|
|
|
|
+ }
|
|
|
|
+ },
|
|
methods: {
|
|
methods: {
|
|
search() {
|
|
search() {
|
|
// if (this.userInfo.phone) {
|
|
// if (this.userInfo.phone) {
|