Commit e6289522 by 肖康

购物车

parent 3db64095
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
.pagebot{ .pagebot{
height: 62rpx; height: 62rpx;
line-height: 62rpx; line-height: 62rpx;
background: #F5F5F7; // background: #F5F5F7;
font-size: 22rpx; font-size: 22rpx;
text-align: center; text-align: center;
color:#C6C7CC; color:#C6C7CC;
...@@ -143,7 +143,6 @@ ...@@ -143,7 +143,6 @@
.searchgo{ .searchgo{
font-size: 24rpx; font-size: 24rpx;
color:$uni-coloract; color:$uni-coloract;
margin-right: 24rpx;
position: relative; position: relative;
top:8rpx; top:8rpx;
} }
......
...@@ -54,7 +54,10 @@ export default { ...@@ -54,7 +54,10 @@ export default {
} }
} }
}); });
} },
updateCar(){
this.getData()
}
} }
}; };
</script> </script>
......
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
<view class="titlesi">订单确认</view> <view class="titlesi">订单确认</view>
</view> </view>
<view class="tabs row bothSide"> <view class="tabs row bothSide">
<view class="itemt act row rowCenter verCenter">快递配送</view> <view class="itemt row rowCenter verCenter" @click.stop="shippingtypetab(1)" :class="{'act':shipping_type==1}">快递配送</view>
<view class="itemt row rowCenter verCenter">客户自提</view> <view class="itemt row rowCenter verCenter" @click.stop="shippingtypetab(2)" :class="{'act':shipping_type==2}">客户自提</view>
</view> </view>
<view class="kdbox" style="display:none;"> <view class="kdbox" v-show="shipping_type==1">
<navigator url="" class="kditem row verCenter bothSide" > <navigator url="" class="kditem row verCenter bothSide" >
<text class="icon iconfont icon-dzz"></text> <text class="icon iconfont icon-dzz"></text>
<view class="iteminfo"> <view class="iteminfo">
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<text>添加收货地址</text> <text>添加收货地址</text>
</navigator> </navigator>
</view> </view>
<view class="ztbox"> <view class="ztbox" v-show="shipping_type==2">
<view class="zttips row"><text class="icon iconfont icon-dzz"></text> <text>请在接到猎芯网系统短信通知后,再携带已盖章的合同打印件上门取货。</text></view> <view class="zttips row"><text class="icon iconfont icon-dzz"></text> <text>请在接到猎芯网系统短信通知后,再携带已盖章的合同打印件上门取货。</text></view>
<view class="ztitem row verCenter bothSide act"> <view class="ztitem row verCenter bothSide act">
<view class="ztl"> <view class="ztl">
...@@ -315,13 +315,35 @@ ...@@ -315,13 +315,35 @@
</template> </template>
<script> <script>
import {
Ichunt_Api,
Api_Url
} from '@/util/api.js';
export default { export default {
data() { data() {
return { return {
shipping_type:1,
currency:1,
ztaddress:{},//自提地址信息
} }
}, },
onShow() {
this.getData();
},
methods: { methods: {
//获取商品信息
getData(){
},
//获取自提地址
getSelfaddress(){
this.request(Api_Url + '/cart/selfaddress', 'POST', {}, true, true).then(res => {
});
},
shippingtypetab(type){
this.shipping_type=type
},
openzt() { openzt() {
this.$refs.popupztinfo.open('bottom'); this.$refs.popupztinfo.open('bottom');
}, },
......
...@@ -76,7 +76,8 @@ const router = new Router({ ...@@ -76,7 +76,8 @@ const router = new Router({
path: '/pages/confirm/confirm', path: '/pages/confirm/confirm',
aliasPath: '/order/confirm', aliasPath: '/order/confirm',
meta: { meta: {
title: '确认订单' title: '确认订单',
auth: true
} }
}, },
{ {
......
...@@ -16,7 +16,7 @@ const request = (url = '', type = 'GET', param = {}, Loading, headertype) => { ...@@ -16,7 +16,7 @@ const request = (url = '', type = 'GET', param = {}, Loading, headertype) => {
pf: 2 pf: 2
}); });
//请求es相关 //请求es相关
if (url.indexOf("so12.ichunt.") != -1 || url.indexOf("/esapi/") != -1 || url.indexOf("/goods/detail") != -1|| url.indexOf("/optimum/goods") != -1) { if (url.indexOf("so12.ichunt.") != -1 || url.indexOf("/esapi/") != -1 || url.indexOf("/goods/detail") != -1|| url.indexOf("/optimum/goods") != -1|| url.indexOf("/cart/lists") != -1) {
params = Object.assign(param, { hkyefgyd: 1 }); params = Object.assign(param, { hkyefgyd: 1 });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment