Browse Source

下单提斯

master
jiazhipeng 4 months ago
parent
commit
b1a7bbe34c
  1. 2
      app.js
  2. 4
      pages/order/orderList/index.wxml
  3. 2
      pages/order/postOrder/index.wxml
  4. 4
      pages/order/scene/index.wxml
  5. 2
      pages/user/cartlist/list.js
  6. 3
      subPackages/feiyiNew/index.js
  7. 4
      subPackages/gwcOrder/index.wxml
  8. 3
      subPackages/postSearch/index.js
  9. 2
      subPackages/techanCart/index.js
  10. 3
      subPackages/techanNew/index.js

2
app.js

@ -39,7 +39,7 @@ App({
// 获取前端配置文件
commonApi._post("pbservice/Other/getClientConfig", {unique_key: "wechatxcx"}).then(res => {
let data = JSON.parse(res.data);
data.isTest = data.isTest159? true : false;
data.isTest = data.isTest158? true : false;
data.indexSeason = null
this.globalData.configJson = data
}).then(() => {

4
pages/order/orderList/index.wxml

@ -1,10 +1,10 @@
<wxs src="../../../utils/filter.wxs" module="tool" />
<title title="订单列表"></title>
<!-- <view class="warning-tip" >
<view class="warning-tip" wx:if="{{coupon}}">
<image src="https://static.ticket.sz-trip.com/uploads/20251210/9cad73fff1eaf21f66aa34da4951b2fb.png"></image>
购买须知:使用优惠券的组合订单均不支持部分退款
</view> -->
</view>
<!-- 邮寄 -->
<view class="box" wx:if="{{postList.length != 0}}">

2
pages/order/postOrder/index.wxml

@ -36,7 +36,7 @@
</view>
<view class="sku-info-container">
<view class="warning-tip" wx:if="{{false}}">
<view class="warning-tip" wx:if="{{flag=='mix'||(from=='cart'&&coupon)}}">
<image src="https://static.ticket.sz-trip.com/uploads/20251210/9cad73fff1eaf21f66aa34da4951b2fb.png"></image>
购买须知:使用优惠券的组合订单均不支持部分退款
</view>

4
pages/order/scene/index.wxml

@ -58,8 +58,8 @@
</view> -->
</view>
<view class="{{isCartBuy&&coupon?'warning-container':''}}">
<view class="warning-tip" wx:if="{{isCartBuy&&coupon}}">
<view class="{{flag=='mix'||(isCartBuy&&coupon)?'warning-container':''}}">
<view class="warning-tip" wx:if="{{flag=='mix'||(isCartBuy&&coupon)}}">
<image src="https://static.ticket.sz-trip.com/uploads/20251210/9cad73fff1eaf21f66aa34da4951b2fb.png"></image>
购买须知:使用优惠券的组合订单均不支持部分退款
</view>

2
pages/user/cartlist/list.js

@ -268,7 +268,7 @@ Page({
app.globalData.postProduct = product;
// 是否从购物车下单
// app.globalData.isCartBuy = true;
app.globalData.isCartBuy = true;
if (app.globalData.list) {
app.globalData.product = app.globalData.list[app.globalData.index]

3
subPackages/feiyiNew/index.js

@ -311,6 +311,8 @@ Page({
})
console.log(product1);
app.globalData.postProduct = product;
// 是否从购物车下单
app.globalData.isCartBuy = true;
if (app.globalData.list) {
app.globalData.product = app.globalData.list[app.globalData.index]
}
@ -763,6 +765,7 @@ Page({
// flag:true
// })
// this.getList()
app.globalData.isCartBuy = true;
},
/**

4
subPackages/gwcOrder/index.wxml

@ -22,8 +22,8 @@
</view>
</view>
<view class="{{isCartBuy?'warning-container':''}}">
<view class="warning-tip" wx:if="{{isCartBuy}}">
<view class="{{isCartBuy&&coupon?'warning-container':''}}">
<view class="warning-tip" wx:if="{{isCartBuy&&coupon}}">
<image src="https://static.ticket.sz-trip.com/uploads/20251210/9cad73fff1eaf21f66aa34da4951b2fb.png"></image>
购买须知:使用优惠券的组合订单均不支持部分退款
</view>

3
subPackages/postSearch/index.js

@ -246,6 +246,8 @@ Page({
})
console.log(product1);
app.globalData.postProduct = product;
// 是否从购物车下单
app.globalData.isCartBuy = true;
if (app.globalData.list) {
app.globalData.product = app.globalData.list[app.globalData.index]
}
@ -592,6 +594,7 @@ openPopup() {
})
this.getHeight()
this.getCount()
app.globalData.isCartBuy = true;
},
/**

2
subPackages/techanCart/index.js

@ -209,6 +209,8 @@ Page({
if (app.globalData.list) {
app.globalData.product = app.globalData.list[app.globalData.index]
}
// 是否从购物车下单
app.globalData.isCartBuy = true;
if (this.data.productType == 'post') {
console.log(this.data.flag);
wx.navigateTo({

3
subPackages/techanNew/index.js

@ -325,6 +325,8 @@ Page({
if (app.globalData.list) {
app.globalData.product = app.globalData.list[app.globalData.index]
}
// 是否从购物车下单
app.globalData.isCartBuy = true;
wx.navigateTo({
url: '/pages/order/postOrder/index?from=cart&flag=' + this.data.flag,
})
@ -783,6 +785,7 @@ Page({
// debugger
this.getCount()
}
app.globalData.isCartBuy = true;
// debugger
},

Loading…
Cancel
Save