From c40a262154c483adfef4b2b86bafa97d3d5c2dd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=90=E6=98=8E=E6=98=8E?= <970899069@qq.com> Date: Tue, 7 Mar 2023 14:48:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=9A=E7=BB=A9=E8=B4=A6?= =?UTF-8?q?=E6=88=B7,=E6=96=B0=E5=A2=9E=E5=BE=AE=E4=BF=A1=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E6=B8=A0=E9=81=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apis/index.js | 4 +- manifest.json | 8 ++-- pages.json | 16 ++++++-- pages/account/cash.vue | 51 ++++++++++++++--------- pages/im/chat.vue | 48 ++++++++++++++++++++++ pages/pay/pay.vue | 91 ++++++++++++++++++++++++++++-------------- pages/work/index.vue | 2 + 7 files changed, 165 insertions(+), 55 deletions(-) create mode 100644 pages/im/chat.vue diff --git a/apis/index.js b/apis/index.js index 0a6a8ca..0bf4ee8 100644 --- a/apis/index.js +++ b/apis/index.js @@ -10,8 +10,8 @@ import router from '../router' // 基础配置 const config = { - apiUrl : 'https://douhuo.douhuofalv.com/api/', - // apiUrl : 'https://api.douhuotest.douhuofalv.com/api/', //测试环境 + // apiUrl : 'https://douhuo.douhuofalv.com/api/', + apiUrl : 'https://api.douhuotest.douhuofalv.com/api/', //测试环境 timeout : 60000 } diff --git a/manifest.json b/manifest.json index e6d773a..5e9eff8 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name" : "抖火", "appid" : "__UNI__C305C03", "description" : "纵有疾风起,人生不言弃", - "versionName" : "1.3.1", + "versionName" : "1.3.2", "versionCode" : 103, "transformPx" : false, /* 5+App特有相关 */ @@ -39,6 +39,7 @@ "", "", "", + "", "", "" ], @@ -53,10 +54,11 @@ "ad" : {}, "share" : { "weixin" : { - "appid" : "wx9ca2a763085ab4b6", + "appid" : "wx1bcdeda0dec3f1bd", "UniversalLinks" : "" } - } + }, + "payment" : {} }, "icons" : { "android" : { diff --git a/pages.json b/pages.json index 7f4e18f..746244b 100644 --- a/pages.json +++ b/pages.json @@ -546,12 +546,22 @@ "navigationBarBackgroundColor": "#FFFFFF" } }, { - "path": "pages/work/orderLog", - "auth": true, + "path": "pages/work/orderLog", + "auth": true, "name": "OrderLog", "style": { - "navigationBarTitleText": "记录", + "navigationBarTitleText": "记录", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#FFFFFF" + } + }, { + "path": "pages/im/chat", + "auth": true, + "name": "ImChat", + "style": { + "navigationBarTitleText": "聊天窗口", "enablePullDownRefresh": false, + "disableScroll": true, "navigationBarBackgroundColor": "#FFFFFF" } }], diff --git a/pages/account/cash.vue b/pages/account/cash.vue index 8e1e584..675e460 100644 --- a/pages/account/cash.vue +++ b/pages/account/cash.vue @@ -25,9 +25,26 @@ - {{item.type}} - {{item.perf}} - {{item.created_at}} + + + {{item.type}} + + + + {{item.perf}} + + + + {{item.nick_name || '-'}} + + + + {{item.parent_name || '-'}} + + + + {{item.created_at}} + @@ -176,23 +193,21 @@ margin: 0 -30rpx 10rpx; } .log-flex{ - padding: 5rpx 0; - display: flex; - justify-content: space-between; - line-height: 70rpx; - align-items: center; - font-size: 30rpx; - color: #666666; - .type{ - width: 150rpx; + border-bottom: solid 1rpx #F6F6F6; + padding: 20rpx 0; + &:last-child{border-bottom: none;} + &-item{ + line-height: 54rpx; + font-size: 32rpx; + display: flex; + label{ + color: gray; + width: 100rpx; + } } - .time{ - width: 300rpx; + &-val{ text-align: right; - } - .perf{ - width: calc( 100% - 450rpx); - text-align: center; + width: calc(100% - 100rpx); } } } diff --git a/pages/im/chat.vue b/pages/im/chat.vue new file mode 100644 index 0000000..3ae221e --- /dev/null +++ b/pages/im/chat.vue @@ -0,0 +1,48 @@ + + + + + diff --git a/pages/pay/pay.vue b/pages/pay/pay.vue index 46902ae..0c95812 100644 --- a/pages/pay/pay.vue +++ b/pages/pay/pay.vue @@ -22,14 +22,14 @@ 付款码支付 - + --> --> + +