Authored by linlong

SKU重叠

@@ -19,15 +19,17 @@ @@ -19,15 +19,17 @@
19 [[each goodsList as item index]] 19 [[each goodsList as item index]]
20 <div class="form-group"> 20 <div class="form-group">
21 <div class="fm-side col-sm-2"> 21 <div class="fm-side col-sm-2">
22 - <div class="goods-img"> 22 + <div class="goods-img-left">
23 <p>SKC: [[item.productSkc]]</p> 23 <p>SKC: [[item.productSkc]]</p>
24 <p>[[item.goodsName]]</p> 24 <p>[[item.goodsName]]</p>
25 <p>[[item.factoryGoodsName || '']]</p> 25 <p>[[item.factoryGoodsName || '']]</p>
26 - <table><tr>  
27 - <td valign='top'>SKU:</td>  
28 - <td> 26 + <table ><tr>
  27 + <td valign='top'>SKU:</td><td></td></tr>
  28 + <tr><td>
29 [[each item.goodsSizeList as item2 index2]] 29 [[each item.goodsSizeList as item2 index2]]
30 - [[item2.productSku || '']] 30 + [[item2.productSku || '']]&nbsp;
  31 + [[if index2%2==0]] </td><td>[[/if]]
  32 + [[if index2%2==1]] </td></tr><tr><td>[[/if]]
31 [[/each]]</td> 33 [[/each]]</td>
32 </tr></table> 34 </tr></table>
33 </div> 35 </div>
@@ -118,6 +118,38 @@ input[type=date], input[type=time], input[type=datetime-local], input[type=month @@ -118,6 +118,38 @@ input[type=date], input[type=time], input[type=datetime-local], input[type=month
118 } 118 }
119 } 119 }
120 } 120 }
  121 +
  122 +.goods-img-left {
  123 + position: relative;
  124 + width: 110px;
  125 + height: 180px;
  126 +
  127 +
  128 + .fileinput-button-icon {
  129 + width: 100%;
  130 + height: 100%;
  131 + line-height: 150px;
  132 + overflow: hidden;
  133 +
  134 + img {
  135 + max-width: 100%;
  136 + max-height: 100%;
  137 + }
  138 + }
  139 +
  140 + .remove-item-btn {
  141 + position: absolute;
  142 + font-size: 20px;
  143 + top: -10px;
  144 + right: -10px;
  145 + cursor: pointer;
  146 + color: #ccc;
  147 +
  148 + &:hover {
  149 + color: #000;
  150 + }
  151 + }
  152 +}
121 .poseditimg{ 153 .poseditimg{
122 position: relative; 154 position: relative;
123 width: auto; 155 width: auto;