myStore.vue
3.6 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<template>
<view class="myStore">
<u-navbar title="我的门店" placeholder bgColor="#111" leftIconColor="#fff" :titleStyle="titleStyle" :autoBack="true" />
<!-- 续费列表 -->
<view class="list m-top20">
<view class="item">
<view class="left">
<image style="width: 100%;height: 100%;" src="@/static/myImg/Werewolf-kills.png" mode=""></image>
</view>
<view class="right">
<view class="col-f f-32 l-h-42 f-w-500">狼人杀</view>
<text class="col-9 f-24 l-h-32">2025-06-25到期</text>
<view class="btn">续费</view>
</view>
</view>
<view class="item">
<view class="left">
<image style="width: 100%;height: 100%;" src="@/static/myImg/Script-killing.png" mode=""></image>
</view>
<view class="right">
<view class="col-f f-32 l-h-42 f-w-500">剧本杀</view>
<text class="col-9 f-24 l-h-32">2025-06-25到期</text>
<view class="btn">续费</view>
</view>
</view>
<view class="item">
<view class="left">
<image style="width: 100%;height: 100%;" src="@/static/myImg/Escape-room.png" mode=""></image>
</view>
<view class="right">
<view class="col-f f-32 l-h-42 f-w-500">密室逃脱</view>
<text class="col-9 f-24 l-h-32">门店未激活</text>
<view class="btn">去激活</view>
</view>
</view>
</view>
<!-- 套餐特惠 -->
<view>
<view class="col-f f-36 l-h-48 f-w-500 mb-20 mt-60">套餐特惠</view>
<view class="taocan_box">
<view class="haeder">
<view class="left">
<image style="width: 100%;height: 100%;" src="../static/bg1.png" mode=""></image>
</view>
<view class="right">
<view class="col-f f-28 l-h-38 f-w-500 mb-10">联合套餐更实惠</view>
<text class="col-9 f-24 l-h-32">【狼人杀+剧本杀】尝鲜价</text>
</view>
</view>
<view class="btn_1">立即体验</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
titleStyle: {
fontSzie: '36rpx',
lineHeight: '48rpx',
color: '#fff',
fontWeight: 500
}
};
}
}
</script>
<style lang="scss" scoped>
.myStore{
position: relative;
padding: 0 30rpx;
min-height: 100vh;
background-color: #111;
&::before{
content: '';
position: absolute;
top: -30%;
left: -40%;
width: 400rpx;
height: 400rpx;
background: #FFE1AA;
filter: blur(150px);
z-index: 99;
}
.list{
padding: 0 30rpx;
background-color: #252429;
border-radius: 12rpx;
.item{
display: flex;
align-items: center;
border-bottom: 2rpx solid #444;
padding: 30rpx 0;
.left{
width: 100rpx;
height: 100rpx;
border-radius: 12rpx;
overflow: hidden;
margin-right: 20rpx;
}
.right{
position: relative;
height: 100rpx;
flex: 1;
.btn{
position: absolute;
top: 50%;
right: 0;
transform: translateY(-50%);
width: 120rpx;
height: 48rpx;
font-size: 24rpx;
line-height: 48rpx;
color: #834703;
text-align: center;
background: #F9DEA3;
border-radius: 200rpx;
}
}
&:last-child{
border-bottom: 0;
}
}
}
}
.taocan_box{
padding: 30rpx;
background: #252429;
border-radius: 12rpx;
.haeder{
display: flex;
align-items: center;
.left{
width: 160rpx;
height: 142rpx;
margin-right: 20rpx;
overflow: hidden;
}
.right{
height: 142rpx;
padding-top: 42rpx;
box-sizing: border-box;
}
}
.btn_1{
height: 72rpx;
background: linear-gradient( 270deg, #4F4C4A 0%, #373534 100%);
border-radius: 200rpx;
line-height: 72rpx;
text-align: center;
color: #F9DEA3;
font-size: 28rpx;
margin-top: 30rpx;
}
}
</style>