myIntegral.vue
2.4 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
121
122
123
124
125
126
127
128
<template>
<view class="page">
<view class="box">
<view class="myIntegral">
<view class="title">当前积分</view>
<view class="num">19720</view>
</view>
<view class="banner">
<image src="../../static/choujian.png" mode="widthFix"></image>
</view>
<view class="list">
<view class="xtitle">积分收支明细</view>
<view class="item">
<view class="left">
<view class="name">积分抽奖</view>
<view class="time">2019.10.10 9:50</view>
</view>
<view class="money">-20</view>
</view>
<view class="item">
<view class="left">
<view class="name">购物积分</view>
<view class="time">2019.10.10 9:50</view>
</view>
<view class="money">-20</view>
</view>
<view class="item">
<view class="left">
<view class="name">积分抵扣</view>
<view class="time">2019.10.10 9:50</view>
</view>
<view class="money">-20</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
.box{
background: #fff;
}
.myIntegral{
padding: 60rpx 0 42rpx;
box-sizing: border-box;
}
.title{
font-size:32rpx;
font-family:PingFangHK-Regular,PingFangHK;
font-weight:400;
color:rgba(8,18,31,1);
text-align: center;
}
.num{
font-size:72rpx;
font-family:PingFangHK-Medium,PingFangHK;
font-weight:500;
color:rgba(194,148,69,1);
text-align: center;
margin-top: 32rpx;
}
.banner{
width:100%x;
height:260rpx;
background:rgba(247,247,247,1);
display: flex;
align-items: center;
justify-content: center;
}
.banner image{
width: 686rpx;
}
.list{
padding: 0 36rpx;
box-sizing: border-box;
}
.xtitle{
height: 92rpx;
display: flex;
align-items: center;
font-size:32rpx;
font-family:PingFangSC-Medium,PingFang SC;
font-weight:600;
color:rgba(35,35,35,1);
}
.item{
height: 128rpx;
border-top: 1px solid #EEEEEE;
display: flex;
align-items: center;
justify-content: space-between;
}
.left{
width: 50^;
}
.name{
font-size:32rpx;
font-family:PingFangSC-Regular,PingFang SC;
font-weight:400;
color:rgba(35,35,35,1);
}
.time{
font-size:24rpx;
font-family:PingFangSC-Medium,PingFang SC;
font-weight:500;
color:rgba(187,194,203,1);
margin-top: 10rpx;
}
.money{
font-size:36rpx;
font-family:PingFangSC-Regular,PingFang SC;
font-weight:400;
color:rgba(255,148,23,1);
}
</style>