diff --git a/App.vue b/App.vue index e748f77..5cda3dd 100644 --- a/App.vue +++ b/App.vue @@ -77,10 +77,10 @@ visible: false }) // #ifdef H5 - uni.setTabBarItem({ - index: 2, - visible: false - }) + // uni.setTabBarItem({ + // index: 2, + // visible: false + // }) // #endif this.globalData.statusBarHeight = uni.getSystemInfoSync().statusBarHeight + 'px'; diff --git a/config/app.js b/config/app.js index f5ef026..6e26a1a 100644 --- a/config/app.js +++ b/config/app.js @@ -19,7 +19,8 @@ const env = 'dev' // 网络接口修改此字符 小程序域名要求https // httpApi = 'http://192.168.31.106:8324' //测试 -httpApi = 'https://test.shop.lihaink.cn' //生产 +// httpApi = 'https://test.shop.lihaink.cn' //生产 +httpApi = 'https://crmeb-test.shop.lihaink.cn' //生产 httpSix = 'https://ceshi-new-wokr.lihaink.cn' // httpSix = 'https://new-worker.lihaink.cn' diff --git a/pages/gather/gather.vue b/pages/gather/gather.vue index 2db5a2c..7688dbb 100644 --- a/pages/gather/gather.vue +++ b/pages/gather/gather.vue @@ -20,6 +20,7 @@ } .swiperBg { + padding-top: 25rpx; z-index: 1; .colorBg { @@ -157,9 +158,9 @@ + :current="swiperCur" style="height:330rpx;margin: 0 auto;width:710rpx;" @change="swiperChange"> - + @@ -332,6 +333,23 @@ uni.$emit('showLoading', false); }, methods: { + changeSwiper(e){ + if(e.length>0 && e[1].value){ + uni.navigateTo({ + url:e[1].value + }) + } + }, + swiperChange(e) { + let { + current, + source + } = e.detail; + if (source === 'autoplay' || source === 'touch') { + this.swiperCur = e.detail.current; + this.bgColor = this.imgUrls[e.detail.current]['img'] + } + }, getNav() { getNavigation().then(res => { this.newData = res.data diff --git a/pages/order_addcart/order_addcart.vue b/pages/order_addcart/order_addcart.vue index 74e29e9..8178c69 100644 --- a/pages/order_addcart/order_addcart.vue +++ b/pages/order_addcart/order_addcart.vue @@ -45,7 +45,7 @@ - {{item.mer_name}} @@ -55,7 +55,7 @@ diff --git a/pages/payment/get_payment - 副本.vue b/pages/payment/get_payment - 副本.vue index 03a8000..3dcd0b0 100644 --- a/pages/payment/get_payment - 副本.vue +++ b/pages/payment/get_payment - 副本.vue @@ -235,9 +235,9 @@ if (that.checkForm.cart_id && that.checkForm.cart_id.length > 0) { // return console.log(this.checkForm); - return uni.navigateTo({ - url: "/pages/payment/settlement?cartId="+this.checkForm.cart_id.join(',')+"&money="+this.cartForm.total_amount, - }) + // return uni.navigateTo({ + // url: "/pages/payment/settlement?cartId="+this.checkForm.cart_id.join(',')+"&money="+this.cartForm.total_amount, + // }) orderCheck(that.checkForm).then(res1 => { that.loading = false; diff --git a/pages/payment/get_payment.vue b/pages/payment/get_payment.vue index 3dcd0b0..03a8000 100644 --- a/pages/payment/get_payment.vue +++ b/pages/payment/get_payment.vue @@ -235,9 +235,9 @@ if (that.checkForm.cart_id && that.checkForm.cart_id.length > 0) { // return console.log(this.checkForm); - // return uni.navigateTo({ - // url: "/pages/payment/settlement?cartId="+this.checkForm.cart_id.join(',')+"&money="+this.cartForm.total_amount, - // }) + return uni.navigateTo({ + url: "/pages/payment/settlement?cartId="+this.checkForm.cart_id.join(',')+"&money="+this.cartForm.total_amount, + }) orderCheck(that.checkForm).then(res1 => { that.loading = false; diff --git a/pages/payment/settlement - 副本 (2).vue b/pages/payment/settlement - 副本 (2).vue index 19721e8..9996d22 100644 --- a/pages/payment/settlement - 副本 (2).vue +++ b/pages/payment/settlement - 副本 (2).vue @@ -3,110 +3,34 @@ - + - {{item.mer_name}} + {{payForm.merName}} - - - - - - - - 预售{{goods.productPresell.store_name}} - - {{goods.productAttr.sku}} - - ¥{{goods.productPresellAttr.presell_price}} - X{{goods.cart_num}} - - 发货时间: - - {{goods.productPresell.delivery_type === 1 ? '支付后' : '预售结束后'}}{{ goods.productPresell.delivery_day }}天内 - - {{ goods.productPresell.delivery_type === 1 ? '付尾款后' : '预售结束后' }}{{ goods.productPresell.delivery_day }}天内 - - - - 此商品不支持该区域配送 - - + + + + + - - - - 定金 - ¥{{ (goods.productPresellAttr.down_price * goods.cart_num).toFixed(2) }} - - - 尾款 - ¥{{ (goods.productPresellAttr.final_price * goods.cart_num).toFixed(2) }} - - - {{ goods.productPresell.final_start_time | filterDay}}开始支付尾款 - + + + {{item.store_name}} + + + ¥{{item.price}} - - - - - - - {{goods.product.store_name}} - {{goods.productAttr.sku}} - - - - ¥{{goods.productAssistAttr.assist_price}} - - - ¥{{goods.activeSku.active_price}} - - - ¥{{goods.productAttr.price}} - - X{{goods.cart_num}} - - - - - - 不支持快递 - 不支持到店核销 - - - - - 此商品不支持该区域配送 - - - - - - - - - - -
{{agrementTtile}}
- - - +
+ - 支付方式 + 支付方式 {{userInfo.now_money}} - - {{moneyInfo.extract_money}} - @@ -140,204 +61,101 @@ {{userInfo.now_money}} - - {{moneyInfo.extract_money}} -
+ 商品总价: - ¥{{proPrice}} + ¥{{payForm.money}} - - 运费: - ¥{{couponData.order_total_postage}} - - - 店铺优惠金额: - -¥{{coupon_price}} - - - 积分抵扣: - - 当前积分{{userInfo.integral}} - 使用了{{integral_count}}个积分,抵扣{{integral_price}}元 - - - - - - - - 平台优惠券 - - - 优惠¥{{total_platform_coupon_price}} - 暂未选择优惠券 + + + 补贴抵扣 + + + -¥{{consumption_money||'0.00'}} + 有补贴补贴未选 - 暂无优惠券 + 暂无抵扣红包 - - 运费: - +¥{{priceGroup.storePostage}} - + 合计: - ¥{{totalPrice || 0}} - - - 优惠:¥ {{couponData.total_coupon}} - 优惠明细 + ¥0.00 + ¥{{ total_coupon }} {{couponData.status != "noAddress" ? '提交订单':'选择地址'}} + + + + + + + - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/pages/payment/settlement.vue b/pages/payment/settlement.vue index 9996d22..5c3176a 100644 --- a/pages/payment/settlement.vue +++ b/pages/payment/settlement.vue @@ -3,34 +3,110 @@ - + - {{payForm.merName}} + {{item.mer_name}} - - - - - - - - - {{item.store_name}} + + + + + - - ¥{{item.price}} + + 预售{{goods.productPresell.store_name}} + + {{goods.productAttr.sku}} + + ¥{{goods.productPresellAttr.presell_price}} + X{{goods.cart_num}} + + 发货时间: + + {{goods.productPresell.delivery_type === 1 ? '支付后' : '预售结束后'}}{{ goods.productPresell.delivery_day }}天内 + + {{ goods.productPresell.delivery_type === 1 ? '付尾款后' : '预售结束后' }}{{ goods.productPresell.delivery_day }}天内 + + + + 此商品不支持该区域配送 + + + + + + + 定金 + ¥{{ (goods.productPresellAttr.down_price * goods.cart_num).toFixed(2) }} + + + 尾款 + ¥{{ (goods.productPresellAttr.final_price * goods.cart_num).toFixed(2) }} + + + {{ goods.productPresell.final_start_time | filterDay}}开始支付尾款 + - + + + + + + + {{goods.product.store_name}} + {{goods.productAttr.sku}} + + + + ¥{{goods.productAssistAttr.assist_price}} + + + ¥{{goods.activeSku.active_price}} + + + ¥{{goods.productAttr.price}} + + X{{goods.cart_num}} + + + + + + 不支持快递 + 不支持到店核销 + + + + + 此商品不支持该区域配送 + + + + + + + + + + +
{{agrementTtile}}
+ + +
- - 支付方式 + 支付方式 {{userInfo.now_money}} + + {{moneyInfo.extract_money}} + @@ -61,101 +140,204 @@ {{userInfo.now_money}} + + {{moneyInfo.extract_money}} +
- 商品总价: - ¥{{payForm.money}} + ¥{{proPrice}} - - - 补贴抵扣 - - - -¥{{consumption_money||'0.00'}} - 有补贴补贴未选 + + 运费: + ¥{{couponData.order_total_postage}} + + + 店铺优惠金额: + -¥{{coupon_price}} + + + 积分抵扣: + + 当前积分{{userInfo.integral}} + 使用了{{integral_count}}个积分,抵扣{{integral_price}}元 + + + + + + + + 平台优惠券 + + + 优惠¥{{total_platform_coupon_price}} + 暂未选择优惠券 - 暂无抵扣红包 + 暂无优惠券 + + 运费: + +¥{{priceGroup.storePostage}} + - 合计: - ¥0.00 - ¥{{ total_coupon }} + ¥{{totalPrice || 0}} + + + 优惠:¥ {{couponData.total_coupon}} + 优惠明细 - {{couponData.status != "noAddress" ? '提交订单':'选择地址'}} + {{'提交订单'}} - - - - - - - + + + + + + + + + + + + + + + + + + + + \ No newline at end of file