<template>
	<view>
		<view class="topArea">
			<image class="topArea-Bg" :src="$getImageUrl('static/images/applet/index/topBg.png')"></image>
			<view class="topArea-top" :style="{height:navBarTop + 'px',width:navBarWidth + 'px'}"></view>
			<view class="topArea-nav"
				:style="{width:navBarWidth + 'px',height:navBarHeight + 'px',lineHeight:navBarHeight + 'px'}">
				<view class="nav-title">晋江零工服务平台</view>
				<view class="nav-search" :style="{width:navSearchWidth + 'px', height:navBarHeight+'px'}"><u-search
						inputAlign="center" :height="navBarHeight-5" placeholder="搜索" :showAction="false"
						@search="goSearch"></u-search>
				</view>
			</view>
			<view class="topArea-main">
				<view class="main-title">
					<view>灵活用工已成</view>
					<view>企业用人新趋势</view>
				</view>
				<view class="main-banner">
					<image class="main-banner-image" :src="$getImageUrl('static/images/applet/index/topBanner.png')"
						mode="aspectFit">
					</image>
				</view>
			</view>
		</view>

		<view class="summary">

			<view class="topMenu">
				<view class="topMenu-item" @click="goLPage('/pages/comjobs/recruitFast')">
					<image class="item-icon" :src="$getImageUrl('static/images/applet/index/topMenuA.png')"></image>
					<view class="item-title">晋快招</view>
					<view class="item-explain">悬赏招聘</view>
				</view>
				<view class="topMenu-item" @tap="goJbangjia()">
					<image class="item-icon" :src="$getImageUrl('static/images/applet/index/topMenuB.png')"></image>
					<view class="item-title">晋帮家</view>
					<view class="item-explain">家政服务</view>
				</view>
				<view class="topMenu-item" @tap="develop()">
					<!-- <view class="topMenu-item" @tap="goLPage('/pages/comjobs/jobDemands')"> -->
					<image class="item-icon" :src="$getImageUrl('static/images/applet/index/topMenuC.png')"></image>
					<view class="item-title">晋全能</view>
					<view class="item-explain">零工服务</view>
				</view>
				<view class="topMenu-item" @tap="develop()">
					<!-- <view class="topMenu-item" @tap="goLPage('/pages/comjobs/businessHelp')"> -->
					<image class="item-icon" :src="$getImageUrl('static/images/applet/index/topMenuD.png')"></image>
					<view class="item-title">晋企帮</view>
					<view class="item-explain">订单分包</view>
				</view>
			</view>

			<!-- <view class="topMenu-fill"></view> -->

			<view class="topApply">
				<view class="topApply-left">
					<image class="left-icon" :src="$getImageUrl('static/images/applet/index/topApplyIcon.png')"></image>
				</view>
				<view class="topApply-center">经纪人福利多多</view>
				<view class="topApply-right" @tap="pageUrl(1,'/pages/broker/brokerform')">立即申请</view>
			</view>

			<view class="hot">
				<view class="hot-left" @tap="goJbangjia('/pages/goodsList/goodsList?cid=35')">
					<image class="hot-left-image" :src="$getImageUrl('static/images/applet/index/hotLeft.png')"
						mode="aspectFit"></image>
				</view>
				<view class="hot-right">
					<view class="hot-right-item" @click="goLPage('/pages/train/joinlist')">
						<view class="item-top">
							<view class="item-top-title">
								<view class="title-first">培训专场</view>
								<view class="title-second">职场提升小技巧</view>
							</view>
							<image class="item-top-hotRightOne"
								:src="$getImageUrl('static/images/applet/index/hotRighrOne.png')"></image>
						</view>
						<view class="item-bottom">我要报名</view>
					</view>
					<view class="hot-right-item" @tap="develop()">
						<image class="item-hotRightTwo"
							:src="$getImageUrl('static/images/applet/index/hotRightTwo.png')"></image>
					</view>
				</view>
			</view>

			<view class="tabs">
				<view :class="selectID == 0 ? 'tabs-item-select' : 'tabs-item'" @click="selectTab(0)">
					<image v-if="selectID != 0" class="item-icon"
						:src="$getImageUrl('static/images/applet/index/tabOneA.png')"></image>
					<image v-if="selectID == 0" class="item-icon"
						:src="$getImageUrl('static/images/applet/index/tabOneB.png')"></image>
					<text class="item-title">悬赏聘</text>
				</view>
				<view :class="selectID == 1 ? 'tabs-item-select' : 'tabs-item'" @click="selectTab(1)">
					<image v-if="selectID != 1" class="item-icon"
						:src="$getImageUrl('static/images/applet/index/tabTwoA.png')"></image>
					<image v-if="selectID == 1" class="item-icon"
						:src="$getImageUrl('static/images/applet/index/tabTwoB.png')"></image>
					<text class="item-title">超值秒杀</text>
				</view>
				<view :class="selectID == 2 ? 'tabs-item-select' : 'tabs-item'" @click="selectTab(2)">
					<image v-if="selectID != 2" class="item-icon"
						:src="$getImageUrl('static/images/applet/index/tabThreeA.png')"></image>
					<image v-if="selectID == 2" class="item-icon"
						:src="$getImageUrl('static/images/applet/index/tabThreeB.png')"></image>
					<text class="item-title">推荐服务</text>
				</view>
				<!-- <view :class="selectID == 3 ? 'tabs-item-select' : 'tabs-item'" @click="selectTab(3)">
					<image v-if="selectID != 3" class="item-icon" :src="$getImageUrl('static/images/applet/index/tabFourA.png')"></image>
					<image v-if="selectID == 3" class="item-icon" :src="$getImageUrl('static/images/applet/index/tabFourB.png')"></image>
					<text class="item-title">手工单</text>
				</view> -->
			</view>
		</view>

		<view class="listContent" v-if="selectID == 0">
			<view class="listContent-card" v-for="(item,index) in plist" :key="index" @tap="goDetail(item.id)">
				<view class="card-infor">
					<view class="card-infor-left">
						<view class="left-job card-center">
							<image class="card-icon" :src="$getImageUrl('static/images/applet/index/cardA.png')">
							</image><text class="job-title">岗位：{{item.title}}</text>
						</view>
						<view class="left-time card-center">
							<image class="card-icon" :src="$getImageUrl('static/images/applet/index/cardB.png')">
							</image><text>工作时间：8:00-18:00</text>
						</view>
					</view>
					<view class="card-infor-right">
						<view class="right-money card-center">
							<image class="card-icon" :src="$getImageUrl('static/images/applet/index/cardC.png')">
							</image>
							<view class="right-money-text">赏金<text class="right-money-num">{{item.retmoney}}元</text>
							</view>
							<image class="card-iconA" v-if="item.is_pay == 1"
								:src="$getImageUrl('static/images/applet/other/paid.png')">
						</view>
						<view class="right-place card-center">
							<image class="card-icon" :src="$getImageUrl('static/images/applet/index/cardD.png')">
							</image><text>地点：{{item.district}}</text>
						</view>
					</view>
				</view>
				<view class="card-botInfor">
					<view class="card-botInfor-company">{{item.worker.title}}</view>
					<view class="card-botInfor-more">...</view>
				</view>
			</view>
			<uni-load-more :status="pstatus"></uni-load-more>
		</view>

		<view class="developing" style="text-align: center;padding: 30rpx 0;color:#797979" v-if="selectID != 0">
			正在开发中，敬请期待
		</view>

		<view class="padding-sm"></view>
		<view class="padding-xl"></view>
		<view class="cu-bar tabbar bg-white foot">
			<view class="action text-red" @tap="goNavPage('/pages/index/index')">
				<view class="cuIcon-cu-image">
					<image src="../../static/tabbar/indexSelected.png"></image>
				</view>
				首页
			</view>
			<view class="action text-gray" @tap="goNavPage('/pages/comjobs/comjobs')">
				<view class="cuIcon-cu-image">
					<image src="../../static/tabbar/jobs.png"></image>
				</view>
				招聘
			</view>
			<!-- #ifndef MP-WEIXIN -->
			<view class="action text-gray videoimg" @tap="goNavPage('/pages/video/videolist')">
				<view class="cuIcon-cu-image">
					<image src="../../static/tabbar/video.png"></image>
				</view>
				微工作
			</view>
			<!-- #endif -->

			<view class="action text-gray" @tap="goNavPage('/pages/broker/brokerlist')">
				<view class="cuIcon-cu-image">
					<image src="../../static/tabbar/broker.png"></image>
				</view>
				经纪人
			</view>

			<view class="action text-gray" @tap="goNavPage('/pages/my/my')">
				<view class="cuIcon-cu-image">
					<image src="../../static/tabbar/my.png"></image>
				</view>
				我的
			</view>
		</view>

		<wxContact ref="wxContact"></wxContact>
	</view>
