소스 검색

[拼团券][修改]:[扫码进入拼团页面路径的修改]

tags/C.7.1.0
meo 6 년 전
부모
커밋
c394847c30
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. +1
    -1
      pages/getuserinfo/index.js
  2. +3
    -1
      pages/index/index.js

+ 1
- 1
pages/getuserinfo/index.js 파일 보기

@@ -109,7 +109,7 @@ Page({
wx.navigateTo({ wx.navigateTo({
url: `/pages/coupon/detail/index?couponChannelId=${that.data.couponChannelId}` url: `/pages/coupon/detail/index?couponChannelId=${that.data.couponChannelId}`
}); });
} else if (that.data.couponChannelId && that.data.cuserId && !that.data.spellGroup) {
} else if (that.data.couponChannelId && that.data.cuserId && !that.data.spellGroup && app.globalData.type != 'sd') {
// 来自转赠 // 来自转赠
wx.reLaunch({ wx.reLaunch({
url: `/pages/coupon/detail/index?couponChannelId=${that.data.couponChannelId}&cuserId=${that.data.cuserId}&coverImg=${that.data.coverImg}&userName=${that.data.userName}&avatarUrl=${that.data.avatarUrl}&couponOrderId=${that.data.couponOrderId}&updateDate=${that.data.updateDate}` url: `/pages/coupon/detail/index?couponChannelId=${that.data.couponChannelId}&cuserId=${that.data.cuserId}&coverImg=${that.data.coverImg}&userName=${that.data.userName}&avatarUrl=${that.data.avatarUrl}&couponOrderId=${that.data.couponOrderId}&updateDate=${that.data.updateDate}`


+ 3
- 1
pages/index/index.js 파일 보기

@@ -13,6 +13,7 @@ Page({
*/ */
onLoad: function(options) { onLoad: function(options) {
let that = this; let that = this;
console.log(options)
wx.showToast({ wx.showToast({
title: '加载中', title: '加载中',
icon: "loading", icon: "loading",
@@ -134,7 +135,8 @@ Page({
url: `/pages/spellGroup/mySpellGroup/index?couponChannelId=${options.couponChannelId}&couponId=${data.couponId}` url: `/pages/spellGroup/mySpellGroup/index?couponChannelId=${options.couponChannelId}&couponId=${data.couponId}`
}) })
}) })
} else if (options && options.couponChannelId && !options.spellGroup) {
} else if (options && options.couponChannelId && !options.spellGroup && app.globalData.type != 'sd') {
// 转赠判断 // 转赠判断
if (options.cuserId) { if (options.cuserId) {
wx.redirectTo({ wx.redirectTo({


불러오는 중...
취소
저장