<template>
	<view class="content">
		<view class="content-top">
			<view class="bgimg">
				<view class="bgimg-top">
					
					<view class="view-top">
						<view class="view-top-left">
							<span>上级</span>
							<span>平台</span>
						</view>
						<view class="view-top-right" @click="showModal">
							<image src="../../../static/map2.png" mode=""></image>
							<span>渠道码</span>
						</view>
					</view>
					<view class="mian-list">
						<view class="list-view">
							<view class="money">{{listData.income}}</view>
							<view class="list-title">订单总金额不含手续费</view>
						</view>
						<view class="list-view">
							<view class="money">{{listData.withdrawal}}</view>
							<view class="list-title">订单数量</view>
						</view>
						<view class="list-view">
							<view class="money">{{listData.notCredited}}</view>
							<view class="list-title">总佣金不含手续费</view>
						</view>
					</view>
					<view class="mian-title" style="position: relative;">
						<view class="mian-title-top">
							<view class="detail-btn" @click="goNav('/pages/my/applyBroker/withdrawalRecord')">
								提现记录
							</view>
							<view class="detail-btn" @click="goNav('/pages/my/applyBroker/withdrawal')">
								申请提现
							</view>
						</view>
					</view>
				</view>
			</view>
			<view class="fenlei">
				<u-search class="flex-sub" placeholder="请输入服务名称/订单号" :focus="false" shape="square" v-model="artificerName"
					:show-action="true" :animation="true" bg-color="#fff" color="#019c88" @search="onSearch()"
					action-text="搜索" @custom="onSearch()" @clear="clear">
				</u-search>
				<span @click="toggle" class="screen-button">筛选</span>
				<!-- <z-tabs class="z-tabs-fenlei" :list="tabList" @change="tabChange" @changeClick="changeClick"/> -->
			</view>
			<view class="liebiao">
				<view v-if="orderList.length" class="flex text-center flex-wrap list-view">
					<view class="margin-bottom-sm radius touxiang-left">
						<view class="flex align-center touxiang-left-view" v-for="(item, index) in orderList" :key='index' @click="goOrder(item)">
							<view class="touxiang-left-content">
								<image style="border: 2px solid #e2e2e2;" class="touxiang-left-content-img"  :src="item.artificerImg ? item.artificerImg : '../../../static/logo.png'" @click.stop="saveImgs(item.artificerImg)" mode="aspectFill"></image>
								<image  class="touxiang-left-content-img" v-if="item.isHot == 1" src="https://admin.sjajk.com/file/uploadPath/2023/02/16/9ae1b7e9fa931b5fc24cd8edecc10d9f.png"></image>
								<image class="touxiang-frame" :src="item.technicianType=='3'?'../../../static/vip/grade1-1.gif':item.technicianType=='4'?'../../../static/vip/grade2-1.gif':'../../../static/vip/grade3-1.gif'"></image>
							</view>
							<view class="list-right">
								<view class="flex align-center" style="justify-content: start;">
									<view class="flex align-center list-right-top">
										<view class="list-right-top-view">
											<view class="flex">
												<span class="list-right-top-name">{{ item.artificerName }}</span>
												<!-- <span class="label-word">{{ item.artificerClassifyList[0].classifyName }}</span> -->
											</view>
											<view class="keyuyue keyuyue-lan" v-if="item.status == 1">
													<view class="flex">
														<view class="timea-fu">可服务</view>
														<view class="timea-time">{{item.time}}</view>
													</view>
											</view>
											<view class="keyuyue keyuyue-hui" v-else>
												<view class="flex">
													<view class="timea-hui">休息中</view>
												</view>
											</view>
			
										</view>
									</view>
								</view>
								<view class="item-view-jianjie">
									{{item.content}}
								</view>
								<view class="therapist-mian-top">
									<view class="therap-pin">
			
										<span>评论</span>
										<span class="therapist-mian-view-text">
											{{ item.commentCount ? item.commentCount : 0 }}
										</span>
									</view>
									<view class="therap-pin">
			
										<span>收藏</span>
										<span class="therapist-mian-view-text">
											{{ item.collectCount ? item.collectCount : 0 }}
										</span>
									</view>
								</view>
								<view class="flex  thera-lin thera-bottom">
									<view class="flex align-center" v-if="item.distance">
										<view><image class="therapist-bottom-dingwei" src="../../../static/dituzhaoren6.png"></image></view>
										<view class="therapist-bottom-dingwei-text">
											{{ item.distance }}
										</view>
									</view>
									<view class="flex" v-if="item.consortiaName">
										<image class="therapist-bottom-img" src="../../../static/dituzhaoren5.png"></image>
										<view  v-if="item.consortiaName" class="therapist-mian-bottom-text">{{item.consortiaName}}</view>
									</view>
			
								</view>
							</view>
						</view>
					</view>
				</view>
				<empty v-if="orderList.length == 0"></empty>
			</view>
			<!-- 筛选 -->
			<u-popup v-model="showpay" mode="top" :closeable="closeable">
				<view class="popup_pay">
					<view style="background-color: #fff;">
						<view style="padding: 0 20upx;margin-top: 60rpx;margin-bottom: 20rpx;">
							<view class="popup-top">
								<view class="popup-top-one flex"><image style="width:30rpx; height:30rpx; margin-top:4rpx;margin-right: 4rpx;" src="../../../static/shezhi9.png"></image><span>技师等级</span></view>
								<z-tabs class="z-tabs-fenlei" :list="tabList" @changeClick="changeClick"/>
							</view>
							<view class="popup-top">
								<view class="popup-top-one flex"><image style="width:30rpx; height:30rpx; margin-top:4rpx; margin-right: 4rpx;" src="../../../static/shezhi10.png"></image><span>技师类型</span></view>
								<uni-data-checkbox selectedColor="#019c88" multiple v-model="selectedValues" :localdata="tabListSon" @change="changeClickSon"></uni-data-checkbox>
							</view>
						</view>
					</view>
					<view class="pay_btn" @click="quding">确认</view>
				</view>
			</u-popup>
			<tki-qrcode ref="qrcode" :val="url" :size="200" background="#fff" foreground="#000" pdground="#000"
				:onval="true" :loadMake="true" @result="qrR" :show="false"></tki-qrcode>
			<view class="cu-modal" :class="modalName == 'Image' ? 'show' : ''" @tap="hideModal">
				<view class="cu-dialog" v-if="backgroundImage && erweimapath && haibaoShow" @tap="hideModal">
					<view class="bg-img">
						<wm-poster @success="posterSuccess" :imgSrc="backgroundImage" :Referrer="'我的邀请码:'+invitationCode"
							:QrSrc="erweimapath" :Title="tuiguang" :LineType="false"></wm-poster>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>
