index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525
  1. <template>
  2. <div class="bg" style="width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; overflow: hidden">
  3. <a-spin :spinning="loading" />
  4. <div id="damper3D" style="width: 100%; height: 100%; position: absolute; overflow: hidden"></div>
  5. </div>
  6. <div class="scene-box">
  7. <div class="top-box">
  8. <div class="top-center row">
  9. <template v-if="selectData.modelType == 'fireDoorSsl'">
  10. <div v-if="hasPermission('btn:control')" class="button-box" @click="() => modalContext1.openModal()"> 防火门控制 </div>
  11. </template>
  12. <template v-else>
  13. <div v-if="hasPermission('btn:control')" class="button-box" @click="setControl('frontGateOpen_S', '打开')">打开防火门</div>
  14. <div v-if="hasPermission('btn:control')" class="button-box" @click="setControl('frontGateClose_S', '关闭')">关闭防火门</div>
  15. <div v-if="hasPermission('btn:stopControl')" class="button-box" @click="setControl('frontGateStop_S', '停止')">停止</div>
  16. </template>
  17. </div>
  18. <!-- 控制模式 -->
  19. <div class="top-right row">
  20. <!-- <div class="vent-flex-m row" v-if="selectData.contrlMod == 'loopCtrl'">
  21. <div class="control-title">控制模式:</div>
  22. <a-radio-group v-model:value="selectData.autoRoManual">
  23. <template v-for="(item, index) in modelList" :key="index">
  24. <a-radio :value="item.value" :disabled="true">{{ item.text }}</a-radio>
  25. </template>
  26. </a-radio-group>
  27. <div class="button-box" @click="setControl('autoRoManualControl', '控制模式切换')">切换模式</div>
  28. </div>
  29. <div class="vent-flex-m row" v-else>
  30. <div class="control-title">控制模式:</div>
  31. <a-radio-group v-model:value="selectData.autoRoManual">
  32. <template v-for="(item, index) in modelList" :key="index">
  33. <a-radio :value="item.value" :disabled="true">{{ item.text }}</a-radio>
  34. </template>
  35. </a-radio-group>
  36. <div
  37. class="button-box"
  38. v-for="(item, index) in modelList"
  39. @click="setControl('autoRoManualControl', '控制模式切换', item.value)"
  40. :key="index"
  41. >{{ item.text }}</div
  42. >
  43. </div> -->
  44. <!-- <div class="run-type row">
  45. <div class="control-title">运行状态:</div>
  46. <a-radio-group v-model:value="selectData.runRoRecondition">
  47. <a-radio :value="`0`">检修</a-radio>
  48. <a-radio :value="`1`">运行</a-radio>
  49. </a-radio-group>
  50. </div> -->
  51. </div>
  52. </div>
  53. <div class="title-text">
  54. {{ selectData.supplyAirAddr || selectData.strinstallpos || selectData.strname }}
  55. </div>
  56. <div class="bottom-tabs-box" @mousedown="setDivHeight($event, 300, scroll)">
  57. <dv-border-box8 :dur="5" :style="`padding: 5px; height: ${scroll.y + 120}px`">
  58. <a-tabs class="tabs-box" v-model:activeKey="activeKey" @change="tabChange">
  59. <a-tab-pane key="1" tab="实时监测">
  60. <MonitorTable
  61. v-if="activeKey === '1'"
  62. ref="MonitorDataTable"
  63. class="monitor-table"
  64. :columnsType="deviceType"
  65. :isShowActionColumn="true"
  66. :dataSource="dataSource"
  67. design-scope="gate-monitor"
  68. @selectRow="getSelectRow"
  69. :scroll="{ y: scroll.y - 40 }"
  70. title="风门监测"
  71. :isShowPagination="true"
  72. >
  73. <template #filterCell="{ column, record }">
  74. <a-tag v-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '0' && record.frontGateClose == '0'" color="red"
  75. >正在运行</a-tag
  76. >
  77. <a-tag v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '0' && record.frontGateClose == 1" color="default"
  78. >关闭</a-tag
  79. >
  80. <a-tag v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '1' && record.frontGateClose == '0'" color="#46C66F"
  81. >打开</a-tag
  82. >
  83. <a-tag v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '1' && record.frontGateClose == '1'" color="#FF0000"
  84. >点位异常</a-tag
  85. >
  86. <template v-else-if="column.dataIndex === 'warnLevel'">
  87. <a-tag v-if="record.warnLevel == '101'" color="green">低风险</a-tag>
  88. <a-tag v-else-if="record.warnLevel == '102'" color="#FF5812">一般风险</a-tag>
  89. <a-tag v-else-if="record.warnLevel == '103'" color="#FF5812">较大风险</a-tag>
  90. <a-tag v-else-if="record.warnLevel == '104'" color="#FF5812">重大风险</a-tag>
  91. <a-tag v-else-if="record.warnLevel == '201'" color="#FF0000">报警</a-tag>
  92. <a-tag v-else-if="record.warnLevel == '10000'" color="#FF5812">数据超限</a-tag>
  93. <a-tag v-else-if="record.warnLevel == '1001'" color="default">网络中断</a-tag>
  94. <a-tag v-else color="green">正常</a-tag>
  95. </template>
  96. <a-tag v-else-if="column.dataIndex === 'warnFlag'" :color="record.warnFlag == '0' ? 'green' : 'red'">{{
  97. record.warnFlag == '0' ? '正常' : '报警'
  98. }}</a-tag>
  99. <a-tag v-if="column.dataIndex === 'netStatus'" :color="record.netStatus == '0' ? '#f00' : 'green'">{{
  100. record.netStatus == '0' ? '断开' : '连接'
  101. }}</a-tag>
  102. </template>
  103. <template #action="{ record }">
  104. <a v-if="globalConfig?.showReport" class="table-action-link" @click="deviceEdit($event, 'reportInfo', record)">报表录入</a>
  105. <a class="table-action-link" @click="deviceEdit($event, 'deviceInfo', record)">设备编辑</a>
  106. </template>
  107. </MonitorTable>
  108. </a-tab-pane>
  109. <a-tab-pane key="3" tab="历史数据">
  110. <div class="tab-item" v-if="activeKey === '3'">
  111. <HistoryTable :columnsType="deviceType" :device-type="deviceType" designScope="gate-history" :scroll="scroll">
  112. <template #filterCell="{ column, record }">
  113. <a-tag v-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '0' && record.frontGateClose == '0'" color="red"
  114. >正在运行</a-tag
  115. >
  116. <a-tag v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '0' && record.frontGateClose == 1" color="default"
  117. >关闭</a-tag
  118. >
  119. <a-tag
  120. v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '1' && record.frontGateClose == '0'"
  121. color="#46C66F"
  122. >打开</a-tag
  123. >
  124. <a-tag
  125. v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '1' && record.frontGateClose == '1'"
  126. color="#FF0000"
  127. >点位异常</a-tag
  128. >
  129. <template v-else-if="column.dataIndex === 'warnLevel'">
  130. <a-tag v-if="record.warnLevel == '101'" color="green">低风险</a-tag>
  131. <a-tag v-else-if="record.warnLevel == '102'" color="#FF5812">一般风险</a-tag>
  132. <a-tag v-else-if="record.warnLevel == '103'" color="#FF5812">较大风险</a-tag>
  133. <a-tag v-else-if="record.warnLevel == '104'" color="#FF5812">重大风险</a-tag>
  134. <a-tag v-else-if="record.warnLevel == '201'" color="#FF0000">报警</a-tag>
  135. <a-tag v-else-if="record.warnLevel == '10000'" color="#FF5812">数据超限</a-tag>
  136. <a-tag v-else-if="record.warnLevel == '1001'" color="default">网络中断</a-tag>
  137. <a-tag v-else color="green">正常</a-tag>
  138. </template>
  139. </template>
  140. </HistoryTable>
  141. </div>
  142. </a-tab-pane>
  143. <a-tab-pane key="4" tab="报警历史">
  144. <div class="tab-item" v-if="activeKey === '4'">
  145. <AlarmHistoryTable
  146. columns-type="alarm"
  147. :device-type="deviceType"
  148. :device-list-api="getTableList"
  149. designScope="alarm-history"
  150. :scroll="scroll"
  151. >
  152. <template #filterCell="{ column, record }">
  153. <a-tag v-if="column.dataIndex === 'warnFlag'" :color="record.warnFlag == '0' ? 'green' : record.warnFlag == 1 ? '#FF5812' : 'gray'">
  154. {{ record.warnFlag == '0' ? '正常' : record.warnFlag == 1 ? '报警' : record.warnFlag == 2 ? '断开' : '未监测' }}</a-tag
  155. >
  156. <a-tag v-if="column.dataIndex === 'netStatus'" :color="record.netStatus == '0' ? '#f00' : 'green'">{{
  157. record.netStatus == '0' ? '断开' : '连接'
  158. }}</a-tag>
  159. </template>
  160. </AlarmHistoryTable>
  161. </div>
  162. </a-tab-pane>
  163. <a-tab-pane key="5" tab="操作历史">
  164. <div class="tab-item" v-if="activeKey === '5'">
  165. <HandlerHistoryTable
  166. columns-type="operator_history"
  167. :device-type="deviceType"
  168. :device-list-api="getTableList"
  169. designScope="operator_history"
  170. :scroll="scroll"
  171. />
  172. </div>
  173. </a-tab-pane>
  174. </a-tabs>
  175. </dv-border-box8>
  176. </div>
  177. </div>
  178. <div ref="playerRef" style="z-index: 999; position: absolute; top: 100px; right: 15px; width: 300px; height: 280px; margin: auto"> </div>
  179. <HandleModal
  180. v-if="!globalConfig?.simulatedPassword"
  181. :modal-is-show="modalIsShow"
  182. :modal-title="modalTitle"
  183. :modal-type="modalType"
  184. @handle-ok="handleOK"
  185. @handle-cancel="handleCancel"
  186. />
  187. <DeviceBaseInfo @register="registerModal" :device-type="selectData['deviceType']" />
  188. <BasicModal @register="registerModal1" title="防火门控制">
  189. <div class="flex justify-around mt-20px mb-20px">
  190. <Button type="primary" class="w-120px" @click="setControl('frontGateOpen_S', '开启', true)">卷帘门开启</Button>
  191. <Button type="primary" class="w-120px" @click="setControl('frontGateClose_S', '关闭', true)">卷帘门关闭</Button>
  192. <Button type="primary" class="w-120px" @click="setControl('frontGateStop_S', '停止', true)">卷帘门停止</Button>
  193. </div>
  194. <div class="flex justify-around mt-20px mb-20px">
  195. <Button type="primary" class="w-120px" @click="setControl('MBOpen_S', '开启', true)">皮带密闭开启</Button>
  196. <Button type="primary" class="w-120px" @click="setControl('MBClose_S', '关闭', true)">皮带密闭关闭</Button>
  197. <Button type="primary" class="w-120px" @click="setControl('MBStop_S', '停止', true)">皮带密闭停止</Button>
  198. </div>
  199. <div class="flex justify-around mt-20px mb-20px">
  200. <Button type="primary" class="w-120px" @click="setControl('AllOpen_S', '开启', true)">同时开启</Button>
  201. <Button type="primary" class="w-120px" @click="setControl('AllClose_S', '关闭', true)">同时关闭</Button>
  202. <Button type="primary" class="w-120px" @click="setControl('AllStop_S', '停止', true)">同时停止</Button>
  203. </div>
  204. </BasicModal>
  205. </template>
  206. <script setup lang="ts">
  207. import { onBeforeUnmount, onUnmounted, onMounted, ref, reactive, nextTick, inject, unref } from 'vue';
  208. import MonitorTable from '../comment/MonitorTable.vue';
  209. import HistoryTable from '../comment/HistoryTable.vue';
  210. import AlarmHistoryTable from '../comment/AlarmHistoryTable.vue';
  211. import HandlerHistoryTable from '../comment/HandlerHistoryTable.vue';
  212. import HandleModal from './modal.vue';
  213. import DeviceBaseInfo from '../comment/components/DeviceBaseInfo.vue';
  214. import { mountedThree, play, destroy, setModelType } from './fireDoor.threejs';
  215. import { deviceControlApi } from '/@/api/vent/index';
  216. import { message, Button } from 'ant-design-vue';
  217. import { list, getTableList } from './fireDoor.api';
  218. import lodash from 'lodash';
  219. import { setDivHeight } from '/@/utils/event';
  220. import { BorderBox8 as DvBorderBox8 } from '@kjgl77/datav-vue3';
  221. import { useRouter } from 'vue-router';
  222. import { useModal, BasicModal } from '/@/components/Modal';
  223. import { useCamera } from '/@/hooks/system/useCamera';
  224. import { usePermission } from '/@/hooks/web/usePermission';
  225. import { getDictItems } from '/@/api/common/api';
  226. const { hasPermission } = usePermission();
  227. const globalConfig = inject('globalConfig');
  228. const { currentRoute } = useRouter();
  229. const MonitorDataTable = ref();
  230. let contrlValue = '';
  231. const playerRef = ref();
  232. const deviceType = ref('door');
  233. // const deviceType = ref('gate');
  234. // const deviceType = ref('firedoor');
  235. const activeKey = ref('1'); // tab
  236. const loading = ref(false);
  237. const scroll = reactive({
  238. y: 230,
  239. });
  240. const modelList = ref<{ text: string; value: string }[]>([]);
  241. const doorIsOpen = ref(false); //前门是否开启
  242. const modalIsShow = ref<boolean>(false); // 是否显示模态框
  243. const modalTitle = ref(''); // 模态框标题显示内容,根据设备操作类型决定
  244. const modalType = ref(''); // 模态框内容显示类型,设备操作类型
  245. const selectRowIndex = ref(-1); // 选中行
  246. const dataSource = ref([]);
  247. const deviceBaseList = ref([]); // 设备基本信息
  248. const [registerModal, { openModal, closeModal }] = useModal();
  249. const [registerModal1, modalContext1] = useModal();
  250. const { getCamera, removeCamera } = useCamera();
  251. const tabChange = (activeKeyVal) => {
  252. activeKey.value = activeKeyVal;
  253. if (activeKeyVal == 1) {
  254. nextTick(() => {
  255. if (MonitorDataTable.value) MonitorDataTable.value.setSelectedRowKeys([selectData.deviceID]);
  256. });
  257. }
  258. };
  259. const initData = {
  260. deviceID: '',
  261. deviceType: '',
  262. strname: '',
  263. frontRearDP: '-', //压差
  264. // sourcePressure: '-', //气源压力
  265. runRoRecondition: null,
  266. autoRoManual: null,
  267. netStatus: '0', //通信状态
  268. frontGateOpen: '0',
  269. frontGateClose: '1',
  270. rearGateOpen: '0',
  271. rearGateClose: '1',
  272. midGateOpen: '0',
  273. midGateClose: '1',
  274. fault: '气源压力超限',
  275. masterComputer: 0,
  276. frontGateOpenCtrl: false,
  277. rearGateOpenCtrl: false,
  278. cameras: [],
  279. };
  280. // 监测数据
  281. const selectData = reactive(lodash.cloneDeep(initData));
  282. function deviceEdit(e: Event, type: string, record) {
  283. e.stopPropagation();
  284. openModal(true, {
  285. type,
  286. deviceId: record['deviceID'],
  287. });
  288. }
  289. // 获取设备基本信息列表
  290. function getDeviceBaseList() {
  291. getTableList({ pageSize: 1000 }).then((res) => {
  292. deviceBaseList.value = res.records;
  293. });
  294. }
  295. // https获取监测数据
  296. let timer: null | NodeJS.Timeout = null;
  297. async function getMonitor(flag?) {
  298. if (Object.prototype.toString.call(timer) === '[object Null]') {
  299. timer = await setTimeout(
  300. async () => {
  301. const res = await list({ devicetype: deviceType.value, pagetype: 'normal' });
  302. if (res.msgTxt && res.msgTxt[0]) {
  303. dataSource.value = res.msgTxt[0].datalist || [];
  304. dataSource.value.forEach((data: any) => {
  305. const readData = data.readData;
  306. data = Object.assign(data, readData);
  307. });
  308. if (dataSource.value.length > 0 && selectRowIndex.value == -1 && MonitorDataTable.value) {
  309. // 初始打开页面
  310. if (currentRoute.value && currentRoute.value['query'] && currentRoute.value['query']['id']) {
  311. MonitorDataTable.value.setSelectedRowKeys([currentRoute.value['query']['id']]);
  312. } else {
  313. MonitorDataTable.value.setSelectedRowKeys([dataSource.value[0]['deviceID']]);
  314. }
  315. }
  316. Object.assign(selectData, dataSource.value[selectRowIndex.value]);
  317. monitorAnimation(selectData);
  318. if (timer) {
  319. timer = null;
  320. }
  321. getMonitor();
  322. }
  323. },
  324. flag ? 0 : 1000
  325. );
  326. }
  327. }
  328. // 切换检测数据
  329. async function getSelectRow(selectRow, index) {
  330. if (!selectRow) return;
  331. loading.value = true;
  332. selectRowIndex.value = index;
  333. const baseData: any = deviceBaseList.value.find((baseData: any) => baseData.id === selectRow.deviceID);
  334. Object.assign(selectData, initData, selectRow, baseData);
  335. doorDeviceState = 0; //记录设备状态,为了与下一次监测数据做比较
  336. isdoorOpenRunning = false; //开关门动作是否在进行
  337. let type = 'fireDoorRed';
  338. if (selectData.modelType == 'bd_qt') {
  339. type = 'fireDoor';
  340. } else if (selectData.modelType == 'bd_kj') {
  341. type = 'fireDoorF';
  342. } else if (selectData.modelType) {
  343. type = selectData.modelType;
  344. }
  345. await setModelType(type);
  346. loading.value = false;
  347. await getCamera(selectRow.deviceID, playerRef.value);
  348. }
  349. const setControl = (flag, title, value?) => {
  350. modalType.value = flag + '';
  351. modalTitle.value = title;
  352. modalIsShow.value = true;
  353. if (value) contrlValue = value;
  354. if (globalConfig?.simulatedPassword) {
  355. handleOK('', handlerState + '');
  356. }
  357. };
  358. function handleOK(passWord, handlerState) {
  359. if (!passWord && !globalConfig?.simulatedPassword) {
  360. message.warning('请输入密码');
  361. return;
  362. }
  363. if (isOpenRunning) {
  364. return;
  365. }
  366. const data = {
  367. deviceid: selectData.deviceID,
  368. devicetype: selectData.deviceType,
  369. paramcode: '',
  370. value: contrlValue,
  371. password: passWord || globalConfig?.simulatedPassword,
  372. masterComputer: selectData.masterComputer,
  373. };
  374. data.paramcode = handlerState;
  375. if (handlerState == 'autoRoManualControl') {
  376. data.value = selectData.contrlMod != 'loopCtrl' ? contrlValue : '';
  377. selectData.autoRoManual = null;
  378. }
  379. if (data.paramcode) {
  380. deviceControlApi(data).then((res) => {
  381. // 模拟时开启
  382. if (res.success) {
  383. modalIsShow.value = false;
  384. if (globalConfig.History_Type == 'remote') {
  385. message.success('指令已下发至生产管控平台成功!');
  386. } else {
  387. message.success('指令已下发成功!');
  388. }
  389. } else {
  390. message.error(res.message);
  391. }
  392. });
  393. }
  394. }
  395. let isOpenRunning = false; //开关门动作是否在进行
  396. /** 开关门动画调用 */
  397. let isdoorOpenRunning = false; //开关门动作是否在进行
  398. let isMBRunning = false; //密闭门动作是否在进行
  399. // 0 关闭 1 正在打开 2 打开 3正在关闭
  400. let doorDeviceState = 0; //记录设备状态,为了与下一次监测数据做比较
  401. function monitorAnimation(selectData) {
  402. const timeScale = 0.005;
  403. // 打开(普通门或卷帘门)
  404. if (selectData.frontGateOpen == '1' && !isdoorOpenRunning) {
  405. isdoorOpenRunning = true;
  406. if (doorDeviceState != 1) {
  407. // import.meta.env.VITE_GLOB_IS_SIMULATE ? play(1, timeScale) : play(1);
  408. play(1, timeScale);
  409. doorDeviceState = 1;
  410. doorIsOpen.value = true;
  411. }
  412. }
  413. // 关闭(普通门或卷帘门)
  414. if (selectData.frontGateOpen == '0' && isdoorOpenRunning) {
  415. isdoorOpenRunning = false;
  416. if (doorDeviceState != 0) {
  417. // import.meta.env.VITE_GLOB_IS_SIMULATE ? play(1, timeScale) : play(1);
  418. play(2, timeScale);
  419. doorDeviceState = 0;
  420. doorIsOpen.value = false;
  421. }
  422. }
  423. // 皮带密闭开
  424. if (selectData.MBOpen == '1' && !isMBRunning) {
  425. isMBRunning = true;
  426. play(3, timeScale);
  427. }
  428. // 皮带密闭关
  429. if (selectData.MBOpen == '0' && isMBRunning) {
  430. isMBRunning = false;
  431. play(4, timeScale);
  432. }
  433. }
  434. function handleCancel() {
  435. modalIsShow.value = false;
  436. modalTitle.value = '';
  437. modalType.value = '';
  438. selectData.autoRoManual = null;
  439. }
  440. onMounted(async () => {
  441. const { query } = unref(currentRoute);
  442. if (query['deviceType']) deviceType.value = query['deviceType'] as string;
  443. modelList.value = await getDictItems('fireDoorModel');
  444. loading.value = true;
  445. mountedThree().then(async () => {
  446. await getMonitor(true);
  447. loading.value = false;
  448. });
  449. });
  450. onBeforeUnmount(() => {
  451. getDeviceBaseList();
  452. });
  453. onUnmounted(() => {
  454. removeCamera();
  455. if (timer) {
  456. clearTimeout(timer);
  457. timer = undefined;
  458. }
  459. destroy();
  460. });
  461. </script>
  462. <style lang="less" scoped>
  463. @import '/@/design/vent/modal.less';
  464. .scene-box {
  465. .bottom-tabs-box {
  466. height: 300px;
  467. }
  468. }
  469. .button-box {
  470. border: none !important;
  471. height: 34px !important;
  472. &:hover {
  473. background: linear-gradient(#2cd1ff55, #1eb0ff55) !important;
  474. }
  475. &::before {
  476. height: 27px !important;
  477. background: linear-gradient(#1fa6cb, #127cb5) !important;
  478. }
  479. &::after {
  480. top: 35px !important;
  481. }
  482. }
  483. :deep(.@{ventSpace}-tabs-tabpane-active) {
  484. height: 100%;
  485. }
  486. ::-webkit-scrollbar-thumb {
  487. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  488. background: #4288a444;
  489. }
  490. :deep(.zxm-radio-disabled + span) {
  491. color: #fff !important;
  492. }
  493. :deep(.zxm-radio-disabled .zxm-radio-inner::after) {
  494. background-color: #127cb5 !important;
  495. }
  496. </style>