|
@@ -291,6 +291,12 @@
|
|
|
|
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ onShareTimeline() {
|
|
|
|
+ return {
|
|
|
|
+ title: that.goodsInfo.name,
|
|
|
|
+ path: "/pages/travel/travelDetails?id=" + this.id,
|
|
|
|
+ }
|
|
|
|
+ },
|
|
// #endif
|
|
// #endif
|
|
methods: {
|
|
methods: {
|
|
initvist() {
|
|
initvist() {
|
|
@@ -423,7 +429,6 @@
|
|
duration: 200, //过渡时间
|
|
duration: 200, //过渡时间
|
|
scrollTop: res.top + this.scrollTop - 50, //到达距离顶部的top值
|
|
scrollTop: res.top + this.scrollTop - 50, //到达距离顶部的top值
|
|
})
|
|
})
|
|
- console.log( res.top + this.scrollTop - 50,996555)
|
|
|
|
}).exec()
|
|
}).exec()
|
|
} else if (item.name == "费用") {
|
|
} else if (item.name == "费用") {
|
|
uni.createSelectorQuery().select(".charge").boundingClientRect(res => { //目标位置的节点:类或者id
|
|
uni.createSelectorQuery().select(".charge").boundingClientRect(res => { //目标位置的节点:类或者id
|