myStore.vue 3.6 KB
<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>