Merge branch 'feature/detail-yohonow' into 'master'
yohonow 商品详情页修改 See merge request !1363
Showing
6 changed files
with
34 additions
and
1 deletions
@@ -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 | +} |
-
Please register or login to post a comment