service.vue
1.88 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
<template>
<div class="wrap">
<div class="fl left">
<span>车辆管理</span>
</div>
<ul class="fl right">
<li>
<span>我的钱包</span>
</li>
<li>
<span>账户余额</span>
</li>
<li>
<span>我的卡券</span>
</li>
<li>
<span>停车订单</span>
</li>
<li>
<span>欠费订单</span>
</li>
<li>
<span>个人中心</span>
</li>
</ul>
</div>
</template>
<script>
export default {
name: 'service'
}
</script>
<style scoped lang="scss">
.wrap {
/*width: 1150px;*/
margin: 46px auto 0;
font-size: 20px;
}
.left {
width: 212px;
height: 443px;
padding-top: 267px;
background: rgba(255, 86, 86, 1) url("../assets/service/car.png") center 170px no-repeat;
cursor: pointer;
}
.right{
width: 710px;
li{
width:212px;
height:212px;
float: left;
margin-left: 24px;
margin-bottom: 19px;
padding-top: 130px;
background-position: center 60px;
background-repeat: no-repeat;
cursor: pointer;
&:nth-of-type(1){
background-color: #FFB537;
background-image: url("../assets/service/money.png");
}
&:nth-of-type(2){
background-color: #34C27B;
background-image: url("../assets/service/balance.png");
}
&:nth-of-type(3){
background-color: #FC7C9B;
background-image: url("../assets/service/card.png");
}
&:nth-of-type(4){
background-color: #44BAF3;
background-image: url("../assets/service/manage.png");
}
&:nth-of-type(5){
background-color: #FD8D8D;
background-image: url("../assets/service/order.png");
}
&:nth-of-type(6){
background-color: #89D8FD;
background-image: url("../assets/service/person.png");
}
}
}
</style>