Merge branch 'testBLK' into portal_dev_4.9
Showing
2 changed files
with
4 additions
and
0 deletions
@@ -101,10 +101,12 @@ | @@ -101,10 +101,12 @@ | ||
101 | <ul> | 101 | <ul> |
102 | [[if resources.newProducts.data.length > 0]] | 102 | [[if resources.newProducts.data.length > 0]] |
103 | [[each resources.newProducts.data as item _index]] | 103 | [[each resources.newProducts.data as item _index]] |
104 | + [[if _index < 8]] | ||
104 | <li> | 105 | <li> |
105 | <img src="[[item.src]]"> | 106 | <img src="[[item.src]]"> |
106 | <div class="productInfo"><a href="javascript:">[[item.productName]]</a><b>¥[[item.salesPrice]]</b></div> | 107 | <div class="productInfo"><a href="javascript:">[[item.productName]]</a><b>¥[[item.salesPrice]]</b></div> |
107 | </li> | 108 | </li> |
109 | + [[/if]] | ||
108 | [[/each]] | 110 | [[/each]] |
109 | [[else]] | 111 | [[else]] |
110 | <li> | 112 | <li> |
@@ -101,10 +101,12 @@ | @@ -101,10 +101,12 @@ | ||
101 | <ul> | 101 | <ul> |
102 | [[if resources.newProducts.data.length > 0]] | 102 | [[if resources.newProducts.data.length > 0]] |
103 | [[each resources.newProducts.data as item _index]] | 103 | [[each resources.newProducts.data as item _index]] |
104 | + [[if _index < 8]] | ||
104 | <li> | 105 | <li> |
105 | <img src="[[item.src]]"> | 106 | <img src="[[item.src]]"> |
106 | <div class="productInfo"><a href="javascript:">[[item.productName]]</a><b>¥[[item.salesPrice]]</b></div> | 107 | <div class="productInfo"><a href="javascript:">[[item.productName]]</a><b>¥[[item.salesPrice]]</b></div> |
107 | </li> | 108 | </li> |
109 | + [[/if]] | ||
108 | [[/each]] | 110 | [[/each]] |
109 | [[else]] | 111 | [[else]] |
110 | <li> | 112 | <li> |
-
Please register or login to post a comment