修改跳转链接
This commit is contained in:
parent
efdfc91833
commit
9e7b8dc84d
|
@ -109,15 +109,26 @@ const istrue = ref<boolean>(false)
|
|||
const isShow = ref<boolean>(false)
|
||||
const list = reactive<any>([])
|
||||
const query = reactive<any>({
|
||||
// activity_code: 'TT123copycopy',
|
||||
activity_code: '',
|
||||
})
|
||||
|
||||
const dui = (item) => {
|
||||
item.activity_code = query.activity_code
|
||||
uni.navigateTo({
|
||||
url: '/pages/jlgh/redeem?item=' + JSON.stringify(item),
|
||||
})
|
||||
window.parent.postMessage(
|
||||
{
|
||||
data: {
|
||||
message: 'success',
|
||||
type: 'detail',
|
||||
query: {
|
||||
item: JSON.stringify(item),
|
||||
},
|
||||
},
|
||||
},
|
||||
'*',
|
||||
)
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/jlgh/redeem?item=' + JSON.stringify(item),
|
||||
// })
|
||||
}
|
||||
|
||||
const gomypre = (idx) => {
|
||||
|
|
|
@ -122,9 +122,18 @@ onLoad((options) => {
|
|||
|
||||
function gomy() {
|
||||
ismask.value = false
|
||||
uni.navigateTo({
|
||||
url: `/pages/jlgh/index?activity_code=${info.activity_code}`,
|
||||
})
|
||||
// uni.navigateTo({
|
||||
// url: `/pages/jlgh/index?activity_code=${info.activity_code}`,
|
||||
// })
|
||||
window.parent.postMessage(
|
||||
{
|
||||
data: {
|
||||
message: 'success',
|
||||
type: 'coupon',
|
||||
},
|
||||
},
|
||||
'*',
|
||||
)
|
||||
}
|
||||
|
||||
function dui() {
|
||||
|
|
Loading…
Reference in New Issue