1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105 |
- <!-- 安全检查扫一扫 实验室详情 -->
- <template>
- <view class="safetyCardScan">
- <view class="header">
- <view class="tabTitle">
- <view class="tabTitle_li" @tap="tabClick(index)" :key="index" v-for="(item,index) in tabText">
- <view class="tabTitle_text">
- <img :src="item.img">
- <view
- :id="pageType==index&&index==0?'fontColor-A':(pageType==1&&index==1?'fontColor-B':(pageType==2&&index==2?'fontColor-C':''))">
- {{item.name}}
- </view>
- </view>
- <view :class="{on:pageType==index}" class="tabTitle_across">
- <img src="@/pages_safetyCheck/images/img_xyzc_bg@1x.png">
- </view>
- <view class="line"></view>
- </view>
- </view>
- </view>
- <view class="safetyCard" v-if="pageType==0">
- <view class="lab-info">
- <img class="lab-info-l" src="@/pages_safetyCheck/images/icon_aqjc_shiyanshi.png">
- <view class="lab-info-c">
- <view class="lab-info-c-t">
- <view class="lab-info-c-t-l">{{newData.subName}}</view>
- <view class="lab-info-c-t-r"
- :style="'border:1rpx solid '+newData.levelColor+';background:'+newData.levelColorTow+';'">
- <text
- :style="'border-right:1rpx solid '+newData.levelColor+';color:'+newData.levelColor+';'">{{newData.levelName?newData.levelName:''}}</text>
- <text
- :style="'color:'+newData.levelColor+';'">{{newData.typeName?newData.typeName:''}}</text>
- </view>
- </view>
- <view class="lab-info-c-b">
- {{newData.roomNum?newData.roomNum:'-'}}房间&{{newData.buildName}}
- </view>
- </view>
- <view class="lab-info-r">{{newData.subArea}}㎡</view>
- </view>
- <view class="liability-unit">
- <view>学院单位</view>
- <view>{{newData.deptName}}</view>
- </view>
- <view class="small-title-new" @click="unfoldPackUp('subAdminShowType')">
- <view>实验室负责人</view>
- <uni-icons :type="newData.subAdminShowType?'up':'down'" size="12" color='#A2A2A2'></uni-icons>
- </view>
- <view class="sub-head" v-if="newData.subAdminShowType">
- <view>{{newData.adminName}}</view>
- <view @click="callPhone(newData.adminPhone)">
- <img src="@/pages_manage/images/icon_aqxxp_dh.png">
- <view>{{newData.adminPhone}}</view>
- </view>
- </view>
- <view class="small-title-new" @click="unfoldPackUp('adminShowType')">
- <view>安全员</view>
- <uni-icons :type="newData.adminShowType?'up':'down'" size="12" color='#A2A2A2'></uni-icons>
- </view>
- <view v-if="newData.adminShowType">
- <view class="sub-head" v-for="(item,index) in newData.safeUserList" :key="index">
- <view>{{item.safeUserName}}</view>
- <view @click="callPhone(item.safeUserPhone)">
- <img src="@/pages_manage/images/icon_aqxxp_dh.png">
- <view>{{item.safeUserPhone}}</view>
- </view>
- </view>
- </view>
- <view class="classify" v-for="(item,index) in newData.labInfoBrandModels" :key="index">
- <view v-if="item.privateList.length>0" class="small-title-new" @click="unfoldPackUp('list',index)">
- <view>{{item.brandName}}</view>
- <uni-icons :type="item.showType?'up':'down'" size="12" color='#A2A2A2'></uni-icons>
- </view>
- <view v-if="item.privateList.length>0 && item.brandType==1 && !item.isSpecial&&item.showType">
- <view class="small-items-new" v-for="(item2,index2) in item.privateList" :key="index2">
- <view>{{index2+1}}. </view>
- <view>{{item2.infoName}}</view>
- </view>
- </view>
- <view v-if="item.privateList.length>0 && item.brandType==1 && item.isSpecial&&item.showType">
- <view class="small-items-new" v-for="(item2,index2) in item.privateList" :key="index2">
- <view></view>
- <view>{{item2.infoName}}</view>
- </view>
- </view>
- <view v-if="item.privateList.length>0 && item.brandType==2&&item.showType">
- <view class="logotype-img-new">
- <img v-for="(item3,index3) in item.privateList" :key="index3" :src="baseUrl+item3.infoContent">
- </view>
- </view>
- </view>
- </view>
- <view class="position-button-box" v-if="pageType == 0">
- <img class="position-button-p-1" @click="goPage('securityCheck')"
- src="@/pages_safetyCheck/images/icon_aqjc_anquanjiancha.png">
- <img class="position-button-p-2" @click="goPage('snapshot')"
- src="@/pages_safetyCheck/images/icon_aqjc_suishoupai.png">
- </view>
- <view class="shade" v-if="dialogVisible">
- <view class="null-box" @click="dialogClose()"></view>
- <view class="shade_n">
- <view class="title">
- <view>{{dialogTtile}}</view>
- <!-- <img src="@/pages_safetyCheck/images/icon_06.png"> -->
- </view>
- <view class="batch">
- <view class="batch-li" @click="batchClick(item)" v-for="(item,index) in batchList">
- <view class="batch-li-l">
- <text v-if="dialogStatus==0">{{item.planTitle}}</text>
- <text v-if="dialogStatus==1">{{item.checkName}}</text>
- </view>
- <view class="batch-li-r">
- <img src="@/pages_safetyCheck/images/icon_wd_gd@1x.png">
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 物联控制 -->
- <iotControl ref="iotControl" v-if="pageType == 1" :subjectData="subjectData"></iotControl>
- <!-- 进出记录 -->
- <accessRecord v-if="pageType == 2" :subjectData="subjectData"></accessRecord>
- <!-- 语音广播弹窗 -->
- <voiceBroadcast v-if="broadcastPage" :subjectData="subjectData"></voiceBroadcast>
- <!-- 空调弹窗 -->
- <airConditioning v-if="conditioningPage" :airConditioningData="airConditioningData"></airConditioning>
- </view>
- </template>
- <script>
- import {
- pageRestrictVerify
- } from '@/utils/index'
- import {
- securityAppCheckPlanAppTitleList,
- securityAppCheckManageList,
- securityAppCheckSetOptionList,
- } from '@/pages_safetyCheck/api/index.js'
- import {
- iotControl
- } from '@/pages_manage/views/laboratory/iotControl.vue'
- import {
- accessRecord
- } from '@/pages_manage/views/laboratory/accessRecord.vue'
- import {
- voiceBroadcast
- } from '@/pages_manage/views/laboratory/voiceBroadcast.vue'
- import {
- airConditioning
- } from '@/pages_manage/views/laboratory/airConditioning.vue'
- import {
- config
- } from '@/api/request/config.js'
- import {
- } from '@/pages/api/index.js'
- export default {
- name: "safetyCardScan",
- components: {
- iotControl,
- accessRecord,
- voiceBroadcast,
- airConditioning,
- },
- data() {
- return {
- baseUrl: config.base_url,
- pageType: 1,
- tabText: [{
- name: '安全信息牌',
- img: require('@/pages_safetyCheck/images/icon_sys_aqxxp@1x.png'),
- },
- {
- name: '监测控制',
- img: require('@/pages_safetyCheck/images/icon_sys_jckz@1x.png'),
- },
- {
- name: '进出记录',
- img: require('@/pages_safetyCheck/images/icon_sys_jcjl@1x.png'),
- },
- ],
- pageType: 0,
- newData: {
- adminName: '',
- adminPhone: '',
- safeUserList: [],
- labInfoBrandModels: [],
- },
- subjectData: null,
- identityData: uni.getStorageSync('identityData'),
- //语音广播弹窗
- broadcastPage: false,
- //空调弹窗
- conditioningPage: false,
- // 空调弹窗
- airConditioningData: null,
- saoCodeType: false,
- dialogVisible: false,
- dialogTtile: '',
- dialogStatus: 0, //0计划 1批次 2实验室
- batchList: [],
- queryParams: {
- page: 1,
- pageSize: 100,
- checkCategory: '', //1校院巡查 2学院自查
- subId: '',
- },
- checkPlanSetVoList: null,
- form: {},
- OptionListArr:[],//临时存储检查项
- planId:'',
- planTitle:'',
- checkTypeName:'',
- crossCheck:'',
-
- }
- },
- // 父页面
- onReachBottom() {
- uni.$emit('onReachBottom') // 设置监听事件
- },
- onPullDownRefresh() {
- uni.$emit('onPullDownRefresh') // 设置监听事件
- },
- onLoad(option) {
- let newData = JSON.parse(decodeURIComponent(option.infoData));
- newData.subAdminShowType = true;
- newData.adminShowType = true;
- if (newData.labInfoBrandModels) {
- for (let i = 0; i < newData.labInfoBrandModels.length; i++) {
- newData.labInfoBrandModels[i].showType = true;
- }
- }
- if (newData.levelColor) {
- newData.levelColorTow = this.hexToRgb(newData.levelColor, 0.2)
- }
- this.$nextTick(() => {
- this.$set(this, 'newData', newData);
- this.$set(this, 'subjectData', newData);
- this.$set(this, 'pageType', 0);
- })
- },
- onShow() {
- },
- mounted() {
- },
- methods: {
- dialogClose() {
- this.dialogStatus = 0;
- this.dialogVisible = false;
- },
- //十六进制颜色值和RGB格式转换
- hexToRgb(hex, opacity = 1) {
- // 去除#号
- var color = hex.replace("#", "");
- // 分割成红、绿、蓝三部分的16进制字符串
- var red = parseInt(color.substring(0, 2), 16);
- var green = parseInt(color.substring(2, 4), 16);
- var blue = parseInt(color.substring(4, 6), 16);
- return `RGB(${red}, ${green}, ${blue},${opacity})`;
- },
- batchClick(row) {
- let self = this;
- if (this.dialogStatus == 0) { //计划点击
- this.$set(this, 'planId', row.planId);
- this.$set(this, 'planTitle', row.planTitle);
- this.$set(this, 'checkTypeName', row.checkTypeName);
- this.$set(this, 'crossCheck', row.crossCheck);
- if (row.checkPlanSetVoList.length == 1) {
- //如果只有1个检查批次不弹窗
- let planSetId = row.checkPlanSetVoList[0].planSetId
- self.checkPlanSetVoList = row.checkPlanSetVoList[0];
- self.securityAppCheckManageList(planSetId)
- } else if (row.checkPlanSetVoList.length == 0) {
- this.dialogStatus = 0;
- uni.showToast({
- title: '该实验室暂无检查计划!',
- icon: "none",
- mask: true,
- duration: 2000
- });
- return
- } else {
- this.$set(this, 'batchList', row.checkPlanSetVoList);
- this.dialogStatus = 1;
- this.dialogTtile = '批次';
- this.dialogVisible = true;
- }
- } else if (this.dialogStatus == 1) { //批次点击
- /* this.dialogStatus = 2;
- this.dialogTtile = '实验室'; */
- let planSetId = row.planSetId
- self.checkPlanSetVoList = row;
- this.securityAppCheckManageList(planSetId)
- }
- },
- //查询计划
- async securityAppCheckPlanAppTitleList() {
- console.log(this.newData.subId)
- this.queryParams.subId = this.newData.subId;
- this.queryParams.checkStatus = 0;
- let self = this;
- const {
- data
- } = await securityAppCheckPlanAppTitleList(this.queryParams);
- if (data.code == 200) {
- //循环过滤掉当前计划中批次中已经检查完成的
- data.data.records.forEach(function(item, index) {
- let list = [];
- item.checkPlanSetVoList.forEach(function(item2) {
- if (item2.checkSetProgress != 100) {
- list.push(item2)
- }
- })
- item.checkPlanSetVoList = list
- })
- let list2 = []
- list2 = data.data.records.filter(function(item) {
- return item.checkPlanSetVoList.length != 0
- });
- data.data.records = list2
- if (data.data.records.length == 1) { //一个计划
- this.$set(this, 'planId', data.data.records[0].planId);
- this.$set(this, 'planTitle', data.data.records[0].planTitle);
- this.$set(this, 'checkTypeName', data.data.records[0].checkTypeName);
- this.$set(this, 'crossCheck', data.data.records[0].crossCheck);
- if (data.data.records[0].checkPlanSetVoList.length == 1) { //1个批次
- let planSetId = data.data.records[0]
- if (data.data.records[0].checkPlanSetVoList[0]) { //一个批次
- let planSetId = data.data.records[0].checkPlanSetVoList[0].planSetId
- self.checkPlanSetVoList = data.data.records[0].checkPlanSetVoList[0];
- self.securityAppCheckManageList(planSetId)
- }
- } else if (data.data.records[0].checkPlanSetVoList.length == 0) {
- this.dialogStatus = 0;
- uni.showToast({
- title: '该实验室暂无检查计划!',
- icon: "none",
- mask: true,
- duration: 2000
- });
- return
- } else { //多个批次
- this.dialogStatus = 1;
- this.batchList = data.data.records[0].checkPlanSetVoList;
- this.dialogVisible = true;
- this.dialogTtile = '批次';
- }
- } else if (data.data.records.length==0) {
- this.dialogStatus = 0;
- uni.showToast({
- title: '该实验室暂无检查计划!',
- icon: "none",
- mask: true,
- duration: 2000
- });
- return
- } else { //多个计划
- this.batchList = data.data.records;
- this.dialogVisible = true;
- this.dialogTtile = '计划标题';
- }
- }
- },
- //检查任务-在此结果里对比实验室Id判断是否有实验室
- async securityAppCheckManageList(planSetId) {
- let self = this;
- let obj = {
- page: 1,
- pageSize: 20,
- planSetId: planSetId,
- subId: self.newData.subId,
- }
- const {
- data
- } = await securityAppCheckManageList(obj);
- if (data.code == 200) {
- //this.shadeList = data.data.records;
- if (data.data.records[0]) {
- let manageId = data.data.records[0].manageId;
- self.securityAppCheckSetOptionList(data.data.records[0],0);
- } else {
- self.dialogStatus = 0;
- self.dialogVisible = false;
- uni.showToast({
- title: '该实验室暂无检查计划!',
- icon: "none",
- mask: true,
- duration: 2000
- });
- return
- }
- }
- },
- //查询检查项
- async securityAppCheckSetOptionList(item,checkStatus) {
- let self = this;
- let upData = item;
- let obj = {
- page: 1,
- pageSize: 20,
- checkStatus: checkStatus,
- manageId: upData.manageId,
- }
- const {
- data
- } = await securityAppCheckSetOptionList(obj);
- if (data.code == 200 && checkStatus==0) {//先查询待检查数据
- if (data.data.records[0]) {
- let infoData = {};
- infoData.pageType = 0;
- infoData.itemsStatus = 0;
- infoData.subName = upData.subName;
- infoData.checkPlanSetVoList = self.checkPlanSetVoList;
- infoData.planId = self.planId;
- infoData.planTitle = self.planTitle;
- infoData.checkTypeName = self.checkTypeName;
- infoData.crossCheck = self.crossCheck;
-
- infoData.roomNum = upData.roomNum;
- infoData.subId = data.data.records[0].subId;
- infoData.manageId = data.data.records[0].manageId;
- infoData.setOptionId = data.data.records[0].setOptionId;
- infoData.hazardCheckPro = data.data.records[0].hazardCheckPro;
- infoData.checkCategory = data.data.records[0].checkCategory;
- uni.navigateTo({
- url: '/pages_safetyCheck/views/inspectManage/conductInspections?infoData=' +
- encodeURIComponent(
- JSON
- .stringify(infoData))
- });
- } else {
- self.securityAppCheckSetOptionList(item,2);
-
- }
- }else if (data.code == 200 && checkStatus==2) {//查询检查中数据
- if (data.data.records[0]) {
- let infoData = {};
- infoData.pageType = 0;
- infoData.itemsStatus = 0;
- infoData.subName = upData.subName;
- infoData.checkPlanSetVoList = self.checkPlanSetVoList;
- infoData.planId = self.planId;
- infoData.planTitle = self.planTitle;
- infoData.checkTypeName = self.checkTypeName;
- infoData.crossCheck = self.crossCheck;
- infoData.roomNum = upData.roomNum;
- infoData.subId = data.data.records[0].subId;
- infoData.manageId = data.data.records[0].manageId;
- infoData.setOptionId = data.data.records[0].setOptionId;
- infoData.hazardCheckPro = data.data.records[0].hazardCheckPro;
- infoData.checkCategory = data.data.records[0].checkCategory;
- uni.navigateTo({
- url: '/pages_safetyCheck/views/inspectManage/conductInspections?infoData=' +
- encodeURIComponent(
- JSON
- .stringify(infoData))
- });
- } else {
- self.dialogStatus = 0;
- self.dialogVisible = false;
- uni.showToast({
- title: '该实验室暂无检查项!',
- icon: "none",
- mask: true,
- duration: 2000
- });
- return
- }
- }
- },
- //拨打电话
- callPhone(tel) {
- uni.makePhoneCall({
- phoneNumber: tel
- })
- },
- goVideoPage() {
- console.log('视频')
- let obj = {
- type: 4,
- subId: this.newData.subId
- }
- uni.navigateTo({
- url: '/pages_manage/views/laboratory/videoPlayer?item=' + encodeURIComponent(JSON.stringify(
- obj))
- });
- },
- getIotControlData() {
- this.$refs['iotControl'].iotAppHardwareFindByType();
- },
- buttonClick(type, row) {
- let self = this;
- if (type == 'subDetail') {
- //实验室详情
- } else if (type == 'broadcastOpen') {
- //语音弹窗开启
- this.$set(this, 'broadcastPage', true);
- } else if (type == 'broadcastClose') {
- //语音弹窗关闭
- this.$set(this, 'broadcastPage', false);
- } else if (type == 'conditioningOpen') {
- //空调弹窗开启
- this.$set(this, 'airConditioningData', row);
- this.$set(this, 'conditioningPage', true);
- } else if (type == 'conditioningClose') {
- //空调弹窗关闭
- this.$set(this, 'conditioningPage', false);
- } else if (type == 'back') {
- this.$set(this, 'pageType', 2);
- }
- },
- //展开/收起操作
- unfoldPackUp(type, index) {
- if (type == 'subAdminShowType') {
- this.$set(this.newData, 'subAdminShowType', !this.newData.subAdminShowType);
- } else if (type == 'adminShowType') {
- this.$set(this.newData, 'adminShowType', !this.newData.adminShowType);
- } else if (type == 'list') {
- this.$set(this.newData.labInfoBrandModels[index], 'showType', !this.newData.labInfoBrandModels[index]
- .showType);
- }
- },
- //顶部tab点击
- tabClick(index) {
- if (this.pageType != index) {
- this.$set(this, 'pageType', index);
- }
- },
- goPage(type) {
- if (!pageRestrictVerify(type)) {
- uni.showToast({
- title: '没有相关权限,请联系管理员',
- icon: "none",
- mask: true,
- duration: 2000
- });
- return
- }
- if (type == 'securityCheck') {
- //安全检查
- this.securityAppCheckPlanAppTitleList();
- /* uni.navigateTo({
- url: "/pages_safetyCheck/views/safetyCheck",
- }); */
- } else if (type == 'snapshot') {
- console.log(this.newData)
- this.$set(this.form, "subId", this.newData.subId)
- this.$set(this.form, "subName", this.newData.subName)
- this.$set(this.form, "subRoom", this.newData.roomNum)
- this.$set(this.form, "deptId", this.newData.deptId)
- this.$set(this.form, "deptName", this.newData.deptName)
- this.$set(this.form, "buildId", this.newData.buildId)
- this.$set(this.form, "buildName", this.newData.buildName)
- this.$set(this.form, "floorId", this.newData.floorId)
- this.$set(this.form, "floorName", this.newData.floorName)
- this.$set(this.form, "typeId", this.newData.typeId)
- this.$set(this.form, "classTypeNames", this.newData.typeName)
- this.$set(this.form, "levelId", this.newData.levelId)
- this.$set(this.form, "classLevelName", this.newData.levelName)
- uni.navigateTo({
- url: '/pages_safetyCheck/views/snapshotManage/snapshotList?form=' +
- encodeURIComponent(JSON.stringify(this.form))
- });
- }
- },
- }
- }
- </script>
- <style lang="stylus" scoped>
- .safetyCardScan {
- height: 100%;
- #fontColor-A {
- color: #00DEDE;
- }
- #fontColor-B {
- color: #FF8C00;
- }
- #fontColor-C {
- color: #0083FD;
- }
- .header {
- height: 192rpx;
- width: 100%;
- // position: fixed;
- // top: 0rpx;
- // z-index: 100;
- background: #fff;
- .tabTitle {
- width: 750rpx;
- height: 188rpx;
- display flex;
- justify-content: flex-start;
- align-items: center;
- border-bottom: 4rpx solid #F5F5F5;
- .tabTitle_li {
- height: 188rpx;
- flex: 1;
- position: relative;
- text-align center;
- .tabTitle_text {
- display: flex;
- justify-content: center;
- flex-direction: column;
- align-items: center;
- >img {
- width: 80rpx;
- height: 80rpx;
- margin-top: 20rpx;
- }
- >view:nth-of-type(1) {
- font-size: 30rpx;
- color: #333333;
- line-height: 42rpx;
- text-align: left;
- margin-top: 10rpx;
- }
- >view:nth-of-type(2) {
- font-size: 24rpx;
- color: #666666;
- line-height: 34rpx;
- text-align: left;
- }
- position: relative;
- &.on {}
- }
- .line {
- width: 2rpx;
- height: 40rpx;
- background: #D8D8D8;
- position: absolute;
- top: 40%;
- }
- .tabTitle_across {
- /* width: 50rpx;
- height: 4rpx;
- background: #0183FA;
- border-radius: 2rpx; */
- margin-left: 38%;
- margin-top: 12rpx;
- display none;
- >img {
- width: 40rpx;
- height: 26rpx;
- }
- &.on {
- display block;
- }
- }
- }
- }
- }
- /* 安全信息牌 */
- .safetyCard {
- padding-bottom: 150rpx;
- .lab-info {
- background: #FFFFFF;
- display: flex;
- justify-content: space-between;
- .lab-info-l {
- width: 80rpx;
- height: 80rpx;
- background: #0183FA;
- border-radius: 10rpx 10rpx 10rpx 10rpx;
- margin-left: 30rpx;
- margin-top: 30rpx;
- }
- .lab-info-c {
- width: 500rpx;
- margin: 24rpx 30rpx 0 20rpx;
- .lab-info-c-t {
- display: flex;
- justify-content: space-between;
- .lab-info-c-t-l {
- font-size: 30rpx;
- color: #333333;
- line-height: 42rpx;
- text-align: left;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .lab-info-c-t-r {
- display: flex;
- justify-content: flex-start;
- background: rgba(255, 0, 0, 0.2);
- border-radius: 10rpx 10rpx 10rpx 10rpx;
- border: 2rpx solid #FF0000;
- width: 180rpx;
- height: 40rpx;
- margin-left: 10rpx;
- >text {
- display: inline-block;
- flex: 1;
- text-align: center;
- font-size: 24rpx;
- color: #FF0000;
- line-height: 40rpx;
- text-align: center;
- }
- >text:nth-of-type(1) {
- border-right: 2rpx solid #FF0000;
- }
- >text:nth-of-type(2) {}
- }
- }
- .lab-info-c-b {
- font-size: 30rpx;
- color: #666666;
- line-height: 42rpx;
- text-align: left;
- margin-top: 10rpx;
- }
- }
- .lab-info-r {
- width: 100rpx;
- height: 150rpx;
- background: rgba(1, 131, 250, 0.2);
- border-radius: 0rpx 0rpx 0rpx 0rpx;
- font-size: 28rpx;
- color: #0183FA;
- line-height: 150rpx;
- text-align: center;
- }
- }
- .liability-unit {
- width: 750rpx;
- height: 80rpx;
- background: #FFFFFF;
- border-bottom: 1rpx solid #E0E0E0;
- padding: 0 30rpx;
- box-sizing: border-box;
- display: flex;
- justify-content: space-between;
- margin-top: 14rpx;
- >view:nth-of-type(1) {
- font-size: 30rpx;
- color: #333333;
- line-height: 80rpx;
- text-align: left;
- }
- >view:nth-of-type(2) {
- font-size: 30rpx;
- color: #666666;
- line-height: 80rpx;
- text-align: left;
- }
- }
- .small-title {
- width: 750rpx;
- height: 80rpx;
- background: #FFFFFF;
- border-bottom: 1rpx solid #E0E0E0;
- padding: 0 30rpx;
- box-sizing: border-box;
- display: flex;
- justify-content: space-between;
- align-items: center;
- >view {
- font-size: 30rpx;
- color: #333333;
- line-height: 80rpx;
- text-align: left;
- }
- >img {
- width: 24rpx;
- height: 12rpx;
- }
- }
- .sub-head {
- width: 750rpx;
- height: 80rpx;
- background: #fff;
- padding: 0 30rpx;
- box-sizing: border-box;
- display: flex;
- justify-content: space-between;
- align-items: center;
- border-bottom: 1rpx solid #E0E0E0;
- >view:nth-of-type(1) {
- font-family: PingFang SC;
- font-weight: 500;
- font-size: 30rpx;
- color: #666666;
- line-height: 30rpx;
- }
- >view:nth-of-type(2) {
- display: flex;
- justify-content: flex-end;
- align-items: center;
- >img {
- width: 34rpx;
- height: 34rpx;
- margin-right: 14rpx;
- }
- >view {
- font-family: PingFang SC;
- font-weight: 500;
- font-size: 30rpx;
- color: #0183FA;
- line-height: 30rpx;
- }
- }
- }
- .sub-head:last-child {
- border-bottom: none;
- }
- .small-title-new {
- width: 750rpx;
- height: 80rpx;
- background: #FFFFFF;
- border-bottom: 1rpx solid #E0E0E0;
- padding: 0 30rpx;
- box-sizing: border-box;
- display: flex;
- justify-content: space-between;
- align-items: center;
- >view {
- font-size: 30rpx;
- color: #333333;
- line-height: 80rpx;
- text-align: left;
- }
- >img {
- width: 24rpx;
- height: 12rpx;
- }
- }
- .classify {
- .small-items-new {
- padding-left: 20rpx;
- box-sizing: border-box;
- background: #fff;
- display: flex;
- justify-content: flex-start;
- padding: 30rpx;
- box-sizing: border-box;
- border-bottom: 1rpx solid #E0E0E0;
- >view:nth-of-type(1) {
- color: #999999;
- font-weight: 500;
- font-size: 28rpx;
- margin-right: 12rpx;
- line-height: 34rpx;
- }
- >view:nth-of-type(2) {
- display: block;
- font-family: PingFang SC;
- font-weight: 500;
- font-size: 28rpx;
- line-height: 34rpx;
- color: #999999;
- }
- }
- .logotype-img-new {
- padding: 26rpx 0 34rpx 0;
- box-sizing: border-box;
- background: #fff;
- >img {
- display: inline-block;
- width: 86rpx;
- height: 114rpx;
- margin-left: 30rpx;
- margin-bottom: 20rpx;
- }
- }
- .small-items {
- padding-left: 20rpx;
- box-sizing: border-box;
- background: #fff;
- display: flex;
- justify-content: flex-start;
- padding: 20rpx;
- box-sizing: border-box;
- >view:nth-of-type(1) {
- color: #999999;
- font-weight: 500;
- font-size: 28rpx;
- margin-right: 12rpx;
- line-height: 34rpx;
- }
- >view:nth-of-type(2) {
- display: block;
- font-family: PingFang SC;
- font-weight: 500;
- font-size: 28rpx;
- line-height: 34rpx;
- color: #999999;
- }
- }
- .logotype {
- width: 750rpx;
- height: 100rpx;
- font-family: PingFang SC;
- font-weight: 500;
- font-size: 32rpx;
- color: #333333;
- line-height: 100rpx;
- padding-left: 20rpx;
- box-sizing: border-box;
- background: #0183FA;
- color: #fff;
- }
- .logotype-img {
- padding: 26rpx 0 34rpx 0;
- box-sizing: border-box;
- background: #fff;
- >img {
- display: inline-block;
- width: 86rpx;
- height: 114rpx;
- margin-left: 30rpx;
- margin-bottom: 20rpx;
- }
- }
- }
- }
- .position-button-box {
- position: fixed;
- bottom: 26rpx;
- display: flex;
- justify-content: center;
- >img {
- width: 130rpx;
- height: 130rpx;
- }
- .position-button-p-1 {
- margin-left: 174rpx;
- margin-right: 120rpx;
- }
- .position-button-p-2 {}
- }
- .shade {
- height: 100%;
- width: 100%;
- position: fixed;
- display: flex;
- flex-direction: column;
- z-index: 200;
- background: rgba(0, 0, 0, 0.2);
- top: 0;
- .null-box {
- flex: 1;
- }
- .shade_n {
- position: absolute;
- bottom: 0;
- left: 0;
- width: 750rpx;
- height: 466rpx;
- background: #FFFFFF;
- border-radius: 20rpx 20rpx 0rpx 0rpx;
- overflow-y: auto;
- .title {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 0 50rpx 0 284rpx;
- box-sizing: border-box;
- border-bottom: 1rpx solid #E0E0E0;
- >view {
- font-size: 30rpx;
- color: #3D3D3D;
- line-height: 90rpx;
- text-align: left;
- }
- >img {
- width: 24rpx;
- height: 12rpx;
- }
- }
- .batch {
- padding: 0 30rpx;
- box-sizing: border-box;
- .batch-li {
- display: flex;
- justify-content: space-between;
- align-items: center;
- border-bottom: 1rpx solid #E0E0E0;
- padding: 20rpx 0 16rpx 0rpx;
- box-sizing: border-box;
- .batch-li-l {
- >text:nth-of-type(1) {
- display: block;
- font-size: 30rpx;
- color: #333333;
- line-height: 42rpx;
- text-align: left;
- }
- >text:nth-of-type(2) {
- display: block;
- font-size: 28rpx;
- color: #666666;
- line-height: 39rpx;
- text-align: left;
- margin-top: 6rpx;
- }
- }
- .batch-li-r {
- font-size: 28rpx;
- color: #666666;
- line-height: 39rpx;
- text-align: left;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- >img {
- width: 24rpx;
- height: 24rpx;
- margin-left: 9rpx;
- }
- }
- }
- }
- }
- }
- }
- </style>
|