From bc4ea87cabe19b0b9e4a6487d4bb9f37b91bb497 Mon Sep 17 00:00:00 2001
From: chen-xin-zhi <3588068430@qq.com>
Date: Wed, 28 May 2025 18:53:41 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E7=AC=AC=E4=B8=80=E9=83=A8?=
=?UTF-8?q?=E5=88=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app.json | 6 +-
.../commissionSetting/commissionSetting.js | 67 +++++++
.../commissionSetting/commissionSetting.json | 3 +
.../commissionSetting/commissionSetting.wxml | 69 +++++++
.../commissionSetting/commissionSetting.wxss | 187 ++++++++++++++++++
.../fundingDetails/fundingDetails.wxss | 2 +-
pages/personCenter/mine/mine.js | 5 +
pages/personCenter/mine/mine.wxml | 6 +-
.../subCommissionSetting.js | 66 +++++++
.../subCommissionSetting.json | 3 +
.../subCommissionSetting.wxml | 44 +++++
.../subCommissionSetting.wxss | 126 ++++++++++++
12 files changed, 578 insertions(+), 6 deletions(-)
create mode 100644 pages/personCenter/commissionSetting/commissionSetting.js
create mode 100644 pages/personCenter/commissionSetting/commissionSetting.json
create mode 100644 pages/personCenter/commissionSetting/commissionSetting.wxml
create mode 100644 pages/personCenter/commissionSetting/commissionSetting.wxss
create mode 100644 pages/personCenter/subCommissionSetting/subCommissionSetting.js
create mode 100644 pages/personCenter/subCommissionSetting/subCommissionSetting.json
create mode 100644 pages/personCenter/subCommissionSetting/subCommissionSetting.wxml
create mode 100644 pages/personCenter/subCommissionSetting/subCommissionSetting.wxss
diff --git a/app.json b/app.json
index f56483d..0242c81 100644
--- a/app.json
+++ b/app.json
@@ -1,7 +1,8 @@
{
"pages": [
- "pages/loginModule/pwdLogin/pwdLogin",
"pages/personCenter/mine/mine",
+ "pages/personCenter/subCommissionSetting/subCommissionSetting",
+ "pages/loginModule/pwdLogin/pwdLogin",
"pages/test/testVideo/testVideo",
"pages/personCenter/withdrawal/withdrawal",
"pages/personCenter/withdrawalAccount/withdrawalAccount",
@@ -16,7 +17,8 @@
"pages/loginModule/register/register",
"pages/projectModule/applyCode/applyCode",
"pages/projectModule/userProject/userProject",
- "pages/loginModule/forgetPwd/forgetPwd"
+ "pages/loginModule/forgetPwd/forgetPwd",
+ "pages/personCenter/commissionSetting/commissionSetting"
],
"window": {
"navigationBarTextStyle": "black",
diff --git a/pages/personCenter/commissionSetting/commissionSetting.js b/pages/personCenter/commissionSetting/commissionSetting.js
new file mode 100644
index 0000000..517b08b
--- /dev/null
+++ b/pages/personCenter/commissionSetting/commissionSetting.js
@@ -0,0 +1,67 @@
+// pages/personCenter/commissionSetting/commissionSetting.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ items_1: [null, null, null],
+ items: [null, null],
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
+ }
+})
\ No newline at end of file
diff --git a/pages/personCenter/commissionSetting/commissionSetting.json b/pages/personCenter/commissionSetting/commissionSetting.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/pages/personCenter/commissionSetting/commissionSetting.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/pages/personCenter/commissionSetting/commissionSetting.wxml b/pages/personCenter/commissionSetting/commissionSetting.wxml
new file mode 100644
index 0000000..b46a93f
--- /dev/null
+++ b/pages/personCenter/commissionSetting/commissionSetting.wxml
@@ -0,0 +1,69 @@
+
+
+
+
+
+ 一键设置下级抽成比例:
+ 1.36%
+
+
+
+
+
+
+
+
+
+
+ 美团神券包-春季活动
+
+ 结算T+2
+
+
+
+
+
+ 下级单价
+
+
+
+
+ 结算标准
+ 单价/代理单价/比例
+ 设置价格
+
+
+
+ 3.6元购买
+ 0.30/0.30/0.00%
+
+
+ 设价
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/personCenter/commissionSetting/commissionSetting.wxss b/pages/personCenter/commissionSetting/commissionSetting.wxss
new file mode 100644
index 0000000..d6a375c
--- /dev/null
+++ b/pages/personCenter/commissionSetting/commissionSetting.wxss
@@ -0,0 +1,187 @@
+.ml-5 {
+ margin-left: 9.38rpx;
+}
+.mt-19 {
+ margin-top: 35.63rpx;
+}
+.ml-13 {
+ margin-left: 24.38rpx;
+}
+.ml-21 {
+ margin-left: 39.38rpx;
+}
+.page {
+ padding: 50.63rpx 24.38rpx 258.75rpx;
+ background-image: linear-gradient(180deg, #ff8d1a -7.3%, #f5f5f5 39.3%);
+ width: 100%;
+ overflow-y: auto;
+ overflow-x: hidden;
+ height: 100%;
+}
+.section {
+ padding: 28.13rpx 26.25rpx;
+ background-color: #ffdab3;
+ border-radius: 18.75rpx;
+}
+.image {
+ width: 45rpx;
+ height: 45rpx;
+}
+.group {
+ line-height: 27.9rpx;
+ height: 27.9rpx;
+}
+.font {
+ font-size: 30rpx;
+ font-family: SourceHanSansCN;
+ line-height: 28.01rpx;
+ color: #000000;
+}
+.text {
+ line-height: 27.9rpx;
+}
+.text_2 {
+ color: #ff0000;
+ line-height: 22.76rpx;
+}
+.image_2 {
+ width: 35.63rpx;
+ height: 35.63rpx;
+}
+.list-item {
+ padding: 0 30rpx 46.88rpx 31.88rpx;
+ background-color: #ffffff;
+ border-radius: 18.75rpx;
+}
+.list-item:first-child {
+ margin-top: 0;
+}
+.group_2 {
+ padding: 30rpx 0 39.38rpx 5.63rpx;
+}
+.image_3 {
+ width: 108.75rpx;
+ height: 108.75rpx;
+}
+.group_3 {
+ margin-top: 9.34rpx;
+}
+.text-wrapper {
+ padding: 11.76rpx 0 8.94rpx;
+ background-color: #fff6de;
+ border-radius: 9.38rpx;
+ width: 133.13rpx;
+}
+.font_3 {
+ font-size: 26.25rpx;
+ font-family: SourceHanSansCN;
+ line-height: 24.41rpx;
+ color: #ffad29;
+}
+.text_4 {
+ line-height: 24.3rpx;
+}
+.section_2 {
+ margin-top: 39.38rpx;
+ padding: 15rpx 7.5rpx 13.13rpx 13.52rpx;
+ background-color: #ff8d1a;
+ border-radius: 8.75rpx;
+ width: 140.63rpx;
+ height: 52.5rpx;
+}
+.image_4 {
+ width: 24.38rpx;
+ height: 24.38rpx;
+}
+.image_5 {
+ margin-left: 95.23rpx;
+}
+.font_2 {
+ font-size: 26.25rpx;
+ font-family: SourceHanSansCN;
+ line-height: 24.41rpx;
+ color: #ffffff;
+}
+.text_3 {
+ margin-left: -119.61rpx;
+ font-size: 24.38rpx;
+ line-height: 24.38rpx;
+}
+.section_3 {
+ padding: 42.02rpx 36.39rpx 25.61rpx;
+ background-color: #f5f5f5;
+ border-radius: 10.14rpx;
+}
+.group_4 {
+ padding-left: 3.77rpx;
+}
+.font_4 {
+ font-size: 26.25rpx;
+ font-family: SourceHanSansCN;
+ line-height: 24.41rpx;
+ color: #6b6b6b;
+}
+.text_5 {
+ line-height: 24.3rpx;
+}
+.font_5 {
+ font-size: 26.25rpx;
+ font-family: SourceHanSansCN;
+ line-height: 26.79rpx;
+ color: #707070;
+}
+.list-item_2 {
+ margin-right: 8.61rpx;
+ padding: 22.76rpx 0 23.63rpx;
+ display: flex;
+ justify-content: space-between;
+}
+.list-item_2:first-child {
+ margin-top: 0;
+}
+.font_6 {
+ font-size: 26.25rpx;
+ font-family: SourceHanSansCN;
+ line-height: 31.88rpx;
+ color: #000000;
+}
+.text_6 {
+ width: 114.38rpx;
+}
+.pos {
+ /* position: absolute;
+ left: 0;
+ top: 50%;
+ transform: translateY(-50%); */
+}
+.font_7 {
+ font-size: 26.25rpx;
+ font-family: SourceHanSansCN;
+ line-height: 24.41rpx;
+ color: #000000;
+}
+.text_9 {
+ line-height: 25.54rpx;
+ margin-left: -30rpx;
+}
+.group_5 {
+ width: 75.75rpx;
+}
+.pos_2 {
+ /* position: absolute;
+ right: 0;
+ top: 50%;
+ transform: translateY(-50%); */
+}
+.image_6 {
+ margin-left: 51.38rpx;
+}
+.font_8 {
+ font-size: 26.25rpx;
+ font-family: SourceHanSansCN;
+ line-height: 24.41rpx;
+ color: #ff8d1a;
+}
+.text_8 {
+ margin-left: -75.75rpx;
+}
\ No newline at end of file
diff --git a/pages/personCenter/fundingDetails/fundingDetails.wxss b/pages/personCenter/fundingDetails/fundingDetails.wxss
index b67e18c..4e96ada 100644
--- a/pages/personCenter/fundingDetails/fundingDetails.wxss
+++ b/pages/personCenter/fundingDetails/fundingDetails.wxss
@@ -139,5 +139,5 @@
color: #696969;
}
.text_10 {
- width: 192.31rpx;
+ width: 292.31rpx;
}
\ No newline at end of file
diff --git a/pages/personCenter/mine/mine.js b/pages/personCenter/mine/mine.js
index bb1c753..6a30c18 100644
--- a/pages/personCenter/mine/mine.js
+++ b/pages/personCenter/mine/mine.js
@@ -52,6 +52,11 @@ Page({
url: '/pages/personCenter/withdrawal/withdrawal',
})
},
+ szcy() {
+ wx.navigateTo({
+ url: '/pages/personCenter/commissionSetting/commissionSetting',
+ })
+ },
/**
* 生命周期函数--监听页面加载
*/
diff --git a/pages/personCenter/mine/mine.wxml b/pages/personCenter/mine/mine.wxml
index 012e87a..1a38341 100644
--- a/pages/personCenter/mine/mine.wxml
+++ b/pages/personCenter/mine/mine.wxml
@@ -113,7 +113,7 @@
/>
团队管理
-
+
-
-
+
+
+
+ 代理列表
+
+
+
+
+
+
+
+ 结算标准
+ 3.6元购买30元券包3.6元购买30元券包3.6元购买30元券包
+
+
+
+ 代理
+ 代理单价/比例
+ 设置价格
+
+
+
+ 张新然张新然
+ 0.30/0.00%
+
+
+ 设价
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/personCenter/subCommissionSetting/subCommissionSetting.wxss b/pages/personCenter/subCommissionSetting/subCommissionSetting.wxss
new file mode 100644
index 0000000..c39544f
--- /dev/null
+++ b/pages/personCenter/subCommissionSetting/subCommissionSetting.wxss
@@ -0,0 +1,126 @@
+.ml-7 {
+ margin-left: 13.13rpx;
+}
+.mt-19 {
+ margin-top: 35.63rpx;
+}
+.page {
+ padding: 0 24.38rpx 1028.44rpx;
+ background-image: linear-gradient(180deg, #ff8d1a -7.3%, #f5f5f5 39.3%);
+ width: 100%;
+ overflow-y: auto;
+ overflow-x: hidden;
+ height: 100%;
+}
+.group {
+ padding: 39.38rpx 0 30rpx;
+}
+.font {
+ font-size: 30rpx;
+ font-family: SourceHanSansCN;
+}
+.text {
+ color: #000000;
+ line-height: 27.75rpx;
+}
+.section {
+ padding: 13.13rpx 18.75rpx 11.25rpx;
+ background-color: #ffffff;
+ border-radius: 93.75rpx;
+ width: 465rpx;
+ height: 60rpx;
+}
+.image {
+ width: 35.63rpx;
+ height: 35.63rpx;
+}
+.text_2 {
+ color: #999999;
+ line-height: 27.96rpx;
+}
+.section_2 {
+ padding: 0 30rpx 45rpx 31.88rpx;
+ background-color: #ffffff;
+ border-radius: 18.75rpx;
+}
+.group_2 {
+ margin-right: 2.98rpx;
+ padding: 37.33rpx 0 24.04rpx;
+}
+.font_2 {
+ font-size: 26.25rpx;
+ font-family: SourceHanSansCN;
+ line-height: 24.41rpx;
+ color: #000000;
+}
+.text_3 {
+ line-height: 24.3rpx;
+}
+.font_3 {
+ font-size: 26.25rpx;
+ font-family: SourceHanSansCN;
+ line-height: 31.88rpx;
+ color: #000000;
+}
+.section_3 {
+ padding: 40.22rpx 31.69rpx 27.86rpx 34.82rpx;
+ background-color: #f5f5f5;
+ border-radius: 10.05rpx;
+}
+.group_3 {
+ padding-left: 25.73rpx;
+}
+.font_4 {
+ font-size: 26.25rpx;
+ font-family: SourceHanSansCN;
+ line-height: 24.41rpx;
+ color: #6b6b6b;
+}
+.text_4 {
+ line-height: 23.87rpx;
+}
+.pos {
+ position: absolute;
+ left: 25.73rpx;
+ top: 50%;
+ transform: translateY(-50%);
+}
+.text_5 {
+ color: #707070;
+ line-height: 26.79rpx;
+}
+.pos_2 {
+ position: absolute;
+ right: 0;
+ top: 50%;
+ transform: translateY(-50%);
+}
+.list-item {
+ margin-right: 18.94rpx;
+}
+.list-item:first-child {
+ margin-top: 0;
+}
+.text_6 {
+ width: 105rpx;
+}
+.text_9 {
+ line-height: 25.54rpx;
+}
+.group_5 {
+ width: 75.75rpx;
+}
+.image_2 {
+ margin-left: 51.38rpx;
+ width: 24.38rpx;
+ height: 24.38rpx;
+}
+.font_5 {
+ font-size: 26.25rpx;
+ font-family: SourceHanSansCN;
+ line-height: 24.41rpx;
+ color: #ff8d1a;
+}
+.text_8 {
+ margin-left: -75.75rpx;
+}
\ No newline at end of file