diff --git a/config/utils.js b/config/utils.js index af28fd5..ebf77f8 100644 --- a/config/utils.js +++ b/config/utils.js @@ -112,6 +112,8 @@ export const setPay = function(payInfo, callback) { } else if (payInfo.typePay == 'smallPay') { // 微信小程序支付 httpUrl = 'api/pay/v1/small_pay_sign_wx' + }else if(payInfo.typePay == 'appleiap'){ + // 苹果支付 } $http.post(httpUrl, payInfo).then(data => { let payData = { diff --git a/manifest.json b/manifest.json index 96ff3aa..8a545bb 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { - "name" : "E-crazy", + "name" : "疯子读书", "appid" : "__UNI__9788EB5", - "description" : "E-crazy-案例", + "description" : "疯子读书", "transformPx" : false, "icons" : [ { diff --git a/pages.json b/pages.json index 8195cc0..fee2b0a 100644 --- a/pages.json +++ b/pages.json @@ -248,7 +248,8 @@ "navigationBarTitleText": "物流详情" } } - ], + +], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", diff --git a/pages/bookShop/settlement.vue b/pages/bookShop/settlement.vue index c3fe8b8..2195382 100644 --- a/pages/bookShop/settlement.vue +++ b/pages/bookShop/settlement.vue @@ -215,19 +215,19 @@ nowClick: true, paylist: [{ title: '支付宝', - id: 1, + id: 2, img: '../../static/icon/pay_1.png' + }, + { + title: '微信', + id: 1, + img: '../../static/icon/pay_2.png' }, { title: '疯币购买', id: 4, img: '../../static/icon/oder_chong.png' - } - // { - // title: '微信', - // id: 2, - // img: '../../static/icon/pay_2.png' - // }, + }, // { // title: 'ios内购', // id: 3, diff --git a/pages/eBook/bookContent.vue b/pages/eBook/bookContent.vue index e908875..ba9e4f4 100644 --- a/pages/eBook/bookContent.vue +++ b/pages/eBook/bookContent.vue @@ -523,6 +523,7 @@ .then(res => { if (res.code == 0) { if (res.status == 'error') { + this.buysignShow = false uni.showToast({ icon: 'none', title: res.msg diff --git a/pages/peanut/reCharge.vue b/pages/peanut/reCharge.vue index 154c4f7..f5ae89c 100644 --- a/pages/peanut/reCharge.vue +++ b/pages/peanut/reCharge.vue @@ -17,29 +17,47 @@ 支付方式 + - + {{item.title}} - + + + + + + + {{item.title}} + + + * 我已阅读并同意《会员服务协议》 - 立即充值 + 立即充值 + 立即充值