<!-- 随手拍列表 -->
<template>
	<view class="snapshotList">
		<scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
			<view class="tabTitle" v-if="userType==0">
				<view :class="tabIndex==index?'tab-A':'tab-B'" v-for="(item,index) in tabList" :key='index'
					@click="tabClick(index)">
					{{item}}
				</view>
			</view>
			<view class="tabTitleTow" v-if="userType==1">
				<view :class="tabIndexTow==index?'tab-C':'tab-D'" v-for="(item,index) in tabListTow" :key='index'
					@click="tabClickTow(index)">{{item}}</view>
			</view>
			<view v-if="pageType==0">
				<view class="list">
					<view class="list-li srearch" @click="laboratoryClick()">
						<view class="srearch-l">{{form.subName?form.subName:'实验室名称'}}</view>
						<img class="srearch-r" :src="imagesUrl('commonality/icon_wd_gd@1x.png')">
					</view>
					<view class="list-li" style="margin-bottom: 20rpx;border:none;">
						<view>{{form.subRoom?form.subRoom:''}}房间＆{{form.buildName?form.buildName:'楼栋'}}＆{{form.deptName?form.deptName:'学院单位'}}</view>
					</view>
					<view class="list-li">
						<view>现场照片</view>
						<view></view>
					</view>
					<view class="check-for-img-max-box" v-if="form.imgDtoList[0]">
						<view class="left-title-p"></view>
						<view class="right-img-box">
							<view class="img-box" v-for="(imgUrl,imgIndex) in form.imgDtoList" :key="imgIndex">
								<img class="img-data" :src="baseUrl+imgUrl.fileUrl">
								<img class="position-img" :src="imagesUrl('commonality/icon_ssp_closure.png')"
									@click="delImg(imgIndex)">
							</view>
							<!-- 	<img class="add-button" :src="imagesUrl('safetyCheck/img_ssp_pz@1x.png')"
								@click="selectImage()" v-if="form.imgDtoList.length<5"> -->
						</view>
					</view>
					<picker @change="bindPickerChange" :value="pickerIndex" :range="pickerList" range-key="name">
						<view class="list-li">
							<view>安全类别</view>
							<view style="color: #0183FA;">
								{{pickerList[pickerIndex].name}}
								<img :src="imagesUrl('commonality/icon_wd_gd@1x.png')">
							</view>
						</view>
					</picker>

					<view class="list-li">
						<view>隐患描述</view>
						<view></view>
					</view>
					<view class="describe">
						<textarea class="describe-n" type="text" v-model="form.hazardDescribe" maxlength="200"
							placeholder="请填写隐患描述" placeholder-style="font-size:24rpx;color:#999;"></textarea>
					</view>
				</view>
				<view class="subBtn">
					<img class="subBtn-l" @click="saoCode()" :src="imagesUrl('safetyCheck/icon_aqjc_saoma.png')"/>
					<img class="subBtn-c" @click="selectImage()" :src="imagesUrl('safetyCheck/icon_aqjc_paizhao.png')"/>
					<img class="subBtn-r" @click="submitForm()" :src="imagesUrl('safetyCheck/icon_aqjc_tijiao.png')"/>
				</view>
			</view>
			<!-- 上报记录 -->
			<view class="escalation" v-if="pageType==1">
				<view class="escalation-li" @click="recordClick(item)" v-for="(item,index) in dataList">
					<view class="escalation-li-t">
						<view>{{item.subName}} ({{item.subRoom?item.subRoom:'-'}})</view>
						<view
							:id="item.rectifyStatus==0?'color-A':(item.rectifyStatus==1?'color-B':(item.rectifyStatus==2?'color-C':''))">
							{{item.rectifyStatus==0?'待整改':(item.rectifyStatus==1?'已整改':(item.rectifyStatus==2?'暂无法整改':''))}}
							<img :src="imagesUrl('commonality/icon_wd_gd@1x.png')">
						</view>
					</view>
					<view class="escalation-li-b">
						<view>上报时间</view>
						<view>{{item.createTime}}</view>
					</view>
				</view>
			</view>
			<!-- 隐患整改 -->
			<view class="hidden" v-if="pageType==2">
				<view class="hidden-li" @click="hiddenClick(item)" v-for="(item,index) in dataList">
					<img class="hidden-li-l" :src="imagesUrl('commonality/icon_sys_xz@1x.png')">
					<view class="hidden-li-c">{{item.subName}}</view>
					<view class="hidden-li-r">
						<view v-if="item.stayhRectifyCheckNum!=0">待整改{{item.stayhRectifyCheckNum}}项</view>
						<img :src="imagesUrl('commonality/icon_wd_gd@1x.png')">
					</view>
				</view>
			</view>
			<!-- <view class="get-data-null-p" v-if="getDataType">- 没有更多数据 -</view> -->

		</scroll-view>
		<view class="popup-max-box" v-if="popupType">
			<view class="popup-null" @click="popupClick(2)"></view>
			<view class="popup-big-box">
				<view class="popup-input-box">
					<input type="text" maxlength="10" v-model="form.searchValue" placeholder="请输入关键字">
					<view @click="buildBySub">搜索</view>
				</view>
				<view class="popup-for-max-box">
					<view class="popup-for-null" v-if="!roomList[0]">暂无数据</view>
					<view class="popup-for-box" v-for="(item,index) in roomList" :key="index">
						<view class="name-p">{{item.subName}} ({{item.roomNum?item.roomNum:'-'}})</view>
						<view class="button-p" @click="popupClickItem(item)">确定</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import {
		config
	} from '@/api/request/config.js'
	import {laboratoryAppletGetSubDetailInfo} from '@/pages/api/index.js'
	import {
		laboratorySubRelInfoGetRelList,
		securityAppCheckPhotoMyAdd,
		securityAppCheckPhotoMyList,
		securityAppCheckPhotoRectifyList,
		securityCheckOptionList,
	} from '@/pages_safetyCheck/api/index.js'
	import { pageScanCode } from '@/utils/scanTheCode'
	export default {
		name: "snapshotList",
		components: {

		},
		data() {
			return {
				baseUrl: config.base_url,
				pageType: 0,
				userType: 1,
				tabList: ['随手拍上报', '上报记录'],
				tabIndex: 0,
				tabListTow: ['随手拍上报', '上报记录', '隐患整改'],
				tabIndexTow: 0,
				newData: {

				},
				form: {
					rectifyDescribe: '',
					imgDtoList: [],
					hazardCheckName: '',
				},
				popupType: false,
				roomList: [],
				checkOptionList: [],
				getDataType: false,
				// 查询参数
				queryParams: {
					page: 1,
					pageSize: 20,
				},
				total: 0,
				dataList: [],
				pickerIndex: 5,
				pickerList: [],
				photoMaxNun:0,
			}
		},
		onLoad(option) {

			if (option.form) {
				this.form = JSON.parse(decodeURIComponent(option.form));
				this.$set(this.form, "rectifyDescribe", '')
				this.$set(this.form, "imgDtoList", [])
			}
		},
		onShow() {
			this.acceptSaoCode();
		},
		onHide() {
		  uni.$off('acceptSaoCode');
		},
		mounted() {
			this.treeselect();
		},
		methods: {
			//滚动事件
			scrollGet() {
				let self = this;
				if (self.total / self.queryParams.pageSize <= self.queryParams.page) {
					this.$set(this, 'getDataType', true);
				} else {
					this.queryParams.page += 1;
					this.$nextTick(() => {
						if (this.pageType == 1) {
							this.getList();
						} else if (this.pageType == 2) {
							this.getListTow();
						}
					})
				}
			},
			//上报记录
			async getList() {
				let self = this;
				const {
					data
				} = await securityAppCheckPhotoMyList(this.queryParams);
				if (data.code == 200) {
					if (self.queryParams.page == 1) {
						this.dataList = data.data.records;
						this.total = data.data.total;
						if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
							this.$set(this, 'getDataType', true);
						}
					} else {
						this.dataList = [...this.dataList, ...data.data.records]
						this.total = data.data.total;
						if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
							this.$set(this, 'getDataType', true);
						}
					}
				}
			},
			//隐患整改
			async getListTow() {
				let self = this;
				const {
					data
				} = await securityAppCheckPhotoRectifyList();
				if (data.code == 200) {
					if (data.data[0]) {
						this.dataList = data.data;
					} else {
						this.$set(this, 'getDataType', true);
					}
				}
			},
			//实验室
			laboratoryClick(){
				this.form.subId='';
				this.form.laboratoryStatus=3// 标识是从那个页面进入的实验室搜索页面
				uni.navigateTo({
					url: '/pages_safetyCheck/views/snapshotManage/laboratorySearch?form=' + encodeURIComponent(
						JSON.stringify(this.form))
				});
			},
			//上报记录跳转详情
			recordClick(row) {
				let infoData = row;
				uni.navigateTo({
					url: '/pages_safetyCheck/views/snapshotManage/snapshotDetail?infoData=' + encodeURIComponent(
						JSON.stringify(infoData))
				});
			},
			//隐患整改跳转详情
			hiddenClick(row) {
				let infoData = row;
				infoData.pageType = 2;
				uni.navigateTo({
					url: '/pages_safetyCheck/views/snapshotManage/snapshotItems?infoData=' + encodeURIComponent(
						JSON.stringify(infoData))
				});
			},
			//安全类别
			bindPickerChange(data) {
				this.pickerIndex = data.detail.value;
				this.form.hazardCheckName = this.pickerList[data.detail.value].name
				this.form.hazardCheckCode = this.pickerList[data.detail.value].code
				this.form.hazardCheckId = this.pickerList[data.detail.value].id
			},
			//隐患项
			async treeselect() {
				let self = this;
				const {
					data
				} = await securityCheckOptionList({
					searchValue: this.searchValue
				});
				if (data.code == 200) {
					let list = [];
					data.data.forEach(function(item,index) {
						if(index==5){
							console.log(item)
							self.form.hazardCheckName = item.name
							self.form.hazardCheckCode = item.code
							self.form.hazardCheckId = item.id
						}
						list.push(item)
					})
					this.pickerList = list;
				}
			},
			tabClick(index) {
				this.tabIndex = index;
				this.pageType = index;
				this.dataList = [];
				if (index == 1) {
					this.getList();
				} else if (index == 2) {
					this.getListTow();
				}
			},
			tabClickTow(index) {
				this.tabIndexTow = index;
				this.pageType = index;
				this.dataList = [];
				if (index == 1) {
					this.getList();
				} else if (index == 2) {
					this.getListTow();
				}
			},
			/******图片上传******/
			selectImage() {
				let self = this;
				let photoMaxNun=0;
				if (this.form.imgDtoList.length > 5) {
					uni.showToast({
						title: '最多上传6张图片',
						icon: "none",
						mask: true,
						duration: 2000
					});
					return
				}
				photoMaxNun=6-this.form.imgDtoList.length;
				uni.chooseImage({
					count: photoMaxNun,
					sizeType: ["original", "compressed"],
					sourceType: ["album", "camera"],
					success: function(res) {
						if (res.tempFilePaths[0]) {
							res.tempFilePaths.forEach(function(item, index) {
								self.uploadImg(item);
							})
						}


					}
				});
			},
			async uploadImg(tempFilePaths) {
				var self = this;
				uni.showLoading({
					title: '上传中',
					mask: true
				});
				uni.uploadFile({
					url: config.base_url + '/system/file/upload', //仅为示例，非真实的接口地址
					header: {
						'Authorization': uni.getStorageSync('token')
					},
					filePath: tempFilePaths,
					name: 'file',
					formData: {
						'user': 'test'
					},
					success: (uploadFileRes) => {
						let res = JSON.parse(uploadFileRes.data);
						if (res.code == 200) {
							this.form.imgDtoList.push({
								'fileUrl': res.data.url,
								'fileName': res.data.name
							});
						} else {
							uni.showToast({
								title: res.msg,
								icon: "none",
								mask: true,
								duration: 2000
							});
						}
					},
					fail: err => {},
					complete: () => {
						uni.hideLoading()
					}
				});
			},
			//删除图片
			delImg(minIndex) {
				this.form.imgDtoList.splice(minIndex, 1);
				this.$forceUpdate();
			},
			/******搜索房间弹层开关******/
			popupClick(type) {
				if (type == 1) {
					this.room = "";
					this.roomList = [];
					this.popupType = true;
					this.buildBySub();
				} else if (type == 2) {
					this.popupType = false;
				}
			},
			//搜索房间接口
			async buildBySub() {
				let self = this;
				const {
					data
				} = await laboratorySubRelInfoGetRelList({
					'searchValue': this.form.searchValue,
					'subId': this.form.subId,
				});
				if (data.code == 200) {
					if (data.data[0]) {
						this.roomList = data.data;
					} else {
						uni.showToast({
							title: '未找到相关实验室',
							icon: "none",
							mask: true,
							duration: 2000
						});
					}
				}
			},
			//确认搜索房间
			popupClickItem(item) {
				this.$set(this.form, "subId", item.subId)
				this.$set(this.form, "subName", item.subName)
				this.$set(this.form, "subRoom", item.roomNum)
				this.$set(this.form, "deptId", item.deptId)
				this.$set(this.form, "deptName", item.deptName)
				this.$set(this.form, "buildId", item.buildId)
				this.$set(this.form, "buildName", item.buildName)
				this.$set(this.form, "floorId", item.floorId)
				this.$set(this.form, "floorName", item.floorName)
				this.$set(this.form, "typeId", item.typeId)
				this.$set(this.form, "classTypeNames", item.classTypeNames)
				this.$set(this.form, "levelId", item.levelId)
				this.$set(this.form, "classLevelName", item.classLevelName)

				this.popupType = false;
			},
			//实验室详情
			async laboratoryAppletGetSubDetailInfo(infoId) {
				const {
					data
				} = await laboratoryAppletGetSubDetailInfo({
					infoId: infoId
				});
				if (data.code == 200) {
					this.$set(this.form, "subId", data.data.subId)
					this.$set(this.form, "subName", data.data.subName)
					this.$set(this.form, "subRoom", data.data.roomNum)
					this.$set(this.form, "deptId", data.data.deptId)
					this.$set(this.form, "deptName", data.data.deptName)
					this.$set(this.form, "buildId", data.data.buildId)
					this.$set(this.form, "buildName", data.data.buildName)
					this.$set(this.form, "floorId", data.data.floorId)
					this.$set(this.form, "floorName", data.data.floorName)
					this.$set(this.form, "typeId", data.data.typeId)
					this.$set(this.form, "classTypeNames", data.data.classTypeNames)
					this.$set(this.form, "levelId", data.data.levelId)
					this.$set(this.form, "classLevelName", data.data.classLevelName)
				}
			},
			/******调用摄像头******/
			saoCode() {
				pageScanCode()
			},
			acceptSaoCode(){
				let self = this;
				uni.$on('acceptSaoCode', (codeData) => {
					if (codeData.code) {
						self.laboratoryAppletGetSubDetailInfo(codeData.code)
					} else {
						uni.showToast({
							title: '请扫描正确的二维码',
							icon: "none",
							mask: true,
							duration: 2000
						});
					}
				});
			},
			//上报
			async submitForm() {
				let self = this;
				if (!this.form.subId) {
					uni.showToast({
						title: '请选择实验室!',
						icon: "none",
						mask: true,
						duration: 2000
					});
					return
				}
				if (!this.form.hazardDescribe) {
					uni.showToast({
						title: '请输入隐患描述!',
						icon: "none",
						mask: true,
						duration: 2000
					});
					return
				}
				if (this.form.imgDtoList.length <= 0) {
					uni.showToast({
						title: '请选择现场照片!',
						icon: "none",
						mask: true,
						duration: 2000
					});
					return
				}
				const {
					data
				} = await securityAppCheckPhotoMyAdd(self.form);
				if (data.code == 200) {
					uni.showToast({
						title: '提交成功',
						icon: "none",
						mask: true,
						duration: 2000
					});
					let infoData = {
						photoId: data.data
					};
					uni.navigateTo({
						url: '/pages_safetyCheck/views/snapshotManage/snapshotDetail?infoData=' +
							encodeURIComponent(JSON.stringify(infoData))
					});

				}
			},


		}
	}
