Showing
5 changed files
with
18 additions
and
1 deletions
@@ -20,7 +20,8 @@ exports.detail = (req, res, next) => { | @@ -20,7 +20,8 @@ exports.detail = (req, res, next) => { | ||
20 | pageHeader: headerModel.setNav({ | 20 | pageHeader: headerModel.setNav({ |
21 | navTitle: '优惠套餐', | 21 | navTitle: '优惠套餐', |
22 | navBtn: false | 22 | navBtn: false |
23 | - }) | 23 | + }), |
24 | + localCss: true | ||
24 | }, result)); | 25 | }, result)); |
25 | }).catch(next); | 26 | }).catch(next); |
26 | }; | 27 | }; |
@@ -16,6 +16,9 @@ | @@ -16,6 +16,9 @@ | ||
16 | <div class="chose-panel"></div> | 16 | <div class="chose-panel"></div> |
17 | {{# bundleInfo}} | 17 | {{# bundleInfo}} |
18 | <div class="bundle-bar clearfix"> | 18 | <div class="bundle-bar clearfix"> |
19 | + {{#if @root.isApp}} | ||
20 | + <div class="no-buy">抱歉,套装商品仅支持在最新版app购买,请升级!</div> | ||
21 | + {{^}} | ||
19 | <div class="bundle-bar-md"> | 22 | <div class="bundle-bar-md"> |
20 | <div class="bundle-price"> | 23 | <div class="bundle-price"> |
21 | {{#if subPrice}} | 24 | {{#if subPrice}} |
@@ -26,6 +29,9 @@ | @@ -26,6 +29,9 @@ | ||
26 | <div class="sale-price">销售价: {{salesPriceStr}}</div> | 29 | <div class="sale-price">销售价: {{salesPriceStr}}</div> |
27 | </div> | 30 | </div> |
28 | <button id="bundle-buy-now" class="bundle-buy-btn">立即购买</button> | 31 | <button id="bundle-buy-now" class="bundle-buy-btn">立即购买</button> |
32 | + {{/if}} | ||
33 | + | ||
34 | + | ||
29 | </div> | 35 | </div> |
30 | <input type="hidden" id="activityId" value="{{bundleId}}"> | 36 | <input type="hidden" id="activityId" value="{{bundleId}}"> |
31 | {{/ bundleInfo}} | 37 | {{/ bundleInfo}} |
@@ -67,6 +67,12 @@ | @@ -67,6 +67,12 @@ | ||
67 | background-color: #fff; | 67 | background-color: #fff; |
68 | padding: 15px 30px; | 68 | padding: 15px 30px; |
69 | 69 | ||
70 | + .no-buy { | ||
71 | + height: 92px; | ||
72 | + line-height: 92px; | ||
73 | + color: #d0021b; | ||
74 | + } | ||
75 | + | ||
70 | .bundle-bar-md { | 76 | .bundle-bar-md { |
71 | width: 400px; | 77 | width: 400px; |
72 | display: inline-block; | 78 | display: inline-block; |
public/scss/product/bundle/detail.page.css
0 → 100644
-
Please register or login to post a comment