添加的功能:查看推广码对应的结算记录

This commit is contained in:
2025-06-09 19:08:32 +08:00
parent 38ba528f76
commit c0c6b5b61a
23 changed files with 131 additions and 86 deletions

View File

@ -1,8 +1,17 @@
import { baseUrl } from "../../../request";
import { globalImgUrl } from '../../../request';
// pages/personCenter/commissionSetting/commissionSetting.js
Page({
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
this.getProjectList()
this.getFixedRate()
},
/**
* 页面的初始数据
*/
@ -19,6 +28,7 @@ Page({
nowProjectDetailName: '', // 现在的‘项目详细名称’,用于传给弹窗
isSub: false, // 用于区分是项目抽佣页面还是单个用户抽佣页面
fixedRate: 0, // 固定抽佣——一键设置
globalImgUrl,
},
// 获取项目列表
@ -116,13 +126,6 @@ Page({
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
this.getProjectList()
this.getFixedRate()
},
/**
* 生命周期函数--监听页面初次渲染完成

View File

@ -22,7 +22,7 @@
<view class="flex-row flex-1 self-center">
<image
class="shrink-0 image_3"
src="{{ item.projectImage }}"
src="{{ globalImgUrl + item.projectImage }}"
/>
<view class="flex-col items-start flex-1 group_3 ml-13">
<text class="font">{{ item.projectName }}</text>