...
|
...
|
@@ -11,8 +11,6 @@ |
|
|
</div>
|
|
|
<div class="name"><span>{{product.product_name}}</span></div>
|
|
|
<div class="price"><i>¥</i>{{product.price}}</div>
|
|
|
|
|
|
<ImgSize v-if="product.customize_tag && product.customize_tag.length" class="item-tag" :src="product.customize_tag[0].url2" :width="200" :height="60"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -20,13 +18,11 @@ |
|
|
|
|
|
<script>
|
|
|
import SquareImg from './square-img';
|
|
|
import ImgSize from '../../../components/img-size';
|
|
|
|
|
|
export default {
|
|
|
name: 'TopList',
|
|
|
components: {
|
|
|
SquareImg,
|
|
|
ImgSize
|
|
|
SquareImg
|
|
|
},
|
|
|
props: {
|
|
|
list: {
|
...
|
...
|
@@ -101,14 +97,6 @@ export default { |
|
|
overflow: hidden;
|
|
|
}
|
|
|
|
|
|
.item-tag {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 10px;
|
|
|
width: 84px;
|
|
|
height: 26px;
|
|
|
}
|
|
|
|
|
|
.name {
|
|
|
width: 200px;
|
|
|
margin: 0 auto 8px;
|
...
|
...
|
|