invitation.vue
3.5 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<template>
<view class="inactive">
<u-navbar :back-icon-color="'#FFFFFF'" :is-back="true" title="邀请好友" :title-color="'#FFFFFF'" :background="background"></u-navbar>
<view class="invitationContainer flex flexColumn justifyC alignC">
<image src="/static/evering/ic_img_invitatio.png" class="invitationContainerImage"></image>
<view class="firstBox flex flexColumn alignC">
<view class="firstBoxTitle">已邀请人数</view>
<view class="firstBoxText">100人</view>
</view>
<view class="twoBox flex flexColumn justifyBetween">
<view class="twoBoxContainer flex">
<image src="/static/evering/ic_icon.png" mode="widthFix"></image>
<view class="twoBoxContainerText">生成专属邀请码</view>
</view>
<view class="line1" style="width: 574rpx;height: 1rpx; background-color: #8F939C;"></view>
<view class="twoBoxContainer flex">
<image src="/static/evering/ic_List.png" mode="widthFix"></image>
<view class="twoBoxContainerText">查看邀请列表</view>
</view>
</view>
<view class="thirdBox flex flexColumn justifyBetween alignC">
<image src="/static/evering/yaoqingshuoming.png" mode=""></image>
<view class="thirdContainerBox">1.邀请列表</view>
<view class="thirdContainerBox">2.邀请列表</view>
<view class="thirdContainerBoxT">3.邀请列表</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
background: {
// 渐变色
backgroundImage: 'linear-gradient(135deg, rgba(255, 148, 48, 1) 0%, rgba(254, 206, 51, 1) 100%)'
}
};
},
methods: {}
};
</script>
<style>
.inactive {
background: linear-gradient(60deg, rgba(255, 148, 48, 1) 0%, rgba(254, 206, 51, 1) 100%);
padding: 0 32rpx;
}
.invitationContainerImage {
margin-top: 20rpx;
width: 612rpx;
height: 490rpx;
}
.firstBox {
width: 686rpx;
height: 346rpx;
border-radius: 12rpx;
opacity: 1;
margin-top: -16rpx;
padding-top: 80rpx;
background: rgba(255, 255, 255, 1);
box-shadow: 0 16rpx 32rpx 0 rgba(94, 119, 156, 0.08);
}
.firstBoxTitle {
height: 44rpx;
color: rgba(0, 0, 0, 1);
font-size: 32rpx;
font-weight: 400;
font-family: 'PingFang SC';
text-align: center;
line-height: 44rpx;
letter-spacing: 0.6rpx;
}
.firstBoxText {
margin-top: 72rpx;
height: 78rpx;
opacity: 1;
color: rgba(25, 24, 51, 0.9);
font-size: 72rpx;
font-weight: 700;
font-family: 'D-DIN';
text-align: center;
}
.twoBox {
padding: 28rpx 56rpx;
width: 686rpx;
height: 210rpx;
margin-top: 36rpx;
border-radius: 12rpx;
opacity: 1;
background: rgba(255, 255, 255, 1);
box-shadow: 0 16rpx 32rpx 0 rgba(94, 119, 156, 0.08);
}
.twoBoxContainer image {
width: 40rpx;
height: 40rpx;
}
.twoBoxContainerText {
margin-left: 16rpx;
width: 196rpx;
height: 40rpx;
opacity: 1;
color: rgba(50, 50, 51, 1);
font-size: 28rpx;
font-weight: 400;
font-family: 'PingFang SC';
text-align: center;
line-height: 40rpx;
}
.thirdBox {
width: 686rpx;
height: 406rpx;
margin-top: 28rpx;
margin-bottom: 46rpx;
padding-top: 34rpx;
border-radius: 12rpx;
opacity: 1;
background: rgba(255, 255, 255, 1);
box-shadow: 0 16rpx 32rpx 0 rgba(94, 119, 156, 0.08);
}
.thirdBox image {
width: 244rpx;
height: 54rpx;
margin-bottom: 44rpx;
}
.thirdContainerBox {
width: 574rpx;
height: 70rpx;
color: rgba(50, 50, 51, 1);
font-size: 26rpx;
font-weight: 400;
margin-bottom: 32rpx;
border-bottom: 1rpx solid rgba(235, 237, 240, 1);
}
.thirdContainerBoxT{
width: 574rpx;
height: 70rpx;
color: rgba(50, 50, 51, 1);
font-size: 26rpx;
font-weight: 400;
margin-bottom: 32rpx;
}
</style>