Commit ec522dfb authored by 和慭琛's avatar 和慭琛

分享问题

parent c867ae69
...@@ -164,7 +164,13 @@ ...@@ -164,7 +164,13 @@
} }
}, },
onLoad() { onLoad(e) {
//+ '?orderId=' + this.orderId + '&toWhere=detail'
if(e && e.toWhere){
this.toWhere(e)
}
this.icon_location = getApp().globalData.icon_location this.icon_location = getApp().globalData.icon_location
this.icon_notice = getApp().globalData.icon_index_notice this.icon_notice = getApp().globalData.icon_index_notice
this.icon_agree_yes = getApp().globalData.icon_agree_yes this.icon_agree_yes = getApp().globalData.icon_agree_yes
...@@ -225,7 +231,16 @@ ...@@ -225,7 +231,16 @@
doNothing:function(){}, doNothing:function(){},
toWhere: function(e){
if(e.toWhere == detail && e.orderId){
uni.navigateTo({
url: '/pages/take/detail'
+'?orderId='+e.orderId,
})
}
},
nameInput(e){ nameInput(e){
this.name = e.detail.value this.name = e.detail.value
......
This diff is collapsed.
...@@ -231,6 +231,16 @@ ...@@ -231,6 +231,16 @@
}, },
onShareAppMessage(res) {
let shareObj = {
title: '',
path: '/pages/take/index',
success(){},
fail(){}
}
return shareObj
},
methods: { methods: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment