Commit efc66b48 by 张立顺

fix bug修复

1 parent e92ad90b
...@@ -18,7 +18,7 @@ export const appId = "wx570d9331f9ace0bd"; ...@@ -18,7 +18,7 @@ export const appId = "wx570d9331f9ace0bd";
* 4预发布 * 4预发布
* 5cdptest * 5cdptest
*/ */
let index = 1; let index = 2;
const accountInfo = wx.getAccountInfoSync(); const accountInfo = wx.getAccountInfoSync();
const systemInfo = wx.getSystemInfoSync(); const systemInfo = wx.getSystemInfoSync();
const envName = accountInfo.miniProgram.envVersion; const envName = accountInfo.miniProgram.envVersion;
......
...@@ -26,6 +26,8 @@ Page({ ...@@ -26,6 +26,8 @@ Page({
skylight: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/skylight.png", skylight: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/skylight.png",
tricorn: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/tricorn.png", tricorn: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/tricorn.png",
windshield: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/windshield.png", windshield: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/windshield.png",
sideIcorn: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/sideIcon.png",
afterIcorn: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/afterIcon.png",
scanIcon: scanIcon:
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/ocr_icon.png", "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/ocr_icon.png",
selectIcon: selectIcon:
......
...@@ -19,6 +19,11 @@ Page({ ...@@ -19,6 +19,11 @@ Page({
IMG_URL: ImgUrl, IMG_URL: ImgUrl,
scanIcon: scanIcon:
'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/ocr_icon.png', 'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/ocr_icon.png',
skylight: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/skylight.png",
tricorn: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/tricorn.png",
windshield: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/windshield.png",
sideIcorn: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/sideIcon.png",
afterIcorn: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/afterIcon.png",
name: 'createdOrder', name: 'createdOrder',
shortcutList: [], shortcutList: [],
phoneShow: false, phoneShow: false,
...@@ -119,7 +124,7 @@ Page({ ...@@ -119,7 +124,7 @@ Page({
customerSex: detail.customer.customerSex, customerSex: detail.customer.customerSex,
customerPhone: detail.customer.customerPhone, customerPhone: detail.customer.customerPhone,
customerCouponCode: detail.customerCoupon?.customerCouponCode, customerCouponCode: detail.customerCoupon?.customerCouponCode,
customerCouponId: detail.customerCoupon?.customerCouponId, // 客户券id customerCouponId: detail?.customerCouponId, // 客户券id
carBrandId: detail.customer.carBrandId, carBrandId: detail.customer.carBrandId,
carBrand: detail.customer.carBrand, carBrand: detail.customer.carBrand,
carChildsBrandId: detail.customer.carChildsBrandId, carChildsBrandId: detail.customer.carChildsBrandId,
...@@ -977,11 +982,11 @@ Page({ ...@@ -977,11 +982,11 @@ Page({
/** /**
* 生命周期函数--监听页面初次渲染完成 * 生命周期函数--监听页面初次渲染完成
*/ */
onReady: function (res) {}, onReady: function (res) { },
/** /**
* 生命周期函数--监听页面显示 * 生命周期函数--监听页面显示
*/ */
onShow: function (res) {}, onShow: function (res) { },
onRoute(res) { onRoute(res) {
console.log(res, 'onroute') console.log(res, 'onroute')
this.setData({ isExpiredTraffic: res?.isExpiredTraffic }) this.setData({ isExpiredTraffic: res?.isExpiredTraffic })
...@@ -1008,25 +1013,25 @@ Page({ ...@@ -1008,25 +1013,25 @@ Page({
/** /**
* 生命周期函数--监听页面隐藏 * 生命周期函数--监听页面隐藏
*/ */
onHide: function () {}, onHide: function () { },
onUnload: () => {}, onUnload: () => { },
/** /**
* 生命周期函数--监听页面卸载 * 生命周期函数--监听页面卸载
*/ */
onUnload: function () {}, onUnload: function () { },
/** /**
* 页面相关事件处理函数--监听用户下拉动作 * 页面相关事件处理函数--监听用户下拉动作
*/ */
onPullDownRefresh: function () {}, onPullDownRefresh: function () { },
/** /**
* 页面上拉触底事件的处理函数 * 页面上拉触底事件的处理函数
*/ */
onReachBottom: function () {}, onReachBottom: function () { },
/** /**
* 用户点击右上角分享 * 用户点击右上角分享
*/ */
onShareAppMessage: function () {} onShareAppMessage: function () { }
}) })
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!