From 50fb945707cdd32180e45df00f9de21643570d28 Mon Sep 17 00:00:00 2001 From: zhangdongxue Date: Wed, 13 Oct 2021 16:31:58 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=BC=80=E9=80=9A=E8=8A=82=E7=82=B9=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4=E5=8F=8A=E5=BA=95?= =?UTF-8?q?=E9=83=A8=E6=8C=89=E9=92=AE=E7=8A=B6=E6=80=81=E5=A4=84=E7=90=86?= =?UTF-8?q?=E5=8F=8A=E7=94=B3=E8=AF=B7=E7=8A=B6=E6=80=81=E5=A4=84=E7=90=86?= =?UTF-8?q?=E5=8F=8A=E6=94=AF=E6=9C=AA=E5=AE=8C=E4=BB=98]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apis/interfaces/vip.js | 12 +- pages.json | 3 +- pages/vip/examine.vue | 12 +- pages/vip/vip.vue | 289 ++++++++++++------ .../dev/.automator/app-plus/.automator.json | 0 5 files changed, 219 insertions(+), 97 deletions(-) create mode 100644 unpackage/dist/dev/.automator/app-plus/.automator.json diff --git a/apis/interfaces/vip.js b/apis/interfaces/vip.js index cae8a79..3ab8de9 100644 --- a/apis/interfaces/vip.js +++ b/apis/interfaces/vip.js @@ -49,6 +49,15 @@ const vipVoucher = (data) =>{ }) } +// 编辑凭证 +const vipVoucherUpdate = (id,data) =>{ + return request({ + url : 'user/voucher/'+id+'/update', + method : 'POST', + data : data + }) +} + // 用户协议 const userAgree = (apiUrl) => { return request({ @@ -62,5 +71,6 @@ export { vipWechatPay, vipCont, vipVoucher, - userAgree + userAgree, + vipVoucherUpdate } diff --git a/pages.json b/pages.json index bd77429..b6b813a 100644 --- a/pages.json +++ b/pages.json @@ -64,7 +64,8 @@ "name": "vipIndex", "style": { "navigationBarTitleText": "开通节点", - "navigationBarBackgroundColor": "#774ffd" + "navigationBarBackgroundColor": "#774ffd", + "navigationBarTextStyle":"white" } }, { "path": "pages/vip/agree", diff --git a/pages/vip/examine.vue b/pages/vip/examine.vue index a7c1f7a..ab638e9 100644 --- a/pages/vip/examine.vue +++ b/pages/vip/examine.vue @@ -5,7 +5,7 @@ 提交成功,请耐心等待~ - + 我知道了 @@ -13,6 +13,16 @@