From 48e92710d6dd0bf851b1df8cd909dfb398594235 Mon Sep 17 00:00:00 2001 From: chen-xin-zhi <3588068430@qq.com> Date: Thu, 29 May 2025 21:29:32 +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 --- app.json | 5 +- .../personCenter/bindBankCard/bindBankCard.js | 66 +++++++++++ .../bindBankCard/bindBankCard.json | 3 + .../bindBankCard/bindBankCard.wxml | 44 ++++++++ .../bindBankCard/bindBankCard.wxss | 103 ++++++++++++++++++ .../commissionSetting/commissionSetting.js | 37 +++++++ .../commissionSetting/commissionSetting.json | 5 +- .../commissionSetting/commissionSetting.wxml | 15 ++- .../InvitationCodePop/InvitationCodePop.js | 36 +++--- .../InvitationCodePop/InvitationCodePop.wxml | 7 +- .../InvitationCodePop/InvitationCodePop.wxss | 2 +- .../InvitationCodePop/images/cha.png | Bin 0 -> 1100 bytes .../component/commissionPop/commissionPop.js | 41 ++++++- .../commissionPop/commissionPop.wxml | 31 +++--- .../commissionPop/commissionPop.wxss | 31 +++++- .../commissionRatePop/commissionRatePop.js | 28 +++-- .../commissionRatePop/commissionRatePop.wxml | 83 +++++++------- .../commissionRatePop/commissionRatePop.wxss | 40 ++++++- pages/personCenter/mine/mine.js | 17 ++- pages/personCenter/mine/mine.json | 6 +- pages/personCenter/mine/mine.wxml | 6 +- .../subCommissionSetting.js | 18 +++ .../subCommissionSetting.json | 4 +- .../subCommissionSetting.wxml | 11 +- .../withdrawalAccount/withdrawalAccount.js | 6 +- .../withdrawalAccount/withdrawalAccount.wxml | 24 ++-- .../withdrawalAccount/withdrawalAccount.wxss | 51 ++++----- 27 files changed, 576 insertions(+), 144 deletions(-) create mode 100644 pages/personCenter/bindBankCard/bindBankCard.js create mode 100644 pages/personCenter/bindBankCard/bindBankCard.json create mode 100644 pages/personCenter/bindBankCard/bindBankCard.wxml create mode 100644 pages/personCenter/bindBankCard/bindBankCard.wxss create mode 100644 pages/personCenter/component/InvitationCodePop/images/cha.png diff --git a/app.json b/app.json index 129ea8a..f3f96a0 100644 --- a/app.json +++ b/app.json @@ -1,11 +1,12 @@ { "pages": [ - "pages/loginModule/pwdLogin/pwdLogin", "pages/personCenter/mine/mine", + "pages/personCenter/withdrawalAccount/withdrawalAccount", + "pages/personCenter/bindBankCard/bindBankCard", + "pages/loginModule/pwdLogin/pwdLogin", "pages/personCenter/subCommissionSetting/subCommissionSetting", "pages/test/testVideo/testVideo", "pages/personCenter/withdrawal/withdrawal", - "pages/personCenter/withdrawalAccount/withdrawalAccount", "pages/personCenter/accountSetting/accountSetting", "pages/personCenter/contactSuper/contactSuper", "pages/personCenter/fundingDetails/fundingDetails", diff --git a/pages/personCenter/bindBankCard/bindBankCard.js b/pages/personCenter/bindBankCard/bindBankCard.js new file mode 100644 index 0000000..ff883dc --- /dev/null +++ b/pages/personCenter/bindBankCard/bindBankCard.js @@ -0,0 +1,66 @@ +// pages/personCenter/bindBankCard/bindBankCard.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/pages/personCenter/bindBankCard/bindBankCard.json b/pages/personCenter/bindBankCard/bindBankCard.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/pages/personCenter/bindBankCard/bindBankCard.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/personCenter/bindBankCard/bindBankCard.wxml b/pages/personCenter/bindBankCard/bindBankCard.wxml new file mode 100644 index 0000000..a18e364 --- /dev/null +++ b/pages/personCenter/bindBankCard/bindBankCard.wxml @@ -0,0 +1,44 @@ + + 绑定银行卡 + 请绑定持卡人本人的银行卡 + + + 持卡人 + * + + + + + + 身份证号 + * + + + + + + 手机号 + * + + + + + + 银行卡号 + * + + + + + + 开户银行 + * + + + + + + + 保存 + + \ No newline at end of file diff --git a/pages/personCenter/bindBankCard/bindBankCard.wxss b/pages/personCenter/bindBankCard/bindBankCard.wxss new file mode 100644 index 0000000..189d490 --- /dev/null +++ b/pages/personCenter/bindBankCard/bindBankCard.wxss @@ -0,0 +1,103 @@ +.mt-11 { + margin-top: 20.99rpx; +} +.page { + padding: 77.27rpx 45.8rpx 372.14rpx 45.8rpx; + background-color: #ffffff; + width: 100%; + overflow-y: auto; + overflow-x: hidden; + height: 100%; +} +.font_2 { + font-size: 30.53rpx; + font-family: SourceHanSansCN; + line-height: 28.09rpx; + color: #000000; +} +.text_2 { + margin-top: 53.49rpx; + color: #808080; + line-height: 28.4rpx; +} +.group { + margin-top: 84.43rpx; +} +.group_2 { + line-height: 28.09rpx; +} +.font_3 { + font-size: 30.53rpx; + font-family: SourceHanSansCN; + line-height: 9.92rpx; + color: #ff5733; +} +.text-wrapper { + padding: 26.87rpx 0 23.32rpx; + background-color: #f5f5f5; + border-radius: 10rpx; +} +.text_3 { + margin-left: 27.52rpx; +} +.font { + font-size: 34.35rpx; + font-family: SourceHanSansCN; + line-height: 31.87rpx; + color: #000000; +} +.text { + line-height: 32.25rpx; +} +.group_3 { + line-height: 28.44rpx; +} +.text_4 { + line-height: 28.44rpx; +} +.text-wrapper_2 { + padding: 30.38rpx 0 25.61rpx; + background-color: #f5f5f5; + border-radius: 10rpx; +} +.text_12 { + margin-left: 25.8rpx; +} +.group_4 { + line-height: 28.09rpx; +} +.text_1 { + width: 400rpx; + margin-left: 27.82rpx; +} +.group_5 { + line-height: 28.21rpx; +} +.text_6 { + line-height: 28.21rpx; +} +.text_5 { + margin-left: 26.74rpx; +} +.font_4 { + font-size: 34.35rpx; + font-family: SourceHanSansCN; + line-height: 26.07rpx; + color: #000000; +} +.group_6 { + line-height: 28.49rpx; +} +.text_7 { + line-height: 28.49rpx; +} +.text-wrapper_3 { + margin-top: 57.25rpx; + padding: 25.84rpx 0 20.5rpx; + background-color: #ff8d1a; + border-radius: 19.08rpx; + width: 248.09rpx; +} +.text_8 { + color: #ffffff; +} \ No newline at end of file diff --git a/pages/personCenter/commissionSetting/commissionSetting.js b/pages/personCenter/commissionSetting/commissionSetting.js index c800820..a9a4ba3 100644 --- a/pages/personCenter/commissionSetting/commissionSetting.js +++ b/pages/personCenter/commissionSetting/commissionSetting.js @@ -7,6 +7,43 @@ Page({ data: { items_1: [null, null, null], items: [null, null], + showPopup: false, // 控制弹窗显隐 + showCommissionRatePop: false, + }, + // 显示弹窗 + showPopup() { + this.setData({ + showPopup: true + }); + }, + // 关闭弹窗 + closePopup() { + this.setData({ + showPopup: false + }); + }, + // 处理抽佣比例提交 + handleCommissionSubmit(e) { + const { commissionRate } = e.detail; + console.log(`设置的抽佣比例是:${commissionRate}%`); + // 你可以在这里保存提交的数据,或者执行其他操作 + this.closePopup(); // 确认后关闭弹窗 + }, + // 点击“设价”按钮,显示弹窗 + showCommissionRatePop() { + this.setData({ showCommissionRatePop: true }); + }, + + // 关闭弹窗(包括遮罩点击和取消按钮) + closeCommissionRatePop() { + this.setData({ showCommissionRatePop: false }); + }, + + // 确认按钮回调 + handleCommissionRateConfirm(e) { + const { agentPrice, commissionRate, pricingMethod } = e.detail; + console.log('设置数据:', agentPrice, commissionRate, pricingMethod); + this.closeCommissionRatePop(); }, gotoSubCommission() { wx.navigateTo({ diff --git a/pages/personCenter/commissionSetting/commissionSetting.json b/pages/personCenter/commissionSetting/commissionSetting.json index 8835af0..2969084 100644 --- a/pages/personCenter/commissionSetting/commissionSetting.json +++ b/pages/personCenter/commissionSetting/commissionSetting.json @@ -1,3 +1,6 @@ { - "usingComponents": {} + "usingComponents": { + "commissionPop": "/pages/personCenter/component/commissionPop/commissionPop", + "commissionRatePop": "/pages/personCenter/component/commissionRatePop/commissionRatePop" + } } \ No newline at end of file diff --git a/pages/personCenter/commissionSetting/commissionSetting.wxml b/pages/personCenter/commissionSetting/commissionSetting.wxml index 68e4446..9a89f87 100644 --- a/pages/personCenter/commissionSetting/commissionSetting.wxml +++ b/pages/personCenter/commissionSetting/commissionSetting.wxml @@ -1,5 +1,5 @@ - + 3.6元购买 0.30/0.30/0.00% - + - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/pages/personCenter/component/InvitationCodePop/InvitationCodePop.js b/pages/personCenter/component/InvitationCodePop/InvitationCodePop.js index 0c87a48..5805e81 100644 --- a/pages/personCenter/component/InvitationCodePop/InvitationCodePop.js +++ b/pages/personCenter/component/InvitationCodePop/InvitationCodePop.js @@ -1,24 +1,32 @@ -// pages/personCenter/component/InvitationCodePop/InvitationCodePop.js Component({ - - /** - * 组件的属性列表 - */ properties: { - + // 接收传递进来的二维码图片路径 + show: { // 控制显示/隐藏 + type: Boolean, + value: false + }, + qrcode: { + type: String, + value: "" + }, }, - /** - * 组件的初始数据 - */ data: { - + closeIcon: "./images/cha.png", // 关闭按钮的图标 }, - /** - * 组件的方法列表 - */ methods: { + // 关闭弹窗 + close() { + // 触发关闭弹窗事件 + this.triggerEvent('close'); + }, + // 预览二维码 + previewQrcode() { + wx.previewImage({ + urls: [this.data.qrcode], // 预览图片 + }); + } } -}) \ No newline at end of file +}); diff --git a/pages/personCenter/component/InvitationCodePop/InvitationCodePop.wxml b/pages/personCenter/component/InvitationCodePop/InvitationCodePop.wxml index 1b2bd75..2f96b32 100644 --- a/pages/personCenter/component/InvitationCodePop/InvitationCodePop.wxml +++ b/pages/personCenter/component/InvitationCodePop/InvitationCodePop.wxml @@ -6,8 +6,8 @@ - 作业码 - 引导用户通过扫描此码来完成相应的任务 + 邀请码 + 分享邀请码,邀请好友一起赚钱 点击二维码放大,长按保存 - - 复制推广链接 - diff --git a/pages/personCenter/component/InvitationCodePop/InvitationCodePop.wxss b/pages/personCenter/component/InvitationCodePop/InvitationCodePop.wxss index d29b34e..ba133bb 100644 --- a/pages/personCenter/component/InvitationCodePop/InvitationCodePop.wxss +++ b/pages/personCenter/component/InvitationCodePop/InvitationCodePop.wxss @@ -1,4 +1,4 @@ -@import "../../../app.wxss"; +@import "../../../../app.wxss"; .mt-23 { margin-top: 53.57rpx; diff --git a/pages/personCenter/component/InvitationCodePop/images/cha.png b/pages/personCenter/component/InvitationCodePop/images/cha.png new file mode 100644 index 0000000000000000000000000000000000000000..f34afe806d381d9d53cd520fcc80066161d01524 GIT binary patch literal 1100 zcmV-S1he~zP)Px#1am@3R0s$N2z&@+hyVZs_DMuRRA_-x`9VfH}D2lCrCO$ z)d@U;vq461I)Sr+oC%yv@cKddtT-SDQjl|(;x3om3B15;6IUSZUB-sfF*!$ z0KNkF0$?#beja{50XS4u^)#0s?nFs00IU(nt#Bq~l}7-70o+$rb#QggLr69xcO;MW zlRe4yqqzZiLvT*%Ka4QR`U(Wy2p8>9l6L@p!?yok033#&7lZ`V4`b`$XZ*KC?g9L& zs_Mn4pC=?2BsYecKa$*%TrngktNmuMzc)s=o{MD4fu7{b39lX|D>b1@54MV$K{EM%B)JyG9Vu09lq1s`9gQW0B-s>6(b@MlVk@h; zR9r@YY75a)vK}NywswMz&85<rPVPvAh}SNC1;ApQ@_r0Q@nkKLPmRaN#A5KXZ%B zu*=PXA+nPrIl_`I3f4F2p)PVrJb#+)>N3ddn5Z7|LSZO4Qq@t*i3fp^h+8m4w4Q=! zBzY1qvbFk@@=f2m6pi|OvR9r>J>p4Hj}^9pLTSN}ECx8CHdb)Od#+0*uM*H)@pzMs zVDB%LVrS8uqB^^*^CV08)$;yKO8J;$+NUKXy~#$#zb|7c*Pxbz_o|en7g@yz@!(x@ zm7?C9TSywowu!O3tO=sLe4|N8nViz2R*Y=PQPJbp;h#IK|gvA ztvOEWQC$sSM}`BuOX)basp!Qn=2{C#EUMj90-nP7_ZK~yBLmvks&-!YZ9+W>HaUi3 zNyfKtpimh93ZGv-GTwpGe-znawe1wY%JPFUb7bf@x|&d5uH~Qh2jkj)C9jmA7`Bqu zXXw(IqRk{ZW3L` 5) { + wx.showToast({ + title: `请输入有效的比例,最大为 5%`, + icon: 'none', + }); + return; + } + + // 触发父组件的事件,将设置的比例传递出去 + this.triggerEvent('submit', { + commissionRate: rate, + }); + + // 关闭弹窗 + this.triggerEvent('close'); + }, + + // 关闭弹窗 + close() { + this.triggerEvent('close'); + } + } }) \ No newline at end of file diff --git a/pages/personCenter/component/commissionPop/commissionPop.wxml b/pages/personCenter/component/commissionPop/commissionPop.wxml index 9583a56..abe02f9 100644 --- a/pages/personCenter/component/commissionPop/commissionPop.wxml +++ b/pages/personCenter/component/commissionPop/commissionPop.wxml @@ -1,16 +1,19 @@ - - 一键设置 - - - - % - - - 注意:最高抽成比例 - 5% - - - 确认设置 + + + + 一键设置 + + + + % + + + 注意:最高抽成比例 + 5% + + + 确认设置 + - \ No newline at end of file + diff --git a/pages/personCenter/component/commissionPop/commissionPop.wxss b/pages/personCenter/component/commissionPop/commissionPop.wxss index ecf7a57..4944eb1 100644 --- a/pages/personCenter/component/commissionPop/commissionPop.wxss +++ b/pages/personCenter/component/commissionPop/commissionPop.wxss @@ -1,3 +1,4 @@ +@import "../../../../app.wxss"; .mt-17 { margin-top: 31.88rpx; } @@ -50,4 +51,32 @@ .text_6 { color: #ffffff; line-height: 20.83rpx; -} \ No newline at end of file +} +/* 弹窗整体容器,覆盖全屏,层级最高,居中弹窗 */ +.popup-wrapper { + position: fixed; + top: -15%; left: 0; right: 0; bottom: 0; + z-index: 10000; + display: flex; + justify-content: center; + align-items: center; + background: transparent; /* 透明,遮罩层单独控制 */ +} + +/* 遮罩层,覆盖全屏半透明黑色 */ +.promo-mask { + position: fixed; + top: 0; left: 0; right: 0; bottom: 0; + background: rgba(0,0,0,0.45); + z-index: 9999; +} + +/* 弹窗内容的容器,承载你现有的.section */ +.popup-content { + position: relative; + z-index: 10001; /* 比遮罩层高 */ + max-width: 90vw; + width: 600rpx; /* 你可以根据需求调整 */ + max-height: 90vh; + overflow-y: auto; /* 超高时滚动 */ +} diff --git a/pages/personCenter/component/commissionRatePop/commissionRatePop.js b/pages/personCenter/component/commissionRatePop/commissionRatePop.js index e3e074e..9b1b3ef 100644 --- a/pages/personCenter/component/commissionRatePop/commissionRatePop.js +++ b/pages/personCenter/component/commissionRatePop/commissionRatePop.js @@ -1,24 +1,28 @@ -// pages/personCenter/component/commissionRatePop/commissionRatePop.js Component({ - /** * 组件的属性列表 */ properties: { - - }, - - /** - * 组件的初始数据 - */ - data: { - + show: { // 控制显示/隐藏 + type: Boolean, + value: false + }, }, /** * 组件的方法列表 */ methods: { - + close() { + this.triggerEvent('close'); + }, + cancel() { + this.triggerEvent('cancel'); + }, + confirm() { + // 触发confirm事件带数据 + this.triggerEvent('confirm', {/*数据*/}); + }, } -}) \ No newline at end of file +}) + diff --git a/pages/personCenter/component/commissionRatePop/commissionRatePop.wxml b/pages/personCenter/component/commissionRatePop/commissionRatePop.wxml index 4427ff8..e93fc32 100644 --- a/pages/personCenter/component/commissionRatePop/commissionRatePop.wxml +++ b/pages/personCenter/component/commissionRatePop/commissionRatePop.wxml @@ -1,45 +1,50 @@ - - 代理价设置 - - - 我的价格0.30,我的抽成0.17元 - - - 结算标准 - 3.6元购买30元券包3.6元购买 - - - 代理价 - - + + + + 代理价设置 + + + 我的价格0.30,我的抽成0.17元 + + + 结算标准 + 3.6元购买30元券包3.6元购买 + + + 代理价 + + + + + + 抽成比例 + + + + + + + 设价方式 + + + + 代理价 + + + + 抽成比例 + + + + - - 抽成比例 - - + + 确定 + + 取消 - - 设价方式 - - - - 代理价 - - - - 抽成比例 - - - - - 确定 - - 取消 - - - - \ No newline at end of file + \ No newline at end of file diff --git a/pages/personCenter/component/commissionRatePop/commissionRatePop.wxss b/pages/personCenter/component/commissionRatePop/commissionRatePop.wxss index e2aad2e..39a8acb 100644 --- a/pages/personCenter/component/commissionRatePop/commissionRatePop.wxss +++ b/pages/personCenter/component/commissionRatePop/commissionRatePop.wxss @@ -1,3 +1,4 @@ +@import "../../../../app.wxss"; .mt-13 { margin-top: 24.38rpx; } @@ -40,11 +41,10 @@ } .text-wrapper { margin-right: 12.02rpx; - padding: 17.89rpx 0 13.73rpx; + padding: 13.89rpx 0 9.73rpx; background-color: #ffffff; border-radius: 9.38rpx; width: 211.88rpx; - height: 54.38rpx; } .text_6 { margin-left: 16.5rpx; @@ -115,4 +115,38 @@ border-radius: 50%; width: 30rpx; height: 30rpx; -} \ No newline at end of file +} + +radio { + transform: scale(0.8); /* 调整为你需要的缩放比例 */ +} + +/* 弹窗外围容器,覆盖全屏并居中 */ +.popup-wrapper { + position: fixed; + top: -10%; left: 0; right: 0; bottom: 0; + z-index: 10000; + display: flex; + justify-content: center; + align-items: center; + background: transparent; /* 遮罩层单独负责 */ +} + +/* 遮罩层 */ +.promo-mask { + position: fixed; + top: 0; left: 0; right: 0; bottom: 0; + background: rgba(0,0,0,0.45); + z-index: 9999; +} + +/* 弹窗内容容器,使用你现有的.section样式 */ +.popup-content { + position: relative; + z-index: 10001; + max-width: 90vw; + width: 600rpx; /* 你可以根据需求调整 */ + max-height: 90vh; + overflow-y: auto; /* 高度超出时滚动 */ +} + diff --git a/pages/personCenter/mine/mine.js b/pages/personCenter/mine/mine.js index 517c284..1dda561 100644 --- a/pages/personCenter/mine/mine.js +++ b/pages/personCenter/mine/mine.js @@ -16,7 +16,22 @@ Page({ currentBalance: "", // 当前余额 withdrawalAmount: "", // 提现中的余额 withdrawnAmount: "", // 已提现的余额 - totalIncome:"" // 累计收入 + totalIncome:"", // 累计收入 + showPopup: false, // 控制弹窗显示与否 + qrcode: "https://img.picui.cn/free/2025/05/29/6837c53582068.gif", // 设置二维码图片的路径 + }, + // 点击二维码时,显示弹窗 + showPromoPopup() { + this.setData({ + showPopup: true + }); + }, + + // 关闭弹窗 + closePopup() { + this.setData({ + showPopup: false + }); }, myteam(){ wx.navigateTo({ diff --git a/pages/personCenter/mine/mine.json b/pages/personCenter/mine/mine.json index 8835af0..b996601 100644 --- a/pages/personCenter/mine/mine.json +++ b/pages/personCenter/mine/mine.json @@ -1,3 +1,5 @@ { - "usingComponents": {} -} \ No newline at end of file + "usingComponents": { + "InvitationCodePop": "/pages/personCenter/component/InvitationCodePop/InvitationCodePop" + } +} diff --git a/pages/personCenter/mine/mine.wxml b/pages/personCenter/mine/mine.wxml index 6c54f94..a8a0770 100644 --- a/pages/personCenter/mine/mine.wxml +++ b/pages/personCenter/mine/mine.wxml @@ -25,6 +25,7 @@ class="image_2" src="./images/erweima.png" mode="aspectFill" + bindtap="showPromoPopup" /> 二维码邀请 @@ -164,4 +165,7 @@ /> - \ No newline at end of file + + + + \ No newline at end of file diff --git a/pages/personCenter/subCommissionSetting/subCommissionSetting.js b/pages/personCenter/subCommissionSetting/subCommissionSetting.js index 116d883..c1f30f6 100644 --- a/pages/personCenter/subCommissionSetting/subCommissionSetting.js +++ b/pages/personCenter/subCommissionSetting/subCommissionSetting.js @@ -7,6 +7,24 @@ Page({ data: { items_1: [null, null, null], items: [null, null], + showCommissionRatePop: false, + }, + + // 点击“设价”按钮,显示弹窗 + showCommissionRatePop() { + this.setData({ showCommissionRatePop: true }); + }, + + // 关闭弹窗(包括遮罩点击和取消按钮) + closeCommissionRatePop() { + this.setData({ showCommissionRatePop: false }); + }, + + // 确认按钮回调 + handleCommissionRateConfirm(e) { + const { agentPrice, commissionRate, pricingMethod } = e.detail; + console.log('设置数据:', agentPrice, commissionRate, pricingMethod); + this.closeCommissionRatePop(); }, /** diff --git a/pages/personCenter/subCommissionSetting/subCommissionSetting.json b/pages/personCenter/subCommissionSetting/subCommissionSetting.json index 8835af0..ae91d9f 100644 --- a/pages/personCenter/subCommissionSetting/subCommissionSetting.json +++ b/pages/personCenter/subCommissionSetting/subCommissionSetting.json @@ -1,3 +1,5 @@ { - "usingComponents": {} + "usingComponents": { + "commissionRatePop": "/pages/personCenter/component/commissionRatePop/commissionRatePop" + } } \ No newline at end of file diff --git a/pages/personCenter/subCommissionSetting/subCommissionSetting.wxml b/pages/personCenter/subCommissionSetting/subCommissionSetting.wxml index bfd8465..120fb24 100644 --- a/pages/personCenter/subCommissionSetting/subCommissionSetting.wxml +++ b/pages/personCenter/subCommissionSetting/subCommissionSetting.wxml @@ -28,7 +28,7 @@ > 3.6元购买30元 0.30/0.00% - + - \ No newline at end of file + + + \ No newline at end of file diff --git a/pages/personCenter/withdrawalAccount/withdrawalAccount.js b/pages/personCenter/withdrawalAccount/withdrawalAccount.js index bd23c11..5de224d 100644 --- a/pages/personCenter/withdrawalAccount/withdrawalAccount.js +++ b/pages/personCenter/withdrawalAccount/withdrawalAccount.js @@ -7,7 +7,11 @@ Page({ data: { }, - + gotoEditBankCardInfo() { + wx.navigateTo({ + url: '/pages/personCenter/bindBankCard/bindBankCard', + }) + }, /** * 生命周期函数--监听页面加载 */ diff --git a/pages/personCenter/withdrawalAccount/withdrawalAccount.wxml b/pages/personCenter/withdrawalAccount/withdrawalAccount.wxml index 396bfd2..191f536 100644 --- a/pages/personCenter/withdrawalAccount/withdrawalAccount.wxml +++ b/pages/personCenter/withdrawalAccount/withdrawalAccount.wxml @@ -8,20 +8,26 @@ 姓名 陈新知 - - - 支付宝账号 - 15888610253 + + 手机号 + 15888610253 + + + + 身份证号 + 33100420******50910 - - 开户银行 + + 开户银行 浙江省台州市中国工商银行台州蓬街支行 - - 银行卡号 + + 银行卡号 62220********363442 - 修改账户 + + 修改账户 + \ No newline at end of file diff --git a/pages/personCenter/withdrawalAccount/withdrawalAccount.wxss b/pages/personCenter/withdrawalAccount/withdrawalAccount.wxss index e190d0d..7ef9fd0 100644 --- a/pages/personCenter/withdrawalAccount/withdrawalAccount.wxss +++ b/pages/personCenter/withdrawalAccount/withdrawalAccount.wxss @@ -1,11 +1,8 @@ -.mt-25 { - margin-top: 46.88rpx; -} -.mt-21 { - margin-top: 39.38rpx; +.mt-27 { + margin-top: 50.63rpx; } .page { - padding: 99.38rpx 41.25rpx 826.88rpx 56.25rpx; + padding: 65.63rpx 37.5rpx 701.25rpx 58.13rpx; background-color: #ffffff; width: 100%; overflow-y: auto; @@ -17,65 +14,63 @@ height: 176.25rpx; } .group { - margin-top: 90rpx; + margin-top: 82.5rpx; } .group_2 { padding-bottom: 41.25rpx; border-bottom: solid 1.88rpx #d1d1d1; } .font { - font-size: 26.25rpx; + font-size: 30rpx; font-family: SourceHanSansCN; - line-height: 24.36rpx; + line-height: 27.94rpx; color: #615151; } .text { - line-height: 24.21rpx; + line-height: 27.66rpx; } .text_2 { margin-right: 11.25rpx; color: #000000; + line-height: 27.84rpx; } .text_3 { - line-height: 24.49rpx; + line-height: 27.6rpx; } .font_2 { - font-size: 26.25rpx; + font-size: 30rpx; font-family: SourceHanSansCN; - line-height: 21.24rpx; + line-height: 24.26rpx; color: #000000; } .text_4 { - margin-right: 7.5rpx; - line-height: 19.93rpx; + margin-right: 3.75rpx; + line-height: 22.76rpx; } .group_3 { + padding-bottom: 41.25rpx; +} +.group_4 { margin-right: 11.25rpx; - padding: 26.25rpx 0 15rpx; + padding: 30rpx 0; border-top: solid 1.88rpx #d1d1d1; border-bottom: solid 1.88rpx #d1d1d1; } -.text_6 { - line-height: 24.43rpx; -} .text_5 { - margin-right: 3.75rpx; - line-height: 31.88rpx; + line-height: 35.63rpx; + text-align: right; width: 418.13rpx; } -.text_7 { - line-height: 24.26rpx; +.text_6 { + line-height: 27.71rpx; } .text-wrapper { - margin-top: 101.25rpx; + margin-top: 105rpx; padding: 26.25rpx 0; background-color: #ff8d1a; border-radius: 18.75rpx; width: 243.75rpx; } -.text_8 { +.text_7 { color: #ffffff; - font-size: 30rpx; - font-family: SourceHanSansCN; - line-height: 27.94rpx; } \ No newline at end of file