Commit 04f65f09 authored by xinzhedeai's avatar xinzhedeai
parents 9c377c0f 0d6c8ec9
...@@ -260,12 +260,12 @@ ...@@ -260,12 +260,12 @@
} }
.el-input__inner{ .el-input__inner{
background-color: transparent !important; //background-color: transparent !important;
border: none !important; border: none !important;
color: #ffffff !important; color: #ffffff !important;
padding: 0 !important; padding: 0 !important;
font-size: 20px !important; font-size: 20px !important;
width: 150px !important; /* width: 150px !important; */
} }
.markerInput .el-input__inner{ .markerInput .el-input__inner{
font-size: 16px !important; font-size: 16px !important;
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
<!-- 引入 Vue 和 Vant 的 JS 文件 --> <!-- 引入 Vue 和 Vant 的 JS 文件 -->
<script src="js/vue@2.6.14"></script> <script src="js/vue@2.6.14"></script>
<script src="js/vant.min.js"></script> <script src="js/vant.min.js"></script>
<script src="/static/js/qf_web.min.js"></script>
<style> <style>
@font-face {font-family:"diget year";src: url("static/fonts/DS-Digital.ttf");}; @font-face {font-family:"diget year";src: url("static/fonts/DS-Digital.ttf");};
...@@ -214,6 +215,17 @@ ...@@ -214,6 +215,17 @@
} }
} }
} }
.l-md3{
.m-t2{
}
div.el-date-editor{
border-color:#2F8DC2;background-color:rgba(0,0,0,.5);
input{background-color:transparent;color:#eee;}
span{color:#aaa;width:20px;}
}
}
} }
</style> </style>
</head> </head>
...@@ -291,11 +303,11 @@ ...@@ -291,11 +303,11 @@
<!-- <div class="fixed wp100 hv100" style="z-index: 199;" @click="showMask = aiShowMask = false" <!-- <div class="fixed wp100 hv100" style="z-index: 199;" @click="showMask = aiShowMask = false"
v-show="showMask || aiShowMask"></div> --> v-show="showMask || aiShowMask"></div> -->
<div class="flex-text m-body wp100"> <div class="flex-text m-body wp100" id="body">
<div :class="isFullScreen?'tr-left':'tr-left-re'" class="flex flex-column space-between relative" style="display:flex;justify-content:center;height:100%;"> <div :class="isFullScreen?'tr-left':'tr-left-re'" class="flex flex-column space-between relative" style="display:flex;justify-content:center;height:100%;">
<!-- 物联网主机 --> <!-- 物联网主机 -->
<div style="transform-origin:left center;left:0;" class="absolute" :style="{transform:'scale(' + ( heightScale) + ')'}"> <div style="transform-origin:left center;left:0;" class="absolute" :style="{transform:'scale(' + ( heightScale) + ')'}" id="leftbar">
<!-- 设备状态 --> <!-- 设备状态 -->
<div style="width: 514px;"> <div style="width: 514px;">
<div class="ml10 flex align-center f20 color-theme wp100" <div class="ml10 flex align-center f20 color-theme wp100"
...@@ -328,27 +340,24 @@ ...@@ -328,27 +340,24 @@
<div style="width: 3px;" class="h30"></div> <div style="width: 3px;" class="h30"></div>
</div> </div>
<div class="absolute ml5" style="height: 228px;overflow-y: scroll;width: 483px;"> <div class="absolute ml5" style="height: 228px;overflow-y: scroll;width: 483px;">
<div class="solid-bottom flex space-between f14" style="height: 64px;" <div class="solid-bottom flex space-between f14" style="height:64px;" v-for="(item,index) in alarmlist" :key="index">
v-for="(item,index) in alarm" :key="index">
<div style="width: 120px;" class="flex-text ovh"> <div style="width: 120px;" class="flex-text ovh">
<div class="flex-1 ml10 mr10 ellipsis2 text-center">{{ item.name }}</div> <div class="flex-1 ml10 mr10 ellipsis2 text-center">{{ item.enterpriseName }}</div>
</div> </div>
<div class="flex-1 flex-text ovh"> <div class="flex-1 flex-text ovh">
<div class="flex-1 ml10 mr10 ellipsis text-center">{{ item.equipment }}</div> <div class="flex-1 ml10 mr10 ellipsis text-center">{{ item.name }}</div>
</div> </div>
<div class="text-center flex-1 flex-text"> <div class="text-center flex-1 flex-text">
<div> <div>
<div>{{ item.day }}</div> <div>{{ item.time }}</div>
<div>{{ item.time }}</div> </div>
</div>
</div> </div>
<div class="flex-text" style="width: 90px;" :class="item.status == 1?'':'color-yellow'">{{ <div class="flex-text" style="width: 90px;" :class="item.status == 1?'':'color-yellow'">{{item.state}}</div>
item.statusTxt }}</div>
</div> </div>
</div> </div>
</div> </div>
<!-- 在线监测报警统计 --> <!-- 在线监测报警统计 -->
<div style="width: 514px;"> <div style="width: 514px;" class="l-md3">
<div class="ml10 flex align-center f20 color-theme wp100" <div class="ml10 flex align-center f20 color-theme wp100"
style="background-image: url('static/sub-title.png');background-size: 100% 100%;height: 48px;"> style="background-image: url('static/sub-title.png');background-size: 100% 100%;height: 48px;">
<div class="ml40">在线监测报警统计</div> <div class="ml40">在线监测报警统计</div>
...@@ -359,25 +368,25 @@ ...@@ -359,25 +368,25 @@
style="height: 38px;background-image: url('static/button-bg.png');background-size: 100% 100%;" style="height: 38px;background-image: url('static/button-bg.png');background-size: 100% 100%;"
v-for="(item,index) in tabs" :key="index" @click="changeTab(index)">{{ item }}</div> v-for="(item,index) in tabs" :key="index" @click="changeTab(index)">{{ item }}</div>
</div> </div>
<div class="space-end mt10 flex ml20" style="width: 450px;"> <div class="space-end mt10 flex ml20" style="width: 450px;" id="daterage1">
<div class="h30 flex-text pointer relative" <div class="m-t2"><div></div></div>
style="width: 90px;background-image: url('static/time-button-bg.png');background-size: 100% 100%;z-index: 200;"
<!-- <div class="h30 flex-text pointer relative"
style="width: 90px;background-image: url('static/time-button-bg.png');background-size:100% 100%;z-index: 200;"
@click="showMask = !showMask;aiShowMask = false"> @click="showMask = !showMask;aiShowMask = false">
<div class="color-theme f14" style="transform: translateY(-2px);">{{ timeSelect[active] }} <div class="color-theme f14" style="transform: translateY(-2px);">{{ timeSelect[active] }}
</div> </div>
<img class="ml5" style="width: 8px;height: 8px;transform: translateY(-2px);" <img class="ml5" style="width: 8px;height: 8px;transform:translateY(-2px);" src="static/drop-down.png" alt="">
src="static/drop-down.png" alt="">
<div class="absolute wp100 selece-box" <div class="absolute wp100 selece-box"
style="left: 0;bottom: 0;transform: translateY(calc(100% + 10px));background-color: rgba(13,27,48,.7);border-radius: 5px;padding: 3px 0;" style="left: 0;bottom: 0;transform: translateY(calc(100% + 10px));background-color:rgba(13,27,48,.7);border-radius:5px;padding:3px 0;" v-show="showMask">
v-show="showMask">
<div class="f14 h30 flex-text select" :class="index == active?'color-light':''" <div class="f14 h30 flex-text select" :class="index == active?'color-light':''"
style="padding: 0 10px;" v-for="(item,index) in timeSelect" :key="index" style="padding: 0 10px;" v-for="(item,index) in timeSelect" :key="index"
@click.stop="clickActive(index)"> @click.stop="clickActive(index)">
<div class="flex-1">{{ item }}</div> <div class="flex-1">{{ item }}</div>
</div> </div>
</div> </div>
</div> </div> -->
</div> </div>
<div id="main" style="width: 100%;height:220px;"></div> <div id="main" style="width: 100%;height:220px;"></div>
</div> </div>
...@@ -686,7 +695,6 @@ ...@@ -686,7 +695,6 @@
</div> </div>
</div> </div>
<!-- marker弹窗列表 --> <!-- marker弹窗列表 -->
<div class="fixed maxIndex wp100 hv100 flex-text" style="left: 0;top: 0;" v-if="markerMask && isReady"> <div class="fixed maxIndex wp100 hv100 flex-text" style="left: 0;top: 0;" v-if="markerMask && isReady">
<div class="bg-mask relative" style="border-radius: 10px;width: 1200px;height: 55vh;padding: 30px;"> <div class="bg-mask relative" style="border-radius: 10px;width: 1200px;height: 55vh;padding: 30px;">
...@@ -873,7 +881,7 @@ ...@@ -873,7 +881,7 @@
</div> </div>
</body> </body>
<script src="/static/js/qf_web_ui.min.js"></script>
<!-- 引入echarts --> <!-- 引入echarts -->
<script src="js/echarts.min.js"></script> <script src="js/echarts.min.js"></script>
<script src="js/echarts-gl.js"></script> <script src="js/echarts-gl.js"></script>
...@@ -889,7 +897,6 @@ ...@@ -889,7 +897,6 @@
<!-- cookie --> <!-- cookie -->
<script src="js/js.cookie.js"></script> <script src="js/js.cookie.js"></script>
<script> <script>
const host = location.protocol + '//' + (location.hostname === '192.168.3.226' ? '192.168.3.37' : '192.168.13.200') + ':8013'; const host = location.protocol + '//' + (location.hostname === '192.168.3.226' ? '192.168.3.37' : '192.168.13.200') + ':8013';
// 小黄 // 小黄
...@@ -977,9 +984,9 @@ ...@@ -977,9 +984,9 @@
noticeIndex: 0, noticeIndex: 0,
// 在线监测实时报警 list // 在线监测实时报警 list
alarm: [], alarmlist: [],
// 在线监测报警统计 // 在线监测报警统计
tabs: ['尾矿库在线监测', '地下矿山环境监测', '地下矿山人员定位'], tabs: ['变形监测', '环境监测', '人员定位'],
TabCur: 0, TabCur: 0,
timeSelect: ['近一月', '近半年', '近一年'], timeSelect: ['近一月', '近半年', '近一年'],
active: 0, active: 0,
...@@ -993,7 +1000,7 @@ ...@@ -993,7 +1000,7 @@
aiAlarm: [], aiAlarm: [],
// 重点在线监测总览 // 重点在线监测总览
overviewTabs: ['尾矿库在线监测', '地下矿山环境监测', '地下矿山人员定位'], overviewTabs: ['变形监测', '环境监测', '人员定位'],
overviewTabCur: 0, overviewTabCur: 0,
overview: [], overview: [],
...@@ -1040,6 +1047,9 @@ ...@@ -1040,6 +1047,9 @@
return return
} }
var bodyel = document.getElementById("body");
var leftbar = bodyel.querySelector("#leftbar");
this.heightScale = (this.clientHeight - 100) / 1080 this.heightScale = (this.clientHeight - 100) / 1080
this.widthScale = this.clientWidth / 1920 this.widthScale = this.clientWidth / 1920
...@@ -1047,7 +1057,6 @@ ...@@ -1047,7 +1057,6 @@
location.reload() location.reload()
} }
// 开启自动切换通知 // 开启自动切换通知
setInterval(() => { setInterval(() => {
if (this.noticeMask) {// 当前正在查看通知,不跳! if (this.noticeMask) {// 当前正在查看通知,不跳!
...@@ -1100,6 +1109,46 @@ ...@@ -1100,6 +1109,46 @@
// 请求三级联动 // 请求三级联动
this.reqSelectArea(selects); this.reqSelectArea(selects);
// left3 daterange event
var left3t2 = leftbar.querySelector("#daterage1>.m-t2");
(function(){
var toDay = new Date();
var startDate = new Date(toDay.getFullYear(), toDay.getMonth()-1, toDay.getDate()).getTime();
var startF = qf.Utils.Dates(startDate).format('yyyy-MM-dd');
var dayF = qf.Utils.Dates().format('yyyy-MM-dd');
var daterange = [startF, dayF];
// 时间渲染
self.daterange3 = qf.Vue.renderTo.call(self, {
el:left3t2.firstElementChild,
name:'el-date-picker',
//style: "width:380px",
data:{
'timeSpace':daterange,
},
attrs: {
type: "daterange",
"value-format": "yyyy-MM-dd",
"range-separator": "",
"start-placeholder": "开始日期",
"end-placeholder": "结束日期",
clearable: ""
},
'value':'timeSpace',
change: function(e) {
if(e){
self.left3()
}else{
setTimeout(() => {
self.daterange3.timeSpace = daterange
}, 500);
};
}
});
})();
}, },
methods: { methods: {
reqSelectArea(selects){ reqSelectArea(selects){
...@@ -1153,23 +1202,17 @@ ...@@ -1153,23 +1202,17 @@
this.marker = []; this.marker = [];
} }
console.log('this.enterpriseId ________________ ', this.enterpriseId);
// 矿山数据 // 矿山数据
this.reqMines(this.enterpriseId); this.reqMines(this.enterpriseId);
this.setMap(); this.setMap();
}); });
console.log('select ________________ ', select);
var that = this; var that = this;
!select.onchange && (select.onchange = function(e){ !select.onchange && (select.onchange = function(e){
var tag = e.target || e.srcElement; var tag = e.target || e.srcElement;
var value = tag.selectedOptions[0].value; var value = tag.selectedOptions[0].value;
that.enterpriseId = value; that.enterpriseId = value;
console.log('value ________________ ', value);
that.reqMines(that.enterpriseId); that.reqMines(that.enterpriseId);
}); });
}, },
...@@ -1256,6 +1299,34 @@ ...@@ -1256,6 +1299,34 @@
}, },
left1(){
var req = {
params: {
enterpriseId: this.enterpriseId,
deptId: this.deptId,
}
};
axios.get(host + '/api/yingji/keynoteadmin/alertList', req).then(res => {
res = res.data;
var list = res.body || [];
this.alarmlist = list;
});
},
left3() {
var req = {
params: {
enterpriseId:this.enterpriseId,
deptId: this.deptId,
dateRange: this.daterange3.timeSpace.toString()
}
};
axios.get(host + '/api/yingji/keynoteadmin/opencastAlert', req).then(res => {
res = res.data;
this.left3Charts(res.body)
});
},
// ------------------------------------------------------------------- // -------------------------------------------------------------------
querySearchAsync(queryString, cb) { querySearchAsync(queryString, cb) {
var results = queryString ? this.marker.filter(v => v.name.indexOf(queryString) != -1) : this.marker var results = queryString ? this.marker.filter(v => v.name.indexOf(queryString) != -1) : this.marker
...@@ -1287,7 +1358,7 @@ ...@@ -1287,7 +1358,7 @@
}, },
// 跳转到后台管理 // 跳转到后台管理
gotoManagement() { gotoManagement() {
window.open('http://192.168.13.200:8057', '_self') window.open('http://192.168.13.200:8057', '_self')
}, },
gotoManagement1(){ gotoManagement1(){
...@@ -1536,18 +1607,8 @@ ...@@ -1536,18 +1607,8 @@
dat.addLayer(pulseLink); dat.addLayer(pulseLink);
}, },
left3(type) {
var req = {
params: {
enterpriseId:this.enterpriseId,
type:(this.active+1) || 1,
}
};
axios.get(host + '/api/yingji/keynoteadmin/opencast-alert', req).then(res => {
res = res.data;
this.left3Charts(res.body)
});
},
left3Charts(body){ left3Charts(body){
var list = body.list; var list = body.list;
// 基于准备好的dom,初始化echarts实例 // 基于准备好的dom,初始化echarts实例
...@@ -1586,7 +1647,7 @@ ...@@ -1586,7 +1647,7 @@
} */ } */
// 绘制图表 // 绘制图表
const bars = [{ const bars = [{
name: this.TabCur === 0 ? '区域报警' : this.TabCur === 1 ? '环境监测报警' : this.TabCur === 2 ? '在线监测报警' : '', name: this.TabCur === 0 ? '变形监测报警' : this.TabCur === 1 ? '环境监测报警' : this.TabCur === 2 ? '人员定位报警' : '',
type: 'bar', type: 'bar',
data: yData1, data: yData1,
itemStyle: { itemStyle: {
...@@ -1732,13 +1793,13 @@ ...@@ -1732,13 +1793,13 @@
}, },
right3() { right3() {
if (this.overviewTabCur === 0) { if (this.overviewTabCur === 0) {
var req = { var req = {
params: { params: {
enterpriseId:this.enterpriseId, enterpriseId:this.enterpriseId,
deptId: this.deptId,
} }
}; };
axios.get(host + '/api/yingji/keynoteadmin/opencast-admin', req).then(res => { axios.get(host + '/api/yingji/keynoteadmin/deformationMonitoring', req).then(res => {
res = res.data; res = res.data;
var body = res.body || {}, list = body.list || []; var body = res.body || {}, list = body.list || [];
this.overview = [ this.overview = [
...@@ -1750,29 +1811,14 @@ ...@@ -1750,29 +1811,14 @@
{ text: list[5].name, percent: list[5].num, legend: list[5].num + '%' } { text: list[5].name, percent: list[5].num, legend: list[5].num + '%' }
] ]
}); });
/* const rn1 = Math.round(Math.random() * 20)
const rn2 = Math.round(Math.random() * rn1)
const rn3 = rn1 - rn2
const rn4 = Math.floor(rn3 * 100 / rn1)
const rn5 = Math.round(Math.random() * 100)
const rn6 = Math.round(Math.random() * 100)
this.overview = [
{ text: '监测设备总数', percent: rn1, legend: rn1 + '个' },
{ text: '设备离线总数', percent: rn2, legend: rn2 + '个' },
{ text: '设备在线总数', percent: rn3, legend: rn3 + '个' },
{ text: '设备在线率', percent: rn4, legend: rn4 + '%' },
{ text: '当月报警数量', percent: rn5, legend: rn5 + '个' },
{ text: '报警处理率', percent: rn6, legend: rn6 + '%' }
] */
} }
if(this.overviewTabCur === 1){ if(this.overviewTabCur === 1){
const rn1 = Math.round(Math.random() * 20) const rn1 = Math.round(Math.random() * 0)
const rn2 = Math.round(Math.random() * rn1) const rn2 = Math.round(Math.random() * 0)
const rn3 = rn1 - rn2 const rn3 = 0
const rn4 = Math.floor(rn3 * 100 / rn1) const rn4 = Math.floor(rn3 * 100)
const rn5 = Math.round(Math.random() * 100) const rn5 = Math.round(Math.random() * 0)
const rn6 = Math.round(Math.random() * 100) const rn6 = Math.round(Math.random() * 0)
this.overview = [ this.overview = [
{ text: '监测设备总数', percent: rn1, legend: rn1 + '' }, { text: '监测设备总数', percent: rn1, legend: rn1 + '' },
{ text: '设备离线总数', percent: rn2, legend: rn2 + '' }, { text: '设备离线总数', percent: rn2, legend: rn2 + '' },
...@@ -1783,12 +1829,12 @@ ...@@ -1783,12 +1829,12 @@
] ]
} }
if(this.overviewTabCur === 2){ if(this.overviewTabCur === 2){
const rn1 = Math.round(Math.random() * 60) const rn1 = Math.round(Math.random() * 0)
const rn2 = Math.round(Math.random() * rn1) const rn2 = Math.round(Math.random() * 0)
const rn3 = Math.round(Math.random() * 10) const rn3 = Math.round(Math.random() * 0)
const rn4 = Math.round(Math.random() * 10) const rn4 = Math.round(Math.random() * 0)
const rn5 = Math.round(Math.random() * 100) const rn5 = Math.round(Math.random() * 0)
const rn6 = Math.round(Math.random() * 100) const rn6 = Math.round(Math.random() * 0)
this.overview = [ this.overview = [
{ text: '井下作业人数', percent: rn1, legend: rn1 + '' }, { text: '井下作业人数', percent: rn1, legend: rn1 + '' },
{ text: '带班领导下井数', percent: rn2, legend: rn2 + '' }, { text: '带班领导下井数', percent: rn2, legend: rn2 + '' },
...@@ -1801,9 +1847,6 @@ ...@@ -1801,9 +1847,6 @@
}, },
async getData(refesh) { async getData(refesh) {
console.log('getData ________________ ', refesh);
this.refreshTimes = this.refreshTimes + 1; this.refreshTimes = this.refreshTimes + 1;
/** /**
* 5分钟1次 * 5分钟1次
...@@ -1813,7 +1856,7 @@ ...@@ -1813,7 +1856,7 @@
axios.get(host + '/api/datav/notice').then(res => { axios.get(host + '/api/datav/notice').then(res => {
this.noticeList = res && res.data && res.data.results; this.noticeList = res && res.data && res.data.results;
this.noticeIndex = 0; this.noticeIndex = 0;
if (!refesh && this.noticeList && this.noticeList.length > 0) { if(!refesh && this.noticeList && this.noticeList.length > 0) {
let fileList = []; let fileList = [];
if (this.noticeList[0].filesPath) { if (this.noticeList[0].filesPath) {
fileList = JSON.parse(this.noticeList[0].filesPath); fileList = JSON.parse(this.noticeList[0].filesPath);
...@@ -1827,21 +1870,14 @@ ...@@ -1827,21 +1870,14 @@
} }
} }
}); });
this.left1();
this.left3(); this.left3();
this.right1(); this.right1();
this.right2(); this.right2();
this.right3(); this.right3();
this.reqDeviceStatus(); // 设备状态 this.reqDeviceStatus(); // 设备状态
if(this.marker && this.marker[1]){
// 在线实时报警
this.alarm = [
{ id: 1, name: this.marker[1].name, equipment: '氧气浓度', day: '2023-05-25', time: '00:49:48', statusTxt: '已处理', status: 1 },
{ id: 2, name: this.marker[1].name, equipment: '二氧化碳浓度', day: '2023-05-25', time: '11:15:32', statusTxt: '已处理', status: 1 },
{ id: 3, name: this.marker[1].name, equipment: '一氧化碳浓度', day: '2023-05-25', time: '19:02:42', statusTxt: '已处理', status: 1 }
];
};
} }
/* /*
* 仅第一次加载时执行 * 仅第一次加载时执行
...@@ -1850,7 +1886,7 @@ ...@@ -1850,7 +1886,7 @@
//this.reqMines(); //this.reqMines();
setTimeout(() => this.getData('refesh'), 60 * 1000);// 10秒一个刷新周期 setTimeout(() => this.getData('refesh'), 60 * 1000);// 10秒一个刷新周期
} }
_5minus(); _5minus();
}, },
......
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<meta http-equiv="Access-Control-Allow-Origin">
<title><%= webpackConfig.name %></title>
<style type="text/css">
html, body, #edge, #plus{height:100%;}
body{overflow-x:hidden;background-color:#000;overflow:hidden;}
*, :after, :before{box-sizing:border-box;}
</style>
<script src="/static/js/qf_web.min.js"></script>
<script type="text/javascript">qf.openCalcLayout({dpr:1});</script>
</head>
<body class="body2X">
<div id="plus"></div>
</body>
<script src="/static/js/qf_web_ui.min.js"></script>
</html>
<template>
<div id="plus">
<router-view />
</div>
</template>
<script>
export default{
name: 'Plus'
}
</script>
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td{margin:0px;padding:0px}
li{list-style:none;}
body{overflow:hidden;}
.body1X, .body2X{display:none;}
.kmb-message-box{position:relative;display:inline-block;padding-bottom:10px;vertical-align:middle;background-color:#fff;border-radius:4px;border:1px solid #e6ebf5;font-size:18px;box-shadow:0 2px 12px 0 rgb(0 0 0 / 10%);text-align:left;overflow:hidden;backface-visibility:hidden;}
.cm-layout{height:100%;width:100%;}
.cm-layout.flex-col{display:flex;flex-direction:column;}
.cm-layout .colf{color:#fff;}
.cm-layout .font18{font-size:.18rem;}
.cm-layout .font20{font-size:.20rem;}
.cm-layout .font22{font-size:.22rem;}
.cm-layout .font24{font-size:.24rem;}
.cm-layout .font26{font-size:.26rem;}
.cm-layout .font28{font-size:.28rem;}
.cm-layout .ft16{font-size:16px;}
.cm-layout .ft18{font-size:18px;}
.cm-layout .ft20{font-size:20px;}
.cm-layout .ft24{font-size:24px;}
.cm-layout .between{display:flex;justify-content:space-between;}
.cm-layout .ctn-place, .cm-layout .ctn-fix{display:flex;}
.cm-layout .ctn-place>div, .cm-layout .ctn-fix>div{flex:1;position:relative;}
.cm-layout .fix-m1{display:flex;}
.cm-layout .flex1{flex:1;}
.cm-layout .fix-rc{justify-content:center;}
.cm-layout .fix-cc{align-items:center;}
.cm-layout .fix-rcc{align-items:center;justify-content:center;}
.cm-layout .grid2{display:grid;grid-template-columns:50% 50%;}
.cm-layout .grid3{display:grid;grid-template-columns:33.33% 33.33% 33.33%;}
.cm-layout .grid4{display:grid;grid-template-columns:25% 25% 25% 25%;}
.cm-layout .abs-flex{position:absolute;display:flex;}
.cm-layout .flex-rel{flex:1;position:relative;}
.cm-layout .flex-disf{flex:1;display:flex;}
.cm-layout .disf-col{display:flex;flex-direction:column;}
.cm-layout .flex-disf-col{flex:1;display:flex;flex-direction:column;}
.cm-layout .flex-disf-rel{flex:1;display:flex;position:relative;}
.cm-layout .ctn-rel{position:relative;}
.cm-layout .rel-flex{position:relative;display:flex;}
.cm-layout .ctn-abs{position:absolute;top:0;left:0;}
.cm-layout .abs-full, .cm-layout .ctn-absfull{position:absolute;top:0;left:0;height:100%;width:100%;}
.cm-layout .ctn-range .ctn-abs{height:100%;width:100%;}
.cm-layout .km-table{}
.cm-layout .km-table .table-box{text-align:center;}
.cm-layout .km-table dl{display:table;width:100%;}
.cm-layout .km-table dt>div, .cm-layout .km-table dd>div{display:table-cell;}
.cm-layout .km-table dt, .cm-layout .km-table dd{display:table-row;}
.cm-layout .km-table dt{font-weight:bold;}
.cm-layout .km-table dd{}
.cm-layout .km-table .border dl{border:1px solid #eef1f6;}
.cm-layout .km-table .border dt>div, .cm-layout .km-table .border dd>div{border-width:0 1px 1px 0;border-style:solid;border-color:#677290 #acb6d9;}
.cm-layout .km-table .bg44{background-color:#4476f9;}
.cm-layout .km-table .col00a{color:#00a4fe;}
.cm-layout .km-table .even-bg1 dd:nth-child(even){background-color:rgba(14,45,109,.8);}
.cm-layout .tinfo{color:#888;font-size:13px;border-width:0 0px 1px 1px;border-style:solid;border-color:#dfe6ec;}
.cm-layout .tinfo .tr{display:flex;}
.cm-layout .tinfo .td{padding:8px 5px;min-height:40px;border-width:1px 1px 0 0;border-style:solid;border-color:#dfe6ec;flex:1;display:flex;justify-content:center;align-items:center;}
.cm-layout .tinfo .td .cell{flex:1;display:flex;}
.cm-layout .tinfo .td font{white-space: nowrap;}
.cm-layout .tinfo .td span{color:#000;font-size:15px;}
.cm-layout .tinfo .td i{font-style:normal}
/* 文字定位 */
.cm-layout .text-abs{position:absolute;height:0;width:0;display:flex;justify-content:center;align-items:center;}
.cm-layout .text-abs a, .cm-layout .text-abs span{white-space:nowrap;text-align:center;}
/**/
.Screen .bg-o85{background-color:rgba(13,29,55, .85);}
.Screen .bg2-o80{background-color:rgba(4,23,63,.8);}
.Screen .bd-c1{border-color:#0394d0;}
.Screen .linef35{height:35px;line-height:35px;}
.Screen .linef40{height:40px;line-height:40px;}
.Screen .line50{height:.50rem;line-height:.50rem;}
.Screen .line42{height:.42rem;line-height:.42rem;}
.Screen .col02d{color:#02daff}
.Screen .col-green1{color:#03fd78}
.Screen .col-red1{color:#fb2b2b}
.Screen .col01f{color:#01f5ff}
.home_manage{}
.home_manage li{list-style:none;}
.page-bgc1{background-color:#f5f6fb;}
.common-page{flex:1;position:relative;display:flex;flex-direction:column;}
.common-page.page-t1{padding:.16rem;background-color:#f5f6fb;}
.common-page.dege{margin-right:1.041vw;}
.common-page h3{line-height:40px;margin:0;padding:0 0 0 10px;font-weight:normal;font-size:16px;color:#000;}
.common-page .page-row{margin-top:10px;}
.common-page .option{}
.common-page .panel-bottom{flex:1;display:flex;flex-direction:column;background-color:#fff;}
.common-page .cr-liner{height:100%;width:100%;}
.common-page .option .head-container{padding:9px;background-color:#fff;border-radius:5px;display:flex;align-items:center;border:1px solid #c9c9fe;}
.common-page .content-within{position:relative;flex:1;width:100%;}
.common-page .content-fix{width:100%;}
.common-page .content-between{display:flex;justify-content:space-between;}
.common-page .ctin-box{/* flex:1; */display:flex;padding:5px 10px 10px;border-radius:5px;}
.common-page .ctin-box .toolbar{padding:5px 0 10px;display:flex;}
.common-page .ctin-box .toolbar>div{flex:1;}
.common-page .ctin-box .toolbar>div:last-child{display:flex;justify-content:right;flex:none;}
.common-page .el-table{}
.common-page .el-table .thead{color:#666}
.common-page .el-table .red{color:#ff0000;}
.common-page .el-table .orange{color:orange;}
.common-page .el-table .yellow{color:yellow;}
.common-page .el-table .blue{color:blue;}
.common-page .el-table .green{color:#13ce66;}
.common-page .el-table .normal{color:#666;}
.common-page .el-table th, .common-page .el-table td{}
.common-page .el-table--small th{padding:10px 0;}
.common-page .el-table--small td{padding:7px 0;}
.common-page .el-table th>.cell, .common-page .el-table td>.cell{padding:0 6px;}
.common-page .el-date-editor .el-range-separator, .kmb-message-box .el-date-editor .el-range-separator{width:20px;}
/* 定义 button 默认样式 */
.kmb-message-box .el-button-group .cu-btn-null{color:#409eff;background:#ecf5ff;border-color:#b3d8ff;}
/* 自定义选择列表 */
.checkboxctn{max-height:70vh;overflow-y:auto;}
.checkboxctn li{line-height:25px;}
.checkboxctn::-webkit-scrollbar{width:5px;height:5px;cursor:pointer;}
.checkboxctn::-webkit-scrollbar-thumb{border-radius:10px;background:#bbb;margin-right:10px;cursor:pointer;}
.checkboxctn::-webkit-scrollbar-thumb:hover{background-color:#888;}
.checkboxctn::-webkit-scrollbar-track{border-radius:10px;background:rgba(255, 255, 255, 0.1);margin-right: 10px;}
/* 滚动条-火狐 */
.checkboxctn{scrollbar-width:thin;scrollbar-color:#1674ee rgba(255, 255, 255, 0.1);}
/* 表单微调 */
body .el-dialog__header{border-bottom:1px solid #ddd;padding:10px;}
body .el-dialog__header .el-dialog__headerbtn{top:13px;}
body .el-dialog__body{padding:10px 20px;}
/* 滚动条 */
.scrolling{}
.scrolling::-webkit-scrollbar{width:6px;height:5px;cursor:pointer;}
.scrolling4::-webkit-scrollbar{width:.06rem;height:.08rem;cursor:pointer;}
.scrolling, .scrolling4::-webkit-scrollbar-thumb{
border-radius:10px;margin-right: 10px;cursor:pointer;
/* background:#1674ee; */
background-color:rgba(23,121,230, .70);
background-image:-webkit-linear-gradient(45deg, rgba(31,181,219, .70) 25%, transparent 0, transparent 50%, rgba(31,181,219, .70) 0, rgba(31,181,219, .70) 75%, transparent 0, transparent);
}
.scrolling, .scrolling4::-webkit-scrollbar-thumb:hover{background-color:#1854e8;}
.scrolling, .scrolling4::-webkit-scrollbar-track{border-radius:10px;background:rgba(255, 255, 255, 0.1);margin-right:10px;}
/* 暂无数据提示 */
/* .home_user .el-table__empty-block, .common-page .el-table__empty-block{background-color:#00344D} */
.no-data{flex:1;display:flex;justify-content:center;align-items:center;height:100%;padding-bottom:10%;}
import Vue from 'vue'
import Element from 'element-ui'
// global css
import './assets/styles/common.css'
//import './assets/icons'
import Router from 'vue-router'
Vue.use(Router)
import App from './AppPlus'
//import store from './store'
//import router from './router/routers'
var routerMap = [
{
path: "/plus/Index",
component: (resolve) => {
return require(["@/views/home4Index"], resolve)
},
hidden: true
},
];
var router = new Router({
// mode: 'hash',
mode: 'history',
scrollBehavior: () => ({ y: 0 }),
routes: routerMap
})
Vue.use(Element, {
size: 'small' // set element-ui default size
})
Vue.config.productionTip = false
new Vue({
el: '#plus',
router,
//store,
render: h => h(App)
});
//Vue.__proto__.$state = store;
<template>
<div class="login" :style="'background-image:url(' + Background + ');'">
<div class="topTitle" :style="'background-image:url(' + Title + ');'">
中和地信企业管理平台
</div>
<div class="subTopTitle">
<h2 :style="'background-image:url(' + Welcome + ');'">
<img src="@/assets/home4Index/icon5.png" />
<div class="wrapper" style=" position: absolute;
top: 38px;
left: 86px;
width: 300px;
padding-left: 20px;
overflow: hidden;
"> <div class="floating-text">
中和地信有限公司欢迎您!
</div>
</div>
</h2>
<h2 @click="navTo('admin')" style="cursor: pointer;">
<img src="@/assets/home4Index/icon6.png" />管理后台
</h2>
</div>
<div class="wrapper">
<div class="content">
<ul>
<li
v-for="(item, index) in dataList"
:key="index"
@click="navTo(item.label)"
>
<div class="itemDiv">
<img
:src="require(`@/assets/home4Index/icon${index + 1}.png`)"
alt=""
/>
<p>
<span>{{ item.label }}</span>
<img src="@/assets/home4Index/underline2.png" />
</p>
</div>
</li>
</ul>
</div>
</div>
<div class="bottomTitle">@中和地信有限公司</div>
</div>
</template>
<script>
import qs from "qs";
import Background from "@/assets/home4Index/bg.png";
import Title from "@/assets/home4Index/title.png";
import Welcome from "@/assets/home4Index/underline.png";
import { mapGetters } from "vuex";
import menuApi from "@/api/system/menu.js";
export default {
name: "Login",
data() {
return {
show: false,
userStyle: null,
Background: Background,
Welcome,
Title,
codeUrl: "",
cookiePass: "",
loading: false,
redirect: undefined,
dataList: [],
};
},
computed: {
...mapGetters(["user"]),
},
watch: {
$route: {
handler: function (route) {
const data = route.query;
if (data && data.redirect) {
this.redirect = data.redirect;
delete data.redirect;
if (JSON.stringify(data) !== "{}") {
this.redirect =
this.redirect + "&" + qs.stringify(data, { indices: false });
}
}
},
immediate: true,
},
},
created() {
// // 按照不同域名加载不同页面样式(企业、应急局),加载完毕后再显示页面
// const host = window.location.host;
// if (host === "yingji.longxijiancai.com") {
// this.userStyle = "应急局";
// }
// if (host === "qiye.longxijiancai.com") {
// this.userStyle = "企业";
// }
menuApi.getMenusHome().then((res) => {
this.dataList = res.body;
});
},
methods: {
navTo(type) {
var host = location.protocol + "//" + window.location.host;
if (type === "admin") {
// this.$router.push({ path: "home4Center" });
this.$router.push({ path: "/user/center" });
} else if (type === "应急管理") {
// this.$router.push({ path: "home4Center" });
// this.$router.push({ path: "/user/center" });
// location.href = 'http://192.168.3.226:8057/datav/index.html'
location.href = host + "/datav/index.html";
} else if (type === "自然资源") {
// location.href = process.env.NODE_ENV + ''
// location.href = 'http://192.168.3.226:8057/datav/natural.html'
location.href = host + "/datav/natural.html";
} else if (type === "水利资源") {
// location.href = 'http://192.168.3.226:8057/datav/watersource.html'
location.href = host + "/datav/watersource.html";
} else if (type === "电子档案馆") {
// this.$router.push({ path: "home4Center" });
this.$router.push({ path: "/user/center" });
}
},
},
};
</script>
<style rel="stylesheet/scss" lang="scss">
@keyframes floatShadow {
0% {
transform: translateX(280px);
display: block;
}
100% {
transform: translateX(-300px);
display: none;
}
}
.floating-text {
font-size: 18px;
line-height: 1;
color: #fff;
text-shadow: 0 0 5px #fff;
animation: floatShadow;
animation-name: floatShadow;
animation-duration: 10s;
animation-iteration-count: infinite;
animation-timing-function: linear;
// position: absolute;
// top: 38px;
}
.subTopTitle {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-pack: distribute;
justify-content: space-between;
position: absolute;
top: 10px;
width: 100%;
/* z-index: 99999; */
height: 110px;
color: #fff;
font-size: 12px;
padding: 10px 43px;
align-items: center;
h2 {
display: inline-block;
vertical-align: middle;
letter-spacing: 2px;
font-weight: 600;
color: #fdfdfd;
&:first-child {
height: 50px;
background-repeat: no-repeat;
background-position-y: 30px;
}
}
img {
vertical-align: middle;
margin-right: 10px;
}
}
.topTitle {
position: absolute;
top: 0;
width: 100%;
color: #fff;
text-align: center;
background-size: cover;
height: 100px;
font-size: 38px;
line-height: 100px;
font-weight: bold;
letter-spacing: 5px;
}
.bottomTitle {
position: absolute;
bottom: 0;
background: #021d39;
height: 32px;
width: 100%;
line-height: 32px;
color: #fff;
text-align: center;
}
.wrapper {
.header {
h2 {
color: #00346b;
text-align: right;
position: absolute;
top: 20px;
right: 20px;
cursor: pointer;
}
}
h1 {
text-align: center;
color: #00346b;
}
ul {
list-style: none;
// width: 1200px;
overflow: hidden;
}
li {
display: flex;
justify-content: center;
float: left;
width: 304px;
// background: #173e67;
height: 620px;
line-height: 170px;
text-align: center;
color: #fff;
font-size: 28px;
font-weight: bold;
margin: 10px;
cursor: pointer;
&:nth-child(1) {
// background: #135965;
}
&:nth-child(4) {
// background: #135965;
}
&:hover {
background-image: url("../assets/home4Index/bg2.png");
}
background-image: url("../assets/home4Index/bg1.png");
background-repeat: no-repeat;
background-size: cover;
}
}
.itemDiv {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
& > img {
width: 120px;
margin-left: 20px;
}
p {
width: 180px;
margin-top: -10px;
position: relative;
span {
font-weight: 500;
letter-spacing: 3px;
}
img {
position: absolute;
bottom: 45px;
right: 15px;
}
}
}
.login {
position: relative;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
background-size: cover;
}
</style>
/*
name: qf_web
version: V1.04191
*/
function _0x1169(_0x517944,_0x43e954){var _0x3bf9f5=_0x1ed1();return _0x1169=function(_0xdc0f3c,_0x5d543e){_0xdc0f3c=_0xdc0f3c-0x183;var _0x1ed118=_0x3bf9f5[_0xdc0f3c];return _0x1ed118;},_0x1169(_0x517944,_0x43e954);}(function(_0x387c0a,_0x18eb34){var _0x2e596a={_0x380735:0x1c0,_0x449e62:0x1df,_0x3f215e:0x19d,_0x50d542:0x189},_0x2c0884=_0x1169,_0x25da1b=_0x387c0a();while(!![]){try{var _0x17759b=parseInt(_0x2c0884(_0x2e596a._0x380735))/0x1+-parseInt(_0x2c0884(0x1b6))/0x2*(-parseInt(_0x2c0884(0x1ab))/0x3)+-parseInt(_0x2c0884(0x1c8))/0x4+parseInt(_0x2c0884(_0x2e596a._0x449e62))/0x5*(-parseInt(_0x2c0884(_0x2e596a._0x3f215e))/0x6)+-parseInt(_0x2c0884(_0x2e596a._0x50d542))/0x7+-parseInt(_0x2c0884(0x1c5))/0x8*(parseInt(_0x2c0884(0x1d6))/0x9)+parseInt(_0x2c0884(0x1cc))/0xa;if(_0x17759b===_0x18eb34)break;else _0x25da1b['push'](_0x25da1b['shift']());}catch(_0x4e4cac){_0x25da1b['push'](_0x25da1b['shift']());}}}(_0x1ed1,0xbd48e),!function(_0x1e6827){var _0x46524a={_0x309fb1:0x1e0,_0x575c1d:0x1ed},_0x11420e={_0x1ce560:0x194,_0x8d7889:0x1b1},_0x50fee0={_0x30e938:0x1e7,_0x49e530:0x1ec,_0x40ed76:0x1de},_0x2198a2={_0x3d52dd:0x191,_0x3c84a5:0x1d7},_0x15370c=(function(){var _0x3eea58=!![];return function(_0x11c79d,_0x3c09cd){var _0x24fa46=_0x3eea58?function(){if(_0x3c09cd){var _0x16674f=_0x3c09cd['apply'](_0x11c79d,arguments);return _0x3c09cd=null,_0x16674f;}}:function(){};return _0x3eea58=![],_0x24fa46;};}()),_0x29f889={};function _0x2a0236(_0x37be43){var _0xa00af3={_0xcbc17e:0x18e,_0x22fdee:0x1b0},_0x484766=_0x1169,_0x3901b3=_0x15370c(this,function(){var _0x465008=_0x1169;return _0x3901b3['toString']()[_0x465008(0x1e1)](_0x465008(_0xa00af3._0xcbc17e))[_0x465008(_0xa00af3._0x22fdee)]()['constructor'](_0x3901b3)[_0x465008(0x1e1)]('(((.+)+)+)+$');});_0x3901b3();if(_0x29f889[_0x37be43])return _0x29f889[_0x37be43][_0x484766(0x1d7)];var _0x3d9e5d=_0x29f889[_0x37be43]={'i':_0x37be43,'l':!0x1,'exports':{}};return _0x1e6827[_0x37be43][_0x484766(_0x2198a2._0x3d52dd)](_0x3d9e5d['exports'],_0x3d9e5d,_0x3d9e5d[_0x484766(0x1d7)],_0x2a0236),_0x3d9e5d['l']=!0x0,_0x3d9e5d[_0x484766(_0x2198a2._0x3c84a5)];}_0x2a0236['m']=_0x1e6827,_0x2a0236['c']=_0x29f889,_0x2a0236['d']=function(_0x5c13c6,_0x18ea29,_0xf6b5a1){_0x2a0236['o'](_0x5c13c6,_0x18ea29)||Object['defineProperty'](_0x5c13c6,_0x18ea29,{'enumerable':!0x0,'get':_0xf6b5a1});},_0x2a0236['r']=function(_0xbe2790){var _0x16d669=_0x1169;_0x16d669(0x1e4)!=typeof Symbol&&Symbol[_0x16d669(_0x50fee0._0x30e938)]&&Object[_0x16d669(_0x50fee0._0x49e530)](_0xbe2790,Symbol[_0x16d669(0x1e7)],{'value':_0x16d669(_0x50fee0._0x40ed76)}),Object[_0x16d669(0x1ec)](_0xbe2790,'__esModule',{'value':!0x0});},_0x2a0236['t']=function(_0x4467ba,_0x33d798){var _0x43e77e=_0x1169;if(0x1&_0x33d798&&(_0x4467ba=_0x2a0236(_0x4467ba)),0x8&_0x33d798)return _0x4467ba;if(0x4&_0x33d798&&_0x43e77e(_0x11420e._0x1ce560)==typeof _0x4467ba&&_0x4467ba&&_0x4467ba[_0x43e77e(_0x11420e._0x8d7889)])return _0x4467ba;var _0x44783a=Object['create'](null);if(_0x2a0236['r'](_0x44783a),Object['defineProperty'](_0x44783a,_0x43e77e(0x1ef),{'enumerable':!0x0,'value':_0x4467ba}),0x2&_0x33d798&&'string'!=typeof _0x4467ba){for(var _0x588f01 in _0x4467ba)_0x2a0236['d'](_0x44783a,_0x588f01,function(_0x16c7fa){return _0x4467ba[_0x16c7fa];}['bind'](null,_0x588f01));}return _0x44783a;},_0x2a0236['n']=function(_0xafd9b3){var _0x29d01b=_0x1169,_0x2568c2=_0xafd9b3&&_0xafd9b3[_0x29d01b(0x1b1)]?function(){return _0xafd9b3['default'];}:function(){return _0xafd9b3;};return _0x2a0236['d'](_0x2568c2,'a',_0x2568c2),_0x2568c2;},_0x2a0236['o']=function(_0x459d1d,_0x4b00e0){var _0x2ce366=_0x1169;return Object[_0x2ce366(_0x46524a._0x309fb1)][_0x2ce366(_0x46524a._0x575c1d)][_0x2ce366(0x191)](_0x459d1d,_0x4b00e0);},_0x2a0236['p']='',_0x2a0236(_0x2a0236['s']=0x0);}([function(_0x34b3d9,_0x484a13,_0x7f5704){var _0x32585f=_0x1169;_0x34b3d9[_0x32585f(0x1d7)]=_0x7f5704(0x1);},function(_0x5e5f4d,_0x2f444c,_0x55e7f9){var _0x49a128={_0x2002dd:0x1f8},_0x4aeaea={_0x389c39:0x1d3,_0x5adff9:0x1e3,_0xe7aebb:0x193,_0x18918a:0x1b2,_0xa9b7a7:0x1e2,_0x7a05a2:0x1bd,_0x12ab4a:0x1fb,_0x3654f5:0x198,_0x1977ff:0x1a0,_0x14b1c7:0x1a6,_0x2a22eb:0x1bf,_0x5d8cf5:0x1d2,_0x35fcfc:0x1aa,_0xf68ab:0x1e9,_0x4ae18b:0x18d,_0x5d4627:0x1e0,_0x28178c:0x1dd,_0xbd1ff:0x1dd,_0x2e2717:0x1a3,_0x11cf01:0x1d4,_0x188a08:0x1e0},_0x47ff9f=_0x1169;!function(_0x384570,_0x101257){var _0x2a61ca={_0x50a98e:0x1ee,_0xb9304f:0x1a7,_0xcf33e9:0x1a8},_0x4400d2={_0x353a73:0x1a7},_0x22471d={_0x40d418:0x1dd},_0x4fa5c4={_0x18df13:0x1b9},_0x47b241={_0x5f1317:0x1b9},_0x3d2e81={_0x1f9617:0x1ba},_0x5d1687={_0x10d1e7:0x194},_0x151d77={_0x13ddac:0x1d1},_0x3f9f81=_0x1169;if(!_0x384570[_0x3f9f81(_0x49a128._0x2002dd)])throw new Error(_0x3f9f81(0x1c7));(function(_0xdeb175,_0x47ff1f){var _0x1468da={_0x2b38c4:0x1ec,_0x36642d:0x1d8,_0x4b64af:0x18f},_0x111aab={_0x25a20f:0x1f1},_0x5d1fd9={_0x523df2:0x1f9,_0x54b93f:0x1e8,_0x449767:0x1b2},_0x3726a9={_0xb14635:0x1e8},_0x5bd0b6={_0x53f1f2:0x1b7,_0x560344:0x199,_0x1f3b5c:0x1e6,_0x5ed43f:0x1b2,_0x4fdaa2:0x1ac},_0x2b7666={_0x2603bc:0x1ce},_0x449195={_0x2ccd1e:0x1ae},_0x132e8b={_0x45e7ab:0x1f2,_0x1b44c8:0x1db,_0x54c019:0x1b8,_0x553a30:0x1f3},_0x20045c={_0x27a6be:0x1f3},_0x573de2={_0x136a14:0x196,_0x3a89f0:0x18c},_0x302c06=_0x3f9f81,_0x57be12=document,_0x1c7c71=_0x57be12[_0x302c06(_0x4aeaea._0x389c39)],_0x3115d7=_0x57be12[_0x302c06(_0x4aeaea._0x5adff9)](_0x302c06(_0x4aeaea._0xe7aebb))[_0x302c06(_0x4aeaea._0x18918a)],_0xb961a4=(function(){var _0x2529a3=_0x302c06;for(var _0x4c5f19='t,webkitT,MozT,msT,OT'[_0x2529a3(0x1ad)](','),_0x21030b=0x0,_0x375beb=_0x4c5f19[_0x2529a3(0x1a7)];_0x21030b<_0x375beb;_0x21030b++)if(_0x4c5f19[_0x21030b]+_0x2529a3(_0x151d77._0x13ddac)in _0x3115d7)return _0x4c5f19[_0x21030b][_0x2529a3(0x197)](0x0,_0x4c5f19[_0x21030b][_0x2529a3(0x1a7)]-0x1);return!0x1;}()),_0x4a034c=function(_0x446626){var _0x22443c=_0x302c06;return''===_0xb961a4?_0x446626:_0xb961a4+_0x446626[_0x22443c(_0x573de2._0x136a14)](0x0)[_0x22443c(_0x573de2._0x3a89f0)]()+_0x446626[_0x22443c(0x197)](0x1);},_0x41f617=(navigator[_0x302c06(_0x4aeaea._0xa9b7a7)][_0x302c06(0x187)](),_0x4a034c(_0x302c06(0x199))),_0x1d18c5=(_0x4a034c(_0x302c06(0x1cd)),/hp-tablet/gi[_0x302c06(0x1eb)](navigator[_0x302c06(0x195)])),_0x26bf1d='ontouchstart'in _0xdeb175&&!_0x1d18c5,_0x53d4d1=_0x26bf1d?_0x302c06(_0x4aeaea._0x7a05a2):_0x302c06(_0x4aeaea._0x12ab4a),_0x42d518=_0x26bf1d?'touchmove':_0x302c06(0x1b4),_0x327cc6=_0x26bf1d?_0x302c06(0x1b5):_0x302c06(0x1a0),_0x149cc4=_0x26bf1d?_0x302c06(_0x4aeaea._0x3654f5):_0x302c06(_0x4aeaea._0x1977ff),_0xe614f2=[],_0x514e91=(_0xdeb175[_0x302c06(_0x4aeaea._0x14b1c7)]||_0xdeb175[_0x302c06(0x19a)]||_0xdeb175[_0x302c06(_0x4aeaea._0x2a22eb)]||_0xdeb175[_0x302c06(_0x4aeaea._0x5d8cf5)]||_0xdeb175[_0x302c06(0x19c)],_0xdeb175[_0x302c06(0x1da)]||_0xdeb175[_0x302c06(0x1a9)]||_0xdeb175[_0x302c06(_0x4aeaea._0x35fcfc)]||_0xdeb175['mozCancelRequestAnimationFrame']||_0xdeb175[_0x302c06(_0x4aeaea._0xf68ab)]||_0xdeb175['msCancelRequestAnimationFrame']||clearTimeout,function(_0x56b690,_0x4dbebd){var _0x2cd365=_0x302c06;return new _0x514e91[(_0x2cd365(0x1a3))]['init'](_0x56b690,_0x4dbebd);}),_0x2b7caa=_0x57be12[_0x302c06(0x1cf)],_0x265ad1=(_0x2b7caa['clientWidth']||_0x2b7caa['body']&&_0x2b7caa['body'][_0x302c06(0x1ca)],_0xdeb175[_0x302c06(_0x4aeaea._0x4ae18b)]>=0x2?0x2:_0xdeb175['devicePixelRatio']);_0x514e91['prt']=_0x514e91[_0x302c06(_0x4aeaea._0x5d4627)]={'constructor':_0x514e91,'splice':[][_0x302c06(0x1a5)]},_0x514e91[_0x302c06(_0x4aeaea._0x28178c)]=function(){var _0x2d9c0a,_0x13713f=arguments[0x0];for(_0x2d9c0a in _0x13713f)this[_0x2d9c0a]=_0x13713f[_0x2d9c0a];return this;},_0x514e91[_0x302c06(_0x4aeaea._0xbd1ff)]({'envir':{'dummyStyle':_0x3115d7,'vendor':_0xb961a4,'dpr':_0x265ad1,'hasTouch':_0x26bf1d,'event':{'start':_0x53d4d1,'move':_0x42d518,'end':_0x327cc6,'cancel':_0x149cc4}},'setting':{'w':0x780,'h':0x438,'mw':0x258,'fs':0xc,'stb':0x5a0,'stw':0x780,'dprb':0x64}}),_0x514e91[_0x302c06(0x1dd)]({'iframeLoad':function(_0x1bd5be){var _0x2888d1=_0x302c06,_0x5f1403=this[0x0];_0x5f1403[_0x2888d1(_0x20045c._0x27a6be)]=function(_0x6dbb16){var _0x2c8947=_0x2888d1;_0x1bd5be&&_0x1bd5be(_0x5f1403[_0x2c8947(0x1d9)],_0x6dbb16);};},'ready':function(_0x477a3c,_0x52080a){var _0x33cb6d={_0x558017:0x1d3,_0x25c544:0x1f2},_0x3cf906=_0x302c06,_0x3ddb01=function(){var _0x577d95=_0x1169;_0x52080a&&(_0x1c7c71=_0x57be12[_0x577d95(_0x33cb6d._0x558017)]),_0x514e91[_0x577d95(_0x33cb6d._0x25c544)]=!0x0,_0x477a3c&&_0x477a3c(_0x514e91);};_0x514e91[_0x3cf906(_0x132e8b._0x45e7ab)]?_0x477a3c&&_0x477a3c(_0x514e91):_0xdeb175[_0x3cf906(_0x132e8b._0x1b44c8)]?_0xdeb175[_0x3cf906(0x1db)](_0x3cf906(_0x132e8b._0x54c019),_0x3ddb01,!0x1):_0xdeb175['attachEvent'](_0x3cf906(_0x132e8b._0x553a30),_0x3ddb01);},'isArray':function(_0x2d085e){var _0x4953a9=_0x302c06;return _0x2d085e&&'[object\x20Array]'===Object[_0x4953a9(0x1e0)]['toString']['call'](_0x2d085e);},'trim':function(_0x198c20){var _0x3568aa=_0x302c06;return null==_0x198c20?'':(_0x198c20+'')[_0x3568aa(0x1f7)](/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,'');},'eval':function(_0x1fa04e,_0x1c30ca){var _0x1f149b=_0x302c06,_0x32626d=/\(.*?\)$/g,_0x180537=_0x1fa04e[_0x1f149b(0x19f)](_0x32626d),_0x52da6b='',_0x11b52c=_0x180537&&_0x180537[0x0]?_0x180537[0x0]:_0x1fa04e,_0x497218=this===_0x514e91?_0xdeb175:(_0x52da6b=Object[_0x1f149b(0x1c9)](this)['toString']()[_0x1f149b(0x1f7)](/,/g,'|'),this);return _0x1fa04e=_0x52da6b?(_0x11b52c=_0x11b52c[_0x1f149b(0x1f7)](new RegExp(_0x52da6b,'gm'),_0xbf6b17=>'this.'+_0xbf6b17),_0x1fa04e[_0x1f149b(0x1f7)](_0x180537?_0x32626d:_0x1fa04e,_0x11b52c)):_0x1fa04e,new Function(_0x1f149b(0x1af)+_0x1fa04e+')')['call'](_0x497218);},'dataRender':function(_0x22fb94,_0x268a8f,_0x4c79a5){return _0x22fb94['replace'](/\{{(.+?)\}}/g,function(_0x5d9f80,_0x5c9248){var _0x501577=_0x1169;return _0x4c79a5?_0x4c79a5(_0x5d9f80,_0x5c9248):_0x514e91[_0x501577(_0x449195._0x2ccd1e)][_0x501577(0x191)](_0x268a8f,_0x5c9248);});},'resize':function(_0x4ba7a5){var _0x2f92bc=_0x302c06;_0x4ba7a5&&_0x4ba7a5[_0x2f92bc(_0x2b7666._0x2603bc)]&&_0xe614f2['push'](_0x4ba7a5);},'isElement':function(_0x17439d){var _0x59de56=_0x302c06;return(_0x59de56(_0x5d1687._0x10d1e7)==typeof HTMLElement?function(_0x152c66){return _0x152c66 instanceof HTMLElement;}:function(_0x5c078f){return _0x5c078f&&0x1===_0x5c078f['nodeType'];})(_0x17439d);},'isPhoneNum':function(_0x487eee){return/^[1][3,4,5,6.7,8,9][0-9]{9}$/['test'](_0x487eee);}}),_0x514e91['extend']({'getWindowHeight':function(){var _0x48e812=_0x302c06;return _0xdeb175['innerHeight']||_0x57be12[_0x48e812(_0x3d2e81._0x1f9617)]||_0x2b7caa['clientHeight'];},'parseRem':function(_0x1c514c){var _0x148240=_0x302c06;return _0xdeb175[_0x148240(0x1a4)](_0x1c514c)*this['envir'][_0x148240(_0x47b241._0x5f1317)];},'parsePixel':function(_0x1d00c2){var _0x23029b=_0x302c06;return _0x1d00c2/this[_0x23029b(0x18b)][_0x23029b(_0x4fa5c4._0x18df13)];},'parseRpx':function(_0xaf49c5){var _0x6bc7cf=_0x302c06;return _0xaf49c5*this[_0x6bc7cf(0x18b)]['wpr'];},'parseWpx':function(_0x40c492){var _0xce8265=_0x302c06;return _0x40c492/this['envir'][_0xce8265(0x1dc)];},'rpxToRem':function(_0x5127e3){var _0x38f21e=_0x302c06;return _0x5127e3/this['envir'][_0x38f21e(0x1dc)]*this[_0x38f21e(0x18b)][_0x38f21e(0x1b9)];},'areaVisualNormal':function(_0x290844){var _0x91781b=_0x302c06,_0x2f5da9=this[_0x91781b(0x1e8)]['dpr'],_0x52bb00=this[_0x91781b(0x1e8)][_0x91781b(0x1be)]/_0x2f5da9+'%';_0x290844[_0x91781b(0x1b2)]['transformOrigin']=_0x91781b(_0x5bd0b6._0x53f1f2),_0x290844['style'][_0x91781b(_0x5bd0b6._0x560344)]=_0x91781b(0x192)+_0x2f5da9+')',_0x290844[_0x91781b(0x1b2)][_0x91781b(_0x5bd0b6._0x1f3b5c)]=_0x52bb00,_0x290844[_0x91781b(_0x5bd0b6._0x5ed43f)][_0x91781b(0x19b)]=_0x52bb00,_0x290844[_0x91781b(_0x5bd0b6._0x5ed43f)][_0x91781b(_0x5bd0b6._0x4fdaa2)]=this['setting']['fs']+'px';},'openCalcLayout':function(_0x49bbc4){var _0x4d2a6e={_0x5ed957:0x1ca},_0x34c126=_0x302c06;this[_0x34c126(0x1e8)]['dpr']=_0x49bbc4&&_0x49bbc4[_0x34c126(0x1f9)]||_0x265ad1;var _0x297761=this[_0x34c126(0x1e8)]['h']/this[_0x34c126(0x1e8)]['w'],_0x555b4b=this[_0x34c126(_0x3726a9._0xb14635)]['mw'],_0x5224ad=function(){var _0x34a9c3=_0x34c126,_0x699ede=_0x2b7caa['clientWidth']>_0x555b4b?_0x2b7caa[_0x34a9c3(_0x4d2a6e._0x5ed957)]:_0x555b4b,_0x33beee=_0x699ede*_0x297761;_0x514e91['calcLayout'](_0x33beee,_0x699ede);};_0x5224ad(),this[_0x34c126(0x186)](_0x5224ad);},'calcLayout':function(_0x2ae851,_0x4889f3){var _0x1b46dc={_0x629ca8:0x185,_0x4b88fc:0x1d0,_0xadf496:0x1e5,_0x355f8d:0x1b3},_0x54475c=_0x302c06;if(_0x4889f3){var _0x130ed3=this['setting'][_0x54475c(_0x5d1fd9._0x523df2)],_0x1877a2=this[_0x54475c(_0x5d1fd9._0x54b93f)]['fs']*_0x130ed3,_0x4d003e=this[_0x54475c(_0x5d1fd9._0x54b93f)]['w'],_0x297412=_0x4d003e/this[_0x54475c(_0x5d1fd9._0x54b93f)][_0x54475c(0x1be)],_0x32788d=_0x297412/_0x4d003e,_0x2997c8=0x1/_0x130ed3,_0x4b0cef=_0x4889f3-_0x4d003e,_0x5425ed=_0x4b0cef>0x0?_0x4d003e:!(_0x4b0cef=0x0)&&_0x4889f3;this[_0x54475c(0x18b)]['remBase']=_0x32788d,this[_0x54475c(0x18b)][_0x54475c(0x1dc)]=_0x5425ed/_0x4d003e*_0x130ed3,_0x2b7caa[_0x54475c(_0x5d1fd9._0x449767)][_0x54475c(0x1ac)]=this[_0x54475c(0x1e8)][_0x54475c(0x1be)]*(_0x5425ed/_0x4d003e)*_0x130ed3+'px';var _0x2a144c=function(){var _0x51a370=_0x54475c;(document[_0x51a370(_0x1b46dc._0x629ca8)](_0x51a370(_0x1b46dc._0x4b88fc))||_0x1c7c71)['style'][_0x51a370(0x1f0)]='display:block;width:'+_0x297412+_0x51a370(_0x1b46dc._0xadf496)+0x64*_0x130ed3+'%;'+_0x41f617+':scale('+_0x2997c8+');'+_0x41f617+_0x51a370(_0x1b46dc._0x355f8d)+_0x4b0cef+_0x51a370(0x1c6)+_0x32788d*_0x1877a2+_0x51a370(0x184);};_0x1c7c71?_0x2a144c():_0x514e91[_0x54475c(0x1f1)](_0x2a144c);}}}),_0x514e91[_0x302c06(0x1dd)]({'funchain':function(_0x44d51f,_0x507a63){var _0x2b3fe6={_0x1288b8:0x1d4},_0x4bb7d7={_0xe43e0a:0x191,_0x4604a1:0x1fa},_0x541d2b=_0x302c06;_0x507a63=_0x514e91[_0x541d2b(0x1cb)](_0x507a63)?_0x507a63:[_0x44d51f,[]][_0x514e91[_0x541d2b(0x1cb)](_0x44d51f)?~~(_0x44d51f=void 0x0):0x1],len=_0x507a63[_0x541d2b(0x1a7)],_0x514e91[_0x541d2b(_0x111aab._0x25a20f)](function(){var _0x499b14=_0x541d2b;function _0x44a774(_0x4208a9){var _0x5e9232=_0x1169;if(_0x5e64d7[_0x4208a9])return _0x5e64d7[_0x4208a9][_0x5e9232(0x1d7)];var _0x17ef6c=_0x5e64d7[_0x4208a9]={'exports':{},'id':_0x4208a9,'loaded':!0x1,'prev':function(){return _0x44a774(_0x4208a9&&_0x4208a9-0x1);},'next':function(){return _0x4208a9<len-0x1?_0x44a774(_0x4208a9+0x1):null;},'first':function(){return _0x44a774(0x0);},'last':function(){return _0x44a774(len-0x1);}};return _0x17ef6c[_0x5e9232(0x1fa)]=!0x0,_0x44a774['i']=_0x4208a9,_0x507a63[_0x4208a9]?_0x507a63[_0x4208a9][_0x5e9232(_0x4bb7d7._0xe43e0a)](_0x17ef6c,_0x17ef6c[_0x5e9232(0x1d7)],_0x44a774,_0x4208a9):_0x44d51f[_0x5e9232(0x191)](_0x17ef6c,function(_0x4504fd){_0x44a774(_0x4504fd||0x0);},_0x17ef6c['exports'],_0x44a774),_0x17ef6c[_0x5e9232(_0x4bb7d7._0x4604a1)],_0x17ef6c[_0x5e9232(0x1d7)];}var _0x5e64d7={};return _0x44a774['m']=_0x507a63,_0x44a774['c']=_0x5e64d7,_0x44a774['p']='',_0x44a774(_0x44d51f?_0x499b14(_0x2b3fe6._0x1288b8):0x0);});},'Async':new function(){var _0x11bfb7={_0x157ee0:0x18f},_0x410adc={_0x1dc753:0x1d5},_0x5044bf={_0x11e113:0x1bc},_0x1d4d7a={_0x1e50ce:0x1fc},_0x1bbc0c={_0x282b2f:0x1e0},_0x5529f0={_0x562da1:0x1c3},_0x54582a={_0x1daeb1:0x188,_0x35689f:0x188},_0xfa5cd5=_0x302c06;_0x514e91[_0xfa5cd5(_0x22471d._0x40d418)][_0xfa5cd5(0x191)](this,{'timeoutFilter':function(_0x560df1){var _0x5975d8=0x0;return _0x560df1=_0x560df1||0x3e8,_0x2a55a5=>{_0x5975d8&&clearTimeout(_0x5975d8),_0x5975d8=setTimeout(_0x2a55a5&&_0x2a55a5||function(){},_0x560df1);};},'timerCtrl':function(_0x1a0f0f,_0x10f945){var _0x58faa7={_0x539dcd:0x188},_0x17f8ad={_0x593cf7:0x1a1,_0x30cfb7:0x1c3,_0x4481ec:0x191},_0x3d6e41={_0x516b07:0x1f5,_0x46967f:0x1a1,_0x4692e1:0x1f5},_0x6c4310=_0xfa5cd5,_0x178e46={'timer':_0x1a0f0f||0x1388,'name':_0x10f945,'run':function(_0x5125e2){var _0x52d552=_0x1169;clearInterval(_0x178e46[_0x52d552(0x188)]),_0x178e46[_0x52d552(0x188)]=setInterval(_0x178e46['fn'][_0x52d552(0x1fc)](_0x178e46[_0x52d552(_0x3d6e41._0x516b07)]),_0x178e46[_0x52d552(_0x3d6e41._0x46967f)]),_0x5125e2&&_0x178e46['fn'][_0x52d552(0x1fc)](_0x178e46[_0x52d552(_0x3d6e41._0x4692e1)])();}},_0x17aae9=function(_0x31e8ba){var _0x226b4b=_0x1169;_0x178e46['timer']=_0x31e8ba,_0x178e46['layer']=this;var _0x1e0e1b=function(_0x58d3de,_0x54b7d2,_0xce157e){var _0x4deb7a=_0x1169;'function'==typeof _0x58d3de&&(_0x178e46[_0x4deb7a(0x1c1)]=_0xce157e,_0x54b7d2&&(_0x178e46[_0x4deb7a(_0x17f8ad._0x593cf7)]=_0x54b7d2),_0x178e46['fn']=_0x58d3de,_0x178e46[_0x4deb7a(_0x17f8ad._0x30cfb7)][_0x4deb7a(_0x17f8ad._0x4481ec)](this));};return _0x1e0e1b[_0x226b4b(0x1d8)]=this[_0x226b4b(0x1d8)],_0x1e0e1b;};return _0x17aae9[_0x6c4310(_0x1bbc0c._0x282b2f)]={'stop':function(){var _0xd1a20=_0x6c4310;_0x178e46[_0xd1a20(_0x54582a._0x1daeb1)]&&clearInterval(_0x178e46[_0xd1a20(_0x54582a._0x35689f)]);},'start':function(_0x16de84){var _0x2b47a0=_0x6c4310;_0x178e46['fn']&&_0x178e46[_0x2b47a0(0x1c3)]['call'](this,_0x16de84);},'setTime':function(_0xe770ca){var _0x290b1c=_0x6c4310;_0xe770ca&&(_0x178e46['timer']=_0xe770ca),_0x178e46['fn']&&_0x178e46[_0x290b1c(_0x5529f0._0x562da1)][_0x290b1c(0x191)](this);},'clear':function(){var _0x4c8e85=_0x6c4310;_0x178e46[_0x4c8e85(_0x58faa7._0x539dcd)]&&clearInterval(_0x178e46[_0x4c8e85(_0x58faa7._0x539dcd)]),_0x178e46={'timer':0x1388};}},new _0x17aae9(_0x1a0f0f);},'loopList':function(_0xa90349,_0x12982d,_0x12ed4f){var _0x1995cc={_0x3fd532:0x191},_0x60c6be=_0xfa5cd5,_0x54903a=_0x60c6be(0x194)==typeof _0xa90349?Object[_0x60c6be(0x1c9)](_0xa90349):_0xa90349||[],_0x25bde4=_0x54903a[_0x60c6be(0x1a7)];(function _0x498980(_0x40d3ba){_0x40d3ba<_0x25bde4?((()=>{var _0xf7a7ff=_0x1169,_0x59ec3d=_0x54903a[_0x40d3ba];_0x12982d&&_0x12982d[_0xf7a7ff(0x191)](this,_0x59ec3d,_0xa90349[_0x59ec3d],()=>{var _0x471f46=_0xf7a7ff;_0x498980[_0x471f46(0x191)](this,++_0x40d3ba);},_0x40d3ba);})()):((()=>{var _0x4a8019=_0x1169;_0x12ed4f&&_0x12ed4f[_0x4a8019(_0x1995cc._0x3fd532)](this);})());}[_0x60c6be(_0x1d4d7a._0x1e50ce)](this)(0x0));},'Promise':function(_0x694734){var _0x22196e={_0x2abd26:0x1a2},_0x4da59f={_0xd4682d:0x183},_0x4e90a7=_0xfa5cd5;let _0x3fb3cc=_0x4e90a7(_0x1468da._0x2b38c4),_0x2f5ab1=_0x4e90a7(0x1f4),_0x172665='[[PromiseState]]',_0x2fa19d=new Promise(function(_0x476d43,_0x3d735e){var _0x2e0171=_0x4e90a7;_0x694734[_0x2e0171(_0x5044bf._0x11e113)]=function(){_0x3d735e(arguments[0x0]),Object[_0x3fb3cc](_0x363704,_0x172665,{'value':'rejected','writable':!0x0});},_0x694734(_0x476d43,_0x3d735e);}),_0x363704=new function(){var _0x5545dc=_0x4e90a7;this[_0x5545dc(0x1d8)][_0x5545dc(_0x410adc._0x1dc753)]=_0x2fa19d[_0x5545dc(0x1d5)];}(),_0x406912=_0x363704[_0x4e90a7(_0x1468da._0x36642d)];return Object[_0x3fb3cc](_0x406912,_0x4e90a7(_0x1468da._0x4b64af),{'value':function(){var _0x54709b=_0x4e90a7;let _0x207dd7=arguments[0x0];return _0x2fa19d=_0x2fa19d[_0x54709b(_0x11bfb7._0x157ee0)](async function(){var _0x56bb82=_0x54709b;if(_0x56bb82(0x190)!==_0x363704[_0x172665]){var _0x3d8ee7=await _0x207dd7(_0x363704[_0x2f5ab1]||arguments[0x0]);return Object[_0x3fb3cc](_0x363704,_0x2f5ab1,{'value':_0x3d8ee7||_0x363704[_0x2f5ab1],'writable':!0x0}),_0x3d8ee7;}},function(_0x1a8f59){}),_0x363704;}}),Object[_0x3fb3cc](_0x406912,_0x4e90a7(0x183),{'value':function(){var _0x555f6f=_0x4e90a7;return _0x2fa19d[_0x555f6f(_0x4da59f._0xd4682d)](arguments[0x0]),_0x2fa19d;}}),Object[_0x3fb3cc](_0x406912,'finally',{'value':function(){var _0x14844d=_0x4e90a7;let _0xe016bf=arguments[0x0];return _0x2fa19d[_0x14844d(_0x22196e._0x2abd26)](function(){return _0xe016bf&&_0xe016bf(),_0x363704;}),_0x363704;}}),Object[_0x3fb3cc](_0x406912,_0x4e90a7(0x1bc),{'value':_0x694734[_0x4e90a7(0x1bc)]}),_0x363704;}});}(),'Utils':new function(){var _0x5b8f2d={_0x4e5951:0x1a7,_0x5024ed:0x1c9},_0x197af7={_0x22a6b4:0x1f7},_0x46cded={_0x22b735:0x1c2,_0x49f1bd:0x1b0};return{'UUID':function(){var _0x326bbc=_0x1169;return'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'[_0x326bbc(0x1f7)](/[xy]/g,function(_0x2879d3){var _0x2475d2=_0x326bbc,_0x4098c1=0x10*Math[_0x2475d2(_0x46cded._0x22b735)]()|0x0;return('x'==_0x2879d3?_0x4098c1:0x3&_0x4098c1|0x8)[_0x2475d2(_0x46cded._0x49f1bd)](0x10);});},'Guid':function(_0x553b1a,_0x5dad63){var _0x19555b=_0x1169;return(_0x553b1a||'')+(_0x5dad63?new Array(_0x5dad63+0x1)[_0x19555b(0x1ea)]('x'):_0x19555b(0x1bb))[_0x19555b(_0x197af7._0x22a6b4)](/[xy]/g,function(_0x20a539){var _0x8ba012=_0x19555b,_0x5acd68=0x10*Math[_0x8ba012(0x1c2)]()|0x0;return('x'==_0x20a539?_0x5acd68:0x3&_0x5acd68|0x8)[_0x8ba012(0x1b0)](0x10);});},'treeListBuild':function(_0x4c299f){var _0x29d643=_0x1169;for(var _0x34adcb={},_0x236002={},_0x49e627=_0x4c299f[_0x29d643(_0x5b8f2d._0x4e5951)],_0x278856=0x0;_0x278856<_0x49e627;_0x278856++){_0x34adcb[~~(_0x130b01=_0x4c299f[_0x278856])[_0x29d643(0x18a)]]=_0x236002[_0x130b01['id']]=_0x130b01;}for(var _0x130b01 of _0x4c299f){var _0x5dc80a=_0x236002[_0x130b01['pid']];if(_0x5dc80a){var _0x46a1cf=_0x5dc80a[_0x29d643(0x1f6)];_0x5dc80a[_0x29d643(0x1f6)]=_0x46a1cf&&_0x46a1cf[_0x29d643(0x1c4)](_0x130b01)&&_0x46a1cf||[_0x130b01];}}return _0x236002=null,_0x34adcb[Object[_0x29d643(_0x5b8f2d._0x5024ed)](_0x34adcb)[_0x29d643(0x19e)]()[0x0]];}};}()}),_0xdeb175['addEventListener'](_0x302c06(0x186),function(){var _0x3ec176=_0x302c06;for(var _0xddda80=_0xe614f2[_0x3ec176(_0x4400d2._0x353a73)],_0x890bf2=0x0;_0x890bf2<_0xddda80;_0x890bf2++)_0xe614f2[_0x890bf2]['call'](_0x514e91);},!0x1),(_0x514e91[_0x302c06(_0x4aeaea._0x2e2717)][_0x302c06(_0x4aeaea._0x11cf01)]=function(_0x355d83,_0x3c8764){var _0x5a97f6=_0x302c06;return _0x355d83[_0x5a97f6(_0x2a61ca._0x50a98e)]?(this[0x0]=_0x355d83,this[_0x5a97f6(_0x2a61ca._0xb9304f)]=0x1,this):typeof _0x355d83===_0x5a97f6(_0x2a61ca._0xcf33e9)?_0x514e91[_0x5a97f6(0x1f1)](_0x355d83,_0x3c8764):_0x355d83;})[_0x302c06(_0x4aeaea._0x188a08)]=_0x514e91[_0x302c06(_0x4aeaea._0x2e2717)],_0x514e91(function(){},0x1),_0xdeb175['qf']=_0x2f444c['qf']=_0x514e91;}(_0x384570));}(_0x47ff9f(0x1e4)!=typeof window?window:this);}]));function _0x1ed1(){var _0xca68f3=['keys','clientWidth','isArray','22259380Wazumc','transition','apply','documentElement','views','ransform','oRequestAnimationFrame','body','init','constructor','4241637oUGrUm','exports','__proto__','contentWindow','cancelRequestAnimationFrame','addEventListener','wpr','extend','Module','55OHpXzI','prototype','search','userAgent','createElement','undefined','rem;height:','height','toStringTag','setting','oCancelRequestAnimationFrame','join','test','defineProperty','hasOwnProperty','nodeType','default','cssText','ready','readyState','onload','[[PromiseResult]]','layer','children','replace','document','dpr','loaded','mousedown','bind','catch','rem;opacity:1','getElementById','resize','toLowerCase','timerPointer','4544456aAirpD','pid','envir','toUpperCase','devicePixelRatio','(((.+)+)+)+$','then','rejected','call','scale(','div','object','appVersion','charAt','substr','touchcancel','transform','webkitRequestAnimationFrame','width','msRequestAnimationFrame','467778RqNByC','sort','match','mouseup','timer','finally','prt','parseInt','splice','requestAnimationFrame','length','function','webkitCancelAnimationFrame','webkitCancelRequestAnimationFrame','59421hNteKK','fontSize','split','eval','return\x20(','toString','__esModule','style','-origin:','mousemove','touchend','44BjPDOS','0\x200','load','remBase','clientHeight','xxxxxxxx','abort','touchstart','dprb','mozRequestAnimationFrame','805303sOIqzm','name','random','run','push','16vberGU','px\x200;font-size:','Window\x20object\x20not\x20found!','969192KlpLXD'];_0x1ed1=function(){return _0xca68f3;};return _0x1ed1();}
\ No newline at end of file
/*
name: qf_web_ui
version: V1.157
*/
!function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){!function(e){document;var t=document.body;window;new function(){var i={},o={getRegistStyle:function(e){return{loader:[{i:0,k:"@keyframes loader-a1",v:"0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}"},{i:1,k:"@keyframes loader-a2",v:"0%{transform:rotate(0deg)}100%{transform:rotate(-360deg)}"},{i:2,k:".kim-loader:before,.kim-loader:after",v:'content:"";position:absolute;border-radius:50%;border:4px solid #1276E3;'},{i:3,k:".kim-loader:before",v:"height:60px;width:60px;border-left-color:transparent;border-bottom:0;animation:loader-a1 1s cubic-bezier(.42, .61, .58, .41) infinite;"},{i:4,k:".kim-loader:after",v:"height:40px;width:40px;border-top-color:transparent;border-right:0;animation:loader-a2 1s cubic-bezier(.42, .61, .58, .41) infinite;"}]}[e]},createStyleElement:function(e,t){var n=document.createElement("style");return n.type="text/css",n.id=e||"kmb-popmd-e3d8-style",t?t.appendChild(n):document.head.appendChild(n),n},getStyleSheet:function(e,t){return(document.getElementById(e||"kmb-popmd-e3d8-style")||this.createStyleElement(e,t)).sheet},setStyleSheet:function(e,t,n,i){var o=i||this.getStyleSheet();o&&(o.insertRule?o.insertRule(e+"{"+t+"}",n):o.addRule(e,t,n))},setStyleSheets:function(e){var t=this.getStyleSheet();if(!t.rules[e[0].i])for(var n of e){var i=n.k,o=n.v,r=n.i;t.insertRule?t.insertRule(i+"{"+o+"}",r):t.addRule(i,o,r)}}};let r=function(e){var t=e.zIndex||2023,n=e.className?" "+e.className:"",i=e.backgroundColor||"rgba(0,0,0,.5)",o=document.getElementById(e.id||"kmbBaseLayer_e3d8")||document.createElement("div");o.id=e.id||"kmbBaseLayer_e3d8",o.className="kmb-basepopuplayer"+n;var r=e.coverFull?"width:100%;justify-content:center;":"";return o.style.cssText="position:fixed;top:0;left:0;width:0;height:100%;"+r+"z-index:"+t+";background-color:"+i+";display:flex;align-items:center;",o},a=function(t,n){if("Object"===n.constructor.name&&n.show){var i=e.extend.call({size:12,point:"top",x:0,y:0,borderColor:"#3EB7EA",background:"rgba(0,0,0,.9)"},n||{}),o=i.size||12,r=i.point||"top",a=i.x||0,s=i.y||0,l=i.borderColor||"#3EB7EA",c=i.background||"rgba(0,0,0,.9)",u=0-o/2,d=~~Math.sqrt(o*o*2)-o-1,h="left",m="top",f=d,p=u,v=45;"left"===r||"right"===r?(f=u,p=d,v="right"===r?(h="right")&&135:-45):"bottom"===r&&(m="bottom",v=225);var g=~~(o+2)+"px",b='content:"";position:absolute;'+(m+":"+(p+s)+"px")+";"+(h+":"+(f+a)+"px")+";height:"+o+"px;width:"+o+"px;",y="border-color:"+l+" transparent transparent "+l+";",x=document.createElement("i");x.style.cssText=b+"background-color:"+c+";border-style:solid;border-width:1px;"+y+"transform:rotate("+v+"deg);clip-path:polygon(0% 0, "+g+" 0, 0% "+g+");",t.appendChild(x)}},s=function(e,t){var n=(t="Object"===t.constructor.name?t:{horizontal:"right",vertical:"top"}).vertical||"top",i=t.horizontal||"right",o=document.createElement("i");o.innerText="",o.className="close",o.style.cssText="position:absolute;"+n+":-.13rem;"+i+":-.13rem;height:.26rem;width:.26rem;font-style:normal;font-size:.30rem;font-weight:100;border:1px solid #3EB7EA;display:flex;justify-content:center;align-items:center;border-radius:.20rem;transform:rotate(45deg);background:rgba(0,0,0,.5);cursor:pointer;color:#3EB7EA;user-select:none;",e.appendChild(o)};e.extend.call(this,{popupLayer:function(e){var t=e.title&&(e.title.indexOf("<")>-1?e.title:"<span>"+e.title+"</span>")||"",n=e.closeBtnColor?"color:"+e.closeBtnColor:"",i=t?'<div class="qfui-message-box el-message-box__header"><div class="el-message-box__title">'+t+"</div></div>":"",o=e.confirm,r="[object Function]"===Object.prototype.toString.call(o)?'<div class="el-message-box__btns"><button type="button" aria-label="Confirm" class="el-button el-button--default el-button--small el-button--primary">确定</button></div>':"",a='<div class="kmb-message-box custom-alert">'+i+'<div class="el-message-box__content" style="min-width:300px;width:'+e.width+'"><div class="alert-ctbox">'+(e.html||"")+"</div></div>"+r+'<button class="el-message-box__headerbtn el-icon-close" aria-label="Close" style="'+n+'"></button></div>',s=document.createElement("div");s.id="culayer",s.className="el-message-box__wrapper "+(e.className||""),s.style.cssText="z-index:2001;background-color:rgba(0,0,0,.5);",s.innerHTML=a,document.body.appendChild(s);var l=s.querySelector(".alert-ctbox");e.onload&&e.onload(l),s.onclick=function(t){var n=t.target||t.srcElement;"BUTTON"===n.nodeName&&("Confirm"===n.getAttribute("aria-label")?(document.body.removeChild(s),e.confirm&&e.confirm(l)):"Close"===n.getAttribute("aria-label")&&(document.body.removeChild(s),e.close&&e.close()))}},scrollingPreview:function(t){var n=0,i=function(t){var i=this;this.box=t,this.init(),e.resize((function(){this.rTimer&&clearTimeout(this.rTimer),delete this.rTimer;var e=i.boundary.dist,o=e?e/(i.boundary=i.getBoundary()).dist:1;t.scrollTop=n/=o,this.rTimer=setTimeout(()=>{!i.animId&&i.start()},1500)}))};return i.prototype={init:function(){var e=this;this.flag=this.getPointer(),this.box.onmousedown=function(){e.cancel()},this.box.onmouseup=function(t){t.target.className.match("scrolling4")&&(n=t.target.scrollTop),e.start()},e.start()},getBoundary:function(){var e=this.box.scrollHeight-this.box.offsetHeight;return{dist:e,apex:e*((this.flag+1)/2)}},getPointer:function(){return Math.abs(this.box.scrollTop-1)-this.box.scrollTop},getItemHeight:function(e){return(e.children.length>2?e.lastElementChild:{}).offsetHeight||30},start:function(){this.boundary=this.getBoundary(),this.childHeight=this.getItemHeight(this.box),this.boundary.dist>this.childHeight&&this.animloop()},animloop:function(){this.box.scrollTop*this.flag>=this.boundary.apex?(this.flag=this.getPointer(),this.boundary=this.getBoundary(),this.boundary.dist>this.childHeight?this.animloop():this.cancel()):(this.box.scrollTop=n,t.scrollHeight-t.offsetHeight<n&&(this.flag=this.getPointer(),this.boundary=this.getBoundary()),n+=.3333*this.flag,this.animId=window.requestAnimationFrame(this.animloop.bind(this)))},cancel:function(){this.animId&&cancelAnimationFrame(this.animId),delete this.animId},update:function(){this.cancel(),this.start()}},{update:function(){new i(t).update()}}},Notify:function(n){var i=this,o={close:!0},r=(n=n||{}).duration||2e4,a=n.title||"提示",s=n.type||"warning",l=n.message||"提示内容!",c=n.zIndex||2e3;return position=n.position||"bottom",this.__proto__={open:function(u){u=u||{},o.ctn=o.ctn||document.createElement("div"),o.ctn.className="el-notification right el-notification-fade-enter el-notification-fade-leave-active",o.ctn.style=position+":16px;z-index:"+c+";",o.ctn.innerHTML='<i class="el-notification__icon el-icon-'+s+'"></i><div class="el-notification__group is-with-icon"><h2 class="el-notification__title">'+(u.title||a)+'</h2><div class="el-notification__content">'+(u.content||l)+'</div><div class="el-notification__closeBtn el-icon-close"></div></div>',t.appendChild(o.ctn),setTimeout((function(){o.ctn.classList.remove("el-notification-fade-enter","el-notification-fade-leave-active")}),100),o.timer=e.Async.timeout((function(){i.close()}),r),o.ctn.onclick=function(e){var t=e.target||e.srcElement;t.classList.contains("el-icon-close")?i.close():n.onClick&&n.onClick(t)},o.ctn.addEventListener("mouseenter",(function(){!o.await&&o.timer.pause()}),!1),o.ctn.addEventListener("mouseleave",(function(){!o.await&&o.timer.continued()}),!1)},close:function(e){o.close&&(o.await=!0,o.ctn.classList.add("el-notification-fade-leave-active"),o.timer.clear(),setTimeout((function(){t.removeChild(o.ctn),!e&&n.onClose&&n.onClose()}),200),delete o.close)},pause:function(){o.await=!0,o.timer.pause()},recover:function(){o.timer.continued(),o.await=!1}},n.autoOpen&&this.open(),this},baseLayer:function(e){var t=e.html||'<div class="kmbbase-wrap"></div>',i=e.moudelClass?" "+e.moudelClass:"",o=e.container||document.body,a=e.name||"",s=e.id||n.Guid("k");return function(){var n,l,c=(n=o,(l=function(){var o,l,c=this.Wrap=(o=document.createElement("div"),l="k"+s+i,o.className="kmb-popmd-e3d8 "+l,o.style.cssText="position:absolute;display:none;",o.innerHTML=t,o),u=e.cover?this.parent=r(e).appendChild(c).parentNode:c;n.appendChild(u),this.el=this.Wrap.firstElementChild||this.Wrap,this.container=u,this.parent=this.parent||n,this.id=s,this.name=a,u.onclick=function(t){t.target||t.srcElement,e.click&&e.click(t)},this.open()}).prototype={open:function(){this.Wrap.style.display="block",this.show=!0},close:function(){this.Wrap.style.display="none",this.show=!1,e.close&&e.close()},remove:function(t){this.Wrap.remove(),this.show=!1,n!==this.parent&&!this.parent.firstElementChild&&n.removeChild(this.parent),e.close&&e.close(t)},setStyle:function(e,t){Object.assign((e||this.Wrap).style,t)}},new l);return this.prototype={},e.onload&&e.onload(c),c}.call((function(){}))},popWindow:function(e){e=e||{};var t=this.baseLayer(e);e.pointer&&a(t.Wrap,e.pointer),e.closeButton&&(e.closeEvent=!0)&&s(t.Wrap,e.closeButton);var n=e.click;return e.click=function(i){var o=i.target||i.srcElement;n&&n(o),e.closeEvent&&o.classList.contains("close")&&o.parentNode===t.Wrap&&t.remove(i)},t},checkListRender:function(e){var t=(e=e||{}).list||[],i=e.select||[],o=e.type||"radio",r="radio"===o?'name="'+n.Guid("k")+'" ':"",a="",s=(document.createElement("div"),function(e){for(var t of i)return e===t});for(var l of t){var c=l[e.name||"name"],u=l[e.value||"value"];a+='<dd><label style="display:flex;user-select:none;cursor:pointer;"><span style="display:flex;"><input type="'+o+'" '+(s(u)?'checked="true"':"")+' value="'+u+'" '+r+' data-name="'+c+'"></span><span class="el-'+o+'__label"><span>'+c+"</span></span></label></dd>"}return'<div class="kmb-checkbox" style="position:relative;height:100%;"><dl class="scrolling4">'+a+"</dl></div>"},selectRender:function(e,t,n){for(var i=t.length,o="",r=0;r<i;r++){var a=t[r];o+='<option value="'+a[n.value||"value"]+'" data-index="'+r+'">'+a[n.name||"name"]+"</option>"}return n.onchange&&(e.onchange=function(e){var t=(e.target||e.srcElement).selectedOptions[0];n.onchange(t.value,t)}),e.innerHTML=o,n.onload&&n.onload(e.options[0]&&e.options[0].value),e},progressBar:function(t){t=t||{};var n=this;return e.UI.popWindow({name:"div_1",html:'<div class="progress" style="width:7rem;"><div class="progress-bar" style="width:0%">0</div></div>',onload:function(e){var i=o.getStyleSheet("progressStyle",e.Wrap);o.setStyleSheet(".progress","position:relative;height:15px;line-height:14px;border-radius:20px;box-sizing:content-box;color:#fff;font-size:12px;text-align:center;user-select:none;",0,i),o.setStyleSheet(".progress .progress-bar","animation:reverse progress-bar-stripes 0.80s linear infinite,animate-positive 1s;border-radius:20px;background-color:#5bc0de;background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px;height:100%;transition:width .3s ease;",1,i),o.setStyleSheet("@keyframes progress-bar-stripes","from{background-position:40px 0}to{background-position:0 0}",2,i),o.setStyleSheet("@keyframes animate-positive","0%{width:0}",3,i),e.setStyle(e.Wrap,t);var r=e.el.firstElementChild;e.setValue=function(e){r.innerText=e+"%",r.style.width=e+"%"},n.model=e}}),n.model},loading:function(t){var r=(t=t||{}).timer||0,a=t.zIndex||1e3,s=t.container||document.body,l=s.dataset.loaderid||n.Guid(),c="loadingUI_"+l+(t.id||""),u=i[c];return u?(u.clearTimer(),r&&u.timeout(r),u.res):(s.dataset.loaderid=l,o.setStyleSheets(o.getRegistStyle("loader")),u=i[c]={id:c,layer:function(){var n='<div class="kim-loader" style="position:absolute;top:50%;left:50%;height:80px;width:80px;margin:-40px 0 0 -40px;display:flex;justify-content:center;align-items:center;"></div>';if("none"!==t.mask){var i=t.maskColor||"rgba(0,0,0, .5)";return e.UI.baseLayer({closeEvent:!0,container:s,html:n,onload:function(e){e.setStyle(e.Wrap,{top:0,left:0,height:"100%",width:"100%",backgroundColor:i,zIndex:a})}})}var o=document.createElement("div");return o.innerHTML=n,s.appendChild(o.firstElementChild)}(),timeout:function(e){this.timerId=setTimeout(()=>{this.layer.remove(),delete i[c]},e)},clearTimer:function(e){delete i[c],this.timerId&&clearTimeout(this.timerId)}},r&&u.timeout(r),u.res={close:function(){u.clearTimer(),u.layer.remove()}})},tabStyleActive:function(e,t,n,i){if(!t.classList.contains(n)){var o=e.querySelector("."+n);o&&o.classList.remove(n),t.classList.add(n),i&&i()}}}),e.UI=this},new function(){var t=e.Async||this;t.__proto__={intervalLoop:function(e,t,n){var i=function(e,t,n){t&&t(),this.timer=setInterval((function(){n?n():t()}),e||3e3)};return i.prototype={clear:function(){clearInterval(this.timer)}},"function"==typeof t?new i(e,t,n):console.log("intervalLoop param must contain function")},timeout:function(e,t){return t=t||3e3,new function(){var n,i,o;return this.__proto__={start:function(t){i=(new Date).getTime(),n=setTimeout((function(){t=i=o=0,e&&e()}),t)},pause:function(){
//!pauseTime && (pauseTime = new Date().getTime());this.clear()
o=(new Date).getTime(),this.clear()},continued:function(e){t-=o-i,o&&t>0&&this.start(e||t)},clear:function(){clearTimeout(n)}},this.start(t),this}},randomRuntimer:function(t,n){if("randomRuntimer"!==this.constructor.name)return Error("Please instance this object first");let i={getDefaultTime:function(){return 1e3*(4+~~(6*Math.random()+1))},nowCallback:!1,firstTimer:null},o=(n=n||i).firstTimer||i.getDefaultTime(),r=e.Async.timeoutFilter(5e3),a=new e.Async.timerCtrl(o,"timerA");return a((function(){a.stop();let e=i.getDefaultTime(),n=t&&t(e);!1!==n&&a.setTime(n||e)})),n.nowCallback&&a.start(!0),this.run=function(){a.stop(),r((function(){a.setTime(getDefaultTime())}))},this}}},new function(){var t=e.Vue||this;t.__proto__={onEventInfos:function(e){var t=this.toString.$state._vm,n=t.$root.constructor;n.config.errorHandler=function(i,o){t.$nextTick(()=>{var t=o.$el._prevClass,n=[];if(t.match("el-select"))if(o.selected[0])for(var i of o.selected)n.push({name:i.label,value:i.value});else n={name:o.selectedLabel,value:o.value};else if(t.match("el-radio-group")){var r=o.$children;for(var a of r)a.$el.ariaChecked&&(n={name:a.$el.innerText,value:o.value})}else if(t.match("el-checkbox-group")){r=o.$children;for(var a of r)a.isChecked&&n.push({name:a.$el.innerText,value:a.label})}e&&e.call(this,o.value,n,o.hoverIndex)}),n.config.errorHandler=null}.bind(this);var i=new Promise((function(e,t){}));return i.catch=function(e,t,n){e(Error)},i},renderTo:function(e){var t=window.__VUE_HOT_MAP__,n=(this.toString.$state||{})._vm||this;return new(t?t[Object.keys(t)[0]].Ctor.super:n.$root.constructor)({el:e.el,data:e.data,render:function(t){var n=this,i=n._self._c,o=e.attrs;o="function"==typeof o?o.call(n._self):Object.assign({},o);var r={style:e.style,attrs:o,on:{change:e.change||""},model:{value:n._self[e.datakey||e.value],callback:function(t){n.$set(n._self,e.value,t)}}};return i(e.name,r)}})}},e.Vue=t},new function(){var t=e.Event||this;t.__proto__={eventRegister:function(e){var t,n,i,o=e.eventEl,r=!e.event,a=function(e,t){o.addEventListener(e,t,!1)},s=function(e,t){o.removeEventListener(e,t,!1)},l=function(){this.eventHandler=function(e){return this.eventTrigger=function(){a("mousemove",e),a("mouseup",e),a("mouseleave",e)},this.eventRemove=function(){s("mousemove",e),s("mouseup",e),s("mouseleave",e)},this.addEvent=function(){a("mousedown",e)},this.removeEvent=function(){s("mousedown",e)},this}.call({},this),this.eventHandler.addEvent(),e.event&&this.eventHandler.eventTrigger()};return l.prototype={handleEvent:function(e){switch(e.type){case"mousedown":this.start(e);break;case"mousemove":this.move(e);break;case"mouseup":this.up(e);break;case"mouseout":case"mouseover":case"mouseleave":this.end(e)}},start:function(o){t=o.pageX,n=o.pageY,o.timeStamp-i<280&&this.sX===t&&this.sY===n?(this.isDb=!this.isDb,clearTimeout(this.timeout),e.dblclick&&e.dblclick(o)):e.start&&e.start(o),this.sX=t,this.sY=n,i=o.timeStamp,!e.event&&this.eventHandler.eventTrigger()||(r=!0)},move:function(t){r&&(e.disc?"y"===e.disc?t.destY=t.pageY-this.sY:t.destX=t.pageX-this.sX:(t.destX=t.pageX-this.sX,t.destY=t.pageY-this.sY)),e.move&&e.move(t)},end:function(t){e.end&&e.end(t),!e.event&&this.eventHandler.eventRemove()||(r=!1)},up:function(t){var n=this;!(e.mouseup&&e.mouseup(t))&&this.end(t),e.click&&"mouseup"===t.type&&t.timeStamp-i<180&&this.sX===t.pageX&&this.sY===t.pageY&&(clearTimeout(this.timeout),this.timeout=setTimeout((function(){n.isDb?n.isDb=!n.isDb:e.click(t)}),150))}},new l}},e.Event=t};const n=new function(){var t=e.Utils||this;return t.__proto__={generateMixed:function(e){for(var t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],n="",i=0;i<e;i++){n+=t[Math.ceil(35*Math.random())]}return n},Dates:function(e){return{format:function(t){var n=e?new Date(e):new Date,i={"M+":n.getMonth()+1,"d+":n.getDate(),"h+":n.getHours()%12==0?12:n.getHours()%12,"H+":n.getHours(),"m+":n.getMinutes(),"s+":n.getSeconds(),"q+":Math.floor((n.getMonth()+3)/3),S:n.getMilliseconds()};for(var o in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(n.getFullYear()+"").substr(4-RegExp.$1.length))),/(E+)/.test(t)&&(t=t.replace(RegExp.$1,(RegExp.$1.length>1?RegExp.$1.length>2?"星期":"":"")+{0:"",1:"",2:"",3:"",4:"",5:"",6:""}[n.getDay()+""])),i)new RegExp("("+o+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?i[o]:("00"+i[o]).substr((""+i[o]).length)));return t},getDayStamp:function(){return{start:new Date((new Date).toLocaleDateString()).getTime()/1e3,end:~~((new Date).getTime()/1e3)}}}},arrayToJsonDict:function(e,t,n){var i={};if(e[0]&&e.push)for(var o=0,r=e.length;o<r;o++){var a=e[o];i[a[t||"id"]||o]=n?a[n]||n:a}return i},imageToBase64:function(e,t,n){var i=function(e,t){var n=new Image;n.src=e,n.crossOrigin="*",n.onerror=function(){new Error("图片加载失败")},n.onload=function(){var e=n.width,i=n.height;return t(function(e,t,n){var i=document.createElement("canvas");i.width=t,i.height=n;var o=i.getContext("2d");o.fillStyle="transparent",o.fillRect(0,0,t,n),o.drawImage(e,0,0,t,n);var r={};return r.base64=i.toDataURL("image/jpeg",.7),r.base64Len=r.base64.length,i=null,r}(n,e,i),n=null)}},o=e&&e.files[0];return new Promise((n,r)=>{if(!(o.name.indexOf(".jpg")>0||o.name.indexOf(".png")>0))return e.value="",r({type:4,msg:"图片文件类型不正确!"});var a="string"==typeof o?o:URL.createObjectURL(o);i(a,(function(e){return e.base64Len?t&&t(e)||n(e):r(e)}))})},strAverageCut:function(e,t){for(var n=e.length,i=~~(n/(t=(t>n?n:t)||1)),o=n%t,r=[],a=0,s=0;s<t;s++){var l=i+~~(s<o);r[s]=e.substr(a,l),a+=l}return r},getRandomColor:function(e){for(var t=this.strAverageCut(e,3),n=0,i=t.length;n<i;n++)t[n]=(parseInt(t[n],16)>>16&255)/255;return t},recursion:function(e,t,n,i){return function e(o){for(var r of o)n?!t(r)&&r[n]&&e(r[n]):(i=t(r))&&i&&e(r[i])}(e)}},t}}(qf)}]);
\ No newline at end of file
'use strict' 'use strict'
const path = require('path') const path = require('path')
const defaultSettings = require('./src/settings.js') const Mode = 'src';
const CompressionPlugin = require('compression-webpack-plugin') const CopyWebpackPlugin = require('copy-webpack-plugin');
const defaultSettings = require('./'+Mode+'/settings.js');
function resolve(dir) { function resolve(dir) {
return path.join(__dirname, dir) return path.join(__dirname, dir)
...@@ -20,6 +22,24 @@ module.exports = { ...@@ -20,6 +22,24 @@ module.exports = {
assetsDir: 'static', assetsDir: 'static',
lintOnSave: process.env.NODE_ENV === 'development', lintOnSave: process.env.NODE_ENV === 'development',
productionSourceMap: false, productionSourceMap: false,
pages:{
index: {
// 页面的入口文件
entry: Mode+'/main.js',
// 页面的模板文件
//template: './public/edge.html',
//chunks:["edge"],
},
plus: {
// 页面的入口文件
entry: Mode+'/plus.js',
// 页面的模板文件
template: './public/plus.html',
// build 生成的文件名称 例: dist/index.html
filename: 'plus.html',
chunks:["plus", "runtime", "chunk-libs", "chunk-elementUI"],
}
},
devServer: { devServer: {
port: port, port: port,
host: VUE_APP_BASE_API && VUE_APP_BASE_API.split(/\/\/|:/).slice(-2)[0], host: VUE_APP_BASE_API && VUE_APP_BASE_API.split(/\/\/|:/).slice(-2)[0],
...@@ -63,15 +83,18 @@ module.exports = { ...@@ -63,15 +83,18 @@ module.exports = {
} }
}, },
plugins: [ plugins: [
// https://www.ydyno.com/archives/1260.html 使用gzip解压缩静态文件 new CopyWebpackPlugin([{
from: "./static",
/* new CompressionPlugin({ to: 'static'
test: /\.(js|css|html)?$/i, // 压缩文件格式 }]),
filename: '[path].gz[query]', // 压缩后的文件名 ],
algorithm: 'gzip', // 使用gzip压缩 name: name,
minRatio: 0.8 // 压缩率小于1才会压缩 resolve: {
}) */ alias: {
] '@': resolve(Mode+''),
'@crud': resolve(Mode+'/components/Crud')
}
}
}, },
chainWebpack(config) { chainWebpack(config) {
config.plugins.delete('preload') // TODO: need test config.plugins.delete('preload') // TODO: need test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment