|
@@ -11,8 +11,6 @@ |
|
@@ -11,8 +11,6 @@ |
11
|
</div>
|
11
|
</div>
|
12
|
<div class="name"><span>{{product.product_name}}</span></div>
|
12
|
<div class="name"><span>{{product.product_name}}</span></div>
|
13
|
<div class="price"><i>¥</i>{{product.price}}</div>
|
13
|
<div class="price"><i>¥</i>{{product.price}}</div>
|
14
|
-
|
|
|
15
|
- <ImgSize v-if="product.customize_tag && product.customize_tag.length" class="item-tag" :src="product.customize_tag[0].url2" :width="200" :height="60"/>
|
|
|
16
|
</div>
|
14
|
</div>
|
17
|
</div>
|
15
|
</div>
|
18
|
</div>
|
16
|
</div>
|
|
@@ -20,13 +18,11 @@ |
|
@@ -20,13 +18,11 @@ |
20
|
|
18
|
|
21
|
<script>
|
19
|
<script>
|
22
|
import SquareImg from './square-img';
|
20
|
import SquareImg from './square-img';
|
23
|
-import ImgSize from '../../../components/img-size';
|
|
|
24
|
|
21
|
|
25
|
export default {
|
22
|
export default {
|
26
|
name: 'TopList',
|
23
|
name: 'TopList',
|
27
|
components: {
|
24
|
components: {
|
28
|
- SquareImg,
|
|
|
29
|
- ImgSize
|
25
|
+ SquareImg
|
30
|
},
|
26
|
},
|
31
|
props: {
|
27
|
props: {
|
32
|
list: {
|
28
|
list: {
|
|
@@ -101,14 +97,6 @@ export default { |
|
@@ -101,14 +97,6 @@ export default { |
101
|
overflow: hidden;
|
97
|
overflow: hidden;
|
102
|
}
|
98
|
}
|
103
|
|
99
|
|
104
|
- .item-tag {
|
|
|
105
|
- position: absolute;
|
|
|
106
|
- top: 0;
|
|
|
107
|
- left: 10px;
|
|
|
108
|
- width: 84px;
|
|
|
109
|
- height: 26px;
|
|
|
110
|
- }
|
|
|
111
|
-
|
|
|
112
|
.name {
|
100
|
.name {
|
113
|
width: 200px;
|
101
|
width: 200px;
|
114
|
margin: 0 auto 8px;
|
102
|
margin: 0 auto 8px;
|