添加的功能:查看推广码对应的结算记录
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import { baseUrl } from "../../../request"
|
||||
import { globalImgUrl } from "../../../request"
|
||||
|
||||
// pages/projectModule/userProject/userProject.js
|
||||
Page({
|
||||
@ -8,6 +9,7 @@ Page({
|
||||
*/
|
||||
|
||||
data: {
|
||||
globalImgUrl,
|
||||
userProjectList: [],
|
||||
},
|
||||
|
||||
@ -20,11 +22,9 @@ Page({
|
||||
|
||||
// 结算记录
|
||||
gotoSubSettlement(e) {
|
||||
|
||||
const projectId = e.currentTarget.dataset.id;
|
||||
const url = e.currentTarget.dataset.url;
|
||||
const name = e.currentTarget.dataset.name;
|
||||
|
||||
wx.navigateTo({
|
||||
url: `/pages/projectModule/settlement/settlement?id=${projectId}&picurl=${url}&name=${name}`,
|
||||
})
|
||||
@ -53,6 +53,7 @@ Page({
|
||||
gotoProjectDetail(e){
|
||||
// 获取data-id中的值
|
||||
const projectId = e.currentTarget.dataset.id;
|
||||
console.log('项目id =============>', projectId)
|
||||
wx.navigateTo({
|
||||
url: `/pages/projectModule/projectDetail/projectDetail?id=${projectId}&isPromo=0`,
|
||||
})
|
||||
|
Reference in New Issue
Block a user