From b841f50caf4240348e60d3d40003eaf05116840f Mon Sep 17 00:00:00 2001 From: chenkun <3289431190@qq.com> Date: Sun, 25 Aug 2024 22:20:49 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=93=B6=E8=A1=8C=E5=8D=A1=E5=92=8C=E6=88=91=E7=9A=84=E9=92=B1?= =?UTF-8?q?=E5=8C=85=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/mine/addBankCard.vue | 124 ++++++++++++++++++----- pages/mine/purse.vue | 222 +++++++++++++++++++++++++++++++++++++++-- static/image/addBankCard/1.svg | 1 + static/image/purse/1.svg | 1 + 4 files changed, 313 insertions(+), 35 deletions(-) create mode 100644 static/image/addBankCard/1.svg create mode 100644 static/image/purse/1.svg diff --git a/pages/mine/addBankCard.vue b/pages/mine/addBankCard.vue index d4f837a..492fc16 100644 --- a/pages/mine/addBankCard.vue +++ b/pages/mine/addBankCard.vue @@ -1,18 +1,41 @@ @@ -20,7 +43,18 @@ @@ -31,30 +65,70 @@ export default { margin: 0; padding: 0; } +.container { + padding: 16px; -.addBankCard { - padding: 20rpx; - - .addBankCard-title{ - color:#C6C7CB; + .header { + margin-bottom: 20px; + font-size: 14px; + color: #666; } - .addBankCard-container { - display: flex; - flex-direction: column; - align-items: center; - justify-content: flex-start; - width: 100%; + .form-item { + margin-bottom: 20px; + + .label { + font-size: 16px; + margin-bottom: 10px; + display: block; + } + + .card-info { + display: flex; + justify-content: space-between; + align-items: center; + + .camera-icon { + width: 24px; + height: 24px; + + image { + width: 100%; + height: 100%; + } + } + } + + .input { + width: 100%; + padding: 10px; + font-size: 16px; + border: 1px solid #e5e5e5; + border-radius: 4px; + } } - .cardNumberTitle { + .next-button { + position: fixed; + bottom: 20px; // 距离页面底部20px + left: 16px; // 与页面左边保持一定距离 + right: 16px; // 与页面右边保持一定距离 + background: $uni-linear-gradient-btn-color; // 按钮背景渐变 + color: white; // 按钮文字颜色 + text-align: center; // 文字居中 + padding: 10px 0; // 内边距,增加按钮的高度 + font-size: 18px; // 按钮文字大小 + z-index: 1000; // 确保按钮位于其他内容的上方 display: flex; - justify-content: space-between; + justify-content: center; align-items: center; - padding: 10rpx; - width: 100%; - height: 20%; - box-sizing: border-box; + width: 50%; + height: 80rpx; + border-radius: 10rpx; } + } + + + diff --git a/pages/mine/purse.vue b/pages/mine/purse.vue index 6ba815e..52a45eb 100644 --- a/pages/mine/purse.vue +++ b/pages/mine/purse.vue @@ -1,19 +1,221 @@ diff --git a/static/image/addBankCard/1.svg b/static/image/addBankCard/1.svg new file mode 100644 index 0000000..0e25154 --- /dev/null +++ b/static/image/addBankCard/1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/image/purse/1.svg b/static/image/purse/1.svg new file mode 100644 index 0000000..162147e --- /dev/null +++ b/static/image/purse/1.svg @@ -0,0 +1 @@ + \ No newline at end of file From 5c2fe68592f9d652b4a5d2ba1040e670de17f195 Mon Sep 17 00:00:00 2001 From: chenkun <3289431190@qq.com> Date: Sun, 25 Aug 2024 23:48:07 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=94=B6=E7=9B=8A?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E5=92=8C=E6=8F=90=E7=8E=B0=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?/=E6=96=B0=E5=A2=9E=E5=85=AC=E5=85=B1css=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common.css | 10 ++ pages/index/center.vue | 3 +- pages/mine/addBankCard.vue | 29 ++--- pages/mine/incomeRecord.vue | 81 ++++++++++-- pages/mine/purse.vue | 12 +- pages/mine/sonPage/promotion/promotionDetail.vue | 37 ++---- pages/mine/withdraw.vue | 154 +++++++++++++++++++++-- static/image/incomeRecord/1.png | Bin 0 -> 310 bytes 8 files changed, 255 insertions(+), 71 deletions(-) create mode 100644 common.css create mode 100644 static/image/incomeRecord/1.png diff --git a/common.css b/common.css new file mode 100644 index 0000000..2076400 --- /dev/null +++ b/common.css @@ -0,0 +1,10 @@ +.bottomBtn { + position: fixed; + bottom: 5%; + left: 25%; + width: 50%; + height: 80rpx; + text-align: center; + color: #ffffff; + background: linear-gradient(to right, #3c69f1, #5f3bf5); +} \ No newline at end of file diff --git a/pages/index/center.vue b/pages/index/center.vue index f901709..53253ab 100644 --- a/pages/index/center.vue +++ b/pages/index/center.vue @@ -106,7 +106,8 @@ export default { {name: 'star', imageUrl: '/static/image/center/1.png', title: '我的银行卡', gotoPageUrl: '/mine/addBankCard' }, - {name: 'star', imageUrl: '/static/image/center/1.png', title: '我的钱包'}, + {name: 'star', imageUrl: '/static/image/center/1.png', title: '我的钱包', + gotoPageUrl: '/mine/purse'}, ], // 其他列表 otherList: [ diff --git a/pages/mine/addBankCard.vue b/pages/mine/addBankCard.vue index 492fc16..6be6ee6 100644 --- a/pages/mine/addBankCard.vue +++ b/pages/mine/addBankCard.vue @@ -35,12 +35,19 @@ - + + + + diff --git a/pages/mine/purse.vue b/pages/mine/purse.vue index 52a45eb..d3942a1 100644 --- a/pages/mine/purse.vue +++ b/pages/mine/purse.vue @@ -59,11 +59,17 @@ 收益记录 - + + + - diff --git a/static/image/incomeRecord/1.png b/static/image/incomeRecord/1.png new file mode 100644 index 0000000000000000000000000000000000000000..16f3d480bfc62e066ba2296b63c3b5ab36f8f1ee GIT binary patch literal 310 zcmeAS@N?(olHy`uVBq!ia0vp^!a&T&!3HGHN~m`NDaPU;cPEB*=VV?2IV{Cao*^7S zP{WbZ0pvgMba4!^=v{kpqwiq{k%ou=Z@ypF!EMICrm*papi^Xn;H7jzb(2d&a`MG3e(Sb2=Om_tu2N0X=8ef@ zPY=COF~4hP5?e!A(Vp_jv%5pyOkqmc9`fEe}Pb$Z|kCZ81kYQkJaFb8x)jJLJD}$%2pUXO@ GgeCxNg?&!| literal 0 HcmV?d00001