-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbenefit.vue
More file actions
84 lines (71 loc) · 1.53 KB
/
Copy pathbenefit.vue
File metadata and controls
84 lines (71 loc) · 1.53 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
<template>
<div class="Discounts">
<!--小蓝头部-->
<div class="head">
<van-nav-bar left-arrow title="我的优惠" @click-left="onClickLeft"/>
</div>
<!--优惠页面-->
<div class="header_link text-center">
<router-link :to="{path:'/hongbao'}">红包</router-link>
<router-link :to="{path:'/DaiJinQuan'}">商家代金券</router-link>
</div>
<RouterView></RouterView>
</div>
</template>
<script>
import HongBao from "./HongBao";
export default {
name: "benefit",
components:{HongBao},
methods: {
onClickLeft() {
this.$router.push({path:'/mine'})
},
},
}
</script>
<style scoped>
.header_link_a a {
font-size: 0.7rem;
color: #aaa;
}
.packet_right_left h4:nth-child(1) {
margin-bottom: 0;
}
.packet_right_left p:nth-child(2),
.packet_right_left p:nth-child(3) {
font-size: 0.1rem;
margin-bottom: 0;
}
.packet_left p:nth-child(3) {
font-size: 0.1rem;
color: #aaaaaa;
}
.packet_left span:nth-child(1) {
font-size: 0.8rem;
}
.packet_left span {
color: #ff5340;
font-size: 1.5rem;
}
.discountsMD b {
color: red;
}
.discountsMD img {
width: 0.6rem;
}
.header_link {
background: white;
}
.header_link a {
width: 7.9rem;
height: 3rem;
line-height: 2.5rem;
display: inline-block;
color: black;
}
.header img {
width: 0.8rem;
height: 0.8rem;
}
</style>