|
@@ -0,0 +1,599 @@
|
|
|
+<template>
|
|
|
+ <vue-drag-resize
|
|
|
+ id="drag"
|
|
|
+ class="drag-container"
|
|
|
+ :isActive="true"
|
|
|
+ w="auto"
|
|
|
+ h="auto"
|
|
|
+ :x="left"
|
|
|
+ :y="top"
|
|
|
+ :z="zIndex"
|
|
|
+ :isResizable="false"
|
|
|
+ :parent-limitation="true"
|
|
|
+ v-if="dialogConfig.show"
|
|
|
+ @clicked="setZIndex(dialogConfig.dialogId)"
|
|
|
+ >
|
|
|
+ <div
|
|
|
+ class="slot-container"
|
|
|
+ :style="{ width: width + 'rem', height: height + 'rem' }"
|
|
|
+ >
|
|
|
+ <div class="bg-container">
|
|
|
+ <!-- 拼接背景图案 -->
|
|
|
+ <img
|
|
|
+ class="leftTop"
|
|
|
+ :src="require('@/assets/imgs/dialog/base/pop_bg1@2x.png')"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ <img
|
|
|
+ class="rightTop"
|
|
|
+ :src="require('@/assets/imgs/dialog/base/pop_bg2@2x.png')"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ <img
|
|
|
+ class="leftBottom"
|
|
|
+ :src="require('@/assets/imgs/dialog/base/pop_bg4@2x.png')"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ <img
|
|
|
+ class="rightBottom"
|
|
|
+ :src="require('@/assets/imgs/dialog/base/pop_bg3@2x.png')"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ <img
|
|
|
+ class="bottomCenter"
|
|
|
+ :src="require('@/assets/imgs/dialog/base/img_guang@2x.png')"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ <div
|
|
|
+ class="topBorder"
|
|
|
+ :style="{
|
|
|
+ width:
|
|
|
+ width - (2.182292 - 0.041667) - (0.317708 - 0.041667) + 'rem',
|
|
|
+ right: 0.317708 - 0.041667 + 'rem',
|
|
|
+ }"
|
|
|
+ ></div>
|
|
|
+ <div
|
|
|
+ class="rightBorder"
|
|
|
+ :style="{
|
|
|
+ height:
|
|
|
+ height - (0.4375 - 0.239583) - (0.390625 - 0.177083) + 'rem',
|
|
|
+ top: 0.4375 - 0.239583 + 'rem',
|
|
|
+ }"
|
|
|
+ ></div>
|
|
|
+ <div
|
|
|
+ class="bottomBorder"
|
|
|
+ :style="{
|
|
|
+ width:
|
|
|
+ width - (0.317708 - 0.041667) - (0.317708 - 0.041667) + 'rem',
|
|
|
+ right: 0.317708 - 0.041667 + 'rem',
|
|
|
+ }"
|
|
|
+ ></div>
|
|
|
+ <div
|
|
|
+ class="leftBorder"
|
|
|
+ :style="{
|
|
|
+ height:
|
|
|
+ height - (0.4375 - 0.239583) - (0.390625 - 0.177083) + 'rem',
|
|
|
+ top: 0.4375 - 0.239583 + 'rem',
|
|
|
+ }"
|
|
|
+ ></div>
|
|
|
+ <div
|
|
|
+ class="center-bg"
|
|
|
+ :style="{
|
|
|
+ width:
|
|
|
+ width - (0.260417 - 0.041667) - (0.260417 - 0.041667) + 'rem',
|
|
|
+ height:
|
|
|
+ height - (0.4375 - 0.239583) - (0.390625 - 0.177083) + 'rem',
|
|
|
+ top: 0.4375 - 0.239583 + 'rem',
|
|
|
+ right: 0.260417 - 0.041667 + 'rem',
|
|
|
+ }"
|
|
|
+ ></div>
|
|
|
+ </div>
|
|
|
+ <div class="dialog-content">
|
|
|
+ <!-- 弹窗标题 -->
|
|
|
+ <div class="title-box">
|
|
|
+ <div class="dialog-title">{{ dialogConfig.title }}</div>
|
|
|
+ <div class="dialog-close" @click="handleClose">
|
|
|
+ <img
|
|
|
+ :src="require('@/assets/imgs/dialog/icon_guanbi2@2x.png')"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- 绑卡 -->
|
|
|
+ <div
|
|
|
+ class="main-content"
|
|
|
+ style="height: calc(100% - 55px)"
|
|
|
+ v-if="dialogConfig.type == 1"
|
|
|
+ >
|
|
|
+ <div class="content_info" v-if="enable">{{ info }}</div>
|
|
|
+ <div class="content_info" v-else>
|
|
|
+ <div>
|
|
|
+ 将卡号为“{{ recognizedNumber }}”卡片,同{{
|
|
|
+ dialogConfig.data.name
|
|
|
+ }}人员进行绑定!
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="btn-box" v-if="!enable">
|
|
|
+ <el-button
|
|
|
+ class="btn-cancel"
|
|
|
+ style="width: 100px; height: 60px; font-size: x-large"
|
|
|
+ type="primary "
|
|
|
+ size="medium "
|
|
|
+ @click="handleClose"
|
|
|
+ >取消</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ class="btn-handle"
|
|
|
+ style="width: 100px; height: 60px; font-size: x-large"
|
|
|
+ type="primary "
|
|
|
+ size="medium "
|
|
|
+ @click="handleDeal"
|
|
|
+ >确认</el-button
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- 退卡 -->
|
|
|
+ <div
|
|
|
+ class="main-content"
|
|
|
+ style="height: calc(100% - 55px)"
|
|
|
+ v-if="dialogConfig.type == 2"
|
|
|
+ >
|
|
|
+ <div class="content_info" v-if="enable">{{ info }}</div>
|
|
|
+ <div class="content_info" v-else>
|
|
|
+ <div>
|
|
|
+ 将卡号为“{{ person.cardNo }}”卡片,同{{
|
|
|
+ person.name ? person.name : ""
|
|
|
+ }}人员解除绑定!
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="btn-box" v-if="!enable">
|
|
|
+ <el-button
|
|
|
+ class="btn-cancel"
|
|
|
+ style="width: 100px; height: 60px; font-size: x-large"
|
|
|
+ type="primary "
|
|
|
+ size="medium "
|
|
|
+ @click="handleClose"
|
|
|
+ >关闭</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ class="btn-handle"
|
|
|
+ style="width: 100px; height: 60px; font-size: x-large"
|
|
|
+ type="primary "
|
|
|
+ size="medium "
|
|
|
+ @click="handleDeal"
|
|
|
+ >确认</el-button
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </vue-drag-resize>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import { mapGetters } from "vuex";
|
|
|
+import { getPersonByCardNo, savePerson } from "@/API/custom";
|
|
|
+import Dayjs from "dayjs";
|
|
|
+export default {
|
|
|
+ name: "RiskTipDialog",
|
|
|
+ props: {
|
|
|
+ dialogConfig: {
|
|
|
+ type: Object,
|
|
|
+ default: () => {
|
|
|
+ return {
|
|
|
+ dialogId: "",
|
|
|
+ show: false, //是否显示
|
|
|
+ title: "新窗口-请指定URL",
|
|
|
+ width: 960, //px宽度
|
|
|
+ height: 540, //px高度
|
|
|
+ left: 0, //
|
|
|
+ top: 0, //
|
|
|
+ bottom: 0, //
|
|
|
+ right: 0, //
|
|
|
+ center: true, //是否居中定位
|
|
|
+ type: 1,
|
|
|
+ data: {},
|
|
|
+ zIndex: 5,
|
|
|
+ dataIndex: 0,
|
|
|
+ };
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ width: 0,
|
|
|
+ height: 0,
|
|
|
+ top: 0,
|
|
|
+ left: 0,
|
|
|
+ enable: true,
|
|
|
+ recognizedNumber: "",
|
|
|
+ person: { name: "" },
|
|
|
+ info: "刷卡识别。。。请刷卡",
|
|
|
+ };
|
|
|
+ },
|
|
|
+ watch: {
|
|
|
+ "dialogConfig.show": {
|
|
|
+ handler(newVal) {
|
|
|
+ // 弹窗打开关闭时,更新全局变量
|
|
|
+ if (newVal) {
|
|
|
+ console.log("将要打开" + this.dialogConfig.dialogId);
|
|
|
+ setTimeout(() => {
|
|
|
+ this.recognizedNumber = "2652310818"; //2652310818
|
|
|
+ }, 1000);
|
|
|
+ } else {
|
|
|
+ this.$store.dispatch("dialog/removeRiskDialog", this.dialogConfig);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ deep: true,
|
|
|
+ immediate: true,
|
|
|
+ },
|
|
|
+ "dialogConfig.data": {
|
|
|
+ handler(newVal) {
|
|
|
+ // 弹窗打开关闭时,更新全局变量
|
|
|
+ console.log("将要绑定相关信息:", this.dialogConfig);
|
|
|
+ },
|
|
|
+ deep: true,
|
|
|
+ immediate: true,
|
|
|
+ },
|
|
|
+ recognizedNumber: {
|
|
|
+ //深度监听,可监听到对象、数组的变化
|
|
|
+ handler(newVal) {
|
|
|
+ console.log("获取人员信息");
|
|
|
+ if (newVal.length > 2) {
|
|
|
+ setTimeout(() => {
|
|
|
+ this.getPersonByRFID();
|
|
|
+ }, 2000);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ deep: true,
|
|
|
+ },
|
|
|
+ person: {
|
|
|
+ //深度监听,可监听到对象、数组的变化
|
|
|
+ handler(newVal) {
|
|
|
+ console.log("人员信息自检");
|
|
|
+ this.checkrecognizedNumberBind();
|
|
|
+ },
|
|
|
+ deep: true,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ created() {
|
|
|
+ this.pxToRem();
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+ window.addEventListener("resize", this.pxToRem);
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ ...mapGetters(["riskDialogs", "alarmAudio"]),
|
|
|
+ zIndex() {
|
|
|
+ const config = this.riskDialogs.find(
|
|
|
+ (e) => e.dialogId === this.dialogConfig?.dialogId
|
|
|
+ );
|
|
|
+ return config?.zIndex || 1;
|
|
|
+ },
|
|
|
+ eventTime() {
|
|
|
+ return Dayjs(this.dialogConfig.data?.eventTime).format(
|
|
|
+ "YYYY-MM-DD HH:mm:ss"
|
|
|
+ );
|
|
|
+ },
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ // 将传入的px值转换为rem值
|
|
|
+ pxToRem() {
|
|
|
+ // 当前窗口大小px值
|
|
|
+ let width = document.documentElement.clientWidth;
|
|
|
+ let height = document.documentElement.clientHeight;
|
|
|
+ // console.log("client", width, height);
|
|
|
+ // 当前1rem的值
|
|
|
+ let rem = width / 10;
|
|
|
+ // console.log(rem);
|
|
|
+ // 通过默认 1rem=192 计算得出当前窗口大小rem值
|
|
|
+ this.width = this.dialogConfig.width / 192;
|
|
|
+ this.height = this.dialogConfig.height / 192;
|
|
|
+ // console.log("dialog", this.width, this.height);
|
|
|
+ // 通过当前的1rem值计算出窗口初始的定位px值
|
|
|
+ if (this.dialogConfig.center) {
|
|
|
+ this.left = (width - this.width * rem) / 2;
|
|
|
+ this.top = (height - this.height * rem) / 2;
|
|
|
+ } else {
|
|
|
+ if (this.dialogConfig.bottom) {
|
|
|
+ this.top =
|
|
|
+ height -
|
|
|
+ ((this.dialogConfig.bottom + this.dialogConfig.height) / 192) * rem;
|
|
|
+ } else {
|
|
|
+ this.top = (this.dialogConfig.top / 192) * rem;
|
|
|
+ }
|
|
|
+ if (this.dialogConfig.right) {
|
|
|
+ this.left =
|
|
|
+ width -
|
|
|
+ ((this.dialogConfig.right + this.dialogConfig.width) / 192) * rem;
|
|
|
+ } else {
|
|
|
+ this.left = (this.dialogConfig.left / 192) * rem;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // console.log('pos', this.left, this.top)
|
|
|
+ // console.log(this.top);
|
|
|
+ },
|
|
|
+ async getPersonByRFID() {
|
|
|
+ try {
|
|
|
+ const res = await getPersonByCardNo({
|
|
|
+ cardNo: this.recognizedNumber,
|
|
|
+ });
|
|
|
+ if (res.code === 20000) {
|
|
|
+ this.enable = false; //切换内容
|
|
|
+ this.person = res.data.content ? res.data.content[0] : {};
|
|
|
+ console.log("当前人员:", res, this.person);
|
|
|
+ }
|
|
|
+ } catch (err) {
|
|
|
+ console.log(err);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ async savePersonInfo(person) {
|
|
|
+ try {
|
|
|
+ const res = await savePerson(person);
|
|
|
+ if (res.code === 20000) {
|
|
|
+ console.log("当前人员信息保存:", person);
|
|
|
+ }
|
|
|
+ } catch (err) {
|
|
|
+ console.log(err);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ checkrecognizedNumberBind() {
|
|
|
+ if (this.dialogConfig.type == 1) {
|
|
|
+ if (this.person.cardNo && this.person.cardNo.length > 0) {
|
|
|
+ console.log("已绑定到人员!");
|
|
|
+ this.enable = true;
|
|
|
+ this.info = "卡片已绑定人员,请换刷卡片";
|
|
|
+ setTimeout(() => {
|
|
|
+ this.recognizedNumber = "123333333";
|
|
|
+ }, 2000);
|
|
|
+ } else {
|
|
|
+ console.log("即将绑定");
|
|
|
+ //绑卡逻辑
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.dialogConfig.type == 2) {
|
|
|
+ if (this.person) {
|
|
|
+ if (this.person.cardNo && this.person.cardNo.length > 0) {
|
|
|
+ console.log("即将解绑");
|
|
|
+ //退卡逻辑
|
|
|
+ } else {
|
|
|
+ console.log("未绑定人员!");
|
|
|
+ this.enable = true;
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ this.enable = true;
|
|
|
+ this.info = "卡片未绑定人员,请换刷卡片";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ handleClose() {
|
|
|
+ this.dialogConfig.show = false;
|
|
|
+ this.enable = true;
|
|
|
+ //this.$store.dispatch('home/setNavActive', this.dialogConfig.title)
|
|
|
+ this.$store.dispatch("globalConfig/setAlarmAudio", {
|
|
|
+ show: false,
|
|
|
+ alarmType: "all",
|
|
|
+ });
|
|
|
+ },
|
|
|
+ handleDeal() {
|
|
|
+ try {
|
|
|
+ if (this.dialogConfig.type == 1) {
|
|
|
+ //绑卡
|
|
|
+ this.dialogConfig.data.cardNo = this.recognizedNumber;
|
|
|
+ setTimeout(() => {
|
|
|
+ // this.savePersonInfo(this.dialogConfig.data);
|
|
|
+ console.log("绑定", this.dialogConfig.data);
|
|
|
+ }, 200);
|
|
|
+ //回传信息
|
|
|
+ this.$store.dispatch("dialog/setPersonInfo", {
|
|
|
+ index: this.dialogConfig.dataIndex,
|
|
|
+ data: this.dialogConfig.data,
|
|
|
+ type: this.dialogConfig.type,
|
|
|
+ });
|
|
|
+ //参数回调
|
|
|
+ this.enable = true;
|
|
|
+ this.info = "刷卡识别中。。。请刷卡";
|
|
|
+ this.handleClose();
|
|
|
+ }
|
|
|
+ if (this.dialogConfig.type == 2) {
|
|
|
+ //解绑
|
|
|
+ this.person.cardNo = "";
|
|
|
+ setTimeout(() => {
|
|
|
+ // this.savePersonInfo(this.person);
|
|
|
+ console.log("解绑", this.person);
|
|
|
+ }, 200);
|
|
|
+ this.enable = true;
|
|
|
+ this.info = "刷卡识别中。。。请刷卡";
|
|
|
+ // setTimeout(() => {
|
|
|
+ // this.recognizedNumber = "1231231233";
|
|
|
+ // }, 2000);
|
|
|
+ // setTimeout(() => {
|
|
|
+ // this.recognizedNumber = "1423885022";
|
|
|
+ // }, 2000);
|
|
|
+ }
|
|
|
+ } catch (error) {
|
|
|
+ console.log(error);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ setZIndex(val) {
|
|
|
+ // 点击时根据id,动态改变zindex值
|
|
|
+ this.$store.dispatch("dialog/setDialogZIndex", val);
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="less" scoped>
|
|
|
+.drag-container {
|
|
|
+ box-shadow: 0 0 0px rgba(255, 255, 255, 0), 0 0 0px rgba(255, 255, 255, 0);
|
|
|
+ animation: glow 2s infinite;
|
|
|
+ pointer-events: auto;
|
|
|
+ .slot-container {
|
|
|
+ position: relative;
|
|
|
+ .bg-container {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ position: absolute;
|
|
|
+ // (0.317708-0.041667)
|
|
|
+ img {
|
|
|
+ position: absolute;
|
|
|
+ &.leftTop {
|
|
|
+ width: 2.182292rem /* 419/192 */;
|
|
|
+ height: 0.4375rem /* 84/192 */;
|
|
|
+ top: -0.239583rem /* 46/192 */;
|
|
|
+ left: -0.041667rem /* 8/192 */;
|
|
|
+ }
|
|
|
+ &.rightTop {
|
|
|
+ width: 0.317708rem /* 61/192 */;
|
|
|
+ height: 0.4375rem /* 84/192 */;
|
|
|
+ top: -0.239583rem /* 46/192 */;
|
|
|
+ right: -0.041667rem /* 8/192 */;
|
|
|
+ }
|
|
|
+ &.leftBottom {
|
|
|
+ width: 0.317708rem /* 61/192 */;
|
|
|
+ height: 0.390625rem /* 75/192 */;
|
|
|
+ bottom: -0.177083rem /* 34/192 */;
|
|
|
+ left: -0.041667rem /* 8/192 */;
|
|
|
+ }
|
|
|
+ &.rightBottom {
|
|
|
+ width: 0.317708rem /* 61/192 */;
|
|
|
+ height: 0.390625rem /* 75/192 */;
|
|
|
+ bottom: -0.177083rem /* 34/192 */;
|
|
|
+ right: -0.041667rem /* 8/192 */;
|
|
|
+ }
|
|
|
+ &.bottomCenter {
|
|
|
+ width: 1.442708rem /* 277/192 */;
|
|
|
+ height: 0.359375rem /* 69/192 */;
|
|
|
+ bottom: -0.177083rem /* 34/192 */;
|
|
|
+ left: 50%;
|
|
|
+ transform: translate(-50%, 0);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .topBorder {
|
|
|
+ // width: 100%;
|
|
|
+ height: 0.4375rem /* 84/192 */;
|
|
|
+ position: absolute;
|
|
|
+ top: -0.239583rem /* 46/192 */;
|
|
|
+ background-image: url(~@/assets/imgs/dialog/base/pop_bg5@2x.png);
|
|
|
+ background-repeat: repeat-x;
|
|
|
+ background-size: contain;
|
|
|
+ }
|
|
|
+ .bottomBorder {
|
|
|
+ // width: 100%;
|
|
|
+ height: 0.390625rem /* 75/192 */;
|
|
|
+ position: absolute;
|
|
|
+ bottom: -0.177083rem /* 34/192 */;
|
|
|
+ background-image: url(~@/assets/imgs/dialog/base/pop_bg6@2x.png);
|
|
|
+ background-repeat: repeat-x;
|
|
|
+ background-size: contain;
|
|
|
+ }
|
|
|
+ .leftBorder {
|
|
|
+ width: 0.260417rem /* 50/192 */;
|
|
|
+ // height: 0.390625rem /* 75/192 */;
|
|
|
+ position: absolute;
|
|
|
+ left: -0.041667rem /* 8/192 */;
|
|
|
+ background-image: url(~@/assets/imgs/dialog/base/pop_bg7@2x.png);
|
|
|
+ background-repeat: repeat-y;
|
|
|
+ background-size: contain;
|
|
|
+ }
|
|
|
+ .rightBorder {
|
|
|
+ width: 0.260417rem /* 50/192 */;
|
|
|
+ // height: 0.390625rem /* 75/192 */;
|
|
|
+ position: absolute;
|
|
|
+ right: -0.041667rem /* 8/192 */;
|
|
|
+ background-image: url(~@/assets/imgs/dialog/base/pop_bg8@2x.png);
|
|
|
+ background-repeat: repeat-y;
|
|
|
+ background-size: contain;
|
|
|
+ }
|
|
|
+ .center-bg {
|
|
|
+ position: absolute;
|
|
|
+ // top: 50%;
|
|
|
+ // left: 50%;
|
|
|
+ // transform: translate(-50%, -50%);
|
|
|
+ background-image: url(~@/assets/imgs/dialog/base/pop_bg9@2x.png);
|
|
|
+ background-repeat: repeat;
|
|
|
+ background-size: contain;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .dialog-content {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ position: absolute;
|
|
|
+ padding: 0 0.104167rem /* 20/192 */;
|
|
|
+ .title-box {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ width: 100%;
|
|
|
+ height: 0.166667rem /* 32/192 */;
|
|
|
+ line-height: 0.166667rem /* 32/192 */;
|
|
|
+ color: #fff;
|
|
|
+ .dialog-title {
|
|
|
+ font-size: 0.15rem /* 18/192 */;
|
|
|
+ margin-top: -0.053333rem /* 16/192 */;
|
|
|
+ }
|
|
|
+ .dialog-close {
|
|
|
+ width: 0.09375rem /* 18/192 */;
|
|
|
+ height: 0.09375rem /* 18/192 */;
|
|
|
+ position: absolute;
|
|
|
+ top: 0.020833rem /* 4/192 */;
|
|
|
+ right: 0.052083rem /* 10/192 */;
|
|
|
+ cursor: pointer;
|
|
|
+ img {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .main-content {
|
|
|
+ padding-top: 10px;
|
|
|
+ .content_info {
|
|
|
+ text-align: center;
|
|
|
+ font-size: 0.15rem;
|
|
|
+ margin-top: 60px;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ ::v-deep .el-form-item__label {
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ .btn-box {
|
|
|
+ width: 100%;
|
|
|
+ height: 60px;
|
|
|
+ text-align: center;
|
|
|
+ position: absolute;
|
|
|
+ bottom: 40px;
|
|
|
+ left: 50%;
|
|
|
+ transform: translate(-50%, 0);
|
|
|
+ .el-button {
|
|
|
+ width: 100px;
|
|
|
+ height: 32px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ margin-top: 0.015625rem /* 3/192 */;
|
|
|
+ color: #fff;
|
|
|
+ padding: 0;
|
|
|
+ border-color: #5bd6ff;
|
|
|
+ // border-radius: 0;
|
|
|
+ &:hover {
|
|
|
+ border-color: #ccc;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .btn-handle.el-button {
|
|
|
+ background: rgba(0, 159, 221, 0.8);
|
|
|
+ }
|
|
|
+ .btn-cancel.el-button {
|
|
|
+ background: rgba(7, 51, 121, 0.1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .contentiframe {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ padding: 0;
|
|
|
+ border: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+.vdr.active:before {
|
|
|
+ outline: 0;
|
|
|
+}
|
|
|
+</style>
|