commission--yt-commit

This commit is contained in:
2025-06-04 00:18:25 +08:00
parent 361f6a89d3
commit a5d060633a
11 changed files with 161 additions and 32 deletions

View File

@ -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}`,
})
},
/**

View File

@ -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"