Commit 3d4664e4 authored by yanzg's avatar yanzg

更新系统

parent 69e739f3
window.NW = window.NW || {}
window.OS = window.OS || {}
var Base = {
getHardTop: function () {
var top = {}
if (typeof process != 'undefined') {
top = process && process.mainModule && process.mainModule.exports
top && top.init(window)
} else if (typeof tubida != 'undefined') {
top = tubida
}
if (top && top.e) {
var msg = top.e.msg || top.e
Base.AjaxError(msg)
}
return top
},
getHard: function () {
var top = window.sys || {}
if (!top.getHard) {
throw new Error('设备函数不存在')
}
return top.getHard()
},
getPrint: function () {
var top = window.sys || {}
if (!top.getPrint) {
throw new Error('打印机函数不存在')
}
return top.getPrint()
},
/**
* 获取系统编号,用于生成二维码
* @param func
* @constructor
*/
initCode: function (func) {
function urlCode(func) {
var host = window.location.host
func && func(host, '')
}
var isSystem = OS && OS.getSystemID
isSystem ? OS.getSystemID(func) : urlCode(func)
},
boo: true,
min: function () {
NW && NW.windowMin && NW.windowMin()
},
max: function () {
/* Act on the event */
if (this.boo) {
this.boo = false
NW && NW.windowMax && NW.windowMax()
} else {
this.boo = true
NW && NW.windowRestore && NW.windowRestore()
}
},
close: function () {
NW && NW.windowClose && NW.windowClose()
},
run: function (func, funcError) {
try {
func && func()
} catch (e) {
var msg = (e && e.msg) || e;
(funcError || function (msg) {
Base.Alert(msg)
})(msg)
}
},
Alert: function (msg, func) {
alert(msg)
func && func()
},
}
Base.getHardTop()
NW && NW.windowInit && NW.windowInit()
Base.isWeb = !(NW && NW.windowInit);
(function () {
let scanName = 'ScanID'
let scanQrName = 'SerialPortScan'
let scanIcName = 'ScanIC'
let hard
let hardCache = {}
let onScanAll = null
let onScanCode = null
let onScanId = null
let onScanIc = null
let onError = null
let config = ''
var hardEvent = {
on: function (res) {
res = res || {}
Base.run(function () {
var dataFrom = res.Data
// 当扫描到数据时
if (res.EventName == 'scan') {
if (dataFrom.ScanType == 1 && dataFrom.Extend != null) {
var visitor = {
visitorName: dataFrom.Extend.Name, //姓名
visitorCardId: dataFrom.Extend.ID, //身份证
}
onScanId && onScanId(visitor, dataFrom)
onScanAll && onScanAll(visitor, dataFrom)
}
else if (dataFrom.ScanType == 3 ) {
onScanIc && onScanIc(null, dataFrom)
onScanAll && onScanAll(null, dataFrom)
} else {
onScanCode && onScanCode(null, dataFrom)
onScanAll && onScanAll(null, dataFrom)
}
} else if (res.EventName == 'error' || res.EventName == 'debug') {
// 当有调试信息或者错误事件时
showStatus(dataFrom.Message || dataFrom)
}
}, function (res) {
// 执行出错
showError(res)
})
},
req: function () {
console.log(arguments)
}
}
function initHard(hardName, func) {
var arr = JSON.parse(config)
console.log(arr)
var item = null
for (let i = 0; i < arr.length; i++) {
let now = arr[i]
if (now.Name == hardName) {
item = now
break
}
}
if (item == null) {
return
}
hard.register(item, function () {
func && func(item)
}, handleError)
};
function openHard(hardName, hardEvent, func) {
// debugger;
// 设置设备中心的回调函数
hard = Base.getHard()
hard.eve(hardEvent)
// 打开的执行函数
function open(item) {
hardCache[hardName] = item
item.IsOpen = true
item.Speed = 800 / 800
// 打开设备
hard.open(item, function () {
func && func(item)
}, handleError)
}
// 假如设备没有注册,则注册并打开设备,否则只打开设备
if (hardCache[hardName] == null) {
initHard(hardName, open)
} else {
open(hardCache[hardName])
}
};
function showError(res) {
handleError(res)
}
function handleError(res) {
Base.run(function () {
showStatus(res.msg || res.Msg || res.message)
})
}
function showStatus(msg) {
onError && onError(msg)
}
var Scan = {
// 同时打开身份证和扫描头,同一个回调函数,离开页面时将scan传入null
init: function (con, err, scan) {
config = con
onScanAll = scan
onError = err
openHard(scanQrName, hardEvent, function (item) { })
openHard(scanName, hardEvent, function (item) { })
},
// 只打开身份证,不受其他回调函数影响,离开页面时将scan传入null
initId: function (con, err, scan) {
config = con
onScanId = scan
onError = err
openHard(scanName, hardEvent, function (item) { })
},
// 只打开扫描头,不受其他回调函数影响,离开页面时将scan传入null
initQr: function (con, err, scan) {
config = con
onScanCode = scan
onError = err
openHard(scanQrName, hardEvent, function (item) { })
},
// 只打开IC卡,不受其他回调函数影响,离开页面时将scan传入null
initIc: function (con, err, scan) {
config = con
onScanIc = scan
onError = err
openHard(scanIcName, hardEvent, function (item) { })
},
onScan: function (obj) {
onScan(null, obj)
}
}
window.Scan = Scan
})();
window.onerror = function(){
alert("错误:" + JSON.stringify(arguments));
};
#app{height:100%}.wrap[data-v-54b0e0eb]{min-height:100%;background:url(/img/sortBg.05051ecd.jpg) no-repeat;background-size:100% 100%;color:#fff;padding:0 .4rem}.top[data-v-54b0e0eb]{text-align:center}.top1[data-v-54b0e0eb]{display:flex;align-items:center;padding-top:.4rem;font-size:.48rem}.top1-left[data-v-54b0e0eb]{flex-shrink:0;text-align:left}.left-number[data-v-54b0e0eb]{margin-left:.2rem;font-size:.52rem}.top1-right[data-v-54b0e0eb]{flex:1;text-align:left;padding-left:.6rem}.top1-right span[data-v-54b0e0eb]:first-child{color:red}.top1-right span[data-v-54b0e0eb]:nth-child(2){color:#faf801;font-weight:700}.top1-right span[data-v-54b0e0eb]:last-child{font-size:.4rem}.top2[data-v-54b0e0eb]{font-size:.68rem;margin-top:.3rem}.top3[data-v-54b0e0eb]{margin-top:.16rem;font-size:2.16rem;color:red}.top3 span[data-v-54b0e0eb]{margin:0 .6rem}.top4[data-v-54b0e0eb]{display:flex;font-size:.44rem}.top4 div[data-v-54b0e0eb]{display:flex;align-items:center;justify-content:center}.top4 span[data-v-54b0e0eb]:first-child{margin-right:.1rem}.top4 span[data-v-54b0e0eb]:last-child{font-size:.72rem}.middle[data-v-54b0e0eb]{margin-top:.15rem}.middle div[data-v-54b0e0eb]{padding:0 .2rem;border:3px solid #e00101;text-shadow:0 .05rem .5rem #8df;color:#fff;font-size:.56rem;display:flex;align-items:center}.bottom[data-v-54b0e0eb]{margin-top:.3rem}.bottom1[data-v-54b0e0eb]{display:flex;align-items:center;justify-content:space-between}.bottom1-left[data-v-54b0e0eb]{font-size:.48rem;flex:1}.bottom1-left span[data-v-54b0e0eb]:first-child{color:red}.bottom1-left span[data-v-54b0e0eb]:nth-child(2){color:#faf801;font-weight:700}.bottom1-left span[data-v-54b0e0eb]:last-child{font-size:.4rem}.bottom1-right span[data-v-54b0e0eb]:first-child{font-size:.44rem;margin-right:.1rem}.bottom1-right span[data-v-54b0e0eb]:last-child{font-size:.52rem}.bottom2[data-v-54b0e0eb]{display:flex;font-size:.44rem;margin-top:.2rem}.bottom2 div[data-v-54b0e0eb]{display:flex;align-items:center;justify-content:center}.bottom2 span[data-v-54b0e0eb]:first-child{margin-right:.1rem}.bottom2 span[data-v-54b0e0eb]:last-child{font-size:.72rem}.surplus2[data-v-54b0e0eb]{width:30%}.surplus2.on[data-v-54b0e0eb]{width:50%}.bottom3[data-v-54b0e0eb]{display:flex;padding:0 .4rem;margin-top:.1rem;font-size:.3rem;align-items:center}.bottom3 span[data-v-54b0e0eb]{width:33.3%}.scan-code[data-v-54b0e0eb]{margin-top:2rem}.scan-img[data-v-54b0e0eb]{text-align:center}.scan-img img[data-v-54b0e0eb]{width:200px}.scan-introduce[data-v-54b0e0eb]{padding:1rem 0 0 1.6rem}.scan-phone[data-v-54b0e0eb]{padding-left:.4rem}.scan-phone div[data-v-54b0e0eb]{margin-top:.6rem;font-size:.4rem}.wrap[data-v-0bc6b05e]{background:rgba(0,0,0,.3);position:absolute;display:flex;align-items:center;justify-content:center;font-size:.16rem;top:0;left:0;width:100%;height:100%;z-index:99999}.wrap pre[data-v-0bc6b05e]{white-space:pre-wrap;word-wrap:break-word;line-height:.2rem;margin:.2rem 0}.wrap-content[data-v-0bc6b05e]{width:70%;height:80%;background:#fff}.top[data-v-0bc6b05e]{border-bottom:.1rem solid #ececec;padding:.1rem .15rem;height:8%;display:flex;align-items:center}.top span[data-v-0bc6b05e]{margin-left:.05rem;color:red;font-size:.2rem;font-weight:700}.middle[data-v-0bc6b05e]{padding:.1rem .15rem;border-bottom:.1rem solid #ececec}.middle-content[data-v-0bc6b05e]{margin-top:.1rem;display:flex;align-items:center}#pro[data-v-0bc6b05e]{width:4rem;height:.4rem}.bottom[data-v-0bc6b05e]{height:75%;overflow-y:scroll}.bottom-list[data-v-0bc6b05e]{margin-top:.3rem;border-bottom:2px solid #ececec;padding:0 .24rem}.bottom-list div[data-v-0bc6b05e]:not(:first-child){margin-top:.15rem}.bottom-list span[data-v-0bc6b05e]{margin-left:.1rem}.logining[data-v-0bc6b05e]{text-align:center;margin-top:20%;font-size:.3rem;color:red}.error[data-v-0bc6b05e]{display:flex;height:.6rem;align-items:center;justify-content:space-between;font-size:.3rem;color:red;padding:0 .3rem;position:absolute;bottom:0;width:100%}a,article,aside,body,button,dd,details,div,dl,dt,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,img,input,li,menu,nav,ol,p,section,select,table,tbody,td,textarea,th,tr,ul{margin:0;padding:0;box-sizing:border-box}table{border-collapse:collapse;border-spacing:0;text-align:left}a,button,input,select,textarea{outline:0 none;border:none;background:none}button,img,input,object,select,textarea{vertical-align:middle}html{font-size:50px}body,html{height:100%}body{color:#333;font-size:.16rem}img{border:none}a{text-decoration:none}i{font-style:normal}.one-txt-cut{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
/*# sourceMappingURL=app.7092e2ee.css.map*/
\ No newline at end of file
{"version":3,"file":"css/app.7092e2ee.css","mappings":"AACC,KACC,YCDD,uBACC,gBACA,4EACA,WACA,gBACA,uBAED,iBACC,wBAED,YACC,mBACA,kBACA,iBACA,6BAED,aACC,gBACA,+BAED,iBACC,iBACA,8BAED,sBAEC,mBACA,+CAED,UACC,+CAED,aACC,gBACA,8CAED,eACC,wBAED,gBACC,iBACA,wBAED,iBACC,kBACA,WACA,4BACA,cACC,wBAGF,YACC,iBACA,4BACA,YACC,mBACA,uBACA,yCAED,kBACC,wCAED,gBACC,0BAGF,iBACC,8BACA,eACC,yBACA,gCACA,WACA,iBACA,aACA,mBACA,0BAGF,gBACC,2BAED,YACC,mBACA,8BACA,gCAED,gBACC,wDAGD,UACC,iDAED,aACC,gBACA,gDAED,eACC,kDAED,gBACC,mBACA,iDAED,gBACC,2BAED,YACC,iBACA,iBACA,+BACA,YACC,mBACA,uBACA,4CAED,kBACC,2CAED,gBACC,4BAGF,UACC,8BAED,UACC,0BAED,YACC,gBACA,iBACA,gBACA,mBACA,gCACA,WACC,6BAIF,eACC,4BAED,iBACC,gCACA,WACC,kCAGF,uBACC,8BAED,kBACC,kCACA,gBACC,gBACA,CC3JF,uBACE,0BACA,kBACA,aACA,mBACA,uBACA,iBACA,MACA,OACA,WACA,YACA,cAEF,2BACE,qBACA,qBACA,kBACD,eAED,+BACE,UACA,WACA,gBAEF,sBACE,kCACA,qBACA,UACA,aACA,mBAEF,2BACE,mBACA,UACD,gBACA,gBAED,yBACE,qBACA,kCAEF,iCACC,iBACA,aACA,mBAED,sBACC,UAAU,CACV,aAED,yBACE,WACA,kBAEF,8BACC,iBACA,gCACA,iBAED,oDACC,kBAED,mCACC,kBAED,2BACC,kBACA,cAAc,CACd,gBACA,UAED,wBACC,aACA,aACA,mBACA,8BACA,gBACA,UACA,gBACA,kBACA,SACA,WCnFF,0LACI,QAAS,CACT,SAAU,CACb,qBACD,CACA,MAAM,wBAAwB,CAAC,gBAAgB,CAAC,eAAe,CAC/D,+BAA+B,cAAc,CAAC,WAAY,CAAC,eAAiB,CAC5E,wCAAwC,qBAAqB,CAC7D,KAAmB,cAAgB,CACnC,UADM,WAC4C,CAAlD,KAAmB,UAAW,CAAC,gBAAmB,CAClD,IAAK,WAAa,CAClB,EAAG,oBAAsB,CACzB,EAAE,iBAAmB,CAErB,aACI,eAAgB,CAChB,kBAAmB,CACnB,sBACJ","sources":["webpack://tbd_screen_client/./src/App.vue","webpack://tbd_screen_client/./src/views/sortScreen.vue","webpack://tbd_screen_client/./src/views/login.vue","webpack://tbd_screen_client/./src/assets/css/common.css"],"sourcesContent":["\r\n\t#app{\r\n\t\theight: 100%;\r\n\t}\r\n","\r\n\t.wrap{\r\n\t\tmin-height: 100%;\r\n\t\tbackground:url('../assets/image/sortBg.jpg') no-repeat;\r\n\t\tbackground-size: 100% 100%;\r\n\t\tcolor: #ffffff;\r\n\t\tpadding: 0 0.4rem;\r\n\t}\r\n\t.top{\r\n\t\ttext-align: center;\r\n\t}\r\n\t.top1{\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tpadding-top: 0.4rem;\r\n\t\tfont-size: 0.48rem;\r\n\t}\r\n\t.top1-left{\r\n\t\tflex-shrink: 0;\r\n\t\ttext-align: left;\r\n\t}\r\n\t.left-number{\r\n\t\tmargin-left: 0.2rem;\r\n\t\tfont-size: 0.52rem;\r\n\t}\r\n\t.top1-right{\r\n\t\tflex: 1;\r\n\t\ttext-align: left;\r\n\t\tpadding-left: 0.6rem;\r\n\t}\r\n\t.top1-right span:first-child{\r\n\t\tcolor: #ff0000;\r\n\t}\r\n\t.top1-right span:nth-child(2){\r\n\t\tcolor:#faf801;\r\n\t\tfont-weight: bold;\r\n\t}\r\n\t.top1-right span:last-child{\r\n\t\tfont-size: 0.4rem;\r\n\t}\r\n\t.top2{\r\n\t\tfont-size: 0.68rem;\r\n\t\tmargin-top: 0.3rem;\r\n\t}\r\n\t.top3{\r\n\t\tmargin-top: 0.16rem;\r\n\t\tfont-size: 2.16rem;\r\n\t\tcolor: #ff0000;\r\n\t\tspan{\r\n\t\t\tmargin:0 0.6rem;\r\n\t\t}\r\n\t}\r\n\t.top4{\r\n\t\tdisplay: flex;\r\n\t\tfont-size: 0.44rem;\r\n\t\tdiv{\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\tjustify-content: center;\r\n\t\t}\r\n\t\tspan:first-child{\r\n\t\t\tmargin-right: 0.1rem;\r\n\t\t}\r\n\t\tspan:last-child{\r\n\t\t\tfont-size: 0.72rem;\r\n\t\t}\r\n\t}\r\n\t.middle{\r\n\t\tmargin-top: 0.15rem;\r\n\t\tdiv{\r\n\t\t\tpadding:0 0.2rem;\r\n\t\t\tborder:3px solid #e00101;\r\n\t\t\ttext-shadow: 0 0.05rem 0.5rem #8df;\r\n\t\t\tcolor: #ffffff;\r\n\t\t\tfont-size: 0.56rem;\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\t}\r\n\t.bottom{\r\n\t\tmargin-top: 0.3rem;\r\n\t}\r\n\t.bottom1{\r\n\t\tdisplay: flex;\r\n\t\talign-items:center;\r\n\t\tjustify-content: space-between;\r\n\t}\r\n\t.bottom1-left{\r\n\t\tfont-size: 0.48rem;\r\n\t\tflex: 1;\r\n\t}\r\n\t.bottom1-left span:first-child{\r\n\t\tcolor: #ff0000;\r\n\t}\r\n\t.bottom1-left span:nth-child(2){\r\n\t\tcolor:#faf801;\r\n\t\tfont-weight: bold;\r\n\t}\r\n\t.bottom1-left span:last-child{\r\n\t\tfont-size: 0.4rem;\r\n\t}\r\n\t.bottom1-right span:first-child{\r\n\t\tfont-size: 0.44rem;\t\r\n\t\tmargin-right: 0.1rem;\r\n\t}\r\n\t.bottom1-right span:last-child{\r\n\t\tfont-size: 0.52rem;\r\n\t}\r\n\t.bottom2{\r\n\t\tdisplay: flex;\r\n\t\tfont-size: 0.44rem;\r\n\t\tmargin-top: 0.2rem;\r\n\t\tdiv{\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\tjustify-content: center;\r\n\t\t}\r\n\t\tspan:first-child{\r\n\t\t\tmargin-right: 0.1rem;\r\n\t\t}\r\n\t\tspan:last-child{\r\n\t\t\tfont-size: 0.72rem;\r\n\t\t}\r\n\t}\r\n\t.surplus2{\r\n\t\twidth: 30%;\r\n\t}\r\n\t.surplus2.on{\r\n\t\twidth: 50%;\r\n\t}\r\n\t.bottom3{\r\n\t\tdisplay: flex;\r\n\t\tpadding: 0 0.4rem;\r\n\t\tmargin-top: 0.1rem;\r\n\t\tfont-size:0.3rem;\r\n\t\talign-items: center;\r\n\t\tspan{\r\n\t\t\twidth: 33.3%;\r\n\t\t}\r\n\t}\r\n\t// 扫码购票\r\n\t.scan-code{\r\n\t\tmargin-top: 2rem;\r\n\t}\r\n\t.scan-img{\r\n\t\ttext-align: center;\r\n\t\timg{\r\n\t\t\twidth:200px;\r\n\t\t}\r\n\t}\r\n\t.scan-introduce{\r\n\t\tpadding: 1rem 0 0 1.6rem;\r\n\t}\r\n\t.scan-phone{\r\n\t\tpadding-left: 0.4rem;\r\n\t\tdiv{\r\n\t\t\tmargin-top: 0.6rem;\r\n\t\t\tfont-size: 0.4rem;\r\n\t\t}\r\n\t}\r\n","\r\n\t\r\n\t.wrap{\r\n\t background: rgba(0, 0, 0, 0.3);\r\n\t position: absolute;\r\n\t display: flex;\r\n\t align-items: center;\r\n\t justify-content: center;\r\n\t font-size:0.16rem;\r\n\t top: 0;\r\n\t left: 0;\r\n\t width: 100%;\r\n\t height: 100%;\r\n\t z-index: 99999;\r\n\t}\r\n\t.wrap pre {\r\n\t white-space: pre-wrap;\r\n\t word-wrap: break-word;\r\n\t line-height: 0.2rem;\r\n\t\tmargin: 0.2rem 0;\r\n\t}\r\n\t.wrap-content {\r\n\t width: 70%;\r\n\t height: 80%;\r\n\t background: #ffffff;\r\n\t}\r\n\t.top {\r\n\t border-bottom: 0.1rem solid #ececec;\r\n\t padding: 0.1rem 0.15rem;\r\n\t height: 8%;\r\n\t display: flex;\r\n\t align-items: center;\r\n\t}\r\n\t.top span{\r\n\t margin-left:0.05rem;\r\n\t color: #ff0000;\r\n\t\tfont-size:0.2rem;\r\n\t\tfont-weight: bold;\r\n\t}\r\n\t.middle {\r\n\t padding:0.1rem 0.15rem;\r\n\t border-bottom:0.1rem solid #ececec;\r\n\t}\r\n\t.middle-content{\r\n\t\tmargin-top:0.1rem;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t}\r\n\t#pro{\r\n\t\twidth:4rem;\r\n\t\theight: 0.4rem;\r\n\t}\r\n\t.bottom{\r\n\t height: 75%;\r\n\t overflow-y: scroll;\r\n\t}\r\n\t.bottom-list{\r\n\t\tmargin-top: 0.3rem;\r\n\t\tborder-bottom: 2px solid #ececec;\r\n\t\tpadding: 0 0.24rem;\r\n\t}\r\n\t.bottom-list div:not(:first-child){\r\n\t\tmargin-top: 0.15rem;\r\n\t}\r\n\t.bottom-list span{\r\n\t\tmargin-left: 0.1rem;\r\n\t}\r\n\t.logining{\r\n\t\ttext-align: center;\r\n\t\tmargin-top:20%;\r\n\t\tfont-size: 0.3rem;\r\n\t\tcolor: #ff0000;\r\n\t}\r\n\t.error{\r\n\t\tdisplay: flex;\r\n\t\theight: 0.6rem;\r\n\t\talign-items: center;\r\n\t\tjustify-content: space-between;\r\n\t\tfont-size: 0.3rem;\r\n\t\tcolor: #ff0000;\r\n\t\tpadding: 0 0.3rem;\r\n\t\tposition: absolute;\r\n\t\tbottom: 0;\r\n\t\twidth: 100%;\r\n\t}\r\n","body, div, ul, li, ol, h1, h2, h3, h4, h5, h6, input, textarea, select, p, dl, dt, dd, a, img, button, form, table, th, tr, td, tbody, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {\r\n margin: 0;\r\n padding: 0;\r\n\tbox-sizing: border-box;\r\n}\r\ntable{border-collapse:collapse;border-spacing:0;text-align:left}\r\ninput,textarea,button,select,a{outline:0 none;border: none;background: none;}\r\nimg,object,input,textarea,button,select{vertical-align:middle}\r\nhtml {height: 100%;font-size: 50px;}\r\nbody {height: 100%;color: #333;font-size: 0.16rem;}\r\nimg {border: none;}\r\na {text-decoration: none;}\r\ni{font-style: normal;}\r\n/*单行溢出*/\r\n.one-txt-cut{\r\n overflow: hidden;\r\n white-space: nowrap;\r\n text-overflow: ellipsis;\r\n}"],"names":[],"sourceRoot":""}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
* { moz-user-select: -moz-none; -moz-user-select: none; -o-user-select: none; -khtml-user-select: none;
-webkit-user-select: none; -ms-user-select: none; user-select: none; }
.copy { moz-user-select: text; -moz-user-select: text; -o-user-select: text; -khtml-user-select: text;
-webkit-user-select: text; -ms-user-select: text; user-select: text; }
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none !important; margin: 0; }
.drag { -webkit-user-select: none; -webkit-app-region: drag; }
.no_drag { -webkit-user-select: none; -webkit-app-region: no-drag; }
.welcome_screen { position: fixed; top: 101px; right: 38px; }
.welcome_screen a { color: #5a738a; }
.welcome_screen a:hover { color: #518d9c; }
.relative { position: relative; }
.relative strong { position: absolute; right: 25px; }
/*-------------------------------------简单表格数据--------------------------------------------*/
.simple { padding: 23px; box-sizing: border-box; }
.simple table { border: 1px solid #DDDDDD; width: 100%; margin-top: 20px; }
.simple table tr { height: 50px; border-bottom: 1px solid #DDDDDD; text-align: center; }
.simple table td:last-child a, .reBottom tr td:nth-last-child(2) a, .slBottom table td:last-child a, .reBottom tr td:nth-last-child(2) a {
cursor: pointer; color: #5a738a;
}
/*.simple table tr:nth-child(2n) { background: #f9f9f9; }*/
.simple th, .simple td { border: 1px solid #ddd; padding: 5px 10px 5px 10px; }
.simple th { min-width: 80px; width: 80px; text-align: right; }
.simple td { text-align: left; }
.simple > p { margin-top: 15px; }
.simple > p span { margin: 0 2px; }
/*-------------------------------------弹出窗体样式--------------------------------------------*/
.frameBack .back {position: fixed; top: 0px;left: 0px; width: 100%;height: 100%; z-index: 9999997; background: #4c4c4c;opacity: 0.4;filter: alpha(opacity=40);}
.frameBack .front {position: fixed; top: 0px;left: 0px; width: 100%;height: 100%; margin-top: 0px; margin-left: 0px; z-index: 9999998;}
.frameBack .front > div {width: 100%; height: 100%;position: relative;}
.frameBack .front iframe {width: 100%;height: 100%; border: 0px;padding: 0px;margin: 0px;}
.frameBack .front img { display: none; position: absolute; top: -20px; right: 20px; width: 20px; height: 20px;border: 0px;padding: 0px;margin: 0px; z-index: 9999999;}
\ No newline at end of file
/*---------------控制屏幕选择拖动----------------------*/
* { moz-user-select: -moz-none; -moz-user-select: none;-o-user-select: none;-khtml-user-select: none;
-webkit-user-select: none; -ms-user-select: none; user-select: none; }
.drag { -webkit-user-select: none; -webkit-app-region: drag;}
.no_drag { -webkit-user-select: none; -webkit-app-region: no-drag;}
/*----------------公共部分--------------------------*/
body,div,ul,li,img,p,span,h1,h2,h3,h4,h5,b,i,input,button,select,table,tr,td{margin: 0;padding: 0;}
body{font-family: "微软雅黑";color: #FFFFFF;}
img{border: none;}
i{font-style: normal;}
a{text-decoration: none;}
li{list-style-type: none;}
html,body{width: 100%;height: 100%;}
.comTop{width: 100%;height: 100%;}
#page_base_welcome{background: url(../images/Bg.jpg) no-repeat;background-size: 100% 100%;width: 100%;height: 100%;}
#page_welcome_new{width: 100%;height: 100%;}
#page_visitor{width: 100%;height: 100%;}
#page_consume_analysis{width: 100%;height: 100%;}
/*.comTop>div{width: 100%;position: absolute;top: 0;left: 0;}*/
.comFooter{width: 100%;align-items: center;z-index: 99;}
.comFooter p{font-size: 36px;color: #FFFFFF;padding: 0 15px;box-sizing: border-box;width: 100%;display: flex;align-items: center;}
.comFooter .img_Logo{padding: 0 0.25rem;box-sizing: border-box;text-align: right;flex: 1;}
.titleVersionName{ padding-left: 15px; font-size: 0.15rem;}
.self{text-align: center;padding-top: 0.4rem;}
.self p:first-child{font-size: 0.98rem;padding-left: 7rem;text-align: left;}
.self p:first-child span{margin: 0 0.2rem;}
.self p:first-child i{font-size:0.42rem;}
.self p:nth-child(2){margin-top:0.3rem;font-size:0.68rem;}
.self p:nth-child(3){color:#ff0000;font-size: 2.16rem;line-height: 2.5rem;margin-top: 0.15rem;}
.self p:nth-child(4){font-size: 0.42rem;color: #FFFFFF;margin-top: 0.15rem;}
.self p:nth-child(4) span{margin: 0 0.6rem 0 0.3rem;font-size: 0.72rem;position: relative;top: 0.1rem;}
.other{margin-top: 1.7rem;text-align: center;}
.other p:first-child{font-size: 0.58rem;color: #e00101;text-align: center;position: absolute;top: -1.3rem;width: 100%;text-align: center;display: none;}
.other p:first-child span{padding: 0.02rem 0.4rem;display: inline-block;border: 3px solid #e00101;}
.other p:nth-child(2){font-size: 0.52rem;position: relative;top: -0.08rem;}
.other p:nth-child(2) b{font-weight: 400;font-size: 0.42rem;margin-top: 0.4rem;display: inline-block;}
.other p:nth-child(2) b i{font-size: 0.62rem;margin: 0 0.4rem 0 0.2rem;position: relative;top: 0.1rem;}
.other p:nth-child(3){position: relative;top: -0.2rem;}
.other p:nth-child(3) span{font-size: 0.42rem;}
.other p:nth-child(3) i{font-size: 0.72rem;margin: 0 0.6rem 0 0.3rem;position:relative; top:0.1rem;}
.other p:nth-child(4) span{padding: 0.02rem 0.4rem;display: inline-block;border: 3px solid #e00101;text-shadow: 0 0.05rem 0.5rem #8df;color: #FFFFFF;}
.other p:nth-child(4){font-size: 0.58rem;color: #e00101;text-align: center;position: absolute;top: -1.4rem;width: 90%;text-align: center;left: 50%;transform: translateX(-50%);}
......@@ -370,13 +370,13 @@
return this.__execute("Update", data, func, funcError);
},
uninit: function () {
try {
this.__tubida.kill('SIGTERM');
// this.__tubida.kill('SIGHUP');
}
catch (e) {
alert(e);
}
try {
this.__tubida.kill('SIGTERM');
//this.__tubida.kill('SIGHUP');
}
catch (e) {
alert(e);
}
}
};
......@@ -412,6 +412,7 @@
// 异步调用注册方法,初始化需要在异步函数中调用
// status为调用函数返回的状态,同时会线程自动调用 OnStatus(status) 函数
register: function (func, funcError) {
//debugger;
var that = this;
that.hard.register({
name: that.PrinterHardName,
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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