<script>
	import empty from '@/components/empty.vue'
	import tkiQrcode from '@/components/tki-qrcode/tki-qrcode.vue';
	import wmPoster from '@/components/wm-poster/wm-posterorders.vue';
	export default {
		components: {
			wmPoster,
			tkiQrcode,
			empty
		},
		data() {
			return {
				closeable: true,
				tabList:[
					{
						id: 3,
						name: "",
						value: "资深",
					},
					{
						id: 4,
						name: "",
						value: "金牌",
					},
					{
						id: 5,
						name: "",
						value: "专家",
					},
				],
				tabListSon:[],
				selectedValues: [], // 存储选中的值
				artificerName:"",
				url: '',
				avatar: '',
				listData:[],
				haibaoImg: null,
				haibaoShow: false,
				modalName: '',
				backgroundImage:'',
				invitationCode: '',
				erweimapath: '',
				tuiguang: '',
				showpay:false,
				orderList:[],
				classifyId:[],
				technicianType:'',
				city:'请选择城市'
			}
		},
		onLoad() {			
			this.avatar = uni.getStorageSync('avatar')
			this.getData();
			this.getBackImageList();
			this.getUserInfo();
			this.getlist();
			this.tabNavSon();
			this.$Request.getT('/app/common/type/116').then(res => {
				if (res.code === 0) {
					if (res.data && res.data.value) {
						this.tuiguang = res.data.value;
						this.tuiguang1 = res.data.value;
					}
				}
			});
			//检测书否开启APP微信分享
			this.$Request.getT('/app/common/type/136').then(res => {
				if (res.code === 0) {
					if (res.data && res.data.value) {
						this.isShowWxAPPShare = res.data.value;
					}
				}
			});
			// #ifndef H5
			this.$Request.getT('/app/common/type/25').then(res => {
				if (res.code === 0) {
					if (res.data && res.data.value) {
						this.url = res.data.value;
					}
				}
			});
			//#endif
		},
		onShareAppMessage(res) {
			return {
				path: '/pages/index/index?invitation=' + this.invitationCode, //这是为了传参   onload(data){let id=data.id;} 
				title: this.tuiguang,
				imageUrl: this.bgImg
			}
		},
		methods:{
			getlist() {
				var that=this;
				let index = 2
				let data = {
					artificerName: that.artificerName,
					classifyId: that.classifyId,
					page: that.page,
					limit: that.limit,
					technicianType:that.technicianType,
					by: index, //价格
					latitude: that.latitude,
					longitude: that.longitude,
					city: that.city
				}
				that.$Request.get("/app/artificer/selectArtificerList", data).then(res => {
					that.loading = false;
					if (res.code == 0) {
						for (var i = 0; i < res.data.list.length; i++) {
							if (res.data.list[i].lifePhoto) {
								res.data.list[i].lifePhoto = res.data.list[i].lifePhoto.split(',')
							}
							if (res.data.list[i].distance > 1000) {
								res.data.list[i].distance = (res.data.list[i].distance / 1000).toFixed(1) +
									'km'
							} else {
								res.data.list[i].distance = (res.data.list[i].distance).toFixed(1) + 'm'
							}
			
						}
						if (that.page == 1) {
							that.orderList = res.data.list
						} else {
							that.orderList = [...that.orderList, ...res.data.list]
						}
			
					}
					uni.stopPullDownRefresh();
				})
			},
			quding(){
				this.getlist();
				this.showpay = false;
			},
			toggle() {
				this.technicianType=3;
				this.showpay = true;
			},
			tabNavSon(){
				let data = {
						  type: "服务类型",
						}
				this.$Request.get('/app/dict/list', data).then(res => {
					if (res.code == 0) {
						var list=[];
						for(var i=0;i<res.data.length;i++){
							list.push({
								text:res.data[i].value,
								value:res.data[i].id
							})
						}
						this.tabListSon=list;
						// this.classifyId=res.data[0].id;
						this.page = 1;
					}
				})
			},
			changeClickSon(item){
				var index = []
				for(var i=0;i<item.detail.data.length;i++){
					index.push(item.detail.data[i].value)
				}
			   this.classifyId = index.join(",")
			   this.artificerName='';
			   this.page=1;
			},
			changeClick(index,item){
				this.artificerName='';
				this.technicianType=item.id;
				this.page=1;
			},
			clear(res) {
				let that = this
				that.orderList=[];
				that.technicianType=3;
				that.selectedValues=[];
				that.getlist()
			},
			getUserInfo() {
				this.$Request.get("/app/user/selectUserById").then(res => {
					if (res.code == 0) {
						this.nickName = res.data.userName
						this.invitationCode = res.data.invitationCode
						this.userImageUrl = res.data.avatar ? res.data.avatar : '../../../static/logo.png'
						// #ifdef H5
						this.$Request.getT('/app/common/type/141').then(res => {
							if (res.code === 0) {
								if (res.data && res.data.value && res.data.value == '是') {
									this.$Request.getT('/app/common/type/25').then(ress => {
										if (ress.code === 0) {
											if (ress.data && ress.data.value) {
												this.url = ress.data.value;
											}
										}
									});
								} else {
									this.url = this.$queue.publicYuMingApp() + '/?invitation=' + this
										.invitationCode+"&flag=3";
								}
							}
						});
			
						//#endif
					}
				});
			},
			getBackImageList() {
				this.$Request.get("/app/commission/jjr/poster").then(res => {
					uni.hideLoading();
					if (res.code == 0) {
							this.backgroundImage = res.data.artificerImage;
					}
					console.log("res.data--->", this.backgroundImage);
				});
				// this.make();
			},
			make() {
				uQRCode.make({
					canvasId: 'default_PosterCanvasId',
					componentInstance: this,
					text: this.url,
					size: 68,
					margin: 4,
					backgroundColor: '#ffffff',
					foregroundColor: '#000000',
					fileType: 'jpg',
					correctLevel: uQRCode.errorCorrectLevel.H,
					success: res => {
						console.log(res)
					}
				})
			},
			hideModal() {
				this.modalName = null;
			},
			qrR(path) {
				this.erweimapath = path;
			},
			posterSuccess(haibaoImg) {
				this.haibaoImg = haibaoImg;
				this.modalName = 'Image';
			},
			showModal() {
				if (!this.haibaoImg) {
					this.haibaoShow = true;
					this.$queue.showLoading('海报生成中...');
				} else {
					this.modalName = 'Image';
				}
			},
			goNav(link){
				uni.navigateTo({
					url:link+'?navName='+'经纪人'
				})
			},
			getData(){
				this.$Request.get("/app/commission/jjr/myJjr").then(res => {
					console.log("res.data--->", res.data);
					if (res.code == 0) {
							this.listData=res.data
					}
				});
			}
		}
	}
