commission--yt-commit
This commit is contained in:
@ -9,7 +9,7 @@ Page({
|
||||
|
||||
data: {
|
||||
userProjectList: [],
|
||||
promotionCode: true // 推广码开启
|
||||
promotionCode: true,
|
||||
},
|
||||
|
||||
/**
|
||||
@ -52,9 +52,10 @@ Page({
|
||||
gotoProjectDetail(e){
|
||||
// 获取data-id中的值
|
||||
const projectId = e.currentTarget.dataset.id;
|
||||
const promotionCode = this.data.promotionCode;
|
||||
|
||||
wx.navigateTo({
|
||||
url: `/pages/projectModule/projectDetail/projectDetail?id=${projectId}`,
|
||||
url: `/pages/projectModule/projectDetail/projectDetail?id=${projectId}&promotionCode=${promotionCode}`,
|
||||
})
|
||||
},
|
||||
/**
|
||||
|
@ -20,7 +20,7 @@
|
||||
/>
|
||||
</view>
|
||||
<view class="mt-14 flex-row group_2 equal-division">
|
||||
<view class="flex-row justify-center items-center section equal-division-item" bind:tap="gotoProjectDetail" data-id="{{ item.id }}" data-promotionCode="{{ promotionCode }}">
|
||||
<view class="flex-row justify-center items-center section equal-division-item" bind:tap="gotoProjectDetail" data-id="{{ item.id }}">
|
||||
<image
|
||||
class="image_3"
|
||||
src="./images/tgm.png"
|
||||
|
Reference in New Issue
Block a user