From 3f3c0095c82cb68d5e467bd7b31d390b67c74193 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=87?= Date: Wed, 19 Feb 2025 01:42:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E4=BA=9B=E9=9D=99=E6=80=81=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/user.js | 2 + app.json | 5 ++- assets/icon/delete.png | Bin 0 -> 713 bytes pages/index/index.js | 4 +- pages/index/index.wxml | 2 +- pages/user/bank/editor/index.js | 66 ++++++++++++++++++++++++++++ pages/user/bank/editor/index.json | 3 ++ pages/user/bank/editor/index.wxml | 25 +++++++++++ pages/user/bank/editor/index.wxss | 1 + pages/user/bank/index/index.js | 70 ++++++++++++++++++++++++++++++ pages/user/bank/index/index.json | 4 ++ pages/user/bank/index/index.wxml | 23 ++++++++++ pages/user/bank/index/index.wxss | 65 +++++++++++++++++++++++++++ pages/user/info/index.wxml | 4 +- pages/user/rnAuth/index.js | 66 ++++++++++++++++++++++++++++ pages/user/rnAuth/index.json | 4 ++ pages/user/rnAuth/index.wxml | 34 +++++++++++++++ pages/user/rnAuth/index.wxss | 0 18 files changed, 373 insertions(+), 5 deletions(-) create mode 100644 assets/icon/delete.png create mode 100644 pages/user/bank/editor/index.js create mode 100644 pages/user/bank/editor/index.json create mode 100644 pages/user/bank/editor/index.wxml create mode 100644 pages/user/bank/editor/index.wxss create mode 100644 pages/user/bank/index/index.js create mode 100644 pages/user/bank/index/index.json create mode 100644 pages/user/bank/index/index.wxml create mode 100644 pages/user/bank/index/index.wxss create mode 100644 pages/user/rnAuth/index.js create mode 100644 pages/user/rnAuth/index.json create mode 100644 pages/user/rnAuth/index.wxml create mode 100644 pages/user/rnAuth/index.wxss diff --git a/api/user.js b/api/user.js index 51084b4..ca6fa70 100644 --- a/api/user.js +++ b/api/user.js @@ -10,6 +10,8 @@ export default { userInfo:()=>request.get('/api/user/info'), summary:()=>request.get('/api/account/summary'), incomeList:(data)=>request.get('/api/account/details',data), + getRNAuth:()=>request.get('/api/user/auth'), + setRNAuth:(data)=>request.post('/api/user/auth',data), uploadImg(file,progress){ return new Promise((rs,rj)=>{ diff --git a/app.json b/app.json index ae81040..bf78bbd 100644 --- a/app.json +++ b/app.json @@ -6,7 +6,10 @@ "pages/user/info/index", "pages/withdraw/index/index", "pages/withdraw/success/index", - "pages/user/income/index" + "pages/user/income/index", + "pages/user/rnAuth/index", + "pages/user/bank/index/index", + "pages/user/bank/editor/index" ], "window": { "navigationBarTextStyle": "black", diff --git a/assets/icon/delete.png b/assets/icon/delete.png new file mode 100644 index 0000000000000000000000000000000000000000..c6f726e3432d8df624a7b8e1342945d57e961a96 GIT binary patch literal 713 zcmV;)0yh1LP)Px#1am@3R0s$N2z&@+hyVZrb4f%&RA_!7$JQ;>DuM>j0 zhGAUkhG4q0SeA8j0rLRhBuNtKcGA8BLWn&82LOoZE(n5!?ieTIjfm)1?oYW2!|h#xMLYF`(73bPoC)z&|pb2mGfbaXRlyY1oR!TWU zbf3F4Z^_430NK1t01rh%B8r0`Sik-G|hcWhAz!K48tXmTSBI3x?Q=^CBIMJ zEFmGp48W(qZAb?qijT+R-Fm%_%hf%X$EYImecv4phojAAvn$b!Jv34A0UH>c4;%N_=&uVrj$V&g8%?y>~oSNGsf7mNb~aY@?|g>%!sIJ z$WmGhkQ!Q?)1=>WzO^+c(C>ln`TqkP4u{&shnl##`F3UEN;R^Ry4V`PPsUj5A6Jtk zxmHTu3DeF6}#_uY{zDj!_2!aI>wR-%WgNSy9VN|OA vXq8zflgXGdb`8M2(0 - + diff --git a/pages/user/bank/editor/index.js b/pages/user/bank/editor/index.js new file mode 100644 index 0000000..a1aa05d --- /dev/null +++ b/pages/user/bank/editor/index.js @@ -0,0 +1,66 @@ +// pages/user/bank/editor/index.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/pages/user/bank/editor/index.json b/pages/user/bank/editor/index.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/pages/user/bank/editor/index.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/user/bank/editor/index.wxml b/pages/user/bank/editor/index.wxml new file mode 100644 index 0000000..5d0fb0c --- /dev/null +++ b/pages/user/bank/editor/index.wxml @@ -0,0 +1,25 @@ + + + + 持卡姓名 + + + + + + 开户银行 + + + + + + 银行卡号 + + + + + + + + + \ No newline at end of file diff --git a/pages/user/bank/editor/index.wxss b/pages/user/bank/editor/index.wxss new file mode 100644 index 0000000..4522937 --- /dev/null +++ b/pages/user/bank/editor/index.wxss @@ -0,0 +1 @@ +/* pages/user/bank/editor/index.wxss */ \ No newline at end of file diff --git a/pages/user/bank/index/index.js b/pages/user/bank/index/index.js new file mode 100644 index 0000000..1ede127 --- /dev/null +++ b/pages/user/bank/index/index.js @@ -0,0 +1,70 @@ +// pages/user/bank/index/index.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + navToAdd(){ + wx.navigateTo({ + url: '/pages/user/bank/editor/index', + }) + }, + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/pages/user/bank/index/index.json b/pages/user/bank/index/index.json new file mode 100644 index 0000000..02eaf29 --- /dev/null +++ b/pages/user/bank/index/index.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "银行卡管理" +} \ No newline at end of file diff --git a/pages/user/bank/index/index.wxml b/pages/user/bank/index/index.wxml new file mode 100644 index 0000000..2ff767b --- /dev/null +++ b/pages/user/bank/index/index.wxml @@ -0,0 +1,23 @@ + + + + 个人账户 + + + + + 中国工商银行 + + + + + 持卡人 + 仙人模斗 + + + 银行卡号 + **** **** **** ***9 009 + + + + \ No newline at end of file diff --git a/pages/user/bank/index/index.wxss b/pages/user/bank/index/index.wxss new file mode 100644 index 0000000..dff8d57 --- /dev/null +++ b/pages/user/bank/index/index.wxss @@ -0,0 +1,65 @@ +.bank-card{ + min-height: 100vh; + box-sizing: border-box; + background-color: #fff; + padding:60rpx 30rpx; +} + +.title{ + font-size: 40rpx; + display: flex; + align-items: flex-end; +} +.title .tag{ + font-size: 24rpx; + background-color: rgba(255, 195, 0, 0.1); + padding:5rpx 8rpx; + color: #FFC300; + margin-left:22rpx; +} +.card{ + background: linear-gradient(298deg, #FFC300 0%, #FFDE74 98%); + box-shadow: 0px 3px 6px 2px rgba(0, 0, 0, 0.1); + border-radius: 20rpx; + padding:30rpx 0 40rpx 30rpx; + margin-top:46rpx; +} +.card .head{ + display: flex; + align-items: center; + padding-right:30rpx; +} +.card .head .icon-card{ + width:44rpx;height:44rpx; +} +.card .head .name{ + font-size: 33rpx; + flex: 1; + margin-left:18rpx; +} +.card .head .icon-delete{ + width:32rpx;height:32rpx; + padding:4rpx; +} +.card .spliter{ + margin:24rpx 0 0 0; +} +.card .info-item{ + margin-top:40rpx; +} +.card .info-item .key{ + color: #555555; + font-size: 24rpx; +} +.card .info-item .value{ + font-size: 36rpx; + margin-top:24rpx; +} +.card .info-item .card-no{ + font-weight: 500; +} + +.add-card-btn{ + margin-top:40rpx; + background-color: rgba(153, 153, 153, 0.15); +} \ No newline at end of file diff --git a/pages/user/info/index.wxml b/pages/user/info/index.wxml index e3f7540..35ec6f7 100644 --- a/pages/user/info/index.wxml +++ b/pages/user/info/index.wxml @@ -26,13 +26,13 @@ - + 实名认证 - + 银行卡管理 diff --git a/pages/user/rnAuth/index.js b/pages/user/rnAuth/index.js new file mode 100644 index 0000000..6e7d1ef --- /dev/null +++ b/pages/user/rnAuth/index.js @@ -0,0 +1,66 @@ +// pages/user/rnAuth/index.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/pages/user/rnAuth/index.json b/pages/user/rnAuth/index.json new file mode 100644 index 0000000..93cb347 --- /dev/null +++ b/pages/user/rnAuth/index.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "实名认证" +} \ No newline at end of file diff --git a/pages/user/rnAuth/index.wxml b/pages/user/rnAuth/index.wxml new file mode 100644 index 0000000..843c911 --- /dev/null +++ b/pages/user/rnAuth/index.wxml @@ -0,0 +1,34 @@ + + + + 真实姓名 + + + + + + 身份证号 + + + + + + 手机号码 + + + + + + + + + 验证码 + + + + + + + + + \ No newline at end of file diff --git a/pages/user/rnAuth/index.wxss b/pages/user/rnAuth/index.wxss new file mode 100644 index 0000000..e69de29