From 0a77ba151568b958eef27391b2fb6c94a81edd99 Mon Sep 17 00:00:00 2001 From: chen-xin-zhi <3588068430@qq.com> Date: Thu, 29 May 2025 08:56:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E9=83=A8=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../InvitationCodePop/InvitationCodePop.js | 24 ++++ .../InvitationCodePop/InvitationCodePop.json | 4 + .../InvitationCodePop/InvitationCodePop.wxml | 32 +++++ .../InvitationCodePop/InvitationCodePop.wxss | 110 ++++++++++++++++ .../component/commissionPop/commissionPop.js | 24 ++++ .../commissionPop/commissionPop.json | 4 + .../commissionPop/commissionPop.wxml | 16 +++ .../commissionPop/commissionPop.wxss | 53 ++++++++ .../commissionRatePop/commissionRatePop.js | 24 ++++ .../commissionRatePop/commissionRatePop.json | 4 + .../commissionRatePop/commissionRatePop.wxml | 45 +++++++ .../commissionRatePop/commissionRatePop.wxss | 118 ++++++++++++++++++ 12 files changed, 458 insertions(+) create mode 100644 pages/personCenter/component/InvitationCodePop/InvitationCodePop.js create mode 100644 pages/personCenter/component/InvitationCodePop/InvitationCodePop.json create mode 100644 pages/personCenter/component/InvitationCodePop/InvitationCodePop.wxml create mode 100644 pages/personCenter/component/InvitationCodePop/InvitationCodePop.wxss create mode 100644 pages/personCenter/component/commissionPop/commissionPop.js create mode 100644 pages/personCenter/component/commissionPop/commissionPop.json create mode 100644 pages/personCenter/component/commissionPop/commissionPop.wxml create mode 100644 pages/personCenter/component/commissionPop/commissionPop.wxss create mode 100644 pages/personCenter/component/commissionRatePop/commissionRatePop.js create mode 100644 pages/personCenter/component/commissionRatePop/commissionRatePop.json create mode 100644 pages/personCenter/component/commissionRatePop/commissionRatePop.wxml create mode 100644 pages/personCenter/component/commissionRatePop/commissionRatePop.wxss diff --git a/pages/personCenter/component/InvitationCodePop/InvitationCodePop.js b/pages/personCenter/component/InvitationCodePop/InvitationCodePop.js new file mode 100644 index 0000000..0c87a48 --- /dev/null +++ b/pages/personCenter/component/InvitationCodePop/InvitationCodePop.js @@ -0,0 +1,24 @@ +// pages/personCenter/component/InvitationCodePop/InvitationCodePop.js +Component({ + + /** + * 组件的属性列表 + */ + properties: { + + }, + + /** + * 组件的初始数据 + */ + data: { + + }, + + /** + * 组件的方法列表 + */ + methods: { + + } +}) \ No newline at end of file diff --git a/pages/personCenter/component/InvitationCodePop/InvitationCodePop.json b/pages/personCenter/component/InvitationCodePop/InvitationCodePop.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/pages/personCenter/component/InvitationCodePop/InvitationCodePop.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/personCenter/component/InvitationCodePop/InvitationCodePop.wxml b/pages/personCenter/component/InvitationCodePop/InvitationCodePop.wxml new file mode 100644 index 0000000..1b2bd75 --- /dev/null +++ b/pages/personCenter/component/InvitationCodePop/InvitationCodePop.wxml @@ -0,0 +1,32 @@ + + + + + + + + + 作业码 + 引导用户通过扫描此码来完成相应的任务 + + + + 点击二维码放大,长按保存 + + 复制推广链接 + + + + + + + + diff --git a/pages/personCenter/component/InvitationCodePop/InvitationCodePop.wxss b/pages/personCenter/component/InvitationCodePop/InvitationCodePop.wxss new file mode 100644 index 0000000..d29b34e --- /dev/null +++ b/pages/personCenter/component/InvitationCodePop/InvitationCodePop.wxss @@ -0,0 +1,110 @@ +@import "../../../app.wxss"; + +.mt-23 { + margin-top: 53.57rpx; +} +.mt-19 { + margin-top: 44.25rpx; +} +.mt-21 { + margin-top: 48.91rpx; +} + +/* 遮罩层样式,必须加,确保弹窗浮于上层并居中 */ +.promo-mask { + position: fixed; + left: 0; top: 0; right: 0; bottom: 0; + background: rgba(0,0,0,0.45); /* 比 0.5 更柔和 */ + z-index: 9999; +} + +/* 弹窗整体居中 */ +.page { + position: fixed; + top: 45%; left: 50%; + transform: translate(-50%, -50%); + z-index: 10000; + width: 600rpx; /* 推荐设置定宽,防止弹窗太大 */ + max-width: 90vw; + padding-bottom: 0; /* 去掉原有多余 padding */ + background-color: transparent; + overflow: visible; + border-radius: 32rpx; +} + +/* 弹窗内部内容区域 */ +.section { + padding: 60rpx 40rpx 40rpx 40rpx; /* 优化内边距 */ + background-color: #fff9e5; + border-radius: 32rpx; + box-shadow: 0 16rpx 64rpx 0 rgba(0,0,0,0.15); + position: relative; +} + +.text { + color: #ff6f00; + font-size: 50rpx; + font-family: SourceHanSansCN; + line-height: 64rpx; + font-weight: bold; +} +.font { + font-size: 34rpx; + font-family: SourceHanSansCN; + line-height: 48rpx; +} +.text_2 { + color: #ff9800; + margin-top: 16rpx; + font-size: 26rpx; + text-align: center; +} +.group { + padding-left: 0; + padding-right: 0; + margin: 0 auto; + width: 100%; +} +.image { + width: 300rpx; + height: 300rpx; + margin: 40rpx auto 0; + border-radius: 16rpx; + box-shadow: 0 4rpx 24rpx rgba(255, 111, 0, 0.08); + background: #fff; + display: block; +} +.text_3 { + color: #000; + line-height: 40rpx; + margin-top: 16rpx; + font-size: 28rpx; + text-align: center; + width: 100%; +} +.text-wrapper { + margin: 32rpx auto 0; + padding: 22rpx 0; + background-color: #ffb300; + border-radius: 93.17rpx; + width: 280rpx; + text-align: center; + box-shadow: 0 4rpx 12rpx rgba(255,179,0,0.07); + cursor: pointer; +} +.text_4 { + color: #fff; + line-height: 36rpx; + font-size: 32rpx; + font-weight: bold; +} + +/* 关闭按钮右下角浮动 */ +.image_2 { + width: 67.55rpx; + height: 67.55rpx; + position: absolute; + bottom: -100rpx; + z-index: 10100; + cursor: pointer; +} diff --git a/pages/personCenter/component/commissionPop/commissionPop.js b/pages/personCenter/component/commissionPop/commissionPop.js new file mode 100644 index 0000000..80c93e0 --- /dev/null +++ b/pages/personCenter/component/commissionPop/commissionPop.js @@ -0,0 +1,24 @@ +// pages/personCenter/component/commissionPop/commissionPop.js +Component({ + + /** + * 组件的属性列表 + */ + properties: { + + }, + + /** + * 组件的初始数据 + */ + data: { + + }, + + /** + * 组件的方法列表 + */ + methods: { + + } +}) \ No newline at end of file diff --git a/pages/personCenter/component/commissionPop/commissionPop.json b/pages/personCenter/component/commissionPop/commissionPop.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/pages/personCenter/component/commissionPop/commissionPop.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/personCenter/component/commissionPop/commissionPop.wxml b/pages/personCenter/component/commissionPop/commissionPop.wxml new file mode 100644 index 0000000..9583a56 --- /dev/null +++ b/pages/personCenter/component/commissionPop/commissionPop.wxml @@ -0,0 +1,16 @@ + + 一键设置 + + + + % + + + 注意:最高抽成比例 + 5% + + + 确认设置 + + + \ No newline at end of file diff --git a/pages/personCenter/component/commissionPop/commissionPop.wxss b/pages/personCenter/component/commissionPop/commissionPop.wxss new file mode 100644 index 0000000..ecf7a57 --- /dev/null +++ b/pages/personCenter/component/commissionPop/commissionPop.wxss @@ -0,0 +1,53 @@ +.mt-17 { + margin-top: 31.88rpx; +} +.section { + margin-left: 52.5rpx; + margin-right: 50.63rpx; + padding: 44.04rpx 38.44rpx 41.25rpx; + background-color: #ffffff; + border-radius: 18.75rpx; +} +.text { + color: #000000; + font-size: 30rpx; + font-family: SourceHanSansCN; + line-height: 27.84rpx; +} +.font { + font-size: 26.25rpx; + font-family: SourceHanSansCN; + color: #000000; +} +.text_2 { + line-height: 24.34rpx; +} +.text_3 { + margin-right: 9.28rpx; + line-height: 19.93rpx; +} +.group { + line-height: 21.06rpx; +} +.font_2 { + font-size: 22.5rpx; + font-family: SourceHanSansCN; + line-height: 21.06rpx; +} +.text_4 { + color: #000000; +} +.text_5 { + color: #ff5733; + line-height: 17.08rpx; +} +.text-wrapper { + padding: 20.85rpx 0 16.44rpx; + background-color: #ff8d1a; + border-radius: 93.75rpx; + width: 255rpx; +} +.text_6 { + color: #ffffff; + line-height: 20.83rpx; +} \ No newline at end of file diff --git a/pages/personCenter/component/commissionRatePop/commissionRatePop.js b/pages/personCenter/component/commissionRatePop/commissionRatePop.js new file mode 100644 index 0000000..e3e074e --- /dev/null +++ b/pages/personCenter/component/commissionRatePop/commissionRatePop.js @@ -0,0 +1,24 @@ +// pages/personCenter/component/commissionRatePop/commissionRatePop.js +Component({ + + /** + * 组件的属性列表 + */ + properties: { + + }, + + /** + * 组件的初始数据 + */ + data: { + + }, + + /** + * 组件的方法列表 + */ + methods: { + + } +}) \ No newline at end of file diff --git a/pages/personCenter/component/commissionRatePop/commissionRatePop.json b/pages/personCenter/component/commissionRatePop/commissionRatePop.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/pages/personCenter/component/commissionRatePop/commissionRatePop.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/personCenter/component/commissionRatePop/commissionRatePop.wxml b/pages/personCenter/component/commissionRatePop/commissionRatePop.wxml new file mode 100644 index 0000000..4427ff8 --- /dev/null +++ b/pages/personCenter/component/commissionRatePop/commissionRatePop.wxml @@ -0,0 +1,45 @@ + + 代理价设置 + + + 我的价格0.30,我的抽成0.17元 + + + 结算标准 + 3.6元购买30元券包3.6元购买 + + + 代理价 + + + + + + 抽成比例 + + + + + + 设价方式 + + + + 代理价 + + + + 抽成比例 + + + + + + + 确定 + + 取消 + + + + \ No newline at end of file diff --git a/pages/personCenter/component/commissionRatePop/commissionRatePop.wxss b/pages/personCenter/component/commissionRatePop/commissionRatePop.wxss new file mode 100644 index 0000000..e2aad2e --- /dev/null +++ b/pages/personCenter/component/commissionRatePop/commissionRatePop.wxss @@ -0,0 +1,118 @@ +.mt-13 { + margin-top: 24.38rpx; +} +.ml-7 { + margin-left: 13.13rpx; +} +.section { + margin-left: 52.5rpx; + margin-right: 50.63rpx; + padding: 29.06rpx 35.63rpx 26.25rpx; + background-color: #ffffff; + border-radius: 18.75rpx; +} +.font_2 { + font-size: 26.25rpx; + font-family: SourceHanSansCN; + line-height: 22.76rpx; + color: #000000; +} +.text_2 { + line-height: 24.96rpx; +} +.section_2 { + padding: 35.46rpx 59.23rpx 60rpx 81.17rpx; + background-color: #f5f5f5; + border-radius: 18.75rpx; +} +.text_4 { + line-height: 24.3rpx; +} +.text_3 { + line-height: 31.88rpx; + width: 223.13rpx; +} +.group { + margin-top: 46.41rpx; +} +.text_5 { + line-height: 24.41rpx; +} +.text-wrapper { + margin-right: 12.02rpx; + padding: 17.89rpx 0 13.73rpx; + background-color: #ffffff; + border-radius: 9.38rpx; + width: 211.88rpx; + height: 54.38rpx; +} +.text_6 { + margin-left: 16.5rpx; +} +.group_2 { + margin-top: 54.38rpx; +} +.text_7 { + line-height: 24.34rpx; +} +.text_8 { + margin-left: 18.38rpx; +} +.font { + font-size: 30rpx; + font-family: SourceHanSansCN; + line-height: 22.76rpx; + color: #000000; +} +.text { + line-height: 27.9rpx; +} +.group_3 { + margin-top: 45rpx; +} +.text_10 { + line-height: 24.52rpx; +} +.group_4 { + width: 223.31rpx; +} +.text_9 { + line-height: 24.41rpx; +} +.text_11 { + line-height: 24.34rpx; +} +.text-wrapper_2 { + padding: 20.76rpx 0 16.44rpx; + background-color: #ff8d1a; + border-radius: 93.75rpx; + width: 206.25rpx; +} +.font_3 { + font-size: 22.5rpx; + font-family: SourceHanSansCN; +} +.text_12 { + color: #ffffff; + line-height: 20.93rpx; +} +.text-wrapper_3 { + padding: 20.89rpx 0 16.52rpx; + background-color: #f5f5f5; + border-radius: 93.75rpx; + width: 206.25rpx; +} +.text_13 { + color: #424242; + line-height: 20.72rpx; +} +.radio .wx-radio-input { + border-radius: 50%; + width: 30rpx; + height: 30rpx; +} +.radio_1 .wx-radio-input { + border-radius: 50%; + width: 30rpx; + height: 30rpx; +} \ No newline at end of file