From 75bf2692d096f233bdc33148877fd2c237fe2150 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Thu, 20 Jul 2023 16:32:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=90=88=E5=90=8C=E5=8A=9F?= =?UTF-8?q?=E8=83=BD,=E5=AF=B9=E6=8E=A5=E5=85=AC=E5=91=8A=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3,=E4=BC=98=E5=8C=96=E6=94=AF=E4=BB=98=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/contract.js | 12 + api/notice.js | 6 + api/pay.js | 4 + babel.config.js | 8 + manifest.json | 2 +- pages.json | 15 +- pages/oaHome/oaHome.vue | 27 +- pages/oaLogin/oaLogin.vue | 3 + pages/oaMy/oaMy.vue | 7 +- subpkg/contract/contract.vue | 277 ++++++++------ subpkg/contractDetail/contractDetail.vue | 460 +++++++++++++---------- subpkg/finance/finance.vue | 10 + subpkg/topUp/topUp.vue | 16 +- 13 files changed, 521 insertions(+), 326 deletions(-) create mode 100644 api/contract.js create mode 100644 api/notice.js create mode 100644 babel.config.js diff --git a/api/contract.js b/api/contract.js new file mode 100644 index 0000000..15245f8 --- /dev/null +++ b/api/contract.js @@ -0,0 +1,12 @@ +import oahttp from "@/utils/oahttp.js"; + +/** + * 合同列表 + */ +export const contractList = (data) => oahttp.get('/contract/index', data) + + +/** + * 合同详情 + */ +export const contractView = (data) => oahttp.get('/contract/view', data) \ No newline at end of file diff --git a/api/notice.js b/api/notice.js new file mode 100644 index 0000000..73e3623 --- /dev/null +++ b/api/notice.js @@ -0,0 +1,6 @@ +import oahttp from "@/utils/oahttp.js"; + +/** + * 鍏憡鍒楄〃 + */ +export const noticeList = (data) => oahttp.get('/article/lists', data) diff --git a/api/pay.js b/api/pay.js index b6a04e4..42eebc0 100644 --- a/api/pay.js +++ b/api/pay.js @@ -20,3 +20,7 @@ export const payPrepay = (data) => oahttp.post('/pay/prepay', data) */ export const wechatJsConfig = (data) => oahttp.get('/wechat/jsConfig', data) +/** + * 鏀粯鐘舵 + */ +export const payStatus = (data) => oahttp.get('/pay/payStatus', data) diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 0000000..aa0bba5 --- /dev/null +++ b/babel.config.js @@ -0,0 +1,8 @@ +module.exports = { + presets: [ + '@vue/cli-plugin-babel/preset' + ], + plugins: [ + '@babel/plugin-proposal-optional-chaining' + ] +} \ No newline at end of file diff --git a/manifest.json b/manifest.json index 7510e8c..391d1c6 100644 --- a/manifest.json +++ b/manifest.json @@ -52,7 +52,7 @@ "payment" : { "weixin" : { "__platform__" : [ "android" ], - "appid" : "__UNI__3A527D1", + "appid" : "wx9d68c92b550ddd1e", "UniversalLinks" : "" } }, diff --git a/pages.json b/pages.json index 3aac9bd..e3f705b 100644 --- a/pages.json +++ b/pages.json @@ -5,7 +5,10 @@ "path": "pages/oaHome/oaHome", "style": { "navigationBarTitleText": "棣栭〉", - "enablePullDownRefresh": true + "enablePullDownRefresh": true, + "app-plus": { + "titleNView": false + } } }, { @@ -29,12 +32,18 @@ { "path": "pages/oaMy/oaMy", "style": { - "navigationBarTitleText": "鎴戠殑" + "navigationBarTitleText": "鎴戠殑", + "app-plus": { + "titleNView": false + } } }, { "path": "pages/oaLogin/oaLogin", "style": { - "navigationBarTitleText": "鐧诲綍" + "navigationBarTitleText": "鐧诲綍", + "app-plus": { + "titleNView": false + } } }, { diff --git a/pages/oaHome/oaHome.vue b/pages/oaHome/oaHome.vue index af15f90..0d6e7e1 100644 --- a/pages/oaHome/oaHome.vue +++ b/pages/oaHome/oaHome.vue @@ -1,6 +1,9 @@ + + .stop_btn { + width: 694rpx; + height: 84rpx; + border-radius: 42rpx 42rpx 42rpx 42rpx; + display: flex; + justify-content: center; + align-items: center; + color: #3274F9; + background-color: transparent; + margin: 30rpx auto; + } + \ No newline at end of file diff --git a/subpkg/finance/finance.vue b/subpkg/finance/finance.vue index 8f61fa2..397c7e1 100644 --- a/subpkg/finance/finance.vue +++ b/subpkg/finance/finance.vue @@ -11,6 +11,13 @@ 璐︽埛鍏呭 + + + 璐︽埛鎬婚噾棰(鍏) + + 1338.96 + 鍙彁鐜伴噾棰 + @@ -65,5 +72,8 @@ export default { color: #FFFFFF; } } + .center{ + color: #fff; + } } diff --git a/subpkg/topUp/topUp.vue b/subpkg/topUp/topUp.vue index 5541b01..6512400 100644 --- a/subpkg/topUp/topUp.vue +++ b/subpkg/topUp/topUp.vue @@ -32,7 +32,7 @@