intro-model-bos.vue
1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<template>
<div class="intro-model-bos">
<div class="horizon-wrapper" v-once>
<table class="table">
<thead>
<tr>
<th>模特</th>
<th>身高</th>
<th>体重</th>
<th>三围</th>
<th>吊牌尺码</th>
<th>试穿描述</th>
</tr>
</thead>
<tbody>
<tr v-for="item in value" :key="item.modelName">
<td>
<img class="model-avatar" :src="item.avatar"/>
<span class="model-name">{{item.modelName}}</span>
</td>
<td>{{item.height}}</td>
<td>{{item.weight}}</td>
<td>{{item.vitalStatistics}}</td>
<td>{{item.fitModelBo.fit_size}}</td>
<td>{{item.fitModelBo.feel}}</td>
</tr>
</tbody>
</table>
</div>
<i class="info">提示:左滑查看完整表格信息</i>
</div>
</template>
<script>
export default {
name: 'IntroModelBos',
props: {
value: [Array]
}
};
</script>
<style lang="scss">
.intro-model-bos {
.horizon-wrapper {
overflow-x: scroll;
.table {
border-collapse: collapse;
width: 100%;
th {
background: #f6f6f6;
}
th,
td {
border: 1px solid #eee;
min-width: 170px;
line-height: 66px;
text-align: center;
}
}
}
i.info {
font-style: normal;
color: #b0b0b0;
margin-top: 24px;
display: block;
font-size: 18px;
}
}
</style>