mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-10 00:40:30 +08:00
4f79e10bd6
Former-commit-id: 376f94edd602d3dfed1cbada6e08361ee7b08e73
1 line
5.3 KiB
JavaScript
1 line
5.3 KiB
JavaScript
webpackJsonp([163],{"+tXm":function(n,t,a){var e=a("QjoJ");"string"==typeof e&&(e=[[n.i,e,""]]),e.locals&&(n.exports=e.locals);a("rjj0")("70f1d265",e,!0)},QjoJ:function(n,t,a){(n.exports=a("FZ+f")(!1)).push([n.i,"\n@media screen and (max-width: 1590px) {\n.up-box[data-v-71f87c3c] {\n width: 386px;\n}\n.card-box[data-v-71f87c3c] {\n width: 386px;\n}\n.avatar[data-v-71f87c3c] {\n max-width: 386px;\n}\n.two-li[data-v-71f87c3c] {\n margin-left: 40px;\n}\n}\n@media screen and (min-width: 1590px) {\n.up-box[data-v-71f87c3c] {\n width: 486px;\n}\n.card-box[data-v-71f87c3c] {\n width: 486px;\n}\n.avatar[data-v-71f87c3c] {\n max-width: 486px;\n}\n.two-li[data-v-71f87c3c] {\n margin-left: 80px;\n}\n}\n.none-data[data-v-71f87c3c] {\n font-size: 16px;\n color: #74777c;\n line-height: 308px;\n}\n.card-box[data-v-71f87c3c] {\n height: 335px;\n display: inline-block;\n margin-top: 80px;\n text-align: center;\n position: relative;\n background: #f4f5f9;\n padding: 0 0 0 15px;\n overflow-y: auto;\n margin-left: -65px;\n}\n.avatar-uploader .el-upload[data-v-71f87c3c] {\n border: 1px dashed #aaa;\n border-radius: 6px;\n cursor: pointer;\n position: relative;\n overflow: hidden;\n}\n.avatar-uploader .el-upload[data-v-71f87c3c]:hover {\n border-color: #409eff;\n}\n.avatar-uploader-icon[data-v-71f87c3c] {\n border: 1px dashed #aaa;\n font-size: 28px;\n color: #8c939d;\n width: 178px;\n height: 178px;\n line-height: 178px;\n text-align: center;\n display: none;\n}\n.up-box[data-v-71f87c3c] {\n text-align: center;\n line-height: 335px;\n height: 335px;\n display: block;\n float: left;\n margin-right: 80px;\n margin-top: 80px;\n margin-bottom: 74px;\n display: table-cell;\n background: #f4f5f9;\n}\n.avatar[data-v-71f87c3c] {\n max-height: 335px;\n vertical-align: middle;\n text-align: center;\n margin-top: -5px;\n}\n.card-info[data-v-71f87c3c] {\n text-align: left;\n position: relative;\n padding: 20px;\n height: 100%;\n border-radius: 6px;\n overflow: auto;\n}\n.card-info li[data-v-71f87c3c] {\n font-size: 14px;\n line-height: 30px;\n}\n.card-info li span[data-v-71f87c3c] {\n font-size: 14px;\n}\nli[data-v-71f87c3c] {\n list-style: none;\n line-height: 30px;\n}\n.simulator-box[data-v-71f87c3c] {\n position: relative;\n min-height: 280px;\n width: 1500px;\n}\n.simulator-box .result-tip-text[data-v-71f87c3c] {\n padding-left: 5px;\n border-left: 4px solid #3399FF;\n display: inline-block;\n float: left;\n height: 18px;\n line-height: 18px;\n font-size: 14px;\n margin-top: 40px;\n}\n[data-v-71f87c3c] .el-upload--picture-card {\n width: 170px;\n height: 170px;\n}\n[data-v-71f87c3c] .el-upload-list--picture-card .el-upload-list__item {\n width: 170px;\n height: 170px;\n text-align: center;\n vertical-align: middle;\n}\n[data-v-71f87c3c] .el-upload-list--picture-card .el-upload-list__item-thumbnail {\n max-width: 170px;\n max-height: 170px;\n width: auto;\n height: auto;\n}\n.default-frame[data-v-71f87c3c] {\n height: 147px;\n width: 110px;\n margin-bottom: 13px;\n margin-right: 24px;\n background: url("+a("gpWv")+") center no-repeat;\n}\n.card-avatar[data-v-71f87c3c] {\n display: inline-block;\n position: absolute;\n right: 23px;\n top: 25px;\n}\n.card-avatar img[data-v-71f87c3c] {\n max-height: 110px;\n max-width: 110px;\n}\n",""])},x7eG:function(n,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=a("MZdq"),i=(a("9Zzp"),a("mBCk")),o=a("COE1"),p={mixins:[i.a],data:function(){return{tips:"请上传图片",formatTips:"图片支持jpg、jpeg、png、bmp、jfif 格式,像素4000*3000以内,最大支持3MB",idCardUrl:"",responseText:"",plateNo:[],idCardBackInfo:{},isShowInfo:!1,types:["image/jpeg","image/png","image/bmp","image/jpg","image/jfif"]}},methods:{upload:function(n){var t=this,a={channelCode:"system",image:n};e.b.carLicensePlateOcr(a).then(function(n){n.data&&n.success?(t.isShowInfo=!0,t.plateNo=n.data.vehicleAttributeInfos,t.responseText=n):(t.isShowInfo=!1,t.$message.error(n.message),t.responseText=n)})}},components:{responseText:o.a}},r={render:function(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",{staticClass:"app-container"},[a("el-card",{attrs:{shadow:"hover"}},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",{staticStyle:{"font-size":"14px"}},[n._v("通过上传的车牌图片,支持对中国大陆机动车普通蓝底白字车牌的检测和识别,包括地域编号和车牌号")])]),n._v(" "),a("div",{staticClass:"simulator-box"},[a("div",{staticClass:"up-box",staticStyle:{position:"relative"}},[a("img-upload",{attrs:{buttonText:"上传图片",tips:n.tips,types:n.types,formatTip:n.formatTips,fileSize:3},on:{upload:n.upload}})],1),n._v(" "),a("span",{staticClass:"result-tip-text"},[n._v("识别结果")]),n._v(" "),a("div",{staticClass:"card-box"},[n.isShowInfo?a("ul",{staticClass:"card-info"},n._l(n.plateNo,function(t,e){return a("li",{key:e},[n._v("\n "+n._s(t.attributeValue)+"\n ")])}),0):n._e(),n._v(" "),n.isShowInfo?n._e():a("span",{staticClass:"none-data"},[n._v("暂无数据")])])])]),n._v(" "),a("response-text",{attrs:{responseText:n.responseText}})],1)},staticRenderFns:[]};var d=a("VU/8")(p,r,!1,function(n){a("+tXm")},"data-v-71f87c3c",null);t.default=d.exports}}); |