</template>

<script>
	import uniLoadMore from "@/components/uni-load-more/uni-load-more.vue";
	import QQMapWX from '@/common/qqmap-wx-jssdk';
	var _this;
	export default {
		components: {
			uniLoadMore
		},
		data() {
			return {
				userinfo: null,
				workerinfo: null,
				param: [],
				slide: [],
				cardCur: 0,

				searchval: "",

				article: [],
				navigation: [],

				pstatus: 'more',
				pstatusn: 'more',
				ppage: 1,
				ppagen: 1,
				psize: 6,
				psizen: 20,
				plist: [],
				plistn: [],
				plistl: [],
				status: 0,
				latitude: 0.000000,
				longitude: 0.000000,
				useraddress: "",
				navBarTop: 0,
				navBarHeight: 0,
				navBarWidth: 0,
				navSearchWidth: 0,
				selectID: 0,
			};
		},
		onLoad: function(option) {
			_this = this;
			_this.status = option.status || 0;
			_this.userinfo = uni.getStorageSync('userinfo') || false;
			_this.workerinfo = uni.getStorageSync('workerinfo') || false;
			if (_this.workerinfo !== false) {
				uni.reLaunch({
					url: "/pages/worker/worker"
				});
				return false;
			}
			uni.getLocation({
				success: function(res) {
					console.log(res);
					console.log('纬度：' + res.latitude);
					console.log('经度：' + res.longitude);
					_this.latitude = res.latitude;
					_this.longitude = res.longitude;
					// _this.qqmapsdk.reverseGeocoder({
					// 	    location: {
					// 	        latitude: res.latitude,
					// 			longitude: res.longitude
					// 	    },
					// 	    success: function (res) {
					// 			console.log(res.result.address_component);
					// 			//addressinfo=res.result.address_component;		
					// 			_this.useraddress = res.result.address_component.province + " " + res.result.address_component.city + " " + res.result.address_component.district;
					// 	    },
					// 	    fail: function (res) {
					// 		    console.log(res)
					// 		},
					// 		complete: function (res) {
					// 		    // console.log(res)
					// 	    }
					// })						
				}
			});
			_this.$req.ajax({
				path: "index/getindexdata",
			}).then((data) => {
				_this.param = data.param;
				_this.slide = data.slide;
				_this.navigation = data.navigation;
				_this.article = data.article;
				_this.getMore();
			}).catch((err) => {
				uni.showModal({
					title: '信息提示',
					content: err,
					showCancel: false
				});
			});
			_this.qqmapsdk = new QQMapWX({
				// 在腾讯平台自己申请的秘钥
				key: 'L2PBZ-J53WR-FUXW6-WB3SD-NWCFO-WYBS6'
			});

			// let statuBar = uni.getSystemInfoSync()
			let menuButtonInfo = uni.getMenuButtonBoundingClientRect();
			_this.navBarWidth = menuButtonInfo.left;
			_this.navBarTop = menuButtonInfo.top;
			_this.navBarHeight = menuButtonInfo.height;
			_this.navSearchWidth = menuButtonInfo.width;
			console.log("除去胶囊的屏幕宽度", _this.navBarWidth, menuButtonInfo)
		},
		onShareAppMessage: function(res) {
			return {
				title: "晋江人力",
				path: "/pages/index/index"
			}
		},
		// onPullDownRefresh: function() {
		// 	if (_this.status == 0) {
		// 		_this.ppage = 1;
		// 		_this.plist = [];
		// 		_this.pstatus = 'more';
		// 	} else if (_this.status == 1) {
		// 		_this.ppagen = 1;
		// 		_this.plistn = [];
		// 		_this.pstatusn = 'more';
		// 	} else if (_this.status == 2) {
		// 		_this.ppagen = 1;
		// 		_this.plistn = [];
		// 		_this.plistl = 'more';
		// 	}
		// 	_this.getMore();
		// },
		onReachBottom: function() {
			if (_this.status == 0) {
				if (_this.pstatus !== 'more') {
					return;
				}
			} else {
				if (_this.pstatusn !== 'more') {
					return;
				}
			}
			_this.getMore();
		},
		methods: {
			selectTab(id) {
				_this.selectID = id;
			},

			goSearch(e) {
				_this.searchval = e;
				console.log("搜索", e, _this.searchval)
				if (_this.searchval == "") {
					uni.showModal({
						title: '信息提示',
						content: "请输入要搜索的关键字...",
						showCancel: false
					});
					return false;
				}
				uni.navigateTo({
					url: '/pages/comjobs/comjobs?searchval=' + _this.searchval
				});
			},

			goLPage: function(pageurl) {
				_this.userinfo = _this.checkLogin("/pages/index/index");
				if (_this.userinfo === false) {
					return false;
				}
				uni.navigateTo({
					url: pageurl,
					fail: function() {
						uni.switchTab({
							url: pageurl
						});
					}
				});
			},

			showConcatModel: function() {
				this.$refs.wxContact.showConcatModel();
			},
			goHome: function() {
				uni.setStorageSync('identityinfo', false);
				uni.setStorageSync('workerinfo', null);
				uni.reLaunch({
					url: "/pages/index/home"
				});
			},
			tabSelect: function(e) {
				_this.status = e.currentTarget.dataset.status;
				_this.pageRefresh();
			},
			// 搜索
			bindInput: function(e) {
				_this.searchval = e.detail.value;
			},
			btnSearch: function() {
				if (_this.searchval == "") {
					uni.showModal({
						title: '信息提示',
						content: "请输入要搜索的关键字...",
						showCancel: false
					});
					return false;
				}
				uni.navigateTo({
					url: '/pages/comjobs/comjobs?searchval=' + _this.searchval
				});
			},
			pageRefresh: function() {
				if (_this.status == 0) {
					_this.pstatus = 'more';
					_this.ppage = 1;
					_this.plist = [];
				} else if (_this.status == 1) {
					_this.pstatusn = 'more';
					_this.ppagen = 1;
					_this.plistn = [];
				} else if (_this.status == 2) {
					_this.pstatusn = 'more';
					_this.ppagen = 1;
					_this.plistl = [];
				}
				_this.getMore();
			},
			getMore: function() {
				// 热门职位
				if (_this.status == 0) {
					_this.$req.ajax({
						path: "comjobs/listcomjobs",
						data: {
							ppage: _this.ppage,
							psize: _this.psize,
							rectype: 2
						}
					}).then((data) => {
						_this.pstatus = data.pstatus;
						_this.plist = _this.plist.concat(data.plist);
						_this.ppage += 1;
						console.log("列表数据", _this.plist)
						uni.stopPullDownRefresh();
					}).catch((err) => {
						uni.showModal({
							title: '信息提示',
							content: err,
							showCancel: false
						});
					});
				} else if (_this.status == 1) {
					// 附近职位
					_this.$req.ajax({
						path: "index/listComjobsofnear",
						data: {
							ppage: _this.ppagen,
							psize: _this.psizen,
							lat: _this.latitude,
							lng: _this.longitude
						}
					}).then((data) => {
						_this.pstatusn = data.pstatus;
						_this.plistn = _this.plistn.concat(data.plist);
						_this.ppagen += 1;
						uni.stopPullDownRefresh();
					}).catch((err) => {
						uni.showModal({
							title: '信息提示',
							content: err,
							showCancel: false
						});
					});
				} else if (_this.status == 2) {
					// 猜你喜欢
					_this.$req.ajax({
						path: "index/listComjobsLike",
						data: {
							ppage: _this.ppagen,
							psize: _this.psizen,
							userid: _this.userinfo.id,
						}
					}).then((data) => {
						_this.pstatusn = data.pstatus;
						_this.plistl = _this.plistl.concat(data.plist);
						_this.ppagen += 1;
						uni.stopPullDownRefresh();
					}).catch((err) => {
						uni.showModal({
							title: '信息提示',
							content: err,
							showCancel: false
						});
					});
				}
			},

			goDetail: function(comjobsid) {
				uni.navigateTo({
					url: '/pages/comjobs/detail?comjobsid=' + comjobsid
				});
			},
			goShop: function(workerid) {
				uni.navigateTo({
					url: '/pages/worker/shop?workerid=' + workerid
				});
			},
			onClick: function(index) {
				var nav = that.navigation[index.index];
				if (nav.type == 1) {
					uni.navigateTo({
						url: nav.link
					});
				} else {
					// #ifdef H5
					location.href = nav.link;
					// #endif
					// #ifndef H5
					uni.navigateTo({
						url: '/pages/tool/webview?pagesrc=' + encodeURIComponent(nav.link)
					});
					// #endif
				}
			},

			develop() {
				uni.showModal({
					title: '信息提示',
					content: '正在开发中，敬请期待',
					showCancel: false
				});
			},
			goJbangjia(path = '') {
				uni.navigateToMiniProgram({
					appId: 'wx7c3f5350fb154209',
					path: path,
					envVersion: 'release',
					success(res) {
						console.log("跳转小程序成功！", res);
					}
				})
			},
			goNavPage: function(pageurl) {
				uni.redirectTo({
					url: pageurl
				});
			},
			// 轮播图
			cardSwiper: function(e) {
				_this.cardCur = e.detail.current
			},
			pageUrl: function(type, tilurl) {
				if (type == 1) {
					uni.navigateTo({
						url: tilurl,
						fail: function() {
							uni.switchTab({
								url: tilurl
							});
						}
					});
				} else {
					uni.navigateTo({
						url: '/pages/tool/webview?pagesrc=' + encodeURIComponent(tilurl)
					});
				}
			},
		}
	};
