|
@@ -257,9 +257,13 @@
|
|
|
this.$store.commit('updateLoadingStatus', {isLoading: false});
|
|
|
})
|
|
|
}
|
|
|
- else {
|
|
|
- this.$router.push({path:'/confirm_order',query:{goods_id:goods_id,iscart:0,num:this.goodsNumber}});
|
|
|
- }
|
|
|
+ else if(navigator.userAgent.match(/iPhone|iPad|iPod/i)){
|
|
|
+ let host = window.location.protocol + '//' + window.location.host;
|
|
|
+ window.location.href = host = "/confirm_order?goods_id="+goods_id+"&iscart=0&num="+this.goodsNumber;
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ this.$router.push({path:'/confirm_order',query:{goods_id:goods_id,iscart:0,num:this.goodsNumber}});
|
|
|
+ }
|
|
|
},
|
|
|
goods_num_handle(type,goods_storage,act_type){
|
|
|
if(act_type !== 0) {
|