Commit df7441698a5d93d4e64645f1a52afd14cf26c7f5

Authored by WXD-SEASON\season
2 parents 929bcec7 b67f6cf0

Merge branch 'test' of http://git.vipzhuang.cn/wxd/MShopWeApp into qa

packageE/pages/cart/cart2/cart2.js
@@ -8165,7 +8165,7 @@ Page({ @@ -8165,7 +8165,7 @@ Page({
8165 if (arr.length <= 0) return false; 8165 if (arr.length <= 0) return false;
8166 if (arr.length == 1) { 8166 if (arr.length == 1) {
8167 var idx = arr[0].idx; 8167 var idx = arr[0].idx;
8168 - t_item.goods[idx].quan_num = Math.floor(coupon_price * 100) / 100; 8168 + t_item.goods[idx].quan_num =coupon_price;
8169 t_item.goods[idx].quan_no = t_item.quan_no; 8169 t_item.goods[idx].quan_no = t_item.quan_no;
8170 return false; 8170 return false;
8171 } 8171 }
pages/template/index.js
@@ -58,15 +58,21 @@ Page({ @@ -58,15 +58,21 @@ Page({
58 wx.setNavigationBarTitle({ 58 wx.setNavigationBarTitle({
59 title: getApp().globalData.config.store_name, 59 title: getApp().globalData.config.store_name,
60 }); 60 });
  61 + // th.setData({
  62 + // nav_title: getApp().globalData.config.store_name
  63 + // })
61 th.setData({ 64 th.setData({
62 - nav_title: getApp().globalData.config.store_name 65 + nav_title: th.data.share_title
63 }) 66 })
64 } else { 67 } else {
65 wx.setNavigationBarTitle({ 68 wx.setNavigationBarTitle({
66 title: getApp().globalData.setting.appName, 69 title: getApp().globalData.setting.appName,
67 }); 70 });
  71 + // th.setData({
  72 + // nav_title: getApp().globalData.setting.appName,
  73 + // })
68 th.setData({ 74 th.setData({
69 - nav_title: getApp().globalData.setting.appName, 75 + nav_title: th.data.share_title
70 }) 76 })
71 }; 77 };
72 }); 78 });
@@ -124,6 +130,9 @@ Page({ @@ -124,6 +130,9 @@ Page({
124 wx.setNavigationBarTitle({ 130 wx.setNavigationBarTitle({
125 title: temp_data.page_title, 131 title: temp_data.page_title,
126 }); 132 });
  133 + th.setData({
  134 + nav_title: temp_data.page_title,
  135 + })
127 var t_arr = JSON.parse(temp_data.json_str); 136 var t_arr = JSON.parse(temp_data.json_str);
128 //增加判断是否是满屏 137 //增加判断是否是满屏
129 let is_full_screen_navigation = false 138 let is_full_screen_navigation = false