</script>

<style lang="scss">
	.selectok {
		border-bottom: #007AFF solid 2px;
	}

	.echo-top {
		position: relative;
	}

	.echo-topbg {
		width: 750rpx;
		position: absolute;
		top: 0rpx;
		z-index: 0;
	}

	.cu-list.grid {
		background-color: transparent !important;
	}

	.card-swiper {
		height: 300rpx !important;
	}

	/* 通知 */
	.noticbox {
		display: flex;
		align-items: center;

		image {
			display: block;
			margin: 0rpx;
			padding: 0rpx;
			width: 150rpx;
			height: 35rpx;
		}

		.uni-swiper-msg-icon {
			width: 150rpx;
		}

		swiper-item {
			line-height: 80rpx !important;
		}

		swiper {
			height: 80rpx;
		}

		navigator {
			display: block;
			line-height: 80rpx;
			height: 80rpx;
			font-size: 32rpx;
		}
	}

	/* 热门岗位 */
	.echo-page-title {
		width: 660rpx;
		border-radius: 8rpx 8rpx 0rpx 0rpx;
	}

	.echo-comjobs-list-item {
		padding: 30rpx 15rpx;
		margin: 0rpx 17rpx 20rpx 17rpx;
		border-radius: 8rpx;
	}

	.echo-comjobs-list-item:first-child {
		border-radius: 0rpx 0rpx 8rpx 8rpx;
	}

	.join-group {
		display: flex;
		margin-top: 20px;
		box-sizing: border-box;
		width: 100%;
		padding: 0 60rpx;
	}

	.join-group .join-right {
		margin-left: 40rpx;
		width: 450rpx;
	}

	.join-group .arrow {
		position: relative;
	}

	.join-group .arrow:before {
		position: absolute;
		top: 0;
		right: -20rpx;
		bottom: 0;
		display: block;
		margin: auto;
		width: 30rpx;
		height: 30rpx;
		color: var(--grey);
		content: "\e6a3";
		text-align: center;
		font-size: 34rpx;
		font-family: "cuIcon";
		line-height: 30rpx;
		margin-top: auto;
		margin-right: auto;
		margin-bottom: auto;
		margin-left: auto;
	}

	.lw-nav-broker {
		width: 710rpx;
		padding: 20rpx 0 10rpx 0;
		margin: 0 auto;
		display: flex;
		justify-content: space-around;
	}

	.lw-nav-broker .img {
		width: 710rpx;
		height: 160rpx;
	}

	.lw-nav {
		width: 710rpx;
		padding: 10rpx 0 20rpx 0;
		margin: 0 auto;
		display: flex;
		justify-content: space-around;
	}

	.lw-nav .img {
		width: 160rpx;
		height: 160rpx;
	}

	.topArea {
		width: 750rpx;
		height: 400rpx;
		position: relative;

		.topArea-Bg {
			position: absolute;
			width: 100%;
			height: 400rpx;
			z-index: -100;
		}


		.topArea-nav {
			padding: 0 20rpx;
			display: flex;
			justify-content: space-between;

			.nav-title {
				font-size: 32rpx;
				font-family: PingFang SC, PingFang SC;
				font-weight: 500;
				color: #FFFFFF;
			}

			.nav-search {}
		}

		.topArea-main {
			width: 100%;
			margin-top: 30rpx;
			padding: 0 20rpx;
			display: flex;
			align-items: center;

			.main-title {
				flex: 1;
				display: flex;
				flex-direction: column;
				justify-content: center;
				text-align: center;
				color: #FFFFFF;
				font-size: 34rpx;
				line-height: 50rpx;
			}

			.main-banner {
				flex: 1;

				.main-banner-image {
					width: 272rpx;
					height: 214rpx;
				}
			}
		}
	}

	.summary {
		width: 100%;
		margin-top: 60rpx;
		background-color: #FFFFFF;
	}

	.topMenu {
		position: relative;
		top: -110rpx;
		margin: 0 20rpx;
		padding: 50rpx 0;
		background: #FFFFFF;
		box-shadow: 0rpx 6rpx 12rpx 2rpx rgba(0, 0, 0, 0.16);
		border-radius: 26rpx 26rpx 26rpx 26rpx;
		opacity: 1;
		display: flex;
		align-items: center;
		justify-content: space-between;

		.topMenu-item {
			flex: 1;
			width: 100%;
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			color: #707070;
			font-size: 32rpx;
			font-weight: 400;

			.item-icon {
				width: 60rpx;
				height: 60rpx;
				margin-bottom: 20rpx;
			}

			.item-title {
				font-weight: 600;
				color: #000000;
			}

			.item-explain {
				margin-top: 10rpx;
				font-size: 23rpx;
				color: #a1a1a1;
			}
		}
	}

	.topApply {
		margin: -70rpx 20rpx 0;
		padding: 20rpx 30rpx;
		// height: 141rpx;
		background: linear-gradient(270deg, #484353 0%, #6F6F6F 100%);
		border-radius: 78rpx;
		display: flex;
		align-items: center;
		justify-content: space-between;

		.topApply-left {
			width: 98rpx;
			height: 98rpx;
			border-radius: 50%;
			box-shadow: 0rpx 4rpx 8rpx 2rpx rgba(0, 0, 0, 0.3);
			opacity: 1;

			.left-icon {
				width: 98rpx;
				height: 98rpx;
				border-radius: 50%;
			}
		}

		.topApply-center {
			height: 82rpx;
			padding: 0 30rpx;
			border-left: 2rpx solid rgba(255, 232, 171, 0.16);
			font-size: 32rpx;
			line-height: 82rpx;
			color: #E0E0E0;
		}

		.topApply-right {
			width: 186rpx;
			height: 72rpx;
			line-height: 72rpx;
			text-align: center;
			background: linear-gradient(180deg, #FAE7B5 0%, #F3CA7E 100%);
			border-radius: 56rpx 56rpx 56rpx 56rpx;
			opacity: 1;
			font-size: 24rpx;
			color: #3F3852;
		}
	}

	.hot {
		margin: 40rpx 20rpx 0;
		height: 434rpx;
		display: flex;
		justify-content: space-between;

		.hot-left {
			width: 49%;
			height: 434rpx;

			.hot-left-image {
				height: 434rpx;
			}
		}

		.hot-right {
			width: 49%;
			height: 434rpx;
			display: flex;
			flex-direction: column;
			justify-content: space-between;

			.hot-right-item {
				width: 100%;
				height: 208rpx;
				background-color: #F0FEFF;
				border-radius: 24rpx;
				display: flex;
				flex-direction: column;
				align-items: center;

				.item-top {
					width: 100%;
					margin-top: 30rpx;
					padding: 0 30rpx;
					display: flex;
					justify-content: space-between;

					.item-top-title {
						color: #017AFE;

						.title-first {
							font-size: 32rpx;
						}

						.title-second {
							font-size: 20rpx;
							border-bottom: 4rpx solid #017AFE;
						}
					}

					.item-top-hotRightOne {
						width: 120rpx;
						height: 106rpx;
					}
				}

				.item-bottom {
					margin-top: 10rpx;
					width: 190rpx;
					height: 50rpx;
					border-radius: 25rpx;
					background-color: #B4F6FF;
					line-height: 50rpx;
					text-align: center;
					font-size: 28rpx;
					color: #017AFE;
				}

				.item-hotRightTwo {
					width: 100%;
					height: 208rpx;
				}
			}
		}
	}

	.tabs {
		padding-top: 20rpx;
		display: flex;
		align-items: center;
		justify-content: space-between;

		.tabs-item-select {
			flex: 1;
			height: 76rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 28rpx;
			color: #CA151C;
			border-bottom: 4rpx solid #CA151C;
		}

		.tabs-item {
			flex: 1;
			height: 76rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 28rpx;
			color: #717171;
			border-bottom: 4rpx solid transparent;
		}

		.item-icon {
			width: 27rpx;
			height: 27rpx;
		}

		.item-title {
			margin-left: 15rpx;
		}
	}

	.listContent {
		width: 100%;
		padding: 20rpx 26rpx;

		.listContent-card {
			margin-bottom: 24rpx;
			width: 100%;
			height: 268rpx;
			background-color: #FFFFFF;
			border-radius: 12rpx;

			.card-infor {
				height: 182rpx;
				padding: 0 20rpx;
				border-bottom: 2rpx solid #E2E2E2;
				display: flex;
				align-items: center;
				justify-content: space-between;
				font-size: 28rpx;
				color: #747474;

				.card-icon {
					margin-right: 10rpx;
					width: 35rpx;
					height: 35rpx;
				}

				.card-iconA {
					margin-left: 10rpx;
					width: 40rpx;
					height: 40rpx;
				}

				.card-center {
					height: 56rpx;
					display: flex;
					align-items: center;
				}

				.card-infor-left {
					width: 50%;

					.left-job {
						margin-bottom: 30rpx;
						color: #383838;
						font-weight: 600;

						.job-title {
							width: 340rpx;
							overflow: hidden;
							text-overflow: ellipsis;
							-webkit-line-clamp: 1;
							display: -webkit-box;
							-webkit-box-orient: vertical;
						}
					}
				}


				.card-infor-right {
					width: 45%;

					.right-money {
						margin-bottom: 30rpx;

						.right-money-text {
							overflow: hidden;
							text-overflow: ellipsis;
							-webkit-line-clamp: 1;
							display: -webkit-box;
							-webkit-box-orient: vertical;

							.right-money-num {
								margin-left: 10rpx;
								font-size: 30rpx;
								color: #FF0000;
								font-weight: 600;

							}
						}
					}
				}
			}

			.card-botInfor {
				height: 86rpx;
				padding: 0 20rpx;
				display: flex;
				align-items: center;
				justify-content: space-between;
			}
		}
	}
</style>