Authored by 毕凯

Merge branch 'feature/detail-yohonow' into 'master'

yohonow 商品详情页修改



See merge request !1363
@@ -49,7 +49,7 @@ const index = (req, res) => { @@ -49,7 +49,7 @@ const index = (req, res) => {
49 }, 49 },
50 navBtn: false 50 navBtn: false
51 }), 51 }),
52 - isWechat: req.yoho.isWechat || req.yoho.isMarsApp // 默认判断微信,mars下同微信 52 + isWechat: req.yoho.isWechat || req.yoho.isMarsApp || req.yoho.isNowApp // 默认判断微信,mars下同微信
53 })); 53 }));
54 }; 54 };
55 55
@@ -104,6 +104,7 @@ setTimeout(() => { @@ -104,6 +104,7 @@ setTimeout(() => {
104 if (data.studentPrice) { 104 if (data.studentPrice) {
105 data.studentPrice = Math.round(data.studentPrice.toString().replace('¥', '')); 105 data.studentPrice = Math.round(data.studentPrice.toString().replace('¥', ''));
106 } 106 }
  107 +
107 $('#placeholder-pricedata').replaceWith(priceDataHbs(data)); 108 $('#placeholder-pricedata').replaceWith(priceDataHbs(data));
108 109
109 $('#placeholder-infodata').replaceWith(infoDataHbs(data)); 110 $('#placeholder-infodata').replaceWith(infoDataHbs(data));
@@ -213,3 +213,15 @@ @@ -213,3 +213,15 @@
213 border-bottom: 25PX solid #323232; 213 border-bottom: 25PX solid #323232;
214 border-radius: 0 0 25PX; 214 border-radius: 0 0 25PX;
215 } 215 }
  216 +
  217 +.is-now-app {
  218 + .op-row {
  219 + .back-to-top {
  220 + display: none;
  221 + }
  222 +
  223 + .float-top {
  224 + display: none;
  225 + }
  226 + }
  227 +}
@@ -1296,3 +1296,11 @@ iframe { @@ -1296,3 +1296,11 @@ iframe {
1296 } 1296 }
1297 } 1297 }
1298 } 1298 }
  1299 +
  1300 +.is-now-app {
  1301 + .cart-bar {
  1302 + .fav {
  1303 + visibility: hidden;
  1304 + }
  1305 + }
  1306 +}
@@ -715,3 +715,9 @@ @@ -715,3 +715,9 @@
715 display: none; 715 display: none;
716 } 716 }
717 } 717 }
  718 +
  719 +.is-now-app {
  720 + .not-collect {
  721 + display: none;
  722 + }
  723 +}
@@ -82,3 +82,9 @@ @@ -82,3 +82,9 @@
82 display: none; 82 display: none;
83 } 83 }
84 } 84 }
  85 +
  86 +.is-now-app {
  87 + .not-collect {
  88 + display: none;
  89 + }
  90 +}