</script>

<style scoped>
	/deep/.checklist-text{
		display:block;
		width: 100%;
		text-align: center;
	}
	/deep/.z-tabs-bottom{
		display:none;
	}
	.popup-top-one{
		width: 100%;
		text-align: left;
		font-size: 14px;
		font-weight: bold;
		margin-bottom: 10px;
		padding-left:40rpx;
	}
	.popup-top{
		display: flex;
		align-items: center;
		// padding: 20upx 0;
		justify-content: center;
		flex-direction: column;
	}
	.popup_pay {
		width: 100%;
		position: relative;
		padding-bottom: 45rpx;
		/* height: 160px; */
		/* #ifndef MP-WEIXIN */
		/* height: 130px; */
		/* #endif */
		border-radius: 30rpx;
	}
	
	.pay_btn {
		width: 90%;
		margin: 0 auto;
		text-align: center;
		background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
		height:80rpx;
		border-radius: 80rpx;
		color: #ffffff;
		line-height: 80rpx;
		font-size: 32rpx;
	}
	/deep/.checklist-box{
		margin: 11px 0 !important;
		margin-right: 0px !important;
		width: 33%;
	}
	/deep/.checklist-group{
		overflow-x: scroll;
	}
	/deep/.checklist-text{
		white-space: nowrap;
	}
	/deep/.checkbox__inner{
		display:none;
	}
	/deep/.checklist-group{
	    display: flex;
	    flex-direction: row;
	    justify-content: start;
	    margin: 0 auto;
	    // margin-left: 35px;
	}
	/deep/.u-close--top-right{
		margin-top:-8px;
	}
	.localName{
	    width: 220px;
	    margin-left: 4rpx;
	    font-weight: bold;
		font-size: 30rpx;
	    color: #333333;
	    margin-top: 1px;
	    overflow: hidden;
	    white-space: nowrap;
	    text-overflow: ellipsis;
	}
	.fenlei-img{
		width: 170rpx;
		height: 34rpx;
		margin: 0 20rpx;
	}
	.fenlei{
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		margin-top: 10rpx;
		margin-bottom: 10rpx;
		padding: 10px 0px;
		background: #fff;
	}
	/deep/.margin-bottom-sm{
		margin-bottom: 70px;
	}
	// /deep/.u-drawer,/deep/.u-mask-show{
	// 	z-index:11 !important;
	// }
	// /deep/.u-drawer-content-visible{
	// 	z-index:99 !important;
	// 	margin-bottom: 60px;
	// }
	.item-view-jianjie{
		font-weight: 400;
		font-size: 24rpx;
		color: #999;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2; /* 显示的行数，可以根据需要修改 */
		overflow: hidden;
		text-overflow: ellipsis;
		text-align: left;
	}
	.touxiang-frame{
		position: absolute;
		width: 190rpx;
		height: 190rpx;
		top:-8rpx;
		left:6rpx;
	}
	.dituList{
		width: 85%;
		height: 165px;
		display: flex;
		flex-direction: column;
		justify-content: space-around;
	}
	.liebiao{
		//height: 100vh;
		margin-top: 85px;
		display: flex;
		flex-direction: column;
	}
	.content-head{
		position: fixed;
		top: -7rpx;
		z-index: 999;
		width: 100%;
		background:#fff linear-gradient(60deg,rgba(115, 212, 183, 0.2),rgba(227, 251, 244, 0.1),rgba(193, 236, 223, 0.35));
		border-bottom:1rpx solid #c4ede1;
		background-repeat: no-repeat;
		background-size: 100% 100%;
		/* background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #f7f7f7), url('../../../static/background-img.png');
		background-position: center center;
		background-repeat: no-repeat; */
		background-size: cover;
		/* overflow: auto; */
	}
	.therapist-bottom-dingwei-text{
		font-size: 24rpx;
		color: #848485;
	}
	.therapist-bottom-dingwei{
		width:20rpx;
		height:24rpx;
		margin-right:3px;
	}
	.therapist-bottom-img{
		width: 26rpx;
		height: 26rpx;
		margin-right:3px;
		margin-top: 5rpx
	}
	.therapist-mian-bottom-text{
		font-weight: bold;
		font-size: 24rpx;
		color: #222222;
	}
	.therapist-mian-bottom{
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		margin-top: 10rpx;
	}
	.therapist-mian-view-text span{
		font-weight: 500;
		font-size: 26rpx;
		color: #222222;
	}
	.therapist-mian-view span{
		font-weight: 400;
		font-size: 26rpx;
		color: #7C8187;
		margin-right: 10px;
	}
	.therapist-mian-view image{
		width: 28rpx;
		height: 28rpx;
		margin-right: 2px;
	}
	/deep/.amap-logo{
		display:none !important;
	}
	.therapist-mian-view{
		display: flex;
		flex-direction:row;
		align-items: center;
	}
	.therapist-mian-top{
		width: 100%;
		display: flex;
		flex-direction:row;
		padding: 10rpx 0;
	}
	.therapist-mian{
		width: 100%;
		display: flex;
		flex-direction:column;
	}
	.list-right-top-bottom{
		width: 100%;
		text-align: left;
		font-weight: 400;
		font-size: 25rpx;
		color: #333333;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2; /* 显示的行数，可以根据需要修改 */
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.list-right-top-name{
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		text-align: left;
		font-weight: bold;
		font-size: 32rpx;
		color: #13141A;
	}
	.keyuyue{
		padding: 0rpx 10rpx;
		height: 44rpx;
		display: flex;
		flex-direction: row;
		align-items: center;
		border-radius:  30rpx 20rpx 20rpx 30rpx ;
		font-size: 24rpx;
	}
	.keyuyue-lan{
		background: #eefdf8;
	}
	.keyuyue-hui{
		background: #d9d9d9;
	}
	.timea-fu{
		color: #2dbe93;
		font-size: 24rpx;
		line-height: 44rpx;
		margin-left: 8rpx;
		margin-right: 5rpx;
	}
	.timea-hui{
		color: #ffffff;
		font-size: 24rpx;
		line-height: 44rpx;
		margin-left: 8rpx;
		margin-right: 5rpx;
	}
	.timea-img{
		background:#2dbe93 url('../../../static/timea.png') 2rpx 1rpx;
		background-size: 28rpx 28rpx;
		background-repeat: no-repeat;
		width: 30rpx;
		height: 30rpx;
		border-radius:8rpx;
		margin-top: 8rpx;
	}
	.timea-fu{
		font-size: 24rpx;
		color: #2dbe93;
		line-height: 44rpx;
		margin-left: 8rpx;
		margin-right: 5rpx;
	}
	.timea-time{
		font-size: 25rpx;
		color: #2dbe93;
		line-height: 44rpx;
		padding-right: 10rpx;
	}
	.list-right-top-view image{
		//width: 168.75rpx;
		height: 40.97rpx;
	}
	.list-right-top-view{
		width: 100%;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
	.list-right-top{
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.list-right{
		width: 72%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding: 16rpx;
	}
	.zpmore_view {
		position: absolute;
		bottom: -20rpx;
		left: 14rpx;
		color: #f9f3d3;
		background: linear-gradient(to right, #0a0c16, #4d4d53);
		width: 130upx;
		text-align: center;
		border-radius: 30rpx;
		height: 42rpx;
		line-height: 42rpx;
		font-size: 24rpx;
		margin-left: 10rpx;
	}
	.zpmore_view_left{
		width: 68.75rpx;
		height: 29.86rpx;
	}
	.img-span{
		padding: 1px 5px;
		font-weight: 400;
		font-size: 10px;
		color: #FFFFFF;
		background: linear-gradient(-90deg, #FF6F48, #FF9E69);
		border-radius: 7px 0px 7px 0px;
		position: absolute;
		bottom: 0px;
		right: 0;
		margin-bottom: 10px;
		margin-right: 10px;
	}
	// .zpmore_view_left image{
	// 	position: absolute;
	// 	bottom: 0px;
	// 	right: 0px;
	// 	margin: 0px 5px -16px 0px;
	// 	width: 68.75rpx;
	// 	height: 29.86rpx;
	// }
	.touxiang{
		width: 202.08rpx;
		height: 306.94rpx;
	}
	.touxiang-left-content{
		width: 180rpx;
		//width: 235.08rpx;
		height: auto;
		border-radius: 10rpx;
		position: relative;
	
	}
	.touxiang-left-content-img-ditu{
		width: 150rpx;
		height: 150rpx;
		border-radius:120rpx;
		margin: 0px 10px 0px 12px;
	}
	.touxiang-left-content-img{
		width: 150rpx;
		height: 150rpx;
		border-radius:120rpx;
		margin: 14rpx 22rpx;
	}
	.touxiang-left-view{
		width: 100%;
		height: 135px;
		border-radius: 18rpx;
		align-items: flex-start;
		background: #fff;
		margin-bottom: 12px;
		padding-bottom: 10px;
		justify-content: space-between;
		padding: 10rpx;
	}
	.touxiang-left{
		width: 100%;
		/* padding: 10px; */
		display: flex;
		flex-direction: column;
		align-items: baseline;
	}
	.list-view{
		// margin-top: 52px;
		padding: 0 20rpx;
		height: 100%;
		justify-content: space-between;
	}
	
	/deep/.justify-between{
		// width: 100px;
		// height: 32px;
		line-height: 32px;
		border-radius: 4px;
	}
	.padding-top-sm{
		width: 95%;
		margin: 0 auto;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
	/deep/.page-box{
		background: none !important;
	}
	/deep/.u-action{
		display: none;
	}
	.content{
		width: 100%;
		height: 100vh;
		background-position: center center;
		background-repeat: no-repeat;
		background-size: cover;
		// overflow: auto;
	}
	/deep/.u-content{
		height: 56rpx!important;
		border-radius: 30px !important;
	}
	.flex-sub{
		width:220rpx !important;
		height:60rpx !important;
		border: 1px solid #e5e5e5;
		border-radius: 30rpx;
		color: #fff!important;
	}
	.map-list{
		padding: 0 12rpx;
		width: 110rpx;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	
	}
	.map-img{
		width: 40rpx;
		height: 40rpx;
	}
	
	.dingwei-img{
		width:33.33rpx;
		height:37.5rpx;
	}
	page {
		background-color: #F7F7F7;
	}
	
	.jishi_name {
		max-width: 80rpx;
		text-overflow: ellipsis;
		white-space: nowrap;
		overflow: hidden;
	}
	
	.zz_view {
		color: #333333;
		font-size: 24rpx;
		padding: 6rpx 10rpx;
		border-radius: 10rpx;
	}
	
	.zpmore_view {
		position: absolute;
		bottom: -20rpx;
		left: 14rpx;
		color: #f9f3d3;
		background: linear-gradient(to right, #0a0c16, #4d4d53);
		width: 130upx;
		text-align: center;
		border-radius: 30rpx;
		height: 42rpx;
		line-height: 42rpx;
		font-size: 22rpx;
		margin-left: 10rpx;
	}
	
	.byy_view {
		background: #ebebeb;
		width: 100upx;
		text-align: center;
		border-radius: 50rpx;
		height: 40rpx;
		line-height: 40rpx;
		font-size: 24rpx;
		color: #000000;
		// border: 3upx solid #999999;
		margin-top: 6rpx;
		margin-left: 40rpx;
	}
	
	.kfw_view {
		background: #ffaa00;
		width: 100upx;
		text-align: center;
		border-radius: 50rpx;
		height: 40rpx;
		line-height: 40rpx;
		font-size: 24rpx;
		color: #FFFFFF;
		margin-top: 6rpx;
		margin-left: 40rpx;
	}
	
	.kyy_view {
		background: #096f4b;
		width: 100upx;
		text-align: center;
		border-radius: 50rpx;
		height: 40rpx;
		line-height: 40rpx;
		font-size: 24rpx;
		color: #FFFFFF;
		margin-top: 6rpx;
		margin-left: 40rpx;
	}
	
	.bg {
		background: #FFFFFF;
	}
	
	.ytp_view {
		background: #e3e3e3;
		width: 400rpx;
		border-radius: 10rpx;
		font-size: 28rpx;
		text-align: center;
		height: 80rpx;
		line-height: 80rpx;
		color: #848484;
		margin-top: 40rpx;
	}
	
	.tp_view {
		background: #ee6c54;
		width: 400rpx;
		border-radius: 10rpx;
		font-size: 28rpx;
		text-align: center;
		height: 80rpx;
		line-height: 80rpx;
		color: #FFFFFF;
		margin-top: 40rpx;
	}
	
	.sticky-tabs {
		z-index: 990;
		position: sticky;
		top: var(--window-top);
		// background-color: #fff;
	}
	
	/* // 使用mescroll-uni,则top为0 */
	.mescroll-uni,
	/deep/.mescroll-uni {
		.sticky-tabs {
			top: 0;
		}
	}
	
	.demo-tip {
		padding: 18upx;
		font-size: 24upx;
		text-align: center;
	}
	
	.line_s {
		display: inline-flex;
		width: 10rpx;
		height: 10rpx;
		background: #1AD566;
		border-radius: 50%;
		margin-right: 10rpx;
	}
	
	.line_x {
		display: inline-flex;
		width: 10rpx;
		height: 10rpx;
		background: #000000;
		border-radius: 50%;
		margin-right: 10rpx;
	}
	
	.box {
		// border: 3rpx solid #005dff;
		background: #E8FAE1;
		color: #096f4b;
		padding: 5rpx 15rpx;
		font-size: 26rpx;
		letter-spacing: 2rpx;
		border-radius: 8rpx;
		// margin-top: 10rpx;
		margin-right: 8upx;
	}
	
	.actve {
		font-size: 30rpx;
		font-family: PingFang SC;
		font-weight: 800;
		color: #20C675;
	}
	
	.tabview1 {
		// width: 686upx;
		// height: 100upx;
		background: #FFFFFF;
		// z-index: 99;
		// display: flex;
		// line-height: 100upx;
	
		.tabview {
			// width: 686upx;
			// // height: 100upx;
			border-radius: 24rpx 24rpx 0 0;
			// margin-top: -50upx;
			// z-index: 99;
			display: flex;
			line-height: 100upx;
	
			.tabItem_sel {
				font-size: 32upx;
				font-family: PingFang SC;
				font-weight: 800;
				color: #ffffff;
				background: linear-gradient(to right, #223845, #00a85b);
				flex: 1;
				text-align: center;
			}
	
			.tabItem {
				font-size: 32upx;
				font-family: PingFang SC;
				color: #333333;
				flex: 1;
				text-align: center;
			}
		}
	
		.tabsx {
			width: 686upx;
			border-radius: 24rpx;
			padding-bottom: 10rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 20rpx 30rpx;
			font-size: 26rpx;
	
			.active {
				color: #20C675;
				font-size: 30rpx;
				font-weight: bold;
			}
		}
	}
	
	.aa {
		background: linear-gradient(to right, #223845, #00a85b);
		width: 46px;
		text-align: center;
		height: 24px;
		line-height: 24px;
		margin-left: 4px;
		color: #ffffff;
		box-shadow: 0 0 3px #dddddd;
		border-radius: 4px;
	}
	
	.bb {
		width: 46px;
		text-align: center;
		height: 24px;
		line-height: 24px;
		margin-left: 4px;
		color: #666666;
		border-radius: 4px;
		background-color: #f7f7f7;
	}
	
	//地图标点样式
	/deep/.custom-content-marker {
		width: 70px;
		height: 70px;
	
	
		.marker_border {
			//border: black solid;
			width: 20px;
			height: 20px;
			padding: 5px;
			background: white;
			box-shadow: 0px 5px 10px #888888;
			border-radius: 50%;
		}
	
		.marker_foot {
			// height: 50px;
			// width: 50px;
			// background: black;
			// transform: rotate(45deg);
			// position: absolute;
			// top: 50px;
			// overflow: hidden;
		}
	}
	
	/deep/.custom-content-marker img {
		width: 100%;
		height: 100%;
		border-radius: 50%;
	}
	.make-now{
		background: linear-gradient(90deg, rgb(1, 156, 136), rgb(15, 167, 139), rgb(53, 196, 149));
		color: rgb(255, 255, 255);
		// width: 200rpx;
		border-radius: 15px;
		height: 30px;
		line-height: 30px;
		margin-top: 5px;
	}
	.make-now1{
		background: #d9d9d9;
		color: #ffffff;
		width: 100%;
		border-radius: 30upx;
		height: 60upx;
		line-height: 60upx;
		margin-top: 10rpx;
	}
	.jieshao{
	    font-weight: 400;
	    font-size: 12px;
	    color: #999999;
	    margin: 5px 0px;
	    display: -webkit-box;
	    -webkit-box-orient: vertical;
	    -webkit-line-clamp: 2;
	    ///overflow: hidden;
	    text-overflow: ellipsis;
		}
	.thera-lin{
		display: flex;
		justify-content: space-between;
	}
	.thera-bottom{
		display: flex;
		align-items: flex-end;
		justify-content: space-between;
	}
	.therap-pin{
		font-size: 26rpx;
		display: flex;
		align-items: flex-end;
		margin-right: 10rpx;
	}
	.therap-pin span:nth-child(2){
		color: #019c88;
	}
	.therap-pin span:nth-child(1){
		color: #666;
		margin-right: 10rpx;
	}
	.label-word{
		background: #f9f1e7;
		color: #9b7a6e;
		border-radius: 30rpx;
		padding:0rpx 14rpx;
		line-height:40rpx;
		border: 1px solid #9b7a6e;
		font-size: 22rpx;
		margin-left: 10rpx;
	}
	.screen-button{
		// border: 1px solid #019c88;
		color: #019c88;
		padding:5rpx 10rpx;
		margin:0 18rpx;
		border-radius:6rpx;
	}
	.view-top-right image{
		width: 20px;
		height: 20px;
	}
	.view-top-right span{
		color: #fff;
		font-size: 14px;
		margin-left: 5px;
	}
	.view-top-right{
		display: flex;
		flex-direction: row;
		align-items: center;
		padding: 5px;
		border-top-left-radius: 31px;
		border-bottom-left-radius: 31px;
		background:RGB(1,156,136,0.3);
		position: absolute;
		right: 0;
		margin-right: -17px;
	}
	.view-top-left{
		display: flex;
		flex-direction: row;
		align-items: center;
	}
	.view-top-left span:nth-child(1){
		font-size: 13px;
	}
	.view-top-left span:nth-child(2){
		font-size: 14px;
		margin-left: 5px;
	}
	.view-top-left span{
		color: #fff;
	}
	.view-top{
		width: 100%;
		display: flex;
		flex-direction: row;
		align-items: center;
		position: relative;
		justify-content: space-between;
	}
	.mian-foot-top-list span:nth-child(1){
		margin-bottom: 5px;
	}
	.mian-foot-top-list{
		display: flex;
		flex-direction: column;
	}
	.mian-foot-top{
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
	.mian-foot{
		width: 93%;
		margin: 0 auto;
		background-color: #fff;
		border-radius: 10px;
		padding: 10px;
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-top: 20px;
	}
	.bangzhu{
		width: 15px;
		height: 15px;
		position: absolute;
		right: 0;
		margin-right: -20px;
		top: 0;
		margin-top: -10px;
	}
	.mian-title-top{
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
	.foot-img-list{
		width: 92%;
		margin: 0 auto;
	}
	.foot-img image{
		width:100%;
		height: 100%;
	}
	.foot-img{
		width: 100%;
		height:180rpx;
		margin: 0 auto;
		margin-top:20rpx;
	}
	.mian-bottom-list span{
		color: #333;
		font-size: 14px;
		font-weight: bold;
		margin-top: 5px;
	}
	.mian-bottom-list{
		width:30%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.mian-bottom-img{
		height: 40px;
		width: 40px;
		flex: 0 0 40px;
		background-color: transparent;
		border-radius: 500px;
	}
	.mian-bottom{
		width: 93%;
		margin: 0 auto;
		background-color: #fff;
		border-radius: 10px;
		padding: 10px;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		margin-top: 155px;
	}
	.mian-top-title{
		color: #333;
		font-size: 16px;
		font-weight: bold;
	}
	.money{
		color: #fff;
		font-size: 15px;
		font-weight: bold;
	}
	.list-title{
		margin-top: 5px;
		font-size: 12px;
		color: #fff;
		font-weight: 400;
	}
	.list-view{
		width:30%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.mian-list{
		width:100%;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		margin: 20px 0px;
	}
	.mian-title{
		width:100%;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
	.mian{
		width: 100%;
		margin: 0 auto;
		background-color: #fff;
		border-radius: 10px;
		padding: 15px 26px;
		display: flex;
		flex-direction: column;
		margin-top: 15px;
	}
	.detail-btn{
		display: inline-block;
		width: 140px;
		text-align: center;
		background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
		height: 40px;
		border-radius: 28px;
		color: #ffffff;
		line-height: 40px;
		margin: 0 auto;
		margin-top: 4px;
		font-size: 34rpx;
		}
	.content-top{
		width: 100%;
		height: 100%;
	}
	.content{
		width: 100%;
		height: 100vh;
		padding-bottom: 10rpx;
		background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #f7f7f7), url('../../../static/background-img.png');
		background-position: center center;
		background-repeat: no-repeat;
		background-size: cover;
	}
	page {
		background-color: #F7F7F7;
	}
	.bgimg-top-money span:nth-child(1){
		font-weight: bold;
		font-size: 43rpx;
		color: #FFFFFF;
	}
	.bgimg-top-money span:nth-child(2){
		font-weight: 400;
		font-size: 25rpx;
		color: #FFFFFF;
		margin-top:4px;
	}
	.bgimg-top-money{
		display: flex;
		flex-direction: column;
		margin-left: 10px;
	}
	.bgimg-top-view{
		width: 80%;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	}
	.bgimg-top{
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin-top: 15rpx;
	}
	.bgimg {
		background: url(/static/wallet/reduce.png);
		background-repeat: no-repeat;
		background-size: 100% 100%;
		width: 100%;
		position: relative;
		margin: 0px auto 10px auto;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding: 15px;
	}
	.mingxi{
		width: 140rpx;
		height: 42rpx;
		line-height: 42rpx;
		text-align: center;
		background: #F5F7FB;
		border-radius: 21rpx;
		font-weight: bold;
		font-size: 22rpx;
		color: #333333;
	}
</style>