Vsetion.vue
1.69 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
<template>
<div class="detail-section displayFlex" :style="{height:setionheight,'flex-direction':rowReverse}">
<div class="detail-section-bg" :style="{backgroundImage:'url('+bgImg+')'}"></div>
<div class="detail-section-list pos-rel">
<div>
<p class="detail-list-title">{{mytitle}}</p>
<ul class="detail-list">
<li v-for="(list,index) in insideList" :key="index">
{{list}}
</li>
</ul>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'Vsetion',
props:{
mytitle: String,
rowReverse:String,
setionheight:String,
bgImg:String,
insideList:{
type:Array
}
}
}
</script>
<style scoped lang="scss">
.detail-section{
width: 1100px;
margin: 94px auto 0;
>div{
flex: 1;
}
}
.detail-section-bg{
background: url("../assets/images/enterprise/inside.png") no-repeat center center;
background-repeat: no-repeat;
background-position: center center;
}
.detail-section-list{
text-align: left;
div{
@include pos-middle;
}
}
.detail-list-title{
display: inline-block;
padding: 4px 10px 2px;
margin-bottom: 10px;
text-align: left;
background: #14BACE;
font-size: 24px;
color: #fff;
border-radius: 2px;
}
.detail-list li{
margin-top: 10px;
font-size: 16px;
color: rgba(0,0,0,.6);
white-space: nowrap;
position: relative;
padding-left: 19px;
&:before{
content: '';
width: 6px;
height: 6px;
position: absolute;
border-radius: 50%;
top:50%;
left: 5px;
transform: translateY(-50%);
background-color: #70CCBB;
}
}
</style>