index.vue 86 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731
  1. <template>
  2. <div class="daping-bg">
  3. <img class="daping-top" src="./static/top.png">
  4. <div class="daping-index-btn" @click="jumpHome">首页</div>
  5. <div class="daping-menhu-btn" @click="jumpDoor">门户</div>
  6. <!-- 主体 -->
  7. <div class="daping-body">
  8. <!-- up -->
  9. <div class="daping-row">
  10. <div class="daping-left">
  11. <!-- 实时车流量 -->
  12. <div class="daping-small-size daping-rt-car-flow">
  13. <div class="daping-title">实时车流量</div>
  14. <div class="daping-car-flow-wrap-box">
  15. <img class="car-space-icon" src="./static/car-space-used.png">
  16. <div class="car-space-num">
  17. <DigitRoll :roll-digits="digitsRtCar" />
  18. </div>
  19. <div class="car-space-text">已用车位</div>
  20. </div>
  21. <div class="daping-car-flow-wrap-box">
  22. <img class="car-space-icon" src="./static/car-space-remain.png">
  23. <div class="car-space-num">
  24. <DigitRoll :roll-digits="digitsRemaindCarSpace" />
  25. </div>
  26. <div class="car-space-text">剩余车位</div>
  27. </div>
  28. </div>
  29. <!-- 园区环境 -->
  30. <div class="daping-small-size daping-park-env">
  31. <div class="daping-title">园区环境</div>
  32. <div class="tip-square">
  33. <div class="tip-square-real" />实际值
  34. <div class="tip-square-standard" />标准值
  35. </div>
  36. <div class="env-item">
  37. <span class="env-item-text">温度</span>
  38. <div class="env-progress"><div class="env-progress-in" :style="{width: (env.temperature * 145) + 'px'}" /></div>
  39. <span class="env-item-text-last">°C</span>
  40. </div>
  41. <div class="env-item">
  42. <span class="env-item-text">湿度</span>
  43. <div class="env-progress"><div class="env-progress-in" :style="{width: (env.humidity * 145) + 'px'}" /></div>
  44. <span class="env-item-text-last">%</span>
  45. </div>
  46. <div class="env-item">
  47. <span class="env-item-text">噪音</span>
  48. <div class="env-progress"><div class="env-progress-in" :style="{width: (env.noise * 145) + 'px'}" /></div>
  49. <span class="env-item-text-last">分贝</span>
  50. </div>
  51. <div class="env-item">
  52. <span class="env-item-text">PM2.5</span>
  53. <div class="env-progress"><div class="env-progress-in" :style="{width: (env.pm25 * 145) + 'px'}" /></div>
  54. <span class="env-item-text-last">μg/m³</span>
  55. </div>
  56. <div class="env-item">
  57. <span class="env-item-text">水质</span>
  58. <div class="env-progress"><div class="env-progress-in" :style="{width: (env.waterQuality * 145) + 'px'}" /></div>
  59. <span class="env-item-text-last">NTU</span>
  60. </div>
  61. </div>
  62. <!-- 分割 -->
  63. <div class="sep" />
  64. <!-- 能耗管理 -->
  65. <div class="daping-normal-size">
  66. <div class="daping-title">能耗管理</div>
  67. <div id="energy-water" />
  68. <div id="energy-elec" />
  69. </div>
  70. </div>
  71. <div class="daping-middle center-gif">
  72. <!-- 三片式 -->
  73. <!-- <el-carousel class="el-carousel-box" :interval="4000" type="card" indicator-position="none" arrow="never">
  74. <el-carousel-item>
  75. <div class="carouel-img">
  76. <img class="image-item" src="./static/1.png">
  77. </div>
  78. </el-carousel-item>
  79. <el-carousel-item>
  80. <div class="carouel-img">
  81. <img class="image-item" src="./static/2.png">
  82. </div>
  83. </el-carousel-item>
  84. <el-carousel-item>
  85. <div class="carouel-img">
  86. <img class="image-item" src="./static/3.png">
  87. </div>
  88. </el-carousel-item>
  89. <el-carousel-item>
  90. <div class="carouel-img">
  91. <img class="image-item" src="./static/4.png">
  92. </div>
  93. </el-carousel-item>
  94. <el-carousel-item>
  95. <div class="carouel-img">
  96. <img class="image-item" src="./static/5.png">
  97. </div>
  98. </el-carousel-item>
  99. <el-carousel-item>
  100. <div class="carouel-img">
  101. <img class="image-item" src="./static/6.png">
  102. </div>
  103. </el-carousel-item>
  104. <el-carousel-item>
  105. <div class="carouel-img">
  106. <img class="image-item" src="./static/7.png">
  107. </div>
  108. </el-carousel-item>
  109. </el-carousel> -->
  110. <!-- 五片式 -->
  111. <div class="zy-slide slide">
  112. <ul>
  113. <li><img src="./static/1.png" alt=""></li>
  114. <li><img src="./static/2.png" alt=""></li>
  115. <li><img src="./static/3.png" alt=""></li>
  116. <li><img src="./static/4.png" alt=""></li>
  117. <li><img src="./static/5.png" alt=""></li>
  118. <li><img src="./static/6.png" alt=""></li>
  119. <li><img src="./static/7.png" alt=""></li>
  120. </ul>
  121. </div>
  122. </div>
  123. <div class="daping-right">
  124. <!-- 园区运营数据管理 -->
  125. <div class="daping-small-size">
  126. <div class="daping-title">园区运营数据管理</div>
  127. <div class="daping-company-service-small">
  128. <div id="parkOpData" />
  129. <div class="parkDataRatoUp">40%</div>
  130. <div class="parkDataRatoDown">60%</div>
  131. </div>
  132. <div class="parkNum">场地数量:<span class="parkNumKey">1.42</span> 万方</div>
  133. <div class="parkNumTips">
  134. <div class="parkNumTip">
  135. <div class="parkNumTipIcon parkNumTipIcon1" />园区入驻率
  136. </div>
  137. <div class="parkNumTip">
  138. <div class="parkNumTipIcon parkNumTipIcon2" />闲置率
  139. </div>
  140. </div>
  141. </div>
  142. <!-- 设备预警 -->
  143. <div class="daping-small-size daping-device-warn">
  144. <div class="daping-title">设备预警</div>
  145. <div class="daping-property-service">
  146. <div class="daping-property-service-inner">
  147. <dynamic-marquee :repeat="true" :reverse="true" :repeat-margin="0" :speed="{type: 'pps',number: 10}">
  148. <div v-for="(item,index) in devicesWarnList" :key="index" class="daping-property-service-item"><img class="laba" src="./static/laba.png">{{ item }}</div>
  149. </dynamic-marquee>
  150. </div>
  151. </div>
  152. </div>
  153. <!-- 分割 -->
  154. <div class="sep" />
  155. <!-- 企业访客 -->
  156. <div class="daping-small-size">
  157. <div class="daping-title">企业访客</div>
  158. <div id="companyVisitor" class="daping-company-service" />
  159. </div>
  160. <!-- 设备监控数据 -->
  161. <div class="daping-small-size daping-device-monitor">
  162. <div class="daping-title">设备监控数据</div>
  163. <div class="daping-company-service">
  164. <div class="h">
  165. <div class="row row1">设备名称</div>
  166. <div class="row row2">总数</div>
  167. <div class="row row3">使用数量</div>
  168. <div class="row row4">故障数量</div>
  169. </div>
  170. <div class="device-monitor-wrap">
  171. <dynamic-marquee :repeat="true" :reverse="true" :repeat-margin="0" :speed="{type: 'pps',number: 10}" >
  172. <div v-for="item in deviceMonitoringData" :key="item.key" class="b" >
  173. <div class="row row1">{{ item.deviceName }}</div>
  174. <div class="row row2">{{ item.totalNum }}</div>
  175. <div class="row row3">{{ item.playNum }}</div>
  176. <div class="row row4">{{ item.faultNum }}</div>
  177. </div>
  178. <!-- <div v-for="n in 5" :key="n" class="b">
  179. <div class="row row1">{{ n }}智慧路灯</div>
  180. <div class="row row2">58</div>
  181. <div class="row row3">52</div>
  182. <div class="row row4">2</div>
  183. </div> -->
  184. </dynamic-marquee>
  185. </div>
  186. </div>
  187. </div>
  188. </div>
  189. </div>
  190. <!-- down -->
  191. <div class="daping-row">
  192. <div class="daping-left">
  193. <!-- 报事保修-物业服务-服务评价 -->
  194. <div class="daping-normal-size">
  195. <div class="daping-title-wrap">
  196. <div v-for="(item, index) in propertyServiceItems" :key="index" class="daping-title-item" :style="propertyServiceItemSelectedIndex == index ? 'color: #fff;' : 'color: #4350F0'" @click="propertyItemOnClick(index)">
  197. {{ item }}
  198. </div>
  199. </div>
  200. <!-- 报事报修 -->
  201. <div v-show="propertyServiceItemSelectedIndex == 0" class="daping-property-service">
  202. <div class="daping-property-service-inner">
  203. <dynamic-marquee :repeat="true" :reverse="true" :repeat-margin="0" :speed="{type: 'pps',number: 10}">
  204. <div v-for="(item,index) in baoshibaoxiuList" :key="index" class="daping-property-service-item"><img class="laba" src="./static/laba.png">{{ item }}</div>
  205. </dynamic-marquee>
  206. </div>
  207. </div>
  208. <!-- 物业服务 -->
  209. <div v-show="propertyServiceItemSelectedIndex == 1" id="daping-property-service-1" class="daping-property-service" />
  210. <!-- 服务评价 -->
  211. <div v-show="propertyServiceItemSelectedIndex == 2" id="daping-property-service-2" class="daping-property-service" />
  212. </div>
  213. <!-- 分割 -->
  214. <div class="sep" />
  215. <!-- 共享会议室-路演服务-专业服务-人才服务 -->
  216. <div class="daping-normal-size">
  217. <div class="daping-title-wrap">
  218. <div v-for="(item, index) in companyServiceItems" :key="index" class="daping-title-item" :style="companyServiceItemSelectedIndex == index ? 'color: #fff;' : 'color: #4350F0'" @click="companyItemOnClick(index)">
  219. {{ item }}
  220. </div>
  221. </div>
  222. <!-- 共享会议室 -->
  223. <div v-show="companyServiceItemSelectedIndex == 0" id="daping-company-service-0" class="daping-company-service" />
  224. <!-- 路演服务 -->
  225. <div v-show="companyServiceItemSelectedIndex == 1" id="daping-company-service-1" class="daping-company-service" />
  226. <!-- 专业服务 -->
  227. <div v-show="companyServiceItemSelectedIndex == 2" id="daping-company-service-2" class="daping-company-service" />
  228. <!-- 人才服务 -->
  229. <div v-show="companyServiceItemSelectedIndex == 3" class="daping-company-service">
  230. <div class="daping-hr-service-box-wrap">
  231. <div class="daping-hr-service-box">
  232. <div class="daping-hr-service-box-up">200</div>
  233. <div class="daping-hr-service-box-down">专业人才库</div>
  234. </div>
  235. <div class="daping-hr-service-box">
  236. <div class="daping-hr-service-box-up">200</div>
  237. <div class="daping-hr-service-box-down">企业招聘</div>
  238. </div>
  239. </div>
  240. <div id="daping-hr-service-chart" />
  241. </div>
  242. </div>
  243. </div>
  244. <div class="daping-middle">
  245. <!-- 企业数据可视化 -->
  246. <div class="daping-big-size">
  247. <div class="daping-title">企业数据可视化</div>
  248. <div id="companyDataVisual" class="daping-company-service" />
  249. </div>
  250. <!-- 分割 -->
  251. <div class="sep" />
  252. <!-- 产融对接 -->
  253. <div class="daping-big-size">
  254. <div class="daping-title">产融对接</div>
  255. <div class="daping-company-service">
  256. <div id="industryMergeLeft" class="daping-company-service-left" />
  257. <div id="industryMergeRight" class="daping-company-service-right" />
  258. <div class="industryMergeTip industryMergeTip1">投资需求</div>
  259. <div class="industryMergeTip industryMergeTip2">融资需求</div>
  260. <div class="industryMergeTip industryMergeTip3">投资对接</div>
  261. </div>
  262. </div>
  263. </div>
  264. <div class="daping-right">
  265. <!-- 产业活动 -->
  266. <div class="daping-small-size">
  267. <div class="daping-title">产业活动</div>
  268. <div id="industryActivity" class="daping-company-service" />
  269. </div>
  270. <!-- 固定车位出租 -->
  271. <div class="daping-small-size daping-parkingSpaceRental">
  272. <div class="daping-title">固定车位出租</div>
  273. <div id="parkingSpaceRental" class="daping-company-service" />
  274. </div>
  275. <!-- 分割 -->
  276. <div class="sep" />
  277. <!-- 产业培训 -->
  278. <div class="daping-small-size">
  279. <div class="daping-title">产业培训</div>
  280. <div id="industryTraining" class="daping-company-service" />
  281. </div>
  282. <!-- 机器人 -->
  283. <div class="robot-size daping-robot">
  284. <img class="robot-gif" src="./static/robot.gif">
  285. <el-tooltip class="item" effect="dark" content="0号球体" placement="right-start">
  286. <img class="robot-play" style="position: relative;" src="./static/video-icon.png" @click="onVideoPlay(0)">
  287. </el-tooltip>
  288. <el-tooltip class="item" effect="dark" content="1号球体" placement="right-start">
  289. <img class="robot-play" style="position: relative; top: 5px;" src="./static/video-icon.png" @click="onVideoPlay(1)">
  290. </el-tooltip>
  291. <el-tooltip class="item" effect="dark" content="2号球体" placement="right-start">
  292. <img class="robot-play" style="position: relative; top: 10px;" src="./static/video-icon.png" @click="onVideoPlay(2)">
  293. </el-tooltip>
  294. <el-tooltip class="item" effect="dark" content="2号球体" placement="right-start">
  295. <img class="robot-play" style="position: relative; top: 15px;" src="./static/video-icon.png" @click="onVideoPlay(3)">
  296. </el-tooltip>
  297. <el-tooltip class="item" effect="dark" content="4号球体" placement="right-start">
  298. <img class="robot-play" style="position: relative; top: 20px;" src="./static/video-icon.png" @click="onVideoPlay(6)">
  299. </el-tooltip>
  300. </div>
  301. </div>
  302. </div>
  303. </div>
  304. <!-- 视频播放器 -->
  305. <div v-show="videoShow" class="video-wrapper">
  306. <div ref="videoBox" class="video-box">
  307. <!-- <video id="myVideo" class="video-js">
  308. <source
  309. src="http://video.bohhom.com/unicom/32058400991320004500.flv?auth_key=1638505450-0-0-1efe01cd459cdd397c5793616b952925"
  310. type="video/x-flv"
  311. >
  312. </video> -->
  313. <!-- ./static/forza_video_style.mp4 -->
  314. <!-- <video ref="video" class="video-instance" src="./static/forza_video_style.mp4" /> -->
  315. <video
  316. id="videoElement"
  317. ref="videoElement"
  318. controlslist="nodownload noremoteplayback"
  319. disablePictureInPicture
  320. controls
  321. autoplay
  322. style="height: 95%; width: 100%"
  323. muted></video>
  324. <img v-if="isVideoFull == false" class="close-small" src="./static/close-small.png" @click="onVideoClose">
  325. <img v-if="isVideoFull == true" class="close" src="./static/close.png" @click="onVideoClose">
  326. <img v-if="isVideoFull == false" class="zoom-big" src="./static/zoom-big.png" @click="onVideoFullScreen">
  327. <img v-if="isVideoFull == true" class="zoom-small" src="./static/zoom-small.png" @click="onVideoExitFullScreen">
  328. </div>
  329. </div>
  330. </div>
  331. </template>
  332. <script>
  333. import flvjs from 'flv.js'
  334. import * as echarts from 'echarts'
  335. import 'echarts-liquidfill'
  336. import DigitRoll from '@huoyu/vue-digitroll'
  337. export default {
  338. name: 'Index',
  339. components: { DigitRoll },
  340. data() {
  341. return {
  342. flvPlayer: {},
  343. robotVideo: {},
  344. digitsRemaindCarSpace: 125,
  345. digitsRtCar: 12348,
  346. // 视频组件是否显示
  347. videoShow: false,
  348. // 当前全屏状态
  349. isVideoFull: false,
  350. //设备监控数据
  351. deviceMonitoringData: [
  352. {
  353. key: '1',
  354. deviceName: "智能垃圾桶",
  355. totalNum: 15,
  356. playNum: 15,
  357. faultNum: 0
  358. },{
  359. key: '2',
  360. deviceName: "智能座椅",
  361. totalNum: 4,
  362. playNum: 4,
  363. faultNum: 0
  364. },{
  365. key: '3',
  366. deviceName: "巡更机器人",
  367. totalNum: 1,
  368. playNum: 1,
  369. faultNum: 0
  370. },{
  371. key: '4',
  372. deviceName: "智慧公厕",
  373. totalNum: 1,
  374. playNum: 1,
  375. faultNum: 0
  376. },{
  377. key: '5',
  378. deviceName: "监控系统",
  379. totalNum: 63,
  380. playNum: 63,
  381. faultNum: 0
  382. },{
  383. deviceName: "智慧路灯",
  384. totalNum: 18,
  385. playNum: 18,
  386. faultNum: 0
  387. },{
  388. key: '6',
  389. deviceName: "水质检测",
  390. totalNum: 1,
  391. playNum: 1,
  392. faultNum: 0
  393. }
  394. ],
  395. // 物业服务
  396. propertyServiceItems: [
  397. '报事报修',
  398. '物业服务',
  399. '服务评价'
  400. ],
  401. propertyServiceItemSelectedIndex: 0,
  402. // 公司服务
  403. companyServiceItems: [
  404. '共享会议室',
  405. '路演服务',
  406. '专业服务',
  407. '人才服务'
  408. ],
  409. companyServiceItemSelectedIndex: 0,
  410. // 园区环境 数值 比例 (实际值 / 标准值)
  411. env: {
  412. temperature: 0.5, // 温度
  413. humidity: 0.3, // 湿度
  414. noise: 0.7, // 噪音
  415. pm25: 0.9, // pm2.5
  416. waterQuality: 0.8 // 水质
  417. },
  418. // 报事报修
  419. baoshibaoxiuList: [
  420. '顺丰速运消防门报修。',
  421. '顺丰速运消防门报修。',
  422. '顺丰速运消防门报修。',
  423. '顺丰速运消防门报修。',
  424. '顺丰速运消防门报修。',
  425. '顺丰速运消防门报修。',
  426. '顺丰速运消防门报修。',
  427. '顺丰速运消防门报修。',
  428. '顺丰速运消防门报修。',
  429. '顺丰速运消防门报修。',
  430. '顺丰速运消防门报修。',
  431. '顺丰速运消防门报修。',
  432. '顺丰速运消防门报修。',
  433. '顺丰速运消防门报修。',
  434. '顺丰速运消防门报修。'
  435. ],
  436. // 设备预警
  437. devicesWarnList: [
  438. 'A设备故障。',
  439. 'B设备故障。',
  440. 'C设备故障。',
  441. 'D设备故障。',
  442. 'E设备故障。',
  443. 'F设备故障。',
  444. 'G设备故障。',
  445. 'H设备故障。',
  446. 'I设备故障。',
  447. 'J设备故障。'
  448. ]
  449. }
  450. },
  451. mounted() {
  452. this.getRobotVideo();
  453. jQuery('.slide').zySlide({ speed: 3000, delay: 2000 }).css({
  454. 'width': '846px',
  455. 'height': '281px'
  456. })
  457. // 模拟实时车流量数据 - 接口接入后删除该代码
  458. setInterval(() => {
  459. this.digitsRemaindCarSpace = this.digitsRemaindCarSpace + 1
  460. this.digitsRtCar = this.digitsRtCar + 1
  461. }, 2000)
  462. // 默认 - 共享会议室
  463. this.companyItemOnClick(0)
  464. // 能耗管理-水
  465. const energyWaterChart = echarts.init(document.getElementById('energy-water'))
  466. energyWaterChart.setOption({
  467. color: ['#1BFFF2', '#795FFF', '#FF9000', '#FF408B', '#FAEE04', '#2EE466'],
  468. title: {
  469. top: 35,
  470. left: 12,
  471. text: '水',
  472. textStyle: {
  473. color: '#fff',
  474. fontSize: 12
  475. },
  476. subtext: '单位(吨)',
  477. subtextStyle: {
  478. color: '#fff',
  479. fontSize: 8
  480. }
  481. },
  482. grid: {
  483. top: 88,
  484. left: 12,
  485. right: 14,
  486. bottom: 10,
  487. containLabel: true
  488. },
  489. legend: {
  490. top: 40,
  491. left: 62,
  492. itemWidth: 6,
  493. itemHeight: 6,
  494. textStyle: {
  495. color: '#fff',
  496. fontSize: 8
  497. },
  498. data: [
  499. {
  500. name: '1号楼',
  501. icon: 'rect',
  502. itemStyle: {
  503. color: '#000',
  504. borderColor: '#f00'
  505. },
  506. lineStyle: {
  507. color: '#000',
  508. borderColor: '#f00'
  509. }
  510. },
  511. {
  512. name: '2号楼',
  513. icon: 'rect'
  514. },
  515. {
  516. name: '3号楼',
  517. icon: 'rect'
  518. },
  519. {
  520. name: '4号楼',
  521. icon: 'rect'
  522. },
  523. {
  524. name: '5号楼',
  525. icon: 'rect'
  526. },
  527. {
  528. name: '6号楼',
  529. icon: 'rect'
  530. }
  531. ],
  532. padding: 0
  533. },
  534. xAxis: {
  535. type: 'category',
  536. data: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
  537. boundaryGap: false,
  538. splitLine: {
  539. show: false
  540. },
  541. axisLine: {
  542. show: false
  543. },
  544. axisTick: {
  545. show: false
  546. },
  547. axisLabel: {
  548. color: '#fff',
  549. fontSize: 8
  550. }
  551. },
  552. yAxis: {
  553. type: 'value',
  554. splitLine: {
  555. show: false
  556. },
  557. axisLine: {
  558. show: false
  559. },
  560. axisTick: {
  561. show: false
  562. },
  563. axisLabel: {
  564. color: '#fff',
  565. fontSize: 8
  566. }
  567. },
  568. series: [
  569. {
  570. name: '1号楼',
  571. type: 'line',
  572. data: [0, 20, 30, 36, 37, 78, 89, 20, 55, 66, 77, 10],
  573. smooth: true,
  574. showSymbol: false
  575. },
  576. {
  577. name: '2号楼',
  578. type: 'line',
  579. data: [0, 30, 50, 111, 45, 46, 47, 48, 49, 50, 51, 10],
  580. smooth: true,
  581. showSymbol: false
  582. },
  583. {
  584. name: '3号楼',
  585. type: 'line',
  586. data: [0, 20, 50, 113, 70, 60, 30, 80, 89, 78, 45, 10],
  587. smooth: true,
  588. showSymbol: false
  589. },
  590. {
  591. name: '4号楼',
  592. type: 'line',
  593. data: [0, 22, 33, 44, 55, 66, 77, 88, 99, 100, 70, 10],
  594. smooth: true,
  595. showSymbol: false
  596. },
  597. {
  598. name: '5号楼',
  599. type: 'line',
  600. data: [0, 22, 34, 56, 23, 100, 110, 59, 23, 45, 17, 10],
  601. smooth: true,
  602. showSymbol: false
  603. },
  604. {
  605. name: '6号楼',
  606. type: 'line',
  607. data: [0, 23, 34, 56, 78, 90, 100, 12, 65, 19, 23, 10],
  608. smooth: true,
  609. showSymbol: false
  610. }
  611. ]
  612. })
  613. // 能耗管理-电
  614. const energyElecChart = echarts.init(document.getElementById('energy-elec'))
  615. energyElecChart.setOption({
  616. color: ['#1BFFF2', '#795FFF', '#FF9000', '#FF408B', '#FAEE04', '#2EE466'],
  617. title: {
  618. top: 35,
  619. left: 6,
  620. text: '电',
  621. textStyle: {
  622. color: '#fff',
  623. fontSize: 12
  624. },
  625. subtext: '单位(度)',
  626. subtextStyle: {
  627. color: '#fff',
  628. fontSize: 8
  629. }
  630. },
  631. grid: {
  632. top: 88,
  633. left: 6,
  634. right: 20,
  635. bottom: 10,
  636. containLabel: true
  637. },
  638. legend: {
  639. top: 40,
  640. left: 66,
  641. right: 70,
  642. itemWidth: 6,
  643. itemHeight: 6,
  644. textStyle: {
  645. color: '#fff',
  646. fontSize: 8
  647. },
  648. data: [
  649. {
  650. name: '1号楼',
  651. icon: 'rect',
  652. itemStyle: {
  653. color: '#000',
  654. borderColor: '#f00'
  655. },
  656. lineStyle: {
  657. color: '#000',
  658. borderColor: '#f00'
  659. }
  660. },
  661. {
  662. name: '2号楼',
  663. icon: 'rect'
  664. },
  665. {
  666. name: '3号楼',
  667. icon: 'rect'
  668. },
  669. {
  670. name: '4号楼',
  671. icon: 'rect'
  672. },
  673. {
  674. name: '5号楼',
  675. icon: 'rect'
  676. },
  677. {
  678. name: '6号楼',
  679. icon: 'rect'
  680. }
  681. ],
  682. padding: 0
  683. },
  684. xAxis: {
  685. type: 'category',
  686. data: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
  687. boundaryGap: false,
  688. splitLine: {
  689. show: false
  690. },
  691. axisLine: {
  692. show: false
  693. },
  694. axisTick: {
  695. show: false
  696. },
  697. axisLabel: {
  698. color: '#fff',
  699. fontSize: 8
  700. }
  701. },
  702. yAxis: {
  703. type: 'value',
  704. splitLine: {
  705. show: false
  706. },
  707. axisLine: {
  708. show: false
  709. },
  710. axisTick: {
  711. show: false
  712. },
  713. axisLabel: {
  714. color: '#fff',
  715. fontSize: 8
  716. }
  717. },
  718. series: [
  719. {
  720. name: '1号楼',
  721. type: 'line',
  722. data: [0, 20, 30, 36, 37, 78, 89, 20, 55, 66, 77, 10],
  723. smooth: true,
  724. showSymbol: false
  725. },
  726. {
  727. name: '2号楼',
  728. type: 'line',
  729. data: [0, 30, 50, 111, 45, 46, 47, 48, 49, 50, 51, 10],
  730. smooth: true,
  731. showSymbol: false
  732. },
  733. {
  734. name: '3号楼',
  735. type: 'line',
  736. data: [0, 20, 50, 113, 70, 60, 30, 80, 89, 78, 45, 10],
  737. smooth: true,
  738. showSymbol: false
  739. },
  740. {
  741. name: '4号楼',
  742. type: 'line',
  743. data: [0, 22, 33, 44, 55, 66, 77, 88, 99, 100, 12, 10],
  744. smooth: true,
  745. showSymbol: false
  746. },
  747. {
  748. name: '5号楼',
  749. type: 'line',
  750. data: [0, 22, 34, 56, 23, 100, 110, 59, 23, 45, 17, 10],
  751. smooth: true,
  752. showSymbol: false
  753. },
  754. {
  755. name: '6号楼',
  756. type: 'line',
  757. data: [0, 23, 34, 56, 78, 90, 100, 12, 65, 19, 23, 10],
  758. smooth: true,
  759. showSymbol: false
  760. }
  761. ]
  762. })
  763. // 园区运营数据
  764. const parkOpDataChart = echarts.init(document.getElementById('parkOpData'))
  765. parkOpDataChart.setOption({
  766. series: [{
  767. type: 'liquidFill',
  768. name: '园区运营数据', // 系列名称,用于tooltip的显示,legend 的图例筛选
  769. radius: '74%', // 水球图的半径
  770. center: ['50%', '50%'], // 水球图的中心(圆心)坐标,数组的第一项是横坐标,第二项是纵坐标
  771. // 水填充图的形状 circle 默认圆形 rect 圆角矩形 triangle 三角形
  772. // diamond 菱形 pin 水滴状 arrow 箭头状 还可以是svg的path
  773. shape: 'circle',
  774. phase: 0, // 波的相位弧度 不设置 默认自动
  775. direction: 'right', // 波浪移动的速度 两个参数 left 从右往左 right 从左往右
  776. outline: {
  777. show: true,
  778. borderDistance: 0, // 边框线与图表的距离 数字
  779. itemStyle: {
  780. opacity: 0.29, // 边框的透明度 默认为 1
  781. borderWidth: 10, // 边框的宽度
  782. shadowBlur: 1, // 边框的阴影范围 一旦设置了内外都有阴影
  783. shadowColor: '#fff', // 边框的阴影颜色,
  784. borderColor: '#4174FF' // 边框颜色
  785. }
  786. },
  787. // 图形样式
  788. itemStyle: {
  789. color: new echarts.graphic.LinearGradient(
  790. 0, 0, 0, 1,
  791. [
  792. { offset: 0, color: '#3BB9E8' },
  793. { offset: 1, color: '#44EAAD' }
  794. ]
  795. ), // 水球显示的背景颜色
  796. opacity: 0.6, // 波浪的透明度
  797. shadowBlur: 10 // 波浪的阴影范围
  798. },
  799. backgroundStyle: {
  800. color: '#284695', // 水球未到的背景颜色
  801. opacity: 1
  802. },
  803. // 图形的高亮样式
  804. emphasis: {
  805. itemStyle: {
  806. opacity: 0.8 // 鼠标经过波浪颜色的透明度
  807. }
  808. },
  809. // 图形上的文本标签
  810. label: {
  811. show: false,
  812. fontSize: 12,
  813. fontWeight: 400,
  814. color: '#fff'
  815. },
  816. data: [0.62] // 系列中的数据内容数组
  817. }]
  818. })
  819. // 企业访客
  820. const companyVisitorChart = echarts.init(document.getElementById('companyVisitor'))
  821. companyVisitorChart.setOption({
  822. title: {
  823. top: 16,
  824. left: 18,
  825. text: '单位(人)',
  826. textStyle: {
  827. color: '#fff',
  828. fontSize: 8
  829. }
  830. },
  831. legend: {
  832. top: 20,
  833. left: 76,
  834. right: 70,
  835. itemWidth: 8,
  836. itemHeight: 8,
  837. textStyle: {
  838. color: '#fff',
  839. fontSize: 11
  840. },
  841. data: [
  842. {
  843. name: '访客趋势',
  844. icon: 'rect'
  845. },
  846. {
  847. name: '访客量',
  848. icon: 'rect'
  849. }
  850. ],
  851. padding: 0
  852. },
  853. grid: {
  854. top: 50,
  855. left: 40,
  856. right: 30,
  857. bottom: 20,
  858. containLabel: true
  859. },
  860. xAxis: {
  861. type: 'category',
  862. data: ['1', '2', '3', '4', '5', '6'],
  863. boundaryGap: false,
  864. splitLine: {
  865. show: false
  866. },
  867. axisLine: {
  868. show: false
  869. },
  870. axisTick: {
  871. show: false
  872. },
  873. axisLabel: {
  874. color: '#fff',
  875. fontSize: 8
  876. }
  877. },
  878. yAxis: {
  879. type: 'value',
  880. offset: 15,
  881. splitLine: {
  882. show: false
  883. },
  884. axisLine: {
  885. show: false
  886. },
  887. axisTick: {
  888. show: false
  889. },
  890. axisLabel: {
  891. color: '#fff',
  892. fontSize: 8
  893. }
  894. },
  895. series: [
  896. {
  897. name: '访客趋势',
  898. type: 'line',
  899. data: [200, 102.2, 38.3, 4.5, 6.3, 10.2],
  900. itemStyle: {
  901. color: '#F4ED0A'
  902. }
  903. },
  904. {
  905. name: '访客量',
  906. type: 'bar',
  907. data: [200, 105.9, 98.0, 26.4, 28.7, 70.7],
  908. itemStyle: {
  909. color: new echarts.graphic.LinearGradient(
  910. 0, 0, 0, 1,
  911. [
  912. { offset: 0, color: '#06C5F5' },
  913. { offset: 1, color: '#7C04ED' }
  914. ]
  915. )
  916. },
  917. type: 'bar',
  918. barWidth: 16
  919. }
  920. ]
  921. })
  922. // 产业活动
  923. const industryActivityChart = echarts.init(document.getElementById('industryActivity'))
  924. industryActivityChart.setOption({
  925. legend: {
  926. top: 20,
  927. left: 76,
  928. right: 70,
  929. itemWidth: 8,
  930. itemHeight: 8,
  931. textStyle: {
  932. color: '#fff',
  933. fontSize: 11
  934. },
  935. data: [
  936. {
  937. name: '已结束',
  938. icon: 'rect'
  939. },
  940. {
  941. name: '报名中',
  942. icon: 'rect'
  943. }
  944. ],
  945. padding: 0
  946. },
  947. grid: {
  948. top: 50,
  949. left: 40,
  950. right: 30,
  951. bottom: 20,
  952. containLabel: true
  953. },
  954. xAxis: {
  955. type: 'category',
  956. data: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
  957. boundaryGap: false,
  958. splitLine: {
  959. show: false
  960. },
  961. axisLine: {
  962. show: false
  963. },
  964. axisTick: {
  965. show: false
  966. },
  967. axisLabel: {
  968. color: '#fff',
  969. fontSize: 8
  970. }
  971. },
  972. yAxis: {
  973. type: 'value',
  974. offset: 15,
  975. splitLine: {
  976. show: false
  977. },
  978. axisLine: {
  979. show: false
  980. },
  981. axisTick: {
  982. show: false
  983. },
  984. axisLabel: {
  985. color: '#fff',
  986. fontSize: 8
  987. }
  988. },
  989. series: [
  990. {
  991. name: '已结束',
  992. type: 'line',
  993. data: [10, 102.2, 38.3, 200, 6.3, 100, 5, 200, 30, 102, 50, 10],
  994. itemStyle: {
  995. color: '#1BFFF2'
  996. },
  997. areaStyle: {
  998. color: new echarts.graphic.LinearGradient(
  999. 0, 0, 0, 1,
  1000. [
  1001. { offset: 0, color: 'rgba(27,255,242,1)' },
  1002. { offset: 1, color: 'rgba(27,255,242,0)' }
  1003. ]
  1004. )
  1005. },
  1006. smooth: true,
  1007. showSymbol: false
  1008. },
  1009. {
  1010. name: '报名中',
  1011. type: 'line',
  1012. data: [0, 105.9, 45, 126.4, 28.7, 70.7, 10, 100, 20, 200, 50, 10],
  1013. itemStyle: {
  1014. color: '#19DC7C'
  1015. },
  1016. areaStyle: {
  1017. color: new echarts.graphic.LinearGradient(
  1018. 0, 0, 0, 1,
  1019. [
  1020. { offset: 0, color: 'rgba(25,220,124,1)' },
  1021. { offset: 1, color: 'rgba(25,220,124,0)' }
  1022. ]
  1023. )
  1024. },
  1025. smooth: true,
  1026. showSymbol: false
  1027. }
  1028. ]
  1029. })
  1030. // 固定车位出租
  1031. const parkingSpaceRentalChart = echarts.init(document.getElementById('parkingSpaceRental'))
  1032. parkingSpaceRentalChart.setOption({
  1033. title: {
  1034. top: 16,
  1035. left: 18,
  1036. text: '单位(间)',
  1037. textStyle: {
  1038. color: '#fff',
  1039. fontSize: 8
  1040. }
  1041. },
  1042. legend: {
  1043. top: 20,
  1044. left: 76,
  1045. right: 70,
  1046. itemWidth: 8,
  1047. itemHeight: 8,
  1048. textStyle: {
  1049. color: '#fff',
  1050. fontSize: 11
  1051. },
  1052. data: [
  1053. {
  1054. name: '待租',
  1055. icon: 'rect'
  1056. },
  1057. {
  1058. name: '已租',
  1059. icon: 'rect'
  1060. }
  1061. ],
  1062. padding: 0
  1063. },
  1064. grid: {
  1065. top: 50,
  1066. left: 40,
  1067. right: 30,
  1068. bottom: 20,
  1069. containLabel: true
  1070. },
  1071. xAxis: {
  1072. type: 'category',
  1073. data: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
  1074. boundaryGap: false,
  1075. splitLine: {
  1076. show: false
  1077. },
  1078. axisLine: {
  1079. show: false
  1080. },
  1081. axisTick: {
  1082. show: false
  1083. },
  1084. axisLabel: {
  1085. color: '#fff',
  1086. fontSize: 8
  1087. }
  1088. },
  1089. yAxis: {
  1090. type: 'value',
  1091. offset: 15,
  1092. splitLine: {
  1093. show: false
  1094. },
  1095. axisLine: {
  1096. show: false
  1097. },
  1098. axisTick: {
  1099. show: false
  1100. },
  1101. axisLabel: {
  1102. color: '#fff',
  1103. fontSize: 8
  1104. }
  1105. },
  1106. series: [
  1107. {
  1108. name: '待租',
  1109. type: 'line',
  1110. data: [10, 102.2, 38.3, 200, 6.3, 100, 5, 200, 30, 102, 50, 10],
  1111. itemStyle: {
  1112. color: '#1BFFF2'
  1113. },
  1114. smooth: true,
  1115. showSymbol: false
  1116. },
  1117. {
  1118. name: '已租',
  1119. type: 'line',
  1120. data: [0, 105.9, 45, 126.4, 28.7, 70.7, 10, 100, 20, 200, 50, 10],
  1121. itemStyle: {
  1122. color: '#795FFF'
  1123. },
  1124. smooth: true,
  1125. showSymbol: false
  1126. }
  1127. ]
  1128. })
  1129. // 产业培训
  1130. const industryTrainingChart = echarts.init(document.getElementById('industryTraining'))
  1131. industryTrainingChart.setOption({
  1132. legend: {
  1133. top: 20,
  1134. left: 76,
  1135. right: 70,
  1136. itemWidth: 8,
  1137. itemHeight: 8,
  1138. textStyle: {
  1139. color: '#fff',
  1140. fontSize: 11
  1141. },
  1142. data: [
  1143. {
  1144. name: '线下',
  1145. icon: 'rect'
  1146. },
  1147. {
  1148. name: '线上',
  1149. icon: 'rect'
  1150. }
  1151. ],
  1152. padding: 0
  1153. },
  1154. grid: {
  1155. top: 50,
  1156. left: 40,
  1157. right: 30,
  1158. bottom: 20,
  1159. containLabel: true
  1160. },
  1161. xAxis: {
  1162. type: 'category',
  1163. data: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
  1164. boundaryGap: false,
  1165. splitLine: {
  1166. show: false
  1167. },
  1168. axisLine: {
  1169. show: false
  1170. },
  1171. axisTick: {
  1172. show: false
  1173. },
  1174. axisLabel: {
  1175. color: '#fff',
  1176. fontSize: 8
  1177. }
  1178. },
  1179. yAxis: {
  1180. type: 'value',
  1181. offset: 15,
  1182. splitLine: {
  1183. show: false
  1184. },
  1185. axisLine: {
  1186. show: false
  1187. },
  1188. axisTick: {
  1189. show: false
  1190. },
  1191. axisLabel: {
  1192. color: '#fff',
  1193. fontSize: 8
  1194. }
  1195. },
  1196. series: [
  1197. {
  1198. name: '线下',
  1199. type: 'line',
  1200. data: [10, 102.2, 38.3, 200, 6.3, 100, 5, 200, 30, 102, 50, 10],
  1201. itemStyle: {
  1202. color: '#1BFFF2'
  1203. },
  1204. areaStyle: {
  1205. color: new echarts.graphic.LinearGradient(
  1206. 0, 0, 0, 1,
  1207. [
  1208. { offset: 0, color: 'rgba(27,255,242,1)' },
  1209. { offset: 1, color: 'rgba(27,255,242,0)' }
  1210. ]
  1211. )
  1212. },
  1213. smooth: true,
  1214. showSymbol: false
  1215. },
  1216. {
  1217. name: '线上',
  1218. type: 'line',
  1219. data: [0, 105.9, 45, 126.4, 28.7, 70.7, 10, 100, 20, 200, 50, 10],
  1220. itemStyle: {
  1221. color: '#19DC7C'
  1222. },
  1223. areaStyle: {
  1224. color: new echarts.graphic.LinearGradient(
  1225. 0, 0, 0, 1,
  1226. [
  1227. { offset: 0, color: 'rgba(25,220,124,1)' },
  1228. { offset: 1, color: 'rgba(25,220,124,0)' }
  1229. ]
  1230. )
  1231. },
  1232. smooth: true,
  1233. showSymbol: false
  1234. }
  1235. ]
  1236. })
  1237. // 企业数据可视化
  1238. const companyDataVisualChart = echarts.init(document.getElementById('companyDataVisual'))
  1239. companyDataVisualChart.setOption({
  1240. color: ['#E7E90A', '#35A9FF', '#8C70F8', '#19DC7C', '#F86464'],
  1241. title: [
  1242. {
  1243. bottom: 16,
  1244. left: '53px',
  1245. text: '产业类别',
  1246. textStyle: {
  1247. color: '#fff',
  1248. fontSize: 12
  1249. }
  1250. },
  1251. {
  1252. bottom: 16,
  1253. left: '202px',
  1254. text: '企业数量 30家',
  1255. textStyle: {
  1256. color: '#fff',
  1257. fontSize: 12
  1258. }
  1259. },
  1260. {
  1261. bottom: 16,
  1262. left: '379px',
  1263. text: '产值 87亿',
  1264. textStyle: {
  1265. color: '#fff',
  1266. fontSize: 12
  1267. }
  1268. },
  1269. {
  1270. bottom: 16,
  1271. left: '540px',
  1272. text: '税收 12亿',
  1273. textStyle: {
  1274. color: '#fff',
  1275. fontSize: 12
  1276. }
  1277. },
  1278. {
  1279. bottom: 16,
  1280. textAlign: 'center',
  1281. left: '738px',
  1282. text: '高级人才205\n普通员工 13947',
  1283. textStyle: {
  1284. color: '#fff',
  1285. fontSize: 12
  1286. }
  1287. }
  1288. ],
  1289. series: [{
  1290. type: 'pie',
  1291. radius: ['15%', '25%'],
  1292. labelLine: {
  1293. length: 7,
  1294. length2: 7
  1295. },
  1296. center: ['50%', '45%'],
  1297. data: [{
  1298. name: '软件',
  1299. value: 70
  1300. }, {
  1301. name: '服务',
  1302. value: 68
  1303. }, {
  1304. name: '保险',
  1305. value: 48
  1306. }, {
  1307. name: '理财',
  1308. value: 40
  1309. }],
  1310. label: {
  1311. position: 'outer',
  1312. alignTo: 'none',
  1313. bleedMargin: 0,
  1314. margin: 0,
  1315. formatter: '{b}\n{d}%',
  1316. fontSize: '6px'
  1317. },
  1318. left: 0,
  1319. right: '80%',
  1320. top: 0,
  1321. bottom: 0
  1322. }, {
  1323. type: 'pie',
  1324. radius: ['15%', '25%'],
  1325. center: ['50%', '45%'],
  1326. labelLine: {
  1327. length: 7,
  1328. length2: 7
  1329. },
  1330. data: [{
  1331. name: '软件',
  1332. value: 70
  1333. }, {
  1334. name: '外贸',
  1335. value: 68
  1336. }, {
  1337. name: '外贸',
  1338. value: 48
  1339. }, {
  1340. name: '保险',
  1341. value: 40
  1342. }, {
  1343. name: '保险',
  1344. value: 32
  1345. }],
  1346. label: {
  1347. position: 'outer',
  1348. alignTo: 'none',
  1349. bleedMargin: 0,
  1350. margin: 0,
  1351. formatter: '{b}\n{d}%',
  1352. fontSize: '6px'
  1353. },
  1354. left: '20%',
  1355. right: '60%',
  1356. top: 0,
  1357. bottom: 0
  1358. }, {
  1359. type: 'pie',
  1360. radius: ['15%', '25%'],
  1361. center: ['50%', '45%'],
  1362. labelLine: {
  1363. length: 7,
  1364. length2: 7
  1365. },
  1366. data: [{
  1367. name: '软件',
  1368. value: 70
  1369. }, {
  1370. name: '服务',
  1371. value: 68
  1372. }, {
  1373. name: '保险',
  1374. value: 48
  1375. }, {
  1376. name: '理财',
  1377. value: 40
  1378. }],
  1379. label: {
  1380. position: 'outer',
  1381. alignTo: 'none',
  1382. margin: 0,
  1383. formatter: '{b}\n{d}%',
  1384. fontSize: '6px'
  1385. },
  1386. left: '40%',
  1387. right: '40%',
  1388. top: 0,
  1389. bottom: 0
  1390. }, {
  1391. type: 'pie',
  1392. radius: ['15%', '25%'],
  1393. center: ['50%', '45%'],
  1394. labelLine: {
  1395. length: 7,
  1396. length2: 7
  1397. },
  1398. data: [{
  1399. name: '高级人才',
  1400. value: 70
  1401. }, {
  1402. name: '普通员工',
  1403. value: 68
  1404. }],
  1405. label: {
  1406. position: 'outer',
  1407. alignTo: 'none',
  1408. margin: 0,
  1409. formatter: '{b}\n{d}%',
  1410. fontSize: '6px'
  1411. },
  1412. left: '60%',
  1413. right: '20%',
  1414. top: 0,
  1415. bottom: 0
  1416. }, {
  1417. type: 'pie',
  1418. radius: ['15%', '25%'],
  1419. center: ['50%', '45%'],
  1420. labelLine: {
  1421. length: 7,
  1422. length2: 7
  1423. },
  1424. data: [{
  1425. name: '高级人才',
  1426. value: 70
  1427. }, {
  1428. name: '普通员工',
  1429. value: 68
  1430. }],
  1431. label: {
  1432. position: 'outer',
  1433. alignTo: 'none',
  1434. margin: 0,
  1435. formatter: '{b}\n{d}%',
  1436. fontSize: '6px'
  1437. },
  1438. left: '80%',
  1439. right: 0,
  1440. top: 0,
  1441. bottom: 0
  1442. }]
  1443. })
  1444. // 产融-right
  1445. const industryMergeRightChart = echarts.init(document.getElementById('industryMergeRight'))
  1446. industryMergeRightChart.setOption({
  1447. title: {
  1448. top: 16,
  1449. left: 18,
  1450. text: '单位(亿元)',
  1451. textStyle: {
  1452. color: '#fff',
  1453. fontSize: 8
  1454. }
  1455. },
  1456. grid: {
  1457. top: 50,
  1458. left: 40,
  1459. right: 30,
  1460. bottom: 20,
  1461. containLabel: true
  1462. },
  1463. xAxis: {
  1464. type: 'category',
  1465. data: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
  1466. boundaryGap: false,
  1467. splitLine: {
  1468. show: false
  1469. },
  1470. axisLine: {
  1471. show: false
  1472. },
  1473. axisTick: {
  1474. show: false
  1475. },
  1476. axisLabel: {
  1477. color: '#fff',
  1478. fontSize: 8
  1479. }
  1480. },
  1481. yAxis: {
  1482. type: 'value',
  1483. offset: 15,
  1484. splitLine: {
  1485. show: false
  1486. },
  1487. axisLine: {
  1488. show: false
  1489. },
  1490. axisTick: {
  1491. show: false
  1492. },
  1493. axisLabel: {
  1494. color: '#fff',
  1495. fontSize: 8
  1496. }
  1497. },
  1498. series: [
  1499. {
  1500. name: '已结束',
  1501. type: 'line',
  1502. data: [10, 102.2, 38.3, 200, 6.3, 100, 5, 200, 30, 102, 50, 10],
  1503. itemStyle: {
  1504. color: '#04CDF4'
  1505. },
  1506. areaStyle: {
  1507. color: new echarts.graphic.LinearGradient(
  1508. 0, 0, 0, 1,
  1509. [
  1510. { offset: 0, color: 'rgba(4,205,244,1)' },
  1511. { offset: 1, color: 'rgba(4,205,244,0)' }
  1512. ]
  1513. )
  1514. },
  1515. showSymbol: false
  1516. }
  1517. ]
  1518. })
  1519. // 产融-left
  1520. const industryMergeLeftChart = echarts.init(document.getElementById('industryMergeLeft'))
  1521. industryMergeLeftChart.setOption({
  1522. color: ['#01EF97'],
  1523. radar: [{
  1524. indicator: [
  1525. { name: '箱包', max: 6500 },
  1526. { name: '文具', max: 16000 },
  1527. { name: '家居', max: 30000 },
  1528. { name: '家电', max: 38000 },
  1529. { name: '食品', max: 25000 },
  1530. { name: '服饰', max: 25000 }
  1531. ],
  1532. splitArea: {
  1533. areaStyle: {
  1534. color: ['#00406C'],
  1535. opacity: 0
  1536. }
  1537. },
  1538. splitLine: {
  1539. lineStyle: {
  1540. color: ['#0275AE']
  1541. }
  1542. },
  1543. axisLine: {
  1544. lineStyle: {
  1545. color: ['#0275AE']
  1546. }
  1547. },
  1548. name: {
  1549. textStyle: {
  1550. color: '#fff',
  1551. padding: [0, 0],
  1552. fontSize: 8
  1553. }
  1554. },
  1555. radius: 40,
  1556. center: ['16.5%', '40%']
  1557. }, {
  1558. indicator: [
  1559. { name: '箱包', max: 6500 },
  1560. { name: '文具', max: 16000 },
  1561. { name: '家居', max: 30000 },
  1562. { name: '家电', max: 38000 },
  1563. { name: '食品', max: 25000 },
  1564. { name: '服饰', max: 25000 }
  1565. ],
  1566. splitArea: {
  1567. areaStyle: {
  1568. color: ['#00406C'],
  1569. opacity: 0
  1570. }
  1571. },
  1572. splitLine: {
  1573. lineStyle: {
  1574. color: ['#0275AE']
  1575. }
  1576. },
  1577. axisLine: {
  1578. lineStyle: {
  1579. color: ['#0275AE']
  1580. }
  1581. },
  1582. name: {
  1583. textStyle: {
  1584. color: '#fff',
  1585. padding: [0, 0],
  1586. fontSize: 8
  1587. }
  1588. },
  1589. radius: 40,
  1590. center: ['49.5%', '40%']
  1591. }, {
  1592. indicator: [
  1593. { name: '箱包', max: 6500 },
  1594. { name: '文具', max: 16000 },
  1595. { name: '家居', max: 30000 },
  1596. { name: '家电', max: 38000 },
  1597. { name: '食品', max: 25000 },
  1598. { name: '服饰', max: 25000 }
  1599. ],
  1600. name: {
  1601. textStyle: {
  1602. color: '#fff',
  1603. padding: [0, 0],
  1604. fontSize: 8
  1605. }
  1606. },
  1607. splitArea: {
  1608. areaStyle: {
  1609. color: ['#00406C'],
  1610. opacity: 0
  1611. }
  1612. },
  1613. splitLine: {
  1614. lineStyle: {
  1615. color: ['#0275AE']
  1616. }
  1617. },
  1618. axisLine: {
  1619. lineStyle: {
  1620. color: ['#0275AE']
  1621. }
  1622. },
  1623. radius: 40,
  1624. center: ['82.5%', '40%']
  1625. }],
  1626. series: [{
  1627. type: 'radar',
  1628. areaStyle: {},
  1629. radarIndex: 0,
  1630. data: [
  1631. {
  1632. value: [6500, 3000, 20000, 35000, 18000]
  1633. }
  1634. ]
  1635. }, {
  1636. type: 'radar',
  1637. areaStyle: {},
  1638. radarIndex: 1,
  1639. data: [
  1640. {
  1641. value: [6500, 3000, 20000, 35000, 18000]
  1642. }
  1643. ]
  1644. }, {
  1645. type: 'radar',
  1646. areaStyle: {},
  1647. radarIndex: 2,
  1648. data: [
  1649. {
  1650. value: [6500, 3000, 20000, 35000, 18000]
  1651. }
  1652. ]
  1653. }]
  1654. })
  1655. // 定时切换
  1656. setInterval(() => {
  1657. let nowIndex = this.propertyServiceItemSelectedIndex + 1
  1658. if (nowIndex == 3) {
  1659. nowIndex = 0
  1660. }
  1661. this.propertyItemOnClick(nowIndex)
  1662. }, 10000)
  1663. // 定时切换
  1664. setInterval(() => {
  1665. let nowIndex2 = this.companyServiceItemSelectedIndex + 1
  1666. if (nowIndex2 == 4) {
  1667. nowIndex2 = 0
  1668. }
  1669. this.companyItemOnClick(nowIndex2)
  1670. }, 10000)
  1671. },
  1672. methods: {
  1673. jumpHome() {
  1674. this.$router.push('/dashboard')
  1675. },
  1676. jumpDoor() {
  1677. window.open('https://jpark.idea-sf.com/smartPark', '_blank')
  1678. },
  1679. baseRequest(opUrl, postData) {
  1680. return this.$channel.globleRequest('RobotHandleController', opUrl, postData, 'project')
  1681. },
  1682. //获取视频流
  1683. getRobotVideo(){
  1684. this.baseRequest('getRobotVideo', {}).then((res) => {
  1685. console.log("获取视频流_:", res)
  1686. this.robotVideo = res.data.data;
  1687. }).catch(() => {
  1688. })
  1689. },
  1690. initVideo(val) {
  1691. // url: this.robotVideo[val].stream_url_flv
  1692. // url: 'http://1011.hlsplay.aodianyun.com/demo/game.flv'
  1693. //初始化视频方法
  1694. if (flvjs.isSupported()) {
  1695. var videoElement = document.getElementById('videoElement')
  1696. this.flvPlayer = flvjs.createPlayer({
  1697. type: 'flv',
  1698. // isLive: true,
  1699. // hasAudio: true,
  1700. // url: 'http://1011.hlsplay.aodianyun.com/demo/game.flv'
  1701. url: this.robotVideo[val].stream_url_flv
  1702. })
  1703. this.flvPlayer.attachMediaElement(videoElement)
  1704. this.flvPlayer.load()
  1705. this.flvPlayer.play()
  1706. }
  1707. },
  1708. // 视频播放
  1709. onVideoPlay(val) {
  1710. // alert(this.robotVideo['0'].stream_url_flv)
  1711. this.videoShow = true
  1712. this.initVideo(val);
  1713. // this.$nextTick(() => {
  1714. // this.$refs.video.play()
  1715. // })
  1716. },
  1717. // 视频关闭
  1718. onVideoClose() {
  1719. this.videoShow = false
  1720. this.flvPlayer = {};
  1721. },
  1722. // 视频全屏
  1723. onVideoFullScreen() {
  1724. var de = this.$refs.videoBox
  1725. if (de.requestFullscreen) {
  1726. de.requestFullscreen()
  1727. } else if (de.mozRequestFullScreen) {
  1728. de.mozRequestFullScreen()
  1729. } else if (de.webkitRequestFullScreen) {
  1730. de.webkitRequestFullScreen()
  1731. }
  1732. this.isVideoFull = true
  1733. },
  1734. // 退出全屏
  1735. onVideoExitFullScreen() {
  1736. var de = document
  1737. if (de.exitFullscreen) {
  1738. de.exitFullscreen()
  1739. } else if (de.mozCancelFullScreen) {
  1740. de.mozCancelFullScreen()
  1741. } else if (de.webkitCancelFullScreen) {
  1742. de.webkitCancelFullScreen()
  1743. }
  1744. this.isVideoFull = false
  1745. },
  1746. propertyItemOnClick(index) {
  1747. this.propertyServiceItemSelectedIndex = index
  1748. if (index == 1) {
  1749. setTimeout(function() {
  1750. // 物业服务
  1751. const propertyServiceChart = echarts.init(document.getElementById('daping-property-service-1'))
  1752. propertyServiceChart.setOption({
  1753. color: ['#2AFDFF', '#F86464', '#19DC7C', '#8C70F8', '#35A9FF', '#FAEE04'],
  1754. legend: {
  1755. top: 'middle',
  1756. right: 79,
  1757. orient: 'vertical',
  1758. itemWidth: 8,
  1759. itemHeight: 8,
  1760. textStyle: {
  1761. color: '#fff',
  1762. fontSize: 12
  1763. }
  1764. },
  1765. tooltip: {
  1766. trigger: 'item'
  1767. },
  1768. series: [
  1769. {
  1770. name: '物业服务',
  1771. type: 'pie',
  1772. radius: '75%',
  1773. center: ['35%', '50%'],
  1774. data: [
  1775. { value: 335, name: '保洁' },
  1776. { value: 310, name: '维修' },
  1777. { value: 274, name: '绿化' },
  1778. { value: 235, name: '停车位' },
  1779. { value: 400, name: '园区导引' },
  1780. { value: 500, name: '节日祝福' }
  1781. ],
  1782. roseType: 'radius',
  1783. labelLine: {
  1784. length: 10,
  1785. length2: 20
  1786. },
  1787. animationType: 'scale',
  1788. animationEasing: 'elasticOut',
  1789. animationDelay: function(idx) {
  1790. return Math.random() * 200
  1791. }
  1792. }
  1793. ]
  1794. })
  1795. }, 1)
  1796. } else if (index == 2) {
  1797. setTimeout(function() {
  1798. // 服务评价
  1799. const ServiceRateChart = echarts.init(document.getElementById('daping-property-service-2'))
  1800. ServiceRateChart.setOption({
  1801. color: ['#01EF97'],
  1802. radar: {
  1803. indicator: [
  1804. { name: '保洁', max: 6500 },
  1805. { name: '停车', max: 16000 },
  1806. { name: '绿化', max: 30000 },
  1807. { name: '报修', max: 38000 },
  1808. { name: '管家', max: 25000 }
  1809. ],
  1810. splitArea: {
  1811. areaStyle: {
  1812. color: ['#00406C'],
  1813. opacity: 0
  1814. }
  1815. },
  1816. splitLine: {
  1817. lineStyle: {
  1818. color: ['#0275AE']
  1819. }
  1820. },
  1821. axisLine: {
  1822. lineStyle: {
  1823. color: ['#0275AE']
  1824. }
  1825. },
  1826. name: {
  1827. textStyle: {
  1828. color: '#fff'
  1829. }
  1830. },
  1831. radius: 60,
  1832. center: ['50%', '50%']
  1833. },
  1834. series: [{
  1835. type: 'radar',
  1836. areaStyle: {},
  1837. data: [
  1838. {
  1839. value: [6500, 3000, 20000, 35000, 18000]
  1840. }
  1841. ]
  1842. }]
  1843. })
  1844. }, 1)
  1845. }
  1846. },
  1847. companyItemOnClick(index) {
  1848. this.companyServiceItemSelectedIndex = index
  1849. if (index == 0) {
  1850. setTimeout(function() {
  1851. // 共享会议室
  1852. const shareMeetingChart = echarts.init(document.getElementById('daping-company-service-0'))
  1853. shareMeetingChart.setOption({
  1854. color: ['#1BFFF2', '#795FFF', '#FF9000', '#FF408B', '#FAEE04', '#2EE466'],
  1855. grid: {
  1856. top: 30,
  1857. left: 40,
  1858. right: 30,
  1859. bottom: 20,
  1860. containLabel: true
  1861. },
  1862. xAxis: {
  1863. type: 'category',
  1864. data: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
  1865. boundaryGap: false,
  1866. splitLine: {
  1867. show: false
  1868. },
  1869. axisLine: {
  1870. show: false
  1871. },
  1872. axisTick: {
  1873. show: false
  1874. },
  1875. axisLabel: {
  1876. color: '#fff',
  1877. fontSize: 8
  1878. }
  1879. },
  1880. yAxis: {
  1881. type: 'value',
  1882. offset: 15,
  1883. splitLine: {
  1884. show: false
  1885. },
  1886. axisLine: {
  1887. show: false
  1888. },
  1889. axisTick: {
  1890. show: false
  1891. },
  1892. axisLabel: {
  1893. color: '#fff',
  1894. fontSize: 8
  1895. }
  1896. },
  1897. series: [{
  1898. data: [120, 100, 20, 80, 70, 110, 80, 23, 54, 78, 12, 90],
  1899. itemStyle: {
  1900. barBorderRadius: 8,
  1901. color: new echarts.graphic.LinearGradient(
  1902. 0, 0, 0, 1,
  1903. [
  1904. { offset: 0, color: '#3AB6EB' },
  1905. { offset: 1, color: '#49FCB0' }
  1906. ]
  1907. )
  1908. },
  1909. type: 'bar',
  1910. barWidth: 8
  1911. }]
  1912. })
  1913. }, 1)
  1914. } else if (index == 1) {
  1915. setTimeout(function() {
  1916. // 路演服务
  1917. const luYanServiceChart = echarts.init(document.getElementById('daping-company-service-1'))
  1918. luYanServiceChart.setOption({
  1919. title: {
  1920. top: 16,
  1921. left: 18,
  1922. text: '单位(人)',
  1923. textStyle: {
  1924. color: '#fff',
  1925. fontSize: 8
  1926. }
  1927. },
  1928. legend: {
  1929. top: 20,
  1930. left: 76,
  1931. right: 70,
  1932. itemWidth: 8,
  1933. itemHeight: 8,
  1934. textStyle: {
  1935. color: '#fff',
  1936. fontSize: 11
  1937. },
  1938. data: [
  1939. {
  1940. name: '路演趋势',
  1941. icon: 'rect'
  1942. },
  1943. {
  1944. name: '路演量',
  1945. icon: 'rect'
  1946. }
  1947. ],
  1948. padding: 0
  1949. },
  1950. grid: {
  1951. top: 50,
  1952. left: 40,
  1953. right: 30,
  1954. bottom: 20,
  1955. containLabel: true
  1956. },
  1957. xAxis: {
  1958. type: 'category',
  1959. data: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
  1960. boundaryGap: false,
  1961. splitLine: {
  1962. show: false
  1963. },
  1964. axisLine: {
  1965. show: false
  1966. },
  1967. axisTick: {
  1968. show: false
  1969. },
  1970. axisLabel: {
  1971. color: '#fff',
  1972. fontSize: 8
  1973. }
  1974. },
  1975. yAxis: {
  1976. type: 'value',
  1977. offset: 15,
  1978. splitLine: {
  1979. show: false
  1980. },
  1981. axisLine: {
  1982. show: false
  1983. },
  1984. axisTick: {
  1985. show: false
  1986. },
  1987. axisLabel: {
  1988. color: '#fff',
  1989. fontSize: 8
  1990. }
  1991. },
  1992. series: [
  1993. {
  1994. name: '路演趋势',
  1995. type: 'line',
  1996. data: [200, 102.2, 38.3, 4.5, 6.3, 10.2, 20.3, 23.4, 23.0, 16.5, 12.0, 60.2],
  1997. itemStyle: {
  1998. color: '#F4ED0A'
  1999. }
  2000. },
  2001. {
  2002. name: '路演量',
  2003. type: 'bar',
  2004. data: [200, 105.9, 98.0, 26.4, 28.7, 70.7, 175.6, 182.2, 48.7, 180.8, 60.0, 20.3],
  2005. itemStyle: {
  2006. color: new echarts.graphic.LinearGradient(
  2007. 0, 0, 0, 1,
  2008. [
  2009. { offset: 0, color: '#06C5F5' },
  2010. { offset: 1, color: '#7C04ED' }
  2011. ]
  2012. )
  2013. },
  2014. type: 'bar',
  2015. barWidth: 16
  2016. }
  2017. ]
  2018. })
  2019. }, 1)
  2020. } else if (index == 2) {
  2021. setTimeout(function() {
  2022. // 专业服务
  2023. const majorServiceChart = echarts.init(document.getElementById('daping-company-service-2'))
  2024. majorServiceChart.setOption({
  2025. color: ['#1BFFF2', '#795FFF', '#FF9000', '#FF408B', '#FAEE04', '#2EE466'],
  2026. grid: {
  2027. top: 30,
  2028. left: 40,
  2029. right: 30,
  2030. bottom: 20,
  2031. containLabel: true
  2032. },
  2033. xAxis: {
  2034. type: 'category',
  2035. data: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
  2036. boundaryGap: false,
  2037. splitLine: {
  2038. show: false
  2039. },
  2040. axisLine: {
  2041. show: false
  2042. },
  2043. axisTick: {
  2044. show: false
  2045. },
  2046. axisLabel: {
  2047. color: '#fff',
  2048. fontSize: 8
  2049. }
  2050. },
  2051. yAxis: {
  2052. type: 'value',
  2053. offset: 15,
  2054. splitLine: {
  2055. show: false
  2056. },
  2057. axisLine: {
  2058. show: false
  2059. },
  2060. axisTick: {
  2061. show: false
  2062. },
  2063. axisLabel: {
  2064. color: '#fff',
  2065. fontSize: 8
  2066. }
  2067. },
  2068. series: [{
  2069. data: [120, 100, 20, 80, 70, 110, 80, 23, 54, 78, 12, 90],
  2070. itemStyle: {
  2071. barBorderRadius: 8,
  2072. color: new echarts.graphic.LinearGradient(
  2073. 0, 0, 0, 1,
  2074. [
  2075. { offset: 0, color: '#3AB6EB' },
  2076. { offset: 1, color: '#49FCB0' }
  2077. ]
  2078. )
  2079. },
  2080. type: 'bar',
  2081. barWidth: 8
  2082. }]
  2083. })
  2084. }, 1)
  2085. } else if (index == 3) {
  2086. setTimeout(function() {
  2087. // 人才服务
  2088. const hrServiceChart = echarts.init(document.getElementById('daping-hr-service-chart'))
  2089. hrServiceChart.setOption({
  2090. color: ['#E7E90A', '#35A9FF'],
  2091. series: [
  2092. {
  2093. name: '人才服务',
  2094. type: 'pie',
  2095. radius: ['30%', '50%'],
  2096. label: {
  2097. formatter: '{b}: {d}%'
  2098. },
  2099. data: [
  2100. { value: 200, name: '专业人才库' },
  2101. { value: 735, name: '企业招聘' }
  2102. ]
  2103. }
  2104. ]
  2105. })
  2106. }, 1)
  2107. }
  2108. }
  2109. }
  2110. }
  2111. </script>
  2112. <style scoped>
  2113. .daping-bg {
  2114. width: 1920px;
  2115. height: 100%;
  2116. min-height: 1080px;
  2117. background: url(./static/bg.png) center top;
  2118. background-repeat: no-repeat;
  2119. position: relative;
  2120. overflow: hidden;
  2121. }
  2122. .daping-top {
  2123. width: 1920px;
  2124. height: 126px;
  2125. display: block;
  2126. position: absolute;
  2127. top: 0;
  2128. left: 50%;
  2129. margin-left: -960px;
  2130. z-index: 999999;
  2131. }
  2132. .daping-index-btn {
  2133. position: absolute;
  2134. width: 104px;
  2135. height: 45px;
  2136. background: url(./static/index-btn.png);
  2137. left: 14px;
  2138. top: 49px;
  2139. font-size: 18px;
  2140. color: #fff;
  2141. line-height: 45px;
  2142. box-sizing: border-box;
  2143. padding-left: 49px;
  2144. cursor: pointer;
  2145. z-index: 9999999;
  2146. }
  2147. .daping-menhu-btn {
  2148. position: absolute;
  2149. width: 104px;
  2150. height: 45px;
  2151. background: url(./static/menhu-btn.png);
  2152. left: 127px;
  2153. top: 49px;
  2154. font-size: 18px;
  2155. color: #fff;
  2156. line-height: 45px;
  2157. box-sizing: border-box;
  2158. padding-left: 49px;
  2159. cursor: pointer;
  2160. z-index: 9999999;
  2161. }
  2162. .daping-body {
  2163. position: absolute;
  2164. top: 110px;
  2165. left: 20px;
  2166. right: 20px;
  2167. bottom: 10px;
  2168. }
  2169. .daping-row {
  2170. height: 50%;
  2171. }
  2172. .daping-left {
  2173. width: 27.5%;
  2174. height: 100%;
  2175. float: left;
  2176. }
  2177. .daping-middle {
  2178. width: 45%;
  2179. height: 100%;
  2180. float: left;
  2181. }
  2182. .daping-right {
  2183. width: 27.5%;
  2184. height: 100%;
  2185. float: left;
  2186. }
  2187. .daping-small-size {
  2188. width: 48.5%;
  2189. height: 46%;
  2190. background: url(./static/item-bg-small.png);
  2191. background-size: 100% 100%;
  2192. float: left;
  2193. position: relative;
  2194. }
  2195. .daping-normal-size {
  2196. width: 100%;
  2197. height: 46%;
  2198. background: url(./static/item-bg-normal.png);
  2199. background-size: 100% 100%;
  2200. float: left;
  2201. position: relative;
  2202. }
  2203. .daping-big-size {
  2204. width: 96%;
  2205. height: 46%;
  2206. background: url(./static/item-bg-big.png);
  2207. background-size: 100% 100%;
  2208. float: left;
  2209. margin-left: 2%;
  2210. position: relative;
  2211. }
  2212. .robot-size {
  2213. width: 48.5%;
  2214. height: 46%;
  2215. float: left;
  2216. position: relative;
  2217. }
  2218. .sep {
  2219. height: 4%;
  2220. clear: both;
  2221. }
  2222. .daping-park-env {
  2223. margin-left: 3%;
  2224. display: flex;
  2225. flex-direction: column;
  2226. justify-content: center;
  2227. align-items: center;
  2228. }
  2229. .daping-device-warn {
  2230. margin-left: 3%;
  2231. }
  2232. .daping-device-monitor {
  2233. margin-left: 3%;
  2234. }
  2235. .daping-parkingSpaceRental {
  2236. margin-left: 3%;
  2237. }
  2238. .daping-robot {
  2239. margin-left: 3%;
  2240. }
  2241. .center-gif {
  2242. background: url(./static/center.gif);
  2243. background-size: 100% 100%;
  2244. margin-top: -46px;
  2245. height: calc(100% + 46px);
  2246. display: flex;
  2247. justify-content: center;
  2248. align-items: center;
  2249. }
  2250. .robot-gif {
  2251. display: block;
  2252. height: 110%;
  2253. position: absolute;
  2254. left: 50%;
  2255. top: 0;
  2256. transform: translate3d(-50%, 0, 0);
  2257. }
  2258. .robot-play {
  2259. width: 74px;
  2260. height: 40px;
  2261. position: absolute;
  2262. display: block;
  2263. left: 0;
  2264. top: 0;
  2265. cursor: pointer;
  2266. }
  2267. .daping-title {
  2268. color: #fff;
  2269. font-size: 14px;
  2270. line-height: 14px;
  2271. position: absolute;
  2272. left: 18px;
  2273. top: 11px;
  2274. z-index: 99999;
  2275. }
  2276. .daping-title-wrap {
  2277. overflow: hidden;
  2278. position: absolute;
  2279. left: 18px;
  2280. top: 11px;
  2281. z-index: 99999;
  2282. }
  2283. .daping-title-item {
  2284. color: #fff;
  2285. font-size: 14px;
  2286. line-height: 14px;
  2287. float: left;
  2288. margin-left: 26px;
  2289. color: #4350F0;
  2290. cursor: pointer;
  2291. }
  2292. .daping-title-item:nth-child(1) {
  2293. margin-left: 0;
  2294. }
  2295. .daping-rt-car-flow {
  2296. display: flex;
  2297. align-items: center;
  2298. justify-content: center;
  2299. }
  2300. .daping-car-flow-wrap-box {
  2301. width: 105px;
  2302. height: 103px;
  2303. background: url(./static/car-flow-bg.png);
  2304. background-size: 100% 100%;
  2305. margin-top: 25px;
  2306. display: flex;
  2307. flex-direction: column;
  2308. align-items: center;
  2309. justify-content: center;
  2310. }
  2311. .daping-car-flow-wrap-box:nth-child(2) {
  2312. margin-right: 12px;
  2313. }
  2314. .car-space-icon {
  2315. width: 33px;
  2316. height: 25px;
  2317. display: block;
  2318. }
  2319. .car-space-num {
  2320. color: #FF9000;
  2321. font-size: 18px;
  2322. margin-top: 6px;
  2323. height: 32px;
  2324. }
  2325. .d-roll-wrapper {
  2326. margin-top: 0;
  2327. margin-bottom: 0;
  2328. }
  2329. .car-space-text {
  2330. color: #fff;
  2331. font-size: 11px;
  2332. margin-top: 3px;
  2333. }
  2334. .tip-square {
  2335. width: 100%;
  2336. display: flex;
  2337. justify-content: center;
  2338. align-items: center;
  2339. color: #fff;
  2340. font-size: 10px;
  2341. height: 20px;
  2342. margin-top: 25px;
  2343. }
  2344. .tip-square-real {
  2345. width: 8px;
  2346. height: 8px;
  2347. background: #1BFFF2;
  2348. margin-right: 6px;
  2349. margin-top: -1px;
  2350. }
  2351. .tip-square-standard {
  2352. width: 8px;
  2353. height: 8px;
  2354. background: #082962;
  2355. margin-right: 7px;
  2356. margin-left: 20px;
  2357. margin-top: -1px;
  2358. }
  2359. .env-item {
  2360. height: 25px;
  2361. display: flex;
  2362. align-items: center;
  2363. color: #fff;
  2364. font-size: 10px;
  2365. margin-top: 2px;
  2366. }
  2367. .env-item-text {
  2368. width: 40px;
  2369. }
  2370. .env-progress {
  2371. width: 145px;
  2372. height: 8px;
  2373. background: #082962;
  2374. margin-right: 6px;
  2375. border-radius: 8px;
  2376. }
  2377. .env-item-text-last {
  2378. width: 32px;
  2379. }
  2380. .env-progress-in {
  2381. width: 0px;
  2382. height: 8px;
  2383. border-radius: 8px;
  2384. background: linear-gradient(-90deg, #49F9B0, #3AB7EB);
  2385. transition: all 0.65s linear;
  2386. }
  2387. #energy-water {
  2388. width: 50%;
  2389. height: 100%;
  2390. float: left;
  2391. }
  2392. #energy-elec {
  2393. width: 50%;
  2394. height: 100%;
  2395. float: left;
  2396. }
  2397. .daping-property-service {
  2398. width: 100%;
  2399. height: calc(100% - 32px);
  2400. margin-top: 32px;
  2401. overflow: hidden;
  2402. }
  2403. .daping-company-service {
  2404. width: 100%;
  2405. height: calc(100% - 32px);
  2406. margin-top: 32px;
  2407. }
  2408. .daping-company-service-small {
  2409. width: 105px;
  2410. height: 105px;
  2411. box-sizing: border-box;
  2412. border: 6px dashed rgb(37, 63, 142);
  2413. border-radius: 50%;
  2414. position: absolute;
  2415. top: 87px;
  2416. right: 21px;
  2417. }
  2418. .daping-property-service-item {
  2419. display: flex;
  2420. color: #fff;
  2421. font-size: 14px;
  2422. height: 30px;
  2423. align-items: center;
  2424. padding-left: 20px;
  2425. }
  2426. .laba {
  2427. display: block;
  2428. width: 14px;
  2429. height: 11px;
  2430. margin-right: 10px;
  2431. }
  2432. .daping-hr-service-box {
  2433. width: 110px;
  2434. height: 70px;
  2435. border: 1px solid #23277E;
  2436. }
  2437. .daping-hr-service-box:nth-child(2) {
  2438. margin-top: 16px;
  2439. }
  2440. .daping-hr-service-box-up {
  2441. height: 46px;
  2442. font-size: 24px;
  2443. color: #EDEF13;
  2444. display: flex;
  2445. align-items: center;
  2446. justify-content: center;
  2447. }
  2448. .daping-hr-service-box-down {
  2449. height: 24px;
  2450. background: #35A9FF;
  2451. font-size: 12px;
  2452. color: #FFFFFF;
  2453. display: flex;
  2454. align-items: center;
  2455. justify-content: center;
  2456. }
  2457. .daping-hr-service-box-wrap {
  2458. width: 25%;
  2459. height: 100%;
  2460. display: flex;
  2461. flex-direction: column;
  2462. justify-content: center;
  2463. padding-left: 30px;
  2464. box-sizing: border-box;
  2465. float: left;
  2466. }
  2467. #daping-hr-service-chart {
  2468. width: 75%;
  2469. height: 100%;
  2470. float: left;
  2471. }
  2472. .parkNum {
  2473. color: #fff;
  2474. font-size: 12px;
  2475. position: absolute;
  2476. left: 18px;
  2477. top: 61px;
  2478. line-height: 14px;
  2479. }
  2480. .parkNumKey {
  2481. color: #FAEE04;
  2482. }
  2483. .parkNumTips {
  2484. position: absolute;
  2485. left: 21px;
  2486. top: 121px;
  2487. }
  2488. .parkNumTip {
  2489. display: flex;
  2490. align-items: center;
  2491. height: 14px;
  2492. font-size: 12px;
  2493. color: #fff;
  2494. }
  2495. .parkNumTip:nth-child(2) {
  2496. margin-top: 14px;
  2497. }
  2498. .parkNumTipIcon {
  2499. width: 7px;
  2500. height: 7px;
  2501. margin-right: 12px;
  2502. }
  2503. .parkNumTipIcon1 {
  2504. background: #1BFFF2;
  2505. }
  2506. .parkNumTipIcon2 {
  2507. background: #284695;
  2508. }
  2509. .parkDataRatoDown {
  2510. font-size: 12px;
  2511. font-weight: bold;
  2512. color: #fff;
  2513. position: absolute;
  2514. left: 50%;
  2515. bottom: 25px;
  2516. transform: translate3d(-50%, 0, 0);
  2517. }
  2518. .parkDataRatoUp {
  2519. font-size: 12px;
  2520. font-weight: bold;
  2521. color: #fff;
  2522. position: absolute;
  2523. left: 50%;
  2524. top: 25px;
  2525. transform: translate3d(-50%, 0, 0);
  2526. }
  2527. #parkOpData {
  2528. width: 100%;
  2529. height: 100%;
  2530. }
  2531. .h {
  2532. color: #fff;
  2533. font-size: 12px;
  2534. font-weight: bold;
  2535. margin-left: 16px;
  2536. margin-right: 7px;
  2537. padding-top: 19px;
  2538. overflow: hidden;
  2539. line-height: 14px;
  2540. }
  2541. .row1 {
  2542. width: 34%;
  2543. }
  2544. .row2 {
  2545. width: 22%;
  2546. }
  2547. .row3 {
  2548. width: 22%;
  2549. }
  2550. .row4 {
  2551. width: 22%;
  2552. color: #FF9000;
  2553. }
  2554. .row {
  2555. display: flex;
  2556. justify-content: center;
  2557. align-items: center;
  2558. float: left;
  2559. height: 100%;
  2560. white-space: nowrap;
  2561. overflow: hidden;
  2562. text-overflow: ellipsis;
  2563. }
  2564. .device-monitor-wrap {
  2565. height: 130px;
  2566. margin-top: 8px;
  2567. margin-left: 16px;
  2568. margin-right: 7px;
  2569. overflow: hidden;
  2570. }
  2571. .daping-property-service-inner {
  2572. height: 160px;
  2573. margin-top: 12px;
  2574. overflow: hidden;
  2575. }
  2576. .b {
  2577. height: 26px;
  2578. color: #18EAF2;
  2579. font-size: 12px;
  2580. }
  2581. .video-wrapper {
  2582. width: 100%;
  2583. height: 100%;
  2584. position: absolute;
  2585. top: 0;
  2586. left: 0;
  2587. background: rgba(0, 0, 0, 0.4);
  2588. z-index: 99999999999;
  2589. }
  2590. .video-box {
  2591. width: 998px;
  2592. height: 560px;
  2593. position: absolute;
  2594. left: 50%;
  2595. top: 50%;
  2596. margin-left: -499px;
  2597. margin-top: -280px;
  2598. background: #000;
  2599. border: 2px solid #4CBDFF;
  2600. }
  2601. .video-instance {
  2602. width: 100%;
  2603. height: 100%;
  2604. }
  2605. .close-small {
  2606. width: 25px;
  2607. height: 25px;
  2608. position: absolute;
  2609. right: 19px;
  2610. top: 19px;
  2611. cursor: pointer;
  2612. }
  2613. .zoom-big {
  2614. width: 24px;
  2615. height: 24px;
  2616. position: absolute;
  2617. right: 20px;
  2618. bottom: 20px;
  2619. cursor: pointer;
  2620. }
  2621. .close {
  2622. width: 29px;
  2623. height: 29px;
  2624. position: absolute;
  2625. right: 19px;
  2626. top: 19px;
  2627. cursor: pointer;
  2628. }
  2629. .zoom-small {
  2630. width: 28px;
  2631. height: 28px;
  2632. position: absolute;
  2633. right: 20px;
  2634. bottom: 20px;
  2635. cursor: pointer;
  2636. }
  2637. .carouel-img {
  2638. width: 100%;
  2639. height: 100%;
  2640. background: url(./static/lunbo-bg.png) no-repeat;
  2641. background-size: 100% auto;
  2642. background-position: center;
  2643. }
  2644. .el-carousel-box {
  2645. width: 96%;
  2646. margin-top: -80px;
  2647. }
  2648. .daping-company-service-left {
  2649. width: 60%;
  2650. height: 100%;
  2651. float: left;
  2652. }
  2653. .daping-company-service-right {
  2654. width: 40%;
  2655. height: 100%;
  2656. float: left;
  2657. }
  2658. .industryMergeTip {
  2659. position: absolute;
  2660. color: #fff;
  2661. font-size: 12px;
  2662. bottom: 22px;
  2663. transform: translate3d(-50%, 0, 0);
  2664. }
  2665. .industryMergeTip1 {
  2666. left: 9.9%;
  2667. }
  2668. .industryMergeTip2 {
  2669. left: 29.7%;
  2670. }
  2671. .industryMergeTip3 {
  2672. left: 49.5%;
  2673. }
  2674. .image-item {
  2675. display: block;
  2676. margin-left: 7%;
  2677. width: 86%;
  2678. height: 66%;
  2679. transform: translate3d(0, 26%, 0);
  2680. object-fit: cover;
  2681. }
  2682. .zy-slide img{
  2683. width: 88%;
  2684. height: 80%;
  2685. display: block;
  2686. object-fit: cover;
  2687. margin-left: 6%;
  2688. margin-top: 6.2%;
  2689. }
  2690. .zy-slide {
  2691. margin: 0;
  2692. margin-top: -60px;
  2693. }
  2694. .zy-slide li {
  2695. background: url(./static/img-frame.png);
  2696. background-repeat: no-repeat;
  2697. background-size: 100% 100%;
  2698. }
  2699. </style>
  2700. <style>
  2701. .el-carousel__mask {
  2702. opacity: 0;
  2703. }
  2704. </style>