Authored by Lynnic

update

... ... @@ -1127,12 +1127,14 @@
'goodsDescription' : {
'title' : '商品描述',
'enTitle' : 'DESCRIPTON',
'detail' : [
{
'param' : '编号: 51018059'
},
...
],
'detail' : {
'list':[
{
'param' : '编号: 51018059'
},
...
]
},
'desc': 'balabala'
},
... ...
... ... @@ -54,18 +54,20 @@ $basicBtnC:#eb0313;
font-size: pxToRem(24px);
line-height: pxToRem(36px);
&.table {
display: table;
width: 100%;
.row {
display: table-row;
// .row {
// display: table-row;
.column {
box-sizing:border-box;
display: table-cell;
padding: 0.4em 0.8em;
padding: pxToRem(16px) pxToRem(12px);
width: 50%;
border: 1px solid #fff;
font-size: pxToRem(24px);
background-color: $tableCellC;
float:left;
}
}
// }
}
}
}
... ... @@ -198,19 +200,20 @@ $basicBtnC:#eb0313;
}
.vip-img{
padding-right: pxToRem(22px);
img{
.img{
width: pxToRem(52px);
height: pxToRem(32px);
}
&:nth-child(3n-3) {
&:nth-child(3n-3) .img{
background: image-url('product/silver.png') no-repeat;
}
&:nth-child(3n-2) {
&:nth-child(3n-2) .img{
background: image-url('product/golden.png') no-repeat;
}
&:nth-child(3n-1) {
&:nth-child(3n-1) .img{
background: image-url('product/platinum.png') no-repeat;
}
}
.vip-price {
padding-right: pxToRem(55px);
... ...
... ... @@ -35,7 +35,7 @@
<div class="vipLevel">
{{# list}}
<span class="vip-img">
<img class="img" alt="">
<div class="img" alt=""></div>
</span>
<span class="vip-price">{{text}}</span>
{{/ list}}
... ...
... ... @@ -7,11 +7,11 @@
</h1>
{{#detail}}
<ul class="detail table clearfix">
{{# list}}
<li class="row">
<!-- <li class="row"> -->
{{#list}}
<div class="column">{{param}}</div>
</li>
{{/ list}}
{{/list}}
<!-- </li> -->
</ul>
{{/detail}}
<div class="desc-text">{{desc}}</div>
... ...