12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871 |
- <template>
- <div class="main">
- <img class="bg_img" src="@/assets/image/bg.png"/>
- <div class="header">
- <p class="header_l"></p>
- <img class="header_l-position" :src="rectangleLogo"/>
- <div class="header_c">实验室安全智慧化管控系统</div>
- <div class="header_r1">
- <img class="header_r1_l" src="@/assets/image/index_icon3.png"/>
- <i class="schoolName">{{deptName?deptName:'****'}}</i>
- <img class="header_r1_r" src="@/assets/image/index_icon4.png" @click="openBackManageUrl()"/>
- </div>
- <p class="position-button-right-bottom-1" @click="topButtonGoPage('video')">视频监控</p>
- <p class="position-button-right-bottom-2" @click="topButtonGoPage('alarm')">智能预警</p>
- </div>
- <div class="left">
- <div class="left_t">
- <img class="left_t_l" src="@/assets/image/index_icon5.png"/>
- <div class="left_t_l1"></div>
- <div class="left_t_c">
- <li :class="{'checked_li':checkedNum==0}" @click="checkedNumButton(0)">校院通知</li>
- <li :class="{'checked_li':checkedNum==1}" @click="checkedNumButton(1)">预警事件</li>
- <li :class="{'checked_li':checkedNum==2}" @click="checkedNumButton(2)">工作计划</li>
- </div>
- <div class="left_t_n">
- <el-carousel ref="el-carousel" class="swiper-container" @change="checkedNumChange" :interval="6000"
- trigger="click" direction="vertical" indicator-position="none" height="410px">
- <el-carousel-item class="swiper-wrapper">
- <div class="swiper-slide">
- <!--院校通知-->
- <div class="left_t_r" v-if="infoList">
- <li v-for='(item,index) in infoList' :key="index" @click="openInfoUrl(item,1)">
- <div class="left_t_r_t">
- <i>{{item.title}}</i>
- <i>{{item.company}}</i>
- <i>{{parseTime(item.createTime,'{y}-{m}-{d}')}}</i>
- <img class="left_t_r_t_r" src="@/assets/image/index_icon8.png"/>
- </div>
- <div class="left_t_r_b over2">{{item.contentText}}</div>
- </li>
- <div v-if="infoList.length<=0"
- style="position:relative;left: 44%; top:8%;color:#fff;">暂无数据
- </div>
- </div>
- </div>
- </el-carousel-item>
- <el-carousel-item class="swiper-wrapper">
- <div class="swiper-slide">
- <!--预警事件通知-->
- <div class="left_t_r2" v-if="planList">
- <div class="left_t_r2_title">
- <p>预警事件通知</p>
- <img src="@/assets/image/index_icon8.png" @click="eventUrl()"/>
- </div>
- <div class="left_t_r2_m">
- <i>预警时间</i>
- <i>预警事件</i>
- <i>实验室</i>
- </div>
- <div class="left_t_r2_b" v-for='(item,index2) in planList' :key="index2">
- <li v-if="index2<7" @click="openInfoUrl(item,2)">
- <i class="over">{{parseTime(item.warnTime,'{y}-{m}-{d} {h}:{i}')}}</i>
- <i>{{item.warnContent}}</i>
- <i>{{item.subName}}</i>
- <img src="@/assets/image/index_icon8.png"/>
- </li>
- </div>
- <div v-if="planList.length<=0"
- style="position:relative;left: 44%; top:8%;color:#fff;">暂无数据
- </div>
- </div>
- </div>
- </el-carousel-item>
- <el-carousel-item class="swiper-wrapper">
- <div class="swiper-slide">
- <!--工作计划-->
- <div class="left_t_r3" v-if="workList">
- <!--<div class="left_t_r2_t">
- <i>{{planTitle}}</i>
- </div>-->
- <div class="left_t_r2_m">
- <i>工作内容</i>
- <i>执行单位</i>
- <i>执行日期</i>
- </div>
- <div class="left_t_r2_b" v-for='(item,index2) in workList' :key="index2">
- <li v-if="index2<7" @click="openInfoUrl(item,3)">
- <i class="over">{{item.title}}</i>
- <i>{{item.company}}</i>
- <i>{{parseTime(item.createTime,'{y}-{m}-{d}')}}</i>
- <img src="@/assets/image/index_icon8.png"/>
- </li>
- </div>
- <div v-if="workList.length<=0" style="position:relative;left: 44%; top:8%;color:#fff;">暂无数据</div>
- </div>
- </div>
- </el-carousel-item>
- </el-carousel>
- </div>
- </div>
- <div class="left_b">
- <personnelAdmittanceECharts v-if="!warningList[1]"></personnelAdmittanceECharts>
- <img class="left_b_t1" v-if="!warningList[1]" src="@/assets/image/index_icon12.png"/>
- <!--实验室信息-->
- <subSensorComponent v-if="!warningList[0]"></subSensorComponent>
- <!--报警预案-->
- <div class="warning-max-big-box" :class="warningList[1]?'warning-max-big-box-all':''"
- v-if="warningList[0]">
- <div class="warning-for-box" v-for='(item,index8) in warningList' :key="index8">
- <img src="@/assets/image/index_icon14.png">
- <p class="warning-name">{{item.eventName}}</p>
- <div>
- <span v-for="(minItem,index9) in item.triggerUploadData" :key="index9">{{minItem.deviceName}}:{{minItem.deviceValue}}{{minItem.unit}}</span>
- </div>
- <p class="warning-button" @click="openRiskPlanUrl(item)">查看详情 >></p>
- </div>
- </div>
- </div>
- </div>
- <div class="right">
- <div class="right_t">
- <!--公共小标题-->
- <div class="small_title">
- <div class="small_title_l">风险预警统计</div>
- <div class="small_title_r" @click="right_t_btn">
- <i>风险预警总数:{{planResultCount}}</i>
- <img class="right_t_btn" src="@/assets/image/index_icon8.png"/>
- </div>
- </div>
- <div class="right_t_b" id="right_t_b"></div>
- <img class="left_b_t1" src="@/assets/image/index_icon12.png"/>
- </div>
- <div class="right_b">
- </div>
- </div>
- <planAlarm ref="planAlarm"></planAlarm>
- </div>
- </template>
- <script>
- import {
- getLogoInfo,
- indexListRelease,
- mySub,
- onlineSumByBigView,
- getUrlConfig,
- requestUrl, getTypeCount, getFiedCount
- } from '../../api/http'
- import {
- systemNotifyList,
- laboratoryBigViewSelectTriggerInfo,
- laboratoryBigViewCollegeEventStatistics,
- laboratoryBigViewListCollegeApplyColumn,
- examBigViewNewStatistics,
- systemWarningNoticeNoMenuList
- } from '@/api/index'
- import {
- laboratoryClassTypeGetList
- } from '@/api/index'
- import Swiper from 'swiper'
- import $ from 'jquery'
- import mqtt from 'mqtt/dist/mqtt'
- import { getToken, removeToken } from '@/utils/auth'
- import { Encrypt, Decrypt } from '@/utils/secret'
- import subSensorComponent from '@/components/subSensorComponent.vue'
- import planAlarm from '@/components/planAlarm/planAlarm.vue'
- import personnelAdmittanceECharts from '@/components/personnelAdmittanceECharts/personnelAdmittanceECharts.vue'
- export default {
- components: {
- subSensorComponent,
- planAlarm,
- personnelAdmittanceECharts
- },
- data() {
- return {
- rectangleLogo: localStorage.getItem('rectangleLogo'),
- deptName: null,
- deptId: null,
- mtopicTwo: 'manage/work' + localStorage.getItem('userId'),
- timer: null,//定时器
- chartReload3: null,//定时器
- chartReload4: null,//定时器
- chartReload5: null,//定时器
- chartReload6: null,//定时器
- dataList: [],
- labList: [],//实验室人员
- infoList: [],//院校通知
- planList: [],//预警事件
- planTitle: '',//预警事件
- workList: [],//工作计划
- workTitle: '',//工作计划
- inspecremark: '',//安全检查时间
- inspeccheckZs: '',//安全检查隐患排查数
- inspeccheckWzg: '',//安全检查历史遗留
- inspeccheckYzg: '',//安全检查已整改
- labInfoList: [],//实验室信息
- controlTitle: '',//分级管控标题
- inspectBatchList: [],//安全检查批次列表
- //风险预案
- warningList: [],
- groupName: '',
- roomName: '',
- buildName: '',
- floorName: '',
- riskPlanId: '',//风险预案id
- subjectId: '',//实验室id
- sensorStr: '',//实验室id
- planId: '',//安全检查id
- checkedNum: 0,
- //首页总数
- resultCount: '',
- listcount: '',
- planResultCount: '',
- mySwiper: null,
- labTypeList: [],
- //v3
- classifyList: [],
- //MQTT请求参数-预案
- planOpic: 'lab/risk/plan/change',
- planClient: {}
- }
- },
- created() {
- this.$set(this, 'deptName', localStorage.getItem('deptName'))
- this.$set(this, 'deptId', localStorage.getItem('deptId'))
- },
- mounted() {
- let self = this
- self.infoFun()
- self.warningPlanFun()
- self.workPlanFun()
- self.laboratoryBigViewSelectTriggerInfo()
- self.laboratoryBigViewCollegeEventStatistics()
- this.offPlanMQTT('on')
- this.timerPlay()
- },
- methods: {
- //跳转视频/应急页面
- topButtonGoPage(type) {
- if (type == 'video') {
- this.$router.push('/videoSurveillance')
- } else if (type == 'alarm') {
- this.$router.push('/emergencyManagement')
- }
- },
- // 定时器
- timerPlay() {
- let self = this
- clearInterval(this.timer)
- this.timer = setInterval(function() {
- self.infoFun()
- self.warningPlanFun()
- self.workPlanFun()
- self.laboratoryBigViewSelectTriggerInfo()
- self.laboratoryBigViewCollegeEventStatistics()
- }, 50000 * 6)
- },
- /**V3新--------------start----**/
- // 切换轮播
- checkedNumButton(type) {
- if (type != this.checkedNum) {
- this.$set(this, 'checkedNum', type)
- this.$set(this.$refs['el-carousel'], 'activeIndex', type)
- }
- },
- checkedNumChange() {
- this.$set(this, 'checkedNum', this.$refs['el-carousel'].activeIndex)
- },
- //跳转页面
- tableButton(type, row) {
- if (type == 'classifyGradeDetail') {//实验室分类分级
- this.$router.push('./classifyGradeDetail')
- } else if (type == 'riskDetail') {//危险源统计
- this.$router.push('./riskDetail')
- } else if (type == 'dangerDetail') {//安全隐患统计
- this.$router.push('./dangerDetail')
- }
- },
- /**V3新--------------end----**/
- initSwiper() {
- let self = this
- self.mySwiper = new Swiper('.swiper-container', {
- //loop: true, // 循环模式选项
- //autoplay:true,
- autoplay: {
- delay: 12000,
- stopOnLastSlide: false,
- disableOnInteraction: true
- },
- direction: 'vertical',
- //监听滚动到第几页
- on: {
- slideChangeTransitionEnd: function() {
- self.checkedNum = this.realIndex
- }
- }
- })
- },
- //通知详情
- openInfoUrl(item, type) {
- this.$router.push(
- {
- path: './workInfoDetail',
- query: {
- item: item,
- type: type
- }
- })
- },
- //安全检查
- openinspectUrl() {
- this.$router.push({ path: './inspectDetail' })
- },
- //预警通知
- eventUrl() {
- this.$router.push({ path: './eventList' })
- },
- //进入实验室人员
- right_b_btn() {
- this.$router.push('./labPersonDetail')
- },
- //预案执行统计
- right_t_btn() {
- this.$router.push('./planDetail')
- },
- //获取报警信息
- openRiskPlanUrl(item) {
- this.$refs['planAlarm'].initialize(item)
- },
- //跳转后台管理
- openBackManageUrl() {
- this.$confirm('确定注销并退出系统吗?', '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- removeToken()
- if (localStorage.getItem('entranceJumpType') == 'PC') {
- window.location.href = process.env.VUE_APP_OUT_URL
- } else {
- window.location.href = '#/'
- }
- }).catch(() => {
- })
- },
- //预案执行统计
- laboratoryBigViewCollegeEventStatistics() {
- let self = this
- laboratoryBigViewCollegeEventStatistics({}).then((res) => {
- if (res.code == 200) {
- let dataX = []
- let dataValue = []
- let data = res.data.list
- self.planResultCount = res.data.total
- for (var i = 0; i < data.length; i++) {
- dataX.push(data[i].yearMonth)
- dataValue.push(data[i].count)
- }
- this.planFun(dataX, dataValue)
- }
- })
- },
- getAjaxData: function() {
- let self = this
- //获取logo图片
- getLogoInfo({}).then((res) => {
- if (res.code == 200) {
- $('.header_l').attr('src', requestUrl + res.data.rectangleLogo)
- $('.schoolName').html(res.data.schoolName)
- localStorage.setItem('logoImg', requestUrl + res.data.rectangleLogo)
- }
- })
- getUrlConfig().then(response => {
- console.log('开发配置', response.data)
- //判定http或者https
- let urlText = window.location.href.split('://')[0] + '://'
- let outerNet = window.location.href.indexOf(response.data.ipIdentify) == -1//true外网 false 内网
- if (outerNet) {//外网
- //文件预览地址
- localStorage.setItem('filePreviewUrl', urlText + response.data.fileExtranetUrl)
- //摄像头代理访问地址
- localStorage.setItem('cameraExtranetAgent', urlText + response.data.cameraExtranetAgent)
- //摄像头地址ip段
- localStorage.setItem('ipIdentify', response.data.ipIdentify)
- //摄像头访问地址
- localStorage.setItem('cameraUrl', urlText + response.data.cameraExtranetUrl)
- //MQTT地址
- localStorage.setItem('mqttUrl', 'wss://' + Decrypt(response.data.mqttExtranetUrl))
- //MQTT账号
- localStorage.setItem('mqttUser', Decrypt(response.data.mqttExtranetUser))
- //MQTT密码
- localStorage.setItem('mqttPassword', Decrypt(response.data.mqttExtranetPassword))
- //可视化大屏访问地址
- localStorage.setItem('screenUrl', urlText + response.data.screenExtranetUrl)
- //后台访问地址
- localStorage.setItem('pcVisitUrl', urlText + response.data.pcExtranetUrl)
- } else {
- //文件预览地址
- localStorage.setItem('filePreviewUrl', urlText + response.data.fileIntranetUrl)
- //摄像头代理访问地址
- localStorage.setItem('cameraExtranetAgent', urlText + response.data.cameraIntranetAgent)
- //摄像头地址ip段
- localStorage.setItem('ipIdentify', response.data.ipIdentify)
- //摄像头访问地址
- localStorage.setItem('cameraUrl', urlText + response.data.cameraIntranetUrl)
- //MQTT地址
- localStorage.setItem('mqttUrl', 'ws://' + Decrypt(response.data.mqttIntranetUrl))
- //MQTT账号
- localStorage.setItem('mqttUser', Decrypt(response.data.mqttIntranetUser))
- //MQTT密码
- localStorage.setItem('mqttPassword', Decrypt(response.data.mqttIntranetPassword))
- //可视化大屏访问地址
- localStorage.setItem('screenUrl', urlText + response.data.screenIntranetUrl)
- //后台访问地址
- localStorage.setItem('pcVisitUrl', urlText + response.data.pcIntranetUrl)
- }
- })
- //实验室人员
- onlineSumByBigView({ pageNumStr: 1, pageSizeStr: 50 }).then((res) => {
- if (res.code == 200) {
- let data = res.data.list
- self.labResultCount = res.data.resultCount
- self.labList = data
- }
- })
- //实验室分类
- getTypeCount({}).then((res) => {
- if (res.code == 200) {
- let data = res.data
- this.labTypeList = data
- }
- })
- //实验室分级
- getFiedCount({}).then((res) => {
- if (res.code == 200) {
- let self = this
- let data = res.data
- let dataX = []
- data.forEach(function(item) {
- dataX.push({ name: item.classifiedName, value: item.totalNum })
- })
- self.classifyFun(dataX)
- }
- })
- //安全检查批次
- indexListRelease({ pageNum: 1, pageSize: 10 }).then((res) => {
- if (res.code == 200) {
- let data = res.rows
- let list = []
- let num = 0
- if (data.length < 10) {
- for (var i = 0; i < 10; i++) {
- if (num == data.length) {
- num = 0
- }
- list.push(data[num])
- num++
- }
- self.inspectBatchList = list
- } else {
- self.inspectBatchList = data
- }
- }
- })
- //实验室信息
- mySub({}).then((res) => {
- if (res.code == 200) {
- let data = res.data
- self.labInfoList = []
- data.forEach(function(item) {
- if (item.sensorFunctionStatusList.length > 0) {
- self.labInfoList.push(item)
- }
- })
- /* self.controlList=data.list
- self.controlTitle=data.title*/
- }
- })
- },
- //校院通知
- infoFun: function() {
- let self = this
- systemNotifyList({ pageNum: 1, pageSize: 4, notifyType: 2 }).then((res) => {
- if (res.code == 200) {
- res.data.forEach((item) => {
- item.contentText = item.content.replace(/<\/?.+?\/?>/g, '')
- })
- this.$set(self, 'infoList', res.data)
- }
- })
- },
- //预警事件
- warningPlanFun: function() {
- let self = this
- systemWarningNoticeNoMenuList({ page: 1, pageSize: 6 }).then((res) => {
- if (res.code == 200) {
- this.$set(self, 'planList', res.data.records)
- }
- })
- },
- //工作计划
- workPlanFun: function() {
- let self = this
- systemNotifyList({ pageNum: 1, pageSize: 4, notifyType: 3 }).then((res) => {
- if (res.code == 200) {
- res.data.forEach((item) => {
- item.contentText = item.content.replace(/<\/?.+?\/?>/g, '')
- })
- this.$set(self, 'workList', res.data)
- }
- })
- },
- /*预案执行统计*/
- planFun: function(dataX, dataValue) {
- var paperDataURI = 'data:image/png;base64,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'
- var planOption = {
- /*内边距*/
- grid: {
- top: '14%',
- left: '2%',
- right: '2%',
- bottom: '5%',
- containLabel: true
- },
- xAxis: {
- data: dataX,
- //坐标轴
- axisLine: {
- lineStyle: {
- 'color': '#486CC2',
- width: 2
- }
- },
- axisTick: {
- show: false
- },
- //坐标值标注
- axisLabel: {
- show: true,
- textStyle: {
- color: '#fff',
- fontSize: 14
- }
- }
- },
- yAxis: [
- {
- axisTick: {
- show: false
- },
- //坐标轴
- axisLine: {
- lineStyle: {
- 'color': '#486CC2',
- width: 2
- }
- },
- //坐标值标注
- axisLabel: {
- show: true,
- textStyle: {
- color: '#fff',
- fontSize: 16
- }
- },
- //分格线
- splitLine: {
- show: false,
- lineStyle: {
- color: '#4784e8'
- }
- }
- }
- ],
- series: [
- {
- label: {
- normal: {
- show: true,
- position: 'top',
- textStyle: {
- color: '#fff'
- }
- }
- },
- data: dataValue,
- type: 'pictorialBar',
- barMaxWidth: '20',
- symbolPosition: 'end',
- // symbol: "diamond",
- symbol: 'image://' + paperDataURI,
- // symbolOffset: [0, "-50%"],
- //symbolSize: [30, 22],
- zlevel: 2
- }
- ],
- tooltip: {
- trigger: 'axis',
- show: false
- }
- }
- var right_t_b = this.$echarts.init(document.getElementById('right_t_b'))
- right_t_b.setOption(planOption)
- //定时动画
- clearInterval(this.chartReload3)
- this.chartReload3 = setInterval(function() {
- right_t_b.clear()
- right_t_b.setOption(planOption)
- }, 1000 * 4)
- },
- //预案-MQTT连接
- offPlanMQTT(type) {
- let self = this
- if (self.planClient.unsubscribe) {
- self.planClient.unsubscribe(self.planOpic, error => {
- if (error) {
- // console.log('mqtt关闭连接错误:', error)
- }
- })
- self.planClient.end()
- this.$set(this, 'planClient', {})
- }
- //判断传入参数如果存在 发起一次新的连接
- if (type) {
- this.planMQTT()
- }
- },
- //预案-MQTT订阅
- planMQTT() {
- let self = this
- this.planClient = mqtt.connect(localStorage.getItem('mqttUrl'), {
- username: localStorage.getItem('mqttUser'),
- password: localStorage.getItem('mqttPassword')
- })
- this.planClient.on('connect', e => {
- this.planClient.subscribe(self.planOpic, (err) => {
- if (!err) {
- // console.log("预案-订阅成功:" + self.planOpic);
- } else {
- // console.log("预案-连接错误:" + err);
- }
- })
- })
- this.planClient.on('message', (topic, message) => {
- if (message) {
- console.log('预案-message', message)
- //获取预案数据
- this.laboratoryBigViewSelectTriggerInfo()
- }
- })
- },
- //获取报警信息
- laboratoryBigViewSelectTriggerInfo: function() {
- let self = this
- laboratoryBigViewSelectTriggerInfo().then((res) => {
- if (res.code == 200) {
- for (let i = 0; i < res.data.length; i++) {
- res.data[i].triggerUploadData = JSON.parse(res.data[i].triggerUploadData)
- }
- this.$set(this, 'warningList', res.data)
- }
- })
- }
- },
- beforeDestroy() {
- let self = this
- clearInterval(this.timer)
- self.offPlanMQTT()
- }
- }
- </script>
- <style lang="scss" scoped>
- * {
- padding: 0;
- margin: 0;
- box-sizing: border-box;
- }
- .over2 {
- overflow: hidden;
- display: -webkit-box;
- text-overflow: ellipsis;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- .main {
- width: 1920px;
- height: 1080px;
- /* background: url("../img/index_bg.png") no-repeat;
- background-size: 100% 100%;*/
- position: relative;
- left: 0;
- top: 0;
- z-index: 50;
- .bg_img {
- width: 1920px;
- height: 1080px;
- position: absolute;
- left: 0;
- top: 0;
- z-index: 50;
- }
- /*公共小标题*/
- .small_title {
- width: 100%;
- display: flex;
- justify-content: space-between;
- .small_title_l {
- font-size: 18px;
- font-family: Source Han Sans CN;
- font-weight: bold;
- color: #1ED0F8;
- line-height: 18px;
- }
- .small_title_r {
- width: 280px;
- text-align: right;
- display: flex;
- justify-content: flex-end;
- align-items: center;
- > i {
- // width: 200px;
- display: inline-block;
- font-size: 14px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 14px;
- text-align: right;
- margin-right: 12px;
- }
- > img {
- width: 12px;
- height: 12px;
- cursor: pointer;
- position: relative;
- top: 0;
- }
- }
- .small_title_r2 {
- //width: 140px;
- text-align: right;
- display: flex;
- justify-content: flex-end;
- align-items: center;
- > i {
- width: 100px;
- display: inline-block;
- font-size: 14px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 14px;
- text-align: center;
- }
- > img {
- width: 12px;
- height: 12px;
- cursor: pointer;
- }
- }
- }
- .header {
- width: 100%;
- position: absolute;
- left: 0;
- top: 0;
- z-index: 50;
- display: flex;
- justify-content: flex-start;
- .position-img-button-left-box {
- cursor: pointer;
- position: absolute;
- top: 4px;
- left: 410px;
- display: flex;
- width: 190px;
- height: 24px;
- img {
- width: 24px;
- height: 18px;
- display: inline-block;
- margin: 4px 0;
- }
- p {
- color: #24D1F9;
- font-size: 16px;
- line-height: 24px;
- margin-left: 14px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- }
- }
- .position-img-button-right-box {
- cursor: pointer;
- position: absolute;
- top: 4px;
- right: 385px;
- display: flex;
- width: 190px;
- height: 24px;
- img {
- width: 24px;
- height: 24px;
- display: inline-block;
- }
- p {
- color: #24D1F9;
- font-size: 16px;
- line-height: 24px;
- margin-left: 14px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- }
- }
- .header_l {
- width: 182px;
- height: 44px;
- margin: 10px 0 0 40px;
- }
- .header_l-position {
- z-index: 10;
- position: absolute;
- top: 0;
- left: 30px;
- width: 250px;
- height: 55px;
- }
- .header_c {
- width: 1180px;
- height: 152px;
- margin-left: 136px;
- background: url("~@/assets/image/index_icon2.png") no-repeat;
- background-size: 100% 100%;
- font-size: 30px;
- font-family: Microsoft YaHei;
- font-weight: bold;
- color: #FFFFFF;
- line-height: 30px;
- text-align: center;
- padding-top: 26px;
- }
- .header_r1 {
- margin-left: 116px;
- height: 64px;
- display: flex;
- justify-content: flex-start;
- cursor: pointer;
- align-items: center;
- .header_r1_l {
- width: 24px;
- height: 24px;
- }
- > i {
- font-size: 18px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 18px;
- margin-left: 14px;
- display: inline-block;
- width: 154px;
- }
- .header_r1_r {
- width: 24px;
- height: 24px;
- }
- }
- .position-button-right-bottom-1{
- position:absolute;
- bottom:20px;
- right:350px;
- color:#fff;
- background-color:#013147;
- border:2px solid #1d94b2;
- border-radius:4px;
- font-size:18px;
- height:50px;
- line-height:44px;
- width:120px;
- text-align: center;
- cursor: pointer;
- }
- .position-button-right-bottom-2{
- position:absolute;
- bottom:20px;
- right:150px;
- color:#fff;
- background-color:#013147;
- border:2px solid #1d94b2;
- border-radius:4px;
- font-size:18px;
- height:50px;
- line-height:44px;
- width:120px;
- text-align: center;
- cursor: pointer;
- }
- }
- .left {
- position: absolute;
- left: 52px;
- top: 66px;
- z-index: 50;
- .left_t {
- display: flex;
- justify-content: flex-start;
- .left_t_l {
- width: 18px;
- height: 166px;
- margin-top: 40px;
- }
- .left_t_l1 {
- width: 4px;
- height: 446px;
- background: #004C95;
- margin-left: 4px;
- }
- .left_t_c {
- margin-top: 145px;
- > li {
- width: 308px;
- height: 74px;
- background: url("~@/assets/image/index_icon6.png") no-repeat;
- background-size: 100% 100%;
- font-size: 34px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- line-height: 80px;
- color: #FFFFFF;
- padding-left: 120px;
- margin-bottom: 40px;
- cursor: pointer;
- }
- > li:nth-of-type(4) {
- margin-bottom: 0;
- }
- .checked_li {
- background: url("~@/assets/image/index_icon7.png") no-repeat;
- background-size: 100% 100%;
- }
- .unchecked {
- background: url("~@/assets/image/index_icon6.png") no-repeat;
- background-size: 100% 100%;
- }
- }
- .left_t_n {
- overflow: hidden;
- width: 672px;
- height: 406px;
- margin-left: 36px;
- margin-top: 82px;
- /*校院通知*/
- .left_t_r {
- width: 672px;
- height: 406px;
- background: url("~@/assets/image/index_icon9.png") no-repeat;
- background-size: 100% 100%;
- padding: 12px 28px 0;
- box-sizing: border-box;
- > li {
- width: 100%;
- height: 90px;
- border-bottom: 1px solid #2098B7;
- padding-top: 18px;
- .left_t_r_t {
- height: 16px;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- > i {
- display: inline-block;
- font-size: 16px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 16px;
- }
- > i:nth-of-type(1) {
- width: 242px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- margin-right: 20px;
- }
- > i:nth-of-type(2) {
- width: 208px;
- }
- > i:nth-of-type(3) {
- width: 128px;
- }
- > img {
- width: 12px;
- height: 12px;
- cursor: pointer;
- }
- }
- .left_t_r_b {
- margin-top: 12px;
- font-size: 14px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 18px;
- }
- }
- }
- /*预警通知*/
- .left_t_r2 {
- width: 672px;
- height: 406px;
- background: url("~@/assets/image/index_icon9.png") no-repeat;
- background-size: 100% 100%;
- padding: 10px 16px 0;
- box-sizing: border-box;
- .left_t_r2_t {
- width: 100%;
- height: 50px;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- > i {
- width: 624px;
- display: inline-block;
- font-size: 18px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 50px;
- text-align: center;
- }
- > img {
- width: 12px;
- height: 12px;
- cursor: pointer;
- }
- }
- .left_t_r2_title {
- display: flex;
- p {
- flex: 1;
- text-align: center;
- font-size: 16px;
- line-height: 18px;
- color: #fff;
- margin: 26px 0;
- font-family: Source Han Sans CN;
- font-weight: 400;
- }
- img {
- width: 12px;
- height: 12px;
- cursor: pointer;
- margin: 28px 10px;
- }
- }
- .left_t_r2_m {
- background: rgba(15, 96, 124, 0.2);
- height: 50px;
- width: 100%;
- display: flex;
- justify-content: flex-start;
- > i {
- display: inline-block;
- font-size: 16px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 50px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- > i:nth-of-type(1) {
- width: 146px;
- margin-left: 22px;
- margin-right: 20px;
- }
- > i:nth-of-type(2) {
- width: 234px;
- }
- > i:nth-of-type(3) {
- width: 179px;
- }
- }
- .left_t_r2_b {
- > li {
- cursor: pointer;
- height: 40px;
- width: 100%;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- > i {
- display: inline-block;
- font-size: 16px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 40px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- > i:nth-of-type(1) {
- width: 146px;
- margin-left: 22px;
- margin-right: 10px;
- }
- > i:nth-of-type(2) {
- width: 240px;
- margin-right: 10px;
- }
- > i:nth-of-type(3) {
- // width: 146px;
- width: 179px;
- }
- > img {
- width: 12px;
- height: 12px;
- margin-left: 10px;
- }
- }
- > li:nth-of-type(even) {
- background: rgba(41, 124, 158, 0.2);
- }
- }
- }
- /*安全检查*/
- .left_t_r3 {
- width: 672px;
- height: 406px;
- background: url("~@/assets/image/index_icon9.png") no-repeat;
- background-size: 100% 100%;
- padding: 10px 16px 0;
- box-sizing: border-box;
- .left_t_r2_t {
- width: 100%;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- margin-top: 26px;
- > i {
- width: 624px;
- display: inline-block;
- font-size: 18px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 18px;
- text-align: center;
- }
- > img {
- width: 12px;
- height: 12px;
- cursor: pointer;
- }
- }
- .left_t_r2_t2 {
- width: 100%;
- height: 56px;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- > i {
- width: 624px;
- display: inline-block;
- font-size: 16px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 56px;
- text-align: center;
- }
- }
- .left_t_r2_m {
- background: rgba(15, 96, 124, 0.2);
- height: 50px;
- width: 100%;
- display: flex;
- justify-content: flex-start;
- > i {
- display: inline-block;
- font-size: 16px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 50px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- > i:nth-of-type(1) {
- width: 260px;
- margin-left: 22px;
- }
- > i:nth-of-type(2) {
- width: 140px;
- }
- > i:nth-of-type(3) {
- width: 180px;
- }
- > i:nth-of-type(4) {
- width: 182px;
- }
- > i:nth-of-type(5) {
- width: 62px;
- }
- }
- .left_t_r2_b {
- > li {
- height: 40px;
- width: 100%;
- display: flex;
- justify-content: flex-start;
- > i {
- display: inline-block;
- font-size: 14px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 40px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- > i:nth-of-type(1) {
- width: 260px;
- margin-left: 22px;
- }
- > i:nth-of-type(2) {
- width: 140px;
- }
- > i:nth-of-type(3) {
- width: 180px;
- }
- > i:nth-of-type(4) {
- width: 182px;
- }
- > i:nth-of-type(5) {
- width: 62px;
- }
- > img {
- width: 12px;
- height: 12px;
- margin-top:13px;
- cursor: pointer;
- }
- }
- > li:nth-of-type(even) {
- background: rgba(41, 124, 158, 0.2);
- }
- }
- }
- /*分级管控*/
- .left_t_r4 {
- width: 672px;
- height: 406px;
- background: url("~@/assets/image/index_icon9.png") no-repeat;
- background-size: 100% 100%;
- padding: 10px 16px 0;
- box-sizing: border-box;
- .left_t_r2_t {
- width: 100%;
- height: 50px;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- > i {
- width: 624px;
- display: inline-block;
- font-size: 18px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 50px;
- text-align: center;
- }
- > img {
- width: 12px;
- height: 12px;
- cursor: pointer;
- }
- }
- .left_t_r2_m {
- background: rgba(15, 96, 124, 0.2);
- height: 50px;
- width: 100%;
- display: flex;
- justify-content: flex-start;
- > i {
- display: inline-block;
- font-size: 16px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 50px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- > i:nth-child(1) {
- width: 130px;
- margin-left: 22px;
- }
- > i:nth-child(2) {
- width: 120px;
- }
- > i:nth-child(3) {
- width: 140px;
- }
- > i:nth-child(4) {
- width: 140px;
- }
- > i:nth-child(5) {
- width: 80px;
- }
- }
- .left_t_r2_b {
- > li {
- height: 40px;
- width: 100%;
- display: flex;
- justify-content: flex-start;
- > i {
- display: inline-block;
- font-size: 16px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 40px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- > i:nth-child(1) {
- width: 130px;
- margin-left: 22px;
- }
- > i:nth-child(2) {
- width: 120px;
- }
- > i:nth-child(3) {
- width: 140px;
- }
- > i:nth-child(4) {
- width: 140px;
- }
- > i:nth-child(5) {
- width: 80px;
- }
- }
- .controlColorOne {
- color: #FF4448;
- }
- .controlColorTow {
- color: #F98556;
- }
- .controlColorThree {
- color: #46AF2D;
- }
- .controlColorFour {
- color: #5688F9;
- }
- > li:nth-of-type(even) {
- background: rgba(41, 124, 158, 0.2);
- }
- }
- }
- }
- }
- .left_b {
- width: 1027px;
- height: 452px;
- background: url("~@/assets/image/index_icon10.png") no-repeat;
- background-size: 100% 100%;
- margin-top: 20px;
- margin-left: 16px;
- overflow: hidden;
- .left_b_t {
- display: flex;
- justify-content: flex-start;
- .left_b_t_l {
- width: 482px;
- padding-top: 28px;
- margin-left: 14px;
- .left_b_t_l_b {
- width: 482px;
- height: 268px;
- }
- }
- .left_b_t_r {
- width: 468px;
- padding-top: 28px;
- margin-left: 34px;
- .left_b_t_r_b {
- width: 468px;
- height: 268px;
- }
- }
- }
- .left_b_t1 {
- width: 952px;
- height: 2px;
- margin-left: 48px;
- }
- .left_b_b {
- width: 100%;
- height: 112px;
- overflow: hidden;
- background: 0;
- > ul {
- /*height: 2000px;*/
- animation-name: move;
- //animation-duration: 6s;
- /* 设置无限循环 */
- animation-timing-function: linear; // 动画速度曲线,匀速
- animation-iteration-count: infinite; // 动画循环无限次播放
- > li {
- width: 966px;
- height: auto;
- margin: 0 30px;
- background: rgba(30, 118, 142, 0.2);
- margin-bottom: 12px;
- padding: 12px 0;
- box-sizing: border-box;
- .left_b_b_t {
- display: flex;
- justify-content: flex-start;
- > i {
- display: inline-block;
- font-size: 16px;
- font-family: Source Han Sans CN;
- font-weight: bold;
- color: #00FAFF;
- line-height: 16px;
- }
- > i:nth-of-type(1) {
- margin-right: 42px;
- margin-left: 12px;
- }
- > i:nth-of-type(2) {
- font-weight: bold;
- margin-right: 8px;
- }
- > i:nth-of-type(3) {
- color: #00AA3C;
- }
- }
- .left_b_b_b {
- width: 100%;
- display: flex;
- justify-content: flex-start;
- overflow: hidden;
- margin-top: 16px;
- margin-left: 12px;
- flex-wrap: wrap;
- > i {
- display: inline-block;
- font-size: 14px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 18px;
- margin-right: 30px;
- }
- }
- }
- }
- }
- .left_b_b:hover > ul {
- cursor: pointer;
- animation-play-state: paused;
- }
- .showClass {
- display: block;
- }
- /*风险预案*/
- .risk {
- width: 1028px;
- height: 458px;
- position: absolute;
- left: 0px;
- top: 512px;
- z-index: 200;
- display: flex;
- justify-content: flex-start;
- flex-wrap: wrap;
- align-items: center;
- padding-left: 34px;
- padding-top: 50px;
- overflow-y: auto;
- display: none;
- > li {
- -webkit-animation: ani 2s linear infinite;
- background: url("~@/assets/image/index_icon13.png") no-repeat;
- background-size: 100% 100%;
- width: 100%;
- height: 100px;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- margin-bottom: 40px;
- > img {
- width: 40px;
- height: 40px;
- margin-left: 28px;
- margin-right: 12px;
- }
- > i {
- display: inline-block;
- font-size: 18px;
- font-family: Source Han Sans CN;
- font-weight: bold;
- color: #FFFFFF;
- line-height: 22px;
- }
- > i:nth-of-type(1) {
- font-size: 22px;
- width: 144px;
- }
- > i:nth-of-type(2) {
- width: 76px;
- }
- > i:nth-of-type(3) {
- width: 288px;
- }
- > i:nth-of-type(4) {
- width: 248px;
- }
- > i:nth-of-type(5) {
- width: 120px;
- }
- }
- .one_top {
- margin-top: 276px;
- }
- }
- .warning-max-big-box-all {
- padding: 15px 20px 0 !important;
- height: 439px !important;
- }
- .warning-max-big-box {
- padding: 5px 20px 0;
- height: 116px;
- z-index: 200;
- justify-content: flex-start;
- flex-wrap: wrap;
- align-items: center;
- overflow-y: scroll;
- .warning-for-box {
- -webkit-animation: ani 2s linear infinite;
- background: url("~@/assets/image/index_icon13.png") no-repeat;
- background-size: 100% 100%;
- width: 100%;
- height: 100px;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- margin-bottom: 10px;
- img {
- width: 40px;
- height: 40px;
- margin-left: 28px;
- margin-right: 12px;
- }
- .warning-name {
- display: inline-block;
- font-family: Source Han Sans CN;
- font-weight: bold;
- color: #FFFFFF;
- line-height: 22px;
- font-size: 22px;
- width: 200px;
- }
- div {
- flex: 1;
- span {
- display: inline-block;
- font-size: 18px;
- font-family: Source Han Sans CN;
- font-weight: bold;
- color: #FFFFFF;
- line-height: 22px;
- margin-right: 20px;
- }
- }
- .warning-button {
- display: inline-block;
- font-size: 18px;
- font-family: Source Han Sans CN;
- font-weight: bold;
- color: #FFFFFF;
- line-height: 22px;
- margin-right: 20px;
- cursor: pointer;
- }
- }
- }
- }
- }
- .right {
- width: 748px;
- height: 880px;
- position: absolute;
- right: 62px;
- top: 148px;
- z-index: 50;
- background: url("~@/assets/image/index_icon11.png") no-repeat;
- background-size: 100% 100%;
- padding: 34px 30px 0 34px;
- box-sizing: border-box;
- .right_t {
- width: 684px;
- .right_t_b {
- width: 684px;
- height: 226px;
- }
- }
- .right_b {
- margin-top: 18px;
- display: flex;
- justify-content: space-between;
- .right_b_l {
- width: 324px;
- /*小标题*/
- .small_title {
- width: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- .small_title_l {
- font-size: 18px;
- font-family: Source Han Sans CN;
- font-weight: bold;
- color: #1ED0F8;
- line-height: 18px;
- }
- .small_title_r {
- flex: 1;
- text-align: right;
- > i {
- //width: 100px;
- display: inline-block;
- font-size: 14px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 14px;
- text-align: right;
- margin-right: 12px;
- }
- > img {
- width: 12px;
- height: 12px;
- cursor: pointer;
- position: relative;
- top: 0px;
- }
- }
- .small_title_r2 {
- flex: 1;
- text-align: right;
- > i {
- //width: 100px;
- display: inline-block;
- font-size: 14px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 14px;
- text-align: right;
- margin-right: 12px;
- }
- > img {
- width: 12px;
- height: 12px;
- cursor: pointer;
- position: relative;
- top: -2px;
- }
- }
- }
- .right_b_l_b {
- position: relative;
- .right_b_l_b_t {
- height: 48px;
- display: flex;
- justify-content: flex-start;
- border-bottom: 1px solid #00FAFF;
- margin-top: 16px;
- > i {
- display: inline-block;
- font-size: 16px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #00FAFF;
- line-height: 48px;
- margin-left: 6px;
- }
- > i:nth-of-type(1) {
- width: 223px;
- }
- > i:nth-of-type(2) {
- width: 84px;
- }
- }
- .right_b_l_b_b {
- height: 190px;
- overflow-y: auto;
- background: 0;
- > li {
- height: 40px;
- display: flex;
- justify-content: flex-start;
- border-bottom: 1px solid #00DFFF;
- > a {
- width: 223px;
- display: inline-block;
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #fff;
- line-height: 40px;
- margin-left: 6px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap
- }
- > i {
- width: 84px;
- text-align: center;
- padding-right: 50px;
- display: inline-block;
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #fff;
- line-height: 40px;
- margin-left: 6px;
- }
- }
- }
- }
- }
- .right_b_r {
- width: 334px;
- /*小标题*/
- .small_title {
- width: 100%;
- display: flex;
- justify-content: space-between;
- .small_title_l {
- font-size: 18px;
- font-family: Source Han Sans CN;
- font-weight: bold;
- color: #1ED0F8;
- line-height: 18px;
- }
- }
- .right_b_r_b_t {
- display: flex;
- justify-content: flex-start;
- flex-wrap: wrap;
- margin-top: 10px;
- height: 60px;
- > li {
- display: flex;
- justify-content: flex-start;
- align-items: center;
- margin-right: 30px;
- > i:nth-of-type(1) {
- width: 8px;
- height: 8px;
- background: #FFFFFF;
- border-radius: 4px;
- margin-right: 4px;
- }
- > i:nth-of-type(2) {
- font-size: 12px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 32px;
- }
- }
- }
- .right_b_r_b_b {
- width: 344px;
- height: 166px;
- }
- }
- }
- }
- }
- /*滚动动画*/
- @keyframes move {
- 0% {
- transform: translateY(0)
- }
- 100% {
- transform: translateY(-70)
- }
- }
- </style>
- <style lang="scss">
- li {
- list-style: none
- }
- i, em, b {
- font-style: normal;
- font-weight: 100;
- }
- body {
- margin: 0
- }
- </style>
|