master
lion 1 year ago
parent a856d216a0
commit 676c9aa5ef

@ -329,6 +329,13 @@
}] }]
} }
}, },
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
},
onLoad(options) { onLoad(options) {
this.type = options.type; this.type = options.type;
this.form.type = (options.type == 'user' ? 2 : 1); this.form.type = (options.type == 'user' ? 2 : 1);

@ -99,6 +99,10 @@
onShareAppMessage() { onShareAppMessage() {
return this.util.shareInfo return this.util.shareInfo
}, },
onShareTimeline(){
return this.util.shareInfo
},
methods: { methods: {
tothere(item) { tothere(item) {
uni.openLocation({ uni.openLocation({

@ -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() { onShareAppMessage() {
return { return this.util.shareInfo
title: this.list.name, },
path: "/packages/activity/info?id=" + this.list.id,
imageUrl: this.list.cover_upload.url onShareTimeline(){
} return this.util.shareInfo
}, },
methods: { methods: {
timeFormat(val, format) { timeFormat(val, format) {

@ -137,6 +137,13 @@
] ]
} }
}, },
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
},
methods: { methods: {
towhere(index) { towhere(index) {

@ -26,6 +26,10 @@
onShareAppMessage() { onShareAppMessage() {
return this.util.shareInfo return this.util.shareInfo
}, },
onShareTimeline(){
return this.util.shareInfo
},
methods: { methods: {
markertap() { markertap() {
this.openlocation(); this.openlocation();

@ -84,6 +84,13 @@
onShow() { onShow() {
this.loadOrder(); this.loadOrder();
}, },
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
},
methods: { methods: {
handleChange(e) { handleChange(e) {
this.current = e.index; this.current = e.index;

@ -143,6 +143,13 @@
tend_time:"" tend_time:""
} }
}, },
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
},
onLoad(options) { onLoad(options) {
if (!this.util.isNull(options.id)) { if (!this.util.isNull(options.id)) {
this.optionid = options.id this.optionid = options.id

@ -71,6 +71,13 @@
} }
} }
}, },
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
},
onShow() { onShow() {
this.loadOrder(); this.loadOrder();
}, },

@ -90,6 +90,13 @@
}] }]
} }
}, },
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
},
onLoad(options) { onLoad(options) {
let that = this; let that = this;
this.loadConfigInfo(); this.loadConfigInfo();

@ -77,6 +77,13 @@
onShow() { onShow() {
this.loadOrder(); this.loadOrder();
}, },
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
},
methods: { methods: {
timeFormat(date, format) { timeFormat(date, format) {
return this.$moment(date).format(format); return this.$moment(date).format(format);

@ -110,7 +110,13 @@
this.loadInfo(options.id); this.loadInfo(options.id);
} }
}, },
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
},
onShow() { onShow() {
var that = this var that = this
this.timer = setInterval(function() { this.timer = setInterval(function() {

@ -155,6 +155,13 @@
notice: {} notice: {}
} }
}, },
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
},
onLoad(options) { onLoad(options) {
let that = this; let that = this;
that.showInfo = true; that.showInfo = true;

@ -209,6 +209,13 @@
this.animationData = animation.export() this.animationData = animation.export()
},800) },800)
}, },
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
},
onLoad() { onLoad() {
var that = this; var that = this;

@ -23,6 +23,13 @@
showContent: false, showContent: false,
} }
}, },
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
},
onLoad(options) { onLoad(options) {
this.id = options.id ? options.id : '' this.id = options.id ? options.id : ''
this.loadDetail() this.loadDetail()

@ -81,6 +81,13 @@
this.id = options.id ? options.id : '' this.id = options.id ? options.id : ''
this.loadDetail() this.loadDetail()
}, },
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
},
methods: { methods: {
cancelTime(val){ cancelTime(val){
return val.substring(0,10) return val.substring(0,10)

@ -124,6 +124,13 @@
this.getRelic() this.getRelic()
this.getBooks() this.getBooks()
}, },
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
},
methods: { methods: {
cancelTime(str) { cancelTime(str) {
return str ? str.substring(0, 10) : '' return str ? str.substring(0, 10) : ''

@ -52,7 +52,13 @@
onLoad() { onLoad() {
this.loadExhibit(1) this.loadExhibit(1)
}, },
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
},
onPullDownRefresh() { onPullDownRefresh() {
if (!this.isLoading) { if (!this.isLoading) {
this.loadExhibit(this.currentPage + 1); this.loadExhibit(this.currentPage + 1);

@ -125,6 +125,10 @@
onShareAppMessage() { onShareAppMessage() {
return this.util.shareInfo return this.util.shareInfo
}, },
onShareTimeline(){
return this.util.shareInfo
},
methods: { methods: {
showwhat(type) { showwhat(type) {
if (type == "showform") if (type == "showform")

@ -243,6 +243,10 @@
onShareAppMessage() { onShareAppMessage() {
return this.util.shareInfo return this.util.shareInfo
}, },
onShareTimeline(){
return this.util.shareInfo
},
onLoad() { onLoad() {
// //

@ -127,6 +127,13 @@
} }
}, },
onReady() {}, onReady() {},
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
},
onShow() { onShow() {
var that = this; var that = this;

@ -21,6 +21,10 @@
onShareAppMessage() { onShareAppMessage() {
return this.util.shareInfo return this.util.shareInfo
}, },
onShareTimeline(){
return this.util.shareInfo
},
methods: { methods: {
goBack(){ goBack(){
uni.switchTab({ uni.switchTab({

@ -63,6 +63,13 @@
} }
}, },
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
},
methods: { methods: {
goHome() { goHome() {
uni.switchTab({ uni.switchTab({

@ -497,7 +497,13 @@
clearInterval(this.t) clearInterval(this.t)
clearTimeout(this.timer) clearTimeout(this.timer)
}, },
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
},
onUnload() { onUnload() {
clearInterval(this.t) clearInterval(this.t)
clearTimeout(this.timer) clearTimeout(this.timer)

@ -12,6 +12,13 @@
value1: "" value1: ""
} }
}, },
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
},
methods: { methods: {
} }

@ -195,6 +195,13 @@
showAdd: false showAdd: false
} }
}, },
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
},
methods: { methods: {
closeAdd() { closeAdd() {
this.showAdd = false this.showAdd = false

@ -31,6 +31,13 @@
}, },
onReady() { onReady() {
},
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
}, },
onLoad() { onLoad() {
this.getVr() this.getVr()

@ -13,6 +13,13 @@
}, },
onShow() { onShow() {
},
onShareAppMessage() {
return this.util.shareInfo
},
onShareTimeline(){
return this.util.shareInfo
}, },
onLoad(options) { onLoad(options) {
if(options.link){ if(options.link){

Loading…
Cancel
Save