</script>

<style lang="stylus" scoped>
	.snapshotList {
		height: 100%;
		display flex;

		.tabTitle {
			width: 600rpx;
			height: 80rpx;
			display: flex;
			justify-content: center;
			margin: 20rpx 0 0 74rpx;

			>view:nth-of-type(1) {
				width: 300rpx;
				height: 80rpx;
				border-radius: 50rpx 0rpx 0rpx 50rpx;
			}

			>view:nth-of-type(2) {
				width: 300rpx;
				height: 80rpx;
				border-radius: 0rpx 50rpx 50rpx 0rpx;
			}

			.tab-A {
				font-size: 30rpx;
				color: #FFFFFF;
				line-height: 80rpx;
				text-align: center;
				background: #0183FA;
			}

			.tab-B {
				font-size: 30rpx;
				color: #333333;
				line-height: 80rpx;
				text-align: center;
				background: #FFFFFF;
			}
		}

		.tabTitleTow {
			width: 690rpx;
			height: 80rpx;
			display: flex;
			justify-content: center;
			margin: 20rpx 0 0 30rpx;

			>view:nth-of-type(1) {
				width: 230rpx;
				height: 80rpx;
				border-radius: 50rpx 0rpx 0rpx 50rpx;
			}

			>view:nth-of-type(2) {
				width: 230rpx;
				height: 80rpx;
				border-radius: 0rpx 0rpx 0rpx 0rpx;
			}

			>view:nth-of-type(3) {
				width: 230rpx;
				height: 80rpx;
				border-radius: 0rpx 50rpx 50rpx 0rpx;
			}

			.tab-C {
				font-size: 30rpx;
				color: #FFFFFF;
				line-height: 80rpx;
				text-align: center;
				background: #0183FA;
			}

			.tab-D {
				font-size: 30rpx;
				color: #333333;
				line-height: 80rpx;
				text-align: center;
				background: #FFFFFF;
			}
		}


		.list {
			width: 750rpx;
			min-height: 765rpx;
			margin: 20rpx 0 0 0;

			.list-li {
				height: 100rpx;
				display: flex;
				justify-content: space-between;
				border-bottom: 1rpx solid #E0E0E0;
				padding: 0 30rpx;
				box-sizing: border-box;
				background: #FFFFFF;

				>view:nth-of-type(1) {
					font-size: 30rpx;
					color: #333333;
					line-height: 100rpx;
					text-align: left;
				}

				>view:nth-of-type(2) {
					font-size: 28rpx;
					color: #666666;
					line-height: 100rpx;
					text-align: left;
					display: flex;
					justify-content: flex-start;
					align-items: center;

					>img {
						width: 30rpx;
						height: 30rpx;
						margin-left: 16rpx;
					}
				}

				.project_r {
					width: 510rpx;
					min-height: 80rpx;
					display: flex;
					justify-content: flex-end;
					align-items: center;
					padding-left: 20rpx;
					box-sizing: border-box;
					color: #666;
				}

			}

			.srearch {
				display: flex;
				justify-content: space-between;
				align-items: center;

				.srearch-l {
					font-size: 30rpx;
					color: #333333;
					line-height: 100rpx;
					text-align: left;
				}

				.srearch-r {
					width: 30rpx;
					height: 30rpx;
					margin-right: 0rpx;
				}
			}

			.describe {
				width: 750rpx;
				background: #fff;
				overflow: hidden;

				.describe-n {
					width: 690rpx;
					min-height: 180rpx;
					border-radius: 10rpx 10rpx 10rpx 10rpx;
					border: 1rpx solid #E0E0E0;
					margin: 40rpx;
					padding: 22rpx;
					box-sizing: border-box;
					background: #F5F5F5;
				}
			}

			.check-for-img-max-box {
				padding: 20px 28rpx;
				box-sizing: border-box;
				background: #fff;
				border-bottom: 1rpx solid #E0E0E0;

				.left-title-p {
					width: 100%;
					text-align: left;
					font-size: 30rpx;
					font-family: PingFang SC-Medium, PingFang SC;
					font-weight: 400;
					color: #333333;
					line-height: 80rpx;
				}

				.right-img-box {
					.img-box {
						display inline-block;
						height: 150rpx;
						width: 150rpx;
						position relative;
						margin: 0 10rpx 20rpx 0;
						border-radius 10rpx;
						overflow hidden;

						.img-data {
							height: 150rpx;
							width: 150rpx;
						}

						.position-img {
							position absolute;
							right: 0;
							top: 0;
							width: 36rpx;
							height: 36rpx;
						}
					}

					.img-box:nth-of-type(4n+4) {
						margin-right: 0rpx;
					}

					.add-button {
						margin: 0 0rpx 20rpx 0;
						border-radius 10rpx;
						overflow hidden;
						display inline-block;
						height: 150rpx;
						width: 150rpx;
					}
				}
			}
		}




		/* 实验室弹框 */
		.popup-max-box {
			z-index: 10;
			height: 100%;
			width: 100%;
			position fixed;
			background rgba(0, 0, 0, 0.2);
			display flex;

			flex-direction column;

			.popup-null {
				flex: 1;
			}

			.popup-big-box {
				border-top-left-radius: 20rpx;
				border-top-right-radius: 20rpx;

				background #fff;

				.popup-input-box {
					padding: 30rpx 20rpx;
					display: flex;

					input {
						flex: 1;
						height: 70rpx;
						border: 1rpx solid #e0e0e0;
						border-radius: 10rpx;
						margin-right: 20rpx;
						padding: 0 20rpx;
					}

					view {
						background #0183FA;
						color: #fff;
						border-radius: 10rpx;
						width: 140rpx;
						line-height: 70rpx;
						text-align center;
						font-size: 28rpx;
					}
				}

				.popup-for-max-box {
					margin: 0 20rpx 30rpx;
					height: 600rpx;
					overflow-y scroll;

					.popup-for-null {
						line-height: 100rpx;
						text-align center;
						color: #999;
					}

					.popup-for-box {
						display: flex;
						padding: 10px 0;

						.name-p {
							flex: 1;
							line-height: 60rpx;
						}

						.button-p {
							background #0183FA;
							color: #fff;
							text-align center;
							width: 100rpx;
							line-height: 60rpx;
							height: 60rpx;
							border-radius: 10rpx;
						}
					}
				}
			}
		}

		.subBtn {
			width: 750rpx;
			position: fixed;
			bottom: 30rpx;
			display: flex;
			justify-content: space-between;
			padding: 0 50rpx;
			box-sizing: border-box;
			z-index: 200;

			>img {
				width: 130rpx;
				height: 130rpx;
			}
		}

		/* 上报记录 */
		.escalation {

			.escalation-li {
				width: 690rpx;
				height: 162rpx;
				background: #FFFFFF;
				border-radius: 20rpx 20rpx 20rpx 20rpx;
				margin: 20rpx 30rpx;
				padding: 0 30rpx;
				box-sizing: border-box;

				.escalation-li-t {
					display: flex;
					justify-content: space-between;
					align-items: center;
					border-bottom: 1rpx solid #E0E0E0;

					>view:nth-of-type(1) {
						font-weight: 400;
						font-size: 30rpx;
						color: #333333;
						line-height: 80rpx;
						text-align: left;
					}

					>view:nth-of-type(2) {
						font-weight: 400;
						font-size: 28rpx;
						color: #0183FA;
						line-height: 80rpx;
						text-align: left;
						display: flex;
						justify-content: flex-start;
						align-items: center;

						>img {
							width: 24rpx;
							height: 24rpx;
						}
					}
				}

				.escalation-li-b {
					display: flex;
					justify-content: space-between;
					align-items: center;

					>view:nth-of-type(1) {
						font-weight: 400;
						font-size: 30rpx;
						color: #333333;
						line-height: 80rpx;
						text-align: left;
					}

					>view:nth-of-type(2) {
						font-weight: 400;
						font-size: 30rpx;
						color: #666666;
						line-height: 80rpx;
						text-align: left;
					}
				}

			}
		}

		/* 隐患整改 */
		.hidden {
			width: 690rpx;
			border-radius: 20rpx 20rpx 20rpx 20rpx;
			background: #FFFFFF;
			padding: 0 30rpx;
			box-sizing: border-box;
			margin: 20rpx 30rpx;

			.hidden-li {
				height: 80rpx;
				border-bottom: 1rpx solid #E0E0E0;
				display: flex;
				justify-content: flex-start;
				align-items: center;

				.hidden-li-l {
					width: 34rpx;
					height: 34rpx;
				}

				.hidden-li-c {
					font-size: 28rpx;
					color: #333333;
					line-height: 30rpx;
					text-align: left;
					flex: 1;
					overflow: hidden;
					text-overflow: ellipsis;
					white-space: nowrap;
					margin: 0 84rpx 0 12rpx;
				}

				.hidden-li-r {
					font-size: 28rpx;
					color: #0183FA;
					line-height: 80rpx;
					text-align: left;
					display: flex;
					justify-content: flex-start;
					align-items: center;

					>img {
						width: 24rpx;
						height: 24rpx;
					}
				}
			}

			.hidden-li:last-of-type {
				border: none;
			}
		}

		#color-A {
			color: #0183FA;
		}

		#color-B {
			color: #16B531;
		}

		#color-C {

			color: #FF8C00;
		}

		.get-data-null-p {
			text-align: center;
			height: 100rpx;
			line-height: 100rpx;
			color: #999;
			padding-bottom: 200rpx;
		}
	}
</style>
