| 
					
				 | 
			
			
				@@ -1,50 +1,71 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	<view class="pages"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	<view class=""> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<u-navbar 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			title="我的优惠券" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			:placeholder="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			:autoBack="false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			 @leftClick="leftClick" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			@leftClick="leftClick" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			 :safeAreaInsetTop="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		</u-navbar> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<view class="tabs-wrap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			<view class="inner"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				<u-tabs 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					:list="tabsArr"   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					@click="tabsClick" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					lineColor="#ED0000"  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					lineWidth="82rpx" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					:activeStyle="{color: '#2D2D2D',fontWeight: 'bold'}" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					itemStyle="width:33%; height: 46px;box-sizing:border-box" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				</u-tabs> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<u-tabs  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			:list="tabsList"  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			lineColor="#3B49BF"  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 :activeStyle="{color:'#333','font-weight': '600','font-size':'30rpx'}" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 :inactiveStyle="{color:'#999'}" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 :itemStyle="{width:'28%','padding-bottom':'20rpx'}" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			@click="tabsClick"></u-tabs> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		<view class="page-wrap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			<mescroll-body class="" ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				<!-- :down="downOption" :up="upOption" --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				<view class="list"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					<view v-for="(item,index) in dataList" class="list-item u-flex" :class="{hotel:index==1}" :key="item.id" :style="{backgroundImage:`url(${staticUrl}/img/coupon-bg.png)`}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						<view class="left u-flex u-row-center u-col-top"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<text class="icon">¥</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<text class="num">30</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						<view class="right u-flex u-row-between"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<view class="text"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								<view class="name">演出购票折扣券</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								<view class="time">有限期:2023.10.22-2023.10.22</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								<view class="rule u-flex"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									使用规则 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									<u-icon name="arrow-right" color="#D56442" size="30rpx"></u-icon> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		<mescroll-body class="" ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback" :down="downOption" :up="upOption"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<view class="page-wrap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<view class="coupon-activity u-flex u-row-right" @click="$u.route('/center/couponlist',{})" :style="{backgroundImage:`url(${staticUrl}/img/coupon-activity.png)`}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					<view class="u-flex"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						活动中心 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<u-icon name="arrow-right" color="#fff" size="30rpx"></u-icon> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<view class="coupon-list"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					<view class="item" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						:class="{disable:item.status==2}"  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						:style="{backgroundImage:`url(${staticUrl}/img/coupon-active-bg.png)`,filter:item.status!=1?'grayscale(100%)':''}" v-for="item in dataList" :key="item.id"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<view class="content u-flex"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<view class="left"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								<view class="quota"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									<text v-if="item.type == 1">¥</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									<text class="number" :class="{'small': String(item.quota).length>=3}">{{item.quota}}</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									<text v-if="item.type == 2">%</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								<view class="condition" v-if="item.useThresholdType == 2"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									消费满{{item.useThresholdAmount}}可用 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<view class="btn">去使用</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<view class="center"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								<view class="name" :class="{'small': String(item.couponName).length>=9}">{{item.couponName}}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								<view class="tip"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									有效期至 {{item.endTime||''}} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<view class="right"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								<text class="btn" @click="couponClick(item)" v-if="item.status == 1">去使用</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								<text class="btn" @click="couponClick(item)" v-if="item.status == 2">已使用</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								<text class="btn" @click="couponClick(item)" v-if="item.status == 3">已过期</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								<text class="btn" @click="couponClick(item)" v-if="item.status == 4">已作废</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								<!-- <view class="time"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									<view class="">{{item.startTime}}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									<view class="">{{item.endTime}}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								</view> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<view class="type" v-if="item.type == 1">满减券</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<view class="type" v-else-if="item.type == 2">折扣卷</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<image class="status-img" :src="staticUrl+'/img/coupon-status-shiyong.png'" v-if="item.status == 2"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<image class="status-img" :src="staticUrl+'/img/coupon-status-guoqi.png'" v-if="item.status == 3"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<image class="status-img" :src="staticUrl+'/img/coupon-status-guoqi.png'" v-if="item.status == 4"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			</mescroll-body> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		</mescroll-body> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -53,44 +74,34 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	import MescrollMixin from "@/uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		mixins: [MescrollMixin], // 使用mixin 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		components: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		data() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				staticUrl:this.$commonConfig.staticUrl, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// // 下拉刷新的配置(可选, 绝大部分情况无需配置) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// downOption: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// // 上拉加载的配置(可选, 绝大部分情况无需配置) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// upOption: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	page: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		size: 10 // 每页数据的数量,默认10 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	noMoreSize: 5, // 配置列表的总数量要大于等于5条才显示'-- END --'的提示 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	empty: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		tip: '暂无相关数据' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				downOption: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				// 上拉加载的配置(可选, 绝大部分情况无需配置) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				upOption: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					page: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						size: 10 // 每页数据的数量,默认10 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					noMoreSize: 5, // 配置列表的总数量要大于等于5条才显示'-- END --'的提示 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					empty: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						tip: '暂无相关数据' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				tabsList:[{name:'待使用',recordType:1},{name:'已使用',recordType:2},{name:'已过期',recordType:3}], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				params:{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					status:'' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				dataList:[ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					{name:'路线推荐',pic:`${this.$commonConfig.staticUrl}/img/indexnav-luxian.png`,id:1}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					{name:'路线推荐',pic:`${this.$commonConfig.staticUrl}/img/indexnav-luxian.png`,id:1}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				tabsArr:[ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					{name:'待使用',status:0}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					{name:'已使用',status:1}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					{name:'已过期',status:2} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				status:0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				activeIndex:0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				dataList: [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		onShow() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		onLoad() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			this.params.status = this.tabsList[this.activeIndex].recordType; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// console.log('1111', this.tabsList[this.activeIndex]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			leftClick(e){ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -113,26 +124,20 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				// } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				// 如果希望先请求其他接口,再触发upCallback,可参考以下写法 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// if(!this.hasTypeId){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	this.mescroll.endErr();//没有接口暂时不调用 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				// if(!this.params.id){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				// 	this.mescroll.endErr() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				// 	return // 此处return,先获取xx 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				// } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				let pageNum = page.num; // 页码, 默认从1开始 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				let pageSize = page.size; // 页长, 默认每页10条 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				let params = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					pageNum : page.num, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					pageSize :  page.size, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					status:this.status 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// console.log('this.params',params); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				this.$u.api.orderList(params).then(data => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					this.hasfetch = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				let pageSize = page.size; // 页长, 默认每页10条isAsc:0//时间排序 0:降序 1:升序 (默认星级降序排序) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				this.params = Object.assign(this.params,{pageNum:pageNum,pageSize:pageSize}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				this.$u.api.myCouponList(this.params).then(data => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					console.log('data',JSON.parse(JSON.stringify(data))); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					// 接口返回的当前页数据列表 (数组) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					let curPageData = data.data.rows; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					// console.log('curPageData',JSON.parse(JSON.stringify(curPageData))); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					console.log('curPageData',JSON.parse(JSON.stringify(curPageData))); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					// 接口返回的当前页数据长度 (如列表有26个数据,当前页返回8个,则curPageLen=8) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					let curPageLen = curPageData.length;  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					// 接口返回的总页数 (如列表有26个数据,每页10条,共3页; 则totalPage=3) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -160,94 +165,37 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			reloadList() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				this.mescroll.resetUpScroll(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			search(e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				this.reloadList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			tabsClick(e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				console.log('tabsClick',e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				this.status = e.status; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				this.reloadList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// this.tabsIndex = e.index; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			tabsClick(item){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				this.params.status = item.recordType; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				this.reloadList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				// console.log('item',item); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			couponClick(item){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				if(item.status==1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					uni.$u.route('/pages/index/index'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+page{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	background-color: #f5f5f5; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+</style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <style lang="scss" scoped> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 .tabs-wrap{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	position: relative; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	margin-bottom: 24rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(226,226,226,0.5); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	background-color: #fff; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	margin-bottom: 10rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-.list{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	.list-item{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		width: 100%; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		height: 158rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		background-repeat: no-repeat; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		background-size: 100% 100%; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		margin-bottom: 24rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		.left{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			width: 190rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			.icon{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				width: 26rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				height: 26rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				line-height: 26rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				text-align: center; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				font-size: 10px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				color: #fff; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				border-radius: 50%; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				background: linear-gradient(360deg, #ED0000 0%, #F27C7D 100%); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			.num{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				font-size: 100rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				font-family: Helvetica, Helvetica; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				font-weight: bold; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				color: #000000; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				background: linear-gradient(180deg, #F28082 0%, #ED0000 100%); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				-webkit-background-clip: text; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				-webkit-text-fill-color: transparent; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		.right{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			flex: 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			padding: 32rpx 20rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			.text{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				padding-left: 10rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				color: #D56442; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				font-size: 20rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				font-weight: 400; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			.name{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				font-size: 28rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				font-weight: bold; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				color: #C5412B; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				margin-bottom: 16rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			.time{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				margin-bottom: 16rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			.btn{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				height: 50rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				line-height: 50rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				background: #ED0000; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				border-radius: 25rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				font-size: 24rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				font-weight: bold; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				color: #FFFFFF; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				padding: 0 24rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		&.hotel{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			.num{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				background: linear-gradient(180deg, #F77941 0%, #E84816 100%); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				background: linear-gradient(180deg, #F77941 0%, #E84816 100%); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				-webkit-background-clip: text; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				-webkit-text-fill-color: transparent; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			.icon{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				background: linear-gradient(360deg, #E84917 0%, #F97E45 100%); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+.coupon-activity{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	height: 120rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	background-size: 100%; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	color: #fff; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	font-weight: 500; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	font-size: 24rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	padding-right: 15rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	margin-bottom: 14rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </style> 
			 |