studioDetail.vue
2.94 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<template>
<div>
<div>
<div class="box">
<el-card class="mt30 borderRadius10">
<h3>{{ form.name }}
<div class="tagbox">
<span>专业团队</span>
<span>大牌化妆品</span>
<span>金牌化妆师</span>
<span>连锁</span>
</div>
</h3>
<p class="infoLine">
<span>
<el-icon><OfficeBuilding/></el-icon>
成立<i class="text-primary">6</i>年
</span>
<span>
<el-icon><User/></el-icon>
<i class="text-primary">12</i>名化妆师
</span>
<span><el-icon><Iphone/></el-icon>
800-820-8820</span>
<span><el-icon><Location/></el-icon>
江苏无锡梁溪区南长街5D-601</span>
</p>
</el-card>
<el-row :gutter="20" class="photoWall mt20">
<el-col :span="9">
<el-image class="as16_9"/>
</el-col>
<el-col :span="5">
<el-row :gutter="20">
<el-col :span="12" class="h50-10px"><el-image/></el-col>
<el-col :span="12" class="h50-10px"><el-image/></el-col>
<el-col :span="24" class="h50-10px mt20"><el-image/></el-col>
</el-row>
</el-col>
<el-col :span="5">
<el-image/>
</el-col>
<el-col :span="5">
<el-row :gutter="20">
<el-col :span="12" class="h50-10px"><el-image/></el-col>
<el-col :span="12" class="h50-10px"><el-image/></el-col>
<el-col :span="24" class="h50-10px mt20"><el-image/></el-col>
</el-row>
</el-col>
</el-row>
<el-card class="mt20 mb60">
</el-card>
</div>
</div>
</div>
</template>
<script setup>
import {ref} from "vue"
const form = ref({
name: '美妆小店'
})
</script>
<style scoped lang="scss">
.tagbox {
margin: 15px 0;
a {
color: #AFB5B9;
font-size: 12px;
}
span {
border-radius: 13px;
font-size: 12px;
padding: 4px 10px;
margin-right: 10px;
font-weight: 400;
}
span:nth-child(4n) {
background: rgba(50, 177, 108, 0.2);
color: rgba(50, 177, 108, 1);
}
span:nth-child(4n+1) {
background: rgba(243, 152, 0, 0.2);
color: rgba(243, 152, 0, 1);
}
span:nth-child(4n+2) {
background: rgba(0, 160, 233, 0.2);
color: rgba(0, 160, 233, 1);
}
span:nth-child(4n+3) {
background: rgba(247, 64, 166, 0.2);
color: rgba(247, 64, 166, 1);
}
}
.infoLine{font-weight: 400;margin: 7px 0;
font-size: 14px;
color: #929AA0;
i{font-style: normal;}
span{margin-right: 10px;
i.text-primary{padding: 0 4px;}
}
.el-icon{position: relative;top:2px;margin-right: 4px;}
}
.photoWall{
.el-row{height: 100%;}
.el-image{
width: 100%;border-radius: 10px;height: 100%;
}
}
.h50-10px{height: calc(50% - 10px)}
</style>