diff --git a/apis/index.js b/apis/index.js index d893939..f423da0 100644 --- a/apis/index.js +++ b/apis/index.js @@ -9,7 +9,8 @@ import store from '@/store' // 基础配置 const config = { - apiUrl : 'https://oapi.lianshang.vip/api/', // 正式环境 + // apiUrl : 'https://oapi.lianshang.vip/api/', // 正式环境 + apiUrl : 'http://api.ahxh.shangkelian.cn/api/', // 测试环境 apiUrls : 'https://storage.lianshang.vip/', // 图片路径(测试/正式) timeout : 60000 } 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 920db49..0683d94 100644 --- a/pages.json +++ b/pages.json @@ -3,18 +3,18 @@ "path": "pages/index/index", "name": "Index", "style": { - "navigationBarBackgroundColor":"#1f1922", - "backgroundColor":"#1f1922", - "navigationStyle":"custom", - "navigationBarTextStyle":"white" + "navigationBarBackgroundColor": "#1f1922", + "backgroundColor": "#1f1922", + "navigationStyle": "custom", + "navigationBarTextStyle": "white" } }, { "path": "pages/found/index", "name": "Found", "auth": true, "style": { - "navigationBarTitleText": "发现更多", - "navigationStyle":"custom" + "navigationBarTitleText": "发现更多", + "navigationStyle": "custom" } }, { "path": "pages/user/index", @@ -22,7 +22,7 @@ "auth": true, "style": { "navigationBarTitleText": "节点中心", - "navigationStyle":"custom" + "navigationStyle":"custom" } }, { "path": "pages/user/code", @@ -63,13 +63,16 @@ "path": "pages/vip/vip", "name": "vipIndex", "style": { - "navigationBarTitleText": "开通节点" + "navigationBarTitleText": "开通节点", + "navigationBarBackgroundColor": "#774ffd", + "navigationBarTextStyle":"white" } }, { "path": "pages/vip/agree", "name": "vipAgree", "style": { - "navigationBarTitleText": "用户协议" + "navigationBarTitleText": "用户协议", + "navigationBarBackgroundColor": "#774ffd" } }, { "path": "pages/vip/examine", @@ -136,9 +139,9 @@ "path": "pages/login/login", "name": "Login", "style": { - "navigationBarTitleText": "登录", - "navigationBarBackgroundColor":"#FFFFFF", - "navigationBarTextStyle":"black" + "navigationBarTitleText": "登录", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationBarTextStyle": "black" } }, { "path": "pages/login/guide", @@ -196,7 +199,17 @@ "navigationBarTextStyle": "white", "navigationBarBackgroundColor":"#976dff" } - }, { + }, { + "path": "pages/wallet/redProperty", + "name": "walletRedProperty", + "style": { + "navigationBarTitleText": "现金红包", + "enablePullDownRefresh": false, + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor":"#976dff" + } + }, + { "path": "pages/wallet/extract", "name": "Extract", "style": { @@ -205,6 +218,16 @@ "navigationBarBackgroundColor": "#976dff", "navigationBarTextStyle": "white" } + }, + { + "path": "pages/wallet/extractRed", + "name": "ExtractRed", + "style": { + "navigationBarTitleText": "提现红包", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#976dff", + "navigationBarTextStyle": "white" + } }, { "path": "pages/verification/index", "name": "verificationIndex", @@ -299,17 +322,17 @@ }, "name": "withdrawList" }, { - "path" : "pages/wxAuth/wxAuth", - "name" : "wxAuth" - },{ - "path" : "pages/clearOpen/clearOpen", - "style" : { - "navigationBarTitleText": "提现记录", - "enablePullDownRefresh": false - }, - "name": "clearOpen" - } - ], + "path": "pages/wxAuth/wxAuth", + "name": "wxAuth" + }, { + "path": "pages/clearOpen/clearOpen", + "style": { + "navigationBarTitleText": "提现记录", + "enablePullDownRefresh": false + }, + "name": "clearOpen" + } + ], "globalStyle": { "backgroundColor": "#F5F5F5", "navigationBarBackgroundColor":"#FFFFFF", diff --git a/pages/found/index.vue b/pages/found/index.vue index c422e8b..cf5c410 100644 --- a/pages/found/index.vue +++ b/pages/found/index.vue @@ -1,145 +1,161 @@ diff --git a/pages/setting/setting.vue b/pages/setting/setting.vue index 43aa64c..900df52 100644 --- a/pages/setting/setting.vue +++ b/pages/setting/setting.vue @@ -57,7 +57,7 @@ - + 关于链商星球 diff --git a/pages/user/index.vue b/pages/user/index.vue index 844c931..67ad9de 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -3,26 +3,28 @@ - - - 扫描上方微信二维码,添加您的专属VIP客服 - - + + + 扫描上方微信二维码,添加您的专属VIP客服 + + - - {{newList[newPopIndex].title}} - - - - - - 下一条 - - + + {{newList[newPopIndex].title}} + + + + + + 下一条 + + + @@ -31,18 +33,23 @@ - - + +