|
|
@@ -255,16 +255,16 @@ export default {
|
|
|
appEv.errTips("请阅读并同意购买协议");
|
|
|
return;
|
|
|
}
|
|
|
- this.toPayOrder();
|
|
|
- // if (this.btnIndex == 0) {
|
|
|
- // // if(this.type != 1){
|
|
|
- // this.toPayOrder();
|
|
|
- // // }else{
|
|
|
- // // this.SetCartGoodsList()
|
|
|
- // // }
|
|
|
- // } else {
|
|
|
- // this.toPayOrder();
|
|
|
- // }
|
|
|
+ this.toPayOrder();
|
|
|
+ // if (this.btnIndex == 0) {
|
|
|
+ // // if(this.type != 1){
|
|
|
+ // this.toPayOrder();
|
|
|
+ // // }else{
|
|
|
+ // // this.SetCartGoodsList()
|
|
|
+ // // }
|
|
|
+ // } else {
|
|
|
+ // this.toPayOrder();
|
|
|
+ // }
|
|
|
},
|
|
|
// 创建购买订单
|
|
|
toPayOrder: function () {
|
|
|
@@ -325,20 +325,24 @@ export default {
|
|
|
closeBtn: function () {
|
|
|
this.$refs.shopping.close();
|
|
|
},
|
|
|
- getProPage: function () {
|
|
|
- if (this.type == 1 || this.type == 2) {
|
|
|
- uni.navigateTo({
|
|
|
- url: "/pages/protocol/index?type=" + this.type,
|
|
|
- });
|
|
|
- } else if (this.type == 4) {
|
|
|
- uni.navigateTo({
|
|
|
- url: "/pages/protocol/index?type=" + 3,
|
|
|
- });
|
|
|
- } else if (this.type == 3) {
|
|
|
- uni.navigateTo({
|
|
|
- url: "/pages/protocol/index?type=" + 5,
|
|
|
- });
|
|
|
- }
|
|
|
+ getProPage() {
|
|
|
+ // if (this.type == 1 || this.type == 2) {
|
|
|
+ // uni.navigateTo({
|
|
|
+ // url: "/pages/protocol/index?type=" + this.type,
|
|
|
+ // });
|
|
|
+ // } else if (this.type == 4) {
|
|
|
+ // uni.navigateTo({
|
|
|
+ // url: "/pages/protocol/index?type=" + 3,
|
|
|
+ // });
|
|
|
+ // } else if (this.type == 3) {
|
|
|
+ // uni.navigateTo({
|
|
|
+ // url: "/pages/protocol/index?type=" + 5,
|
|
|
+ // });
|
|
|
+ // }
|
|
|
+ console.log("aaaaaaaaaa");
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "/pages/pay-agreement/index",
|
|
|
+ });
|
|
|
},
|
|
|
},
|
|
|
onShareAppMessage: function () {
|