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 @@