diff --git a/packages/activity/book.vue b/packages/activity/book.vue index c26ff37..305872d 100644 --- a/packages/activity/book.vue +++ b/packages/activity/book.vue @@ -328,6 +328,13 @@ content: "
1.批量上传EXCEL的以xlsx结尾
2.第一列为标题列 姓名 手机号 证件号
3.文件是从微信聊天记录中选取或者微信文件传输助手
"
}]
}
+ },
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
onLoad(options) {
this.type = options.type;
diff --git a/packages/activity/index.vue b/packages/activity/index.vue
index eeb705f..029f9b3 100644
--- a/packages/activity/index.vue
+++ b/packages/activity/index.vue
@@ -96,8 +96,12 @@
}
})
},
- onShareAppMessage() {
- return this.util.shareInfo
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
methods: {
tothere(item) {
diff --git a/packages/activity/info.vue b/packages/activity/info.vue
index 43c6b44..32fced0 100644
--- a/packages/activity/info.vue
+++ b/packages/activity/info.vue
@@ -146,12 +146,19 @@
}
})
},
- onShareAppMessage() {
- return {
- title: this.list.name,
- path: "/packages/activity/info?id=" + this.list.id,
- imageUrl: this.list.cover_upload.url
- }
+ // onShareAppMessage() {
+ // return {
+ // title: this.list.name,
+ // path: "/packages/activity/info?id=" + this.list.id,
+ // imageUrl: this.list.cover_upload.url
+ // }
+ // },
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
methods: {
timeFormat(val, format) {
diff --git a/packages/dl/index.vue b/packages/dl/index.vue
index 266882e..2f30c61 100644
--- a/packages/dl/index.vue
+++ b/packages/dl/index.vue
@@ -136,6 +136,13 @@
// },
]
}
+ },
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
methods: {
towhere(index) {
diff --git a/packages/map/map.vue b/packages/map/map.vue
index cdcda96..07b81bb 100644
--- a/packages/map/map.vue
+++ b/packages/map/map.vue
@@ -25,6 +25,10 @@
},
onShareAppMessage() {
return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
methods: {
markertap() {
diff --git a/packages/order/activityorder.vue b/packages/order/activityorder.vue
index 15ec0b3..73a850f 100644
--- a/packages/order/activityorder.vue
+++ b/packages/order/activityorder.vue
@@ -83,6 +83,13 @@
},
onShow() {
this.loadOrder();
+ },
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
methods: {
handleChange(e) {
diff --git a/packages/order/activityorderinfo.vue b/packages/order/activityorderinfo.vue
index 877f5e8..e5c46de 100644
--- a/packages/order/activityorderinfo.vue
+++ b/packages/order/activityorderinfo.vue
@@ -142,6 +142,13 @@
tstart_time:"",
tend_time:""
}
+ },
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
onLoad(options) {
if (!this.util.isNull(options.id)) {
diff --git a/packages/order/parkorder.vue b/packages/order/parkorder.vue
index 01729d8..f33bc9e 100644
--- a/packages/order/parkorder.vue
+++ b/packages/order/parkorder.vue
@@ -70,6 +70,13 @@
3: "已过期"
}
}
+ },
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
onShow() {
this.loadOrder();
diff --git a/packages/order/parkorderinfo.vue b/packages/order/parkorderinfo.vue
index 5314205..b392245 100644
--- a/packages/order/parkorderinfo.vue
+++ b/packages/order/parkorderinfo.vue
@@ -89,6 +89,13 @@
idx: "3"
}]
}
+ },
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
onLoad(options) {
let that = this;
diff --git a/packages/order/visitorder.vue b/packages/order/visitorder.vue
index 76e6908..60d88c5 100644
--- a/packages/order/visitorder.vue
+++ b/packages/order/visitorder.vue
@@ -76,6 +76,13 @@
},
onShow() {
this.loadOrder();
+ },
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
methods: {
timeFormat(date, format) {
diff --git a/packages/order/visitorderinfo.vue b/packages/order/visitorderinfo.vue
index 2b9b3f9..c1893cb 100644
--- a/packages/order/visitorderinfo.vue
+++ b/packages/order/visitorderinfo.vue
@@ -110,7 +110,13 @@
this.loadInfo(options.id);
}
},
-
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
+ },
onShow() {
var that = this
this.timer = setInterval(function() {
diff --git a/packages/park/book.vue b/packages/park/book.vue
index b010f45..f372853 100644
--- a/packages/park/book.vue
+++ b/packages/park/book.vue
@@ -154,6 +154,13 @@
bookinfo: {},
notice: {}
}
+ },
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
onLoad(options) {
let that = this;
diff --git a/packages/park/index.vue b/packages/park/index.vue
index c4293c8..4bcc5bc 100644
--- a/packages/park/index.vue
+++ b/packages/park/index.vue
@@ -208,6 +208,13 @@
next = !next
this.animationData = animation.export()
},800)
+ },
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
onLoad() {
var that = this;
diff --git a/pages/exhibit/bookdetail.vue b/pages/exhibit/bookdetail.vue
index 6f2429d..5d0b458 100644
--- a/pages/exhibit/bookdetail.vue
+++ b/pages/exhibit/bookdetail.vue
@@ -22,6 +22,13 @@
id: '',
showContent: false,
}
+ },
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
onLoad(options) {
this.id = options.id ? options.id : ''
diff --git a/pages/exhibit/detail.vue b/pages/exhibit/detail.vue
index 9ec84b7..e8f850a 100644
--- a/pages/exhibit/detail.vue
+++ b/pages/exhibit/detail.vue
@@ -80,6 +80,13 @@
onLoad(options) {
this.id = options.id ? options.id : ''
this.loadDetail()
+ },
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
methods: {
cancelTime(val){
diff --git a/pages/exhibit/index.vue b/pages/exhibit/index.vue
index 614ba6c..564ae23 100644
--- a/pages/exhibit/index.vue
+++ b/pages/exhibit/index.vue
@@ -123,6 +123,13 @@
this.getExhibit()
this.getRelic()
this.getBooks()
+ },
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
methods: {
cancelTime(str) {
diff --git a/pages/exhibit/list.vue b/pages/exhibit/list.vue
index 0f2599b..f60cd32 100644
--- a/pages/exhibit/list.vue
+++ b/pages/exhibit/list.vue
@@ -52,7 +52,13 @@
onLoad() {
this.loadExhibit(1)
},
-
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
+ },
onPullDownRefresh() {
if (!this.isLoading) {
this.loadExhibit(this.currentPage + 1);
diff --git a/pages/guide/index.vue b/pages/guide/index.vue
index 1c0ccda..40fdda7 100644
--- a/pages/guide/index.vue
+++ b/pages/guide/index.vue
@@ -122,8 +122,12 @@
that.loadList(1, 1)
//that.loadList(1, 4)
},
- onShareAppMessage() {
- return this.util.shareInfo
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
methods: {
showwhat(type) {
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 1de2649..5932e9c 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -242,6 +242,10 @@
},
onShareAppMessage() {
return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
onLoad() {
diff --git a/pages/mine/index.vue b/pages/mine/index.vue
index 18512bb..62c63bf 100644
--- a/pages/mine/index.vue
+++ b/pages/mine/index.vue
@@ -126,7 +126,14 @@
}
}
},
- onReady() {},
+ onReady() {},
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
+ },
onShow() {
var that = this;
diff --git a/pages/mine/recommend.vue b/pages/mine/recommend.vue
index c2a1aa8..87e3296 100644
--- a/pages/mine/recommend.vue
+++ b/pages/mine/recommend.vue
@@ -20,6 +20,10 @@
},
onShareAppMessage() {
return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
methods: {
goBack(){
diff --git a/pages/success/success.vue b/pages/success/success.vue
index 370b192..6d71099 100644
--- a/pages/success/success.vue
+++ b/pages/success/success.vue
@@ -62,6 +62,13 @@
}
}
+ },
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
methods: {
goHome() {
diff --git a/pages/visit/book.vue b/pages/visit/book.vue
index 6ddb12e..0afa053 100644
--- a/pages/visit/book.vue
+++ b/pages/visit/book.vue
@@ -497,7 +497,13 @@
clearInterval(this.t)
clearTimeout(this.timer)
},
-
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
+ },
onUnload() {
clearInterval(this.t)
clearTimeout(this.timer)
diff --git a/pages/visit/index.vue b/pages/visit/index.vue
index 5a8f986..a65b4e8 100644
--- a/pages/visit/index.vue
+++ b/pages/visit/index.vue
@@ -11,6 +11,13 @@
return {
value1: ""
}
+ },
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
methods: {
diff --git a/pages/visit/teambook.vue b/pages/visit/teambook.vue
index 196d940..aaf49f6 100644
--- a/pages/visit/teambook.vue
+++ b/pages/visit/teambook.vue
@@ -194,6 +194,13 @@
listVistor: [{}, {}],
showAdd: false
}
+ },
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
methods: {
closeAdd() {
diff --git a/pages/vr/index.vue b/pages/vr/index.vue
index 2ecc33d..1dea20e 100644
--- a/pages/vr/index.vue
+++ b/pages/vr/index.vue
@@ -31,6 +31,13 @@
},
onReady() {
+ },
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
onLoad() {
this.getVr()
diff --git a/pages/vr/vrpage.vue b/pages/vr/vrpage.vue
index 7cadd02..e2c0fbd 100644
--- a/pages/vr/vrpage.vue
+++ b/pages/vr/vrpage.vue
@@ -13,6 +13,13 @@
},
onShow() {
+ },
+ onShareAppMessage() {
+ return this.util.shareInfo
+ },
+
+ onShareTimeline(){
+ return this.util.shareInfo
},
onLoad(options) {
if(options.link){