apply-clients 3.2.34 → 3.2.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-android/static/15.js +2 -2
- package/dist-android/static/23.js +2 -2
- package/index.html +1 -1
- package/package.json +5 -5
- package/src/AndroidApp.vue +10 -9
- package/src/android-bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
- package/src/android-bootstrap/fonts/glyphicons-halflings-regular.svg +288 -0
- package/src/android-bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/src/android-bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
- package/src/android-bootstrap/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/src/android-bootstrap/less/.csscomb.json +304 -0
- package/src/android-bootstrap/less/.csslintrc +19 -0
- package/src/android-bootstrap/less/alerts.less +73 -0
- package/src/android-bootstrap/less/badges.less +66 -0
- package/src/android-bootstrap/less/bootstrap.less +56 -0
- package/src/android-bootstrap/less/breadcrumbs.less +26 -0
- package/src/android-bootstrap/less/button-groups.less +247 -0
- package/src/android-bootstrap/less/buttons.less +173 -0
- package/src/android-bootstrap/less/carousel.less +269 -0
- package/src/android-bootstrap/less/close.less +34 -0
- package/src/android-bootstrap/less/code.less +69 -0
- package/src/android-bootstrap/less/component-animations.less +33 -0
- package/src/android-bootstrap/less/dropdowns.less +216 -0
- package/src/android-bootstrap/less/forms.less +626 -0
- package/src/android-bootstrap/less/glyphicons.less +305 -0
- package/src/android-bootstrap/less/grid.less +84 -0
- package/src/android-bootstrap/less/input-groups.less +167 -0
- package/src/android-bootstrap/less/jumbotron.less +52 -0
- package/src/android-bootstrap/less/labels.less +64 -0
- package/src/android-bootstrap/less/list-group.less +141 -0
- package/src/android-bootstrap/less/media.less +66 -0
- package/src/android-bootstrap/less/mixins/alerts.less +14 -0
- package/src/android-bootstrap/less/mixins/background-variant.less +9 -0
- package/src/android-bootstrap/less/mixins/border-radius.less +18 -0
- package/src/android-bootstrap/less/mixins/buttons.less +69 -0
- package/src/android-bootstrap/less/mixins/center-block.less +7 -0
- package/src/android-bootstrap/less/mixins/clearfix.less +22 -0
- package/src/android-bootstrap/less/mixins/forms.less +90 -0
- package/src/android-bootstrap/less/mixins/gradients.less +59 -0
- package/src/android-bootstrap/less/mixins/grid-framework.less +92 -0
- package/src/android-bootstrap/less/mixins/grid.less +122 -0
- package/src/android-bootstrap/less/mixins/hide-text.less +21 -0
- package/src/android-bootstrap/less/mixins/image.less +33 -0
- package/src/android-bootstrap/less/mixins/labels.less +12 -0
- package/src/android-bootstrap/less/mixins/list-group.less +30 -0
- package/src/android-bootstrap/less/mixins/nav-divider.less +10 -0
- package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -0
- package/src/android-bootstrap/less/mixins/opacity.less +8 -0
- package/src/android-bootstrap/less/mixins/pagination.less +24 -0
- package/src/android-bootstrap/less/mixins/panels.less +24 -0
- package/src/android-bootstrap/less/mixins/progress-bar.less +10 -0
- package/src/android-bootstrap/less/mixins/reset-filter.less +8 -0
- package/src/android-bootstrap/less/mixins/reset-text.less +18 -0
- package/src/android-bootstrap/less/mixins/resize.less +6 -0
- package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -0
- package/src/android-bootstrap/less/mixins/size.less +10 -0
- package/src/android-bootstrap/less/mixins/tab-focus.less +9 -0
- package/src/android-bootstrap/less/mixins/table-row.less +44 -0
- package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -0
- package/src/android-bootstrap/less/mixins/text-overflow.less +8 -0
- package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -0
- package/src/android-bootstrap/less/mixins.less +40 -0
- package/src/android-bootstrap/less/modals.less +151 -0
- package/src/android-bootstrap/less/navbar.less +660 -0
- package/src/android-bootstrap/less/navs.less +302 -0
- package/src/android-bootstrap/less/normalize.less +424 -0
- package/src/android-bootstrap/less/pager.less +76 -0
- package/src/android-bootstrap/less/pagination.less +89 -0
- package/src/android-bootstrap/less/panels.less +274 -0
- package/src/android-bootstrap/less/popovers.less +131 -0
- package/src/android-bootstrap/less/print.less +101 -0
- package/src/android-bootstrap/less/progress-bars.less +87 -0
- package/src/android-bootstrap/less/responsive-embed.less +35 -0
- package/src/android-bootstrap/less/responsive-utilities.less +194 -0
- package/src/android-bootstrap/less/scaffolding.less +161 -0
- package/src/android-bootstrap/less/tables.less +262 -0
- package/src/android-bootstrap/less/theme.less +291 -0
- package/src/android-bootstrap/less/thumbnails.less +36 -0
- package/src/android-bootstrap/less/tooltip.less +102 -0
- package/src/android-bootstrap/less/type.less +303 -0
- package/src/android-bootstrap/less/utilities.less +55 -0
- package/src/android-bootstrap/less/variables.less +896 -0
- package/src/android-bootstrap/less/wells.less +29 -0
- package/src/apply.js +143 -25
- package/src/applyAndroid.js +5 -3
- package/src/components/Util.js +5 -5
- package/src/components/app_apply/AppServiceView.vue +2 -2
- package/src/components/app_apply/Process/AppExplorationUser.vue +200 -310
- package/src/components/app_apply/Process/AppProgressReport.vue +84 -0
- package/src/components/app_apply/Process/AppServiceControl.vue +215 -4
- package/src/components/app_apply/ProgressReport/ProgressReportDetail.vue +64 -0
- package/src/components/app_apply/ProgressReport/ProgressReportList.vue +209 -0
- package/src/components/app_apply/Supervisory/AppProcessSupervisory.vue +12 -129
- package/src/components/image/tubiao.png +0 -0
- package/src/components/product/{ApplyCharge → Apply/ApplyCharge}/ApplyChargeList.vue +4 -8
- package/src/components/product/{ApplyCharge → Apply/ApplyCharge}/ApplyChargeSearch.vue +2 -4
- package/src/components/product/{Function → Apply/Function}/InstallFunction.vue +4 -4
- package/src/components/product/{Function → Apply/Function}/InstallInfoSelect.vue +12 -16
- package/src/components/product/{Function → Apply/Function}/Service/FunctionServiceControl.vue +0 -1
- package/src/components/product/{Function → Apply/Function}/StopApplyCrrdList.vue +0 -0
- package/src/components/product/{Function → Apply/Function}/functions/ApplyRecordCancel.vue +1 -1
- package/src/components/product/{Function → Apply/Function}/functions/StopInstall.vue +11 -25
- package/src/components/product/{Process → Apply/Process}/ExplorationSelect.vue +5 -8
- package/src/components/product/{Process → Apply/Process}/ExplorationUser.vue +3 -4
- package/src/components/product/Apply/Process/Processes/InstallationDetails.vue +478 -0
- package/src/components/product/{Process → Apply/Process}/Processes/addressAndUserinfoManagement.vue +3 -8
- package/src/components/product/{Process → Apply/Process}/Processes/chargeManagement.vue +11 -51
- package/src/components/product/{Process → Apply/Process}/Processes/supplementalAgreement.vue +1 -1
- package/src/components/product/{Process → Apply/Process}/Service/ServiceControl.vue +11 -75
- package/src/components/product/{Process → Apply/Process}/ShowBackReason.vue +0 -0
- package/src/components/product/{Supervisory → Apply/Supervisory}/Service/SupervisoryServiceControl.vue +0 -5
- package/src/components/product/{Supervisory → Apply/Supervisory}/SupervisoryControl.vue +43 -22
- package/src/components/product/{Supervisory → Apply/Supervisory}/SupervisoryList.vue +15 -13
- package/src/components/product/{Supervisory → Apply/Supervisory}/SupervisoryhCart.vue +1 -1
- package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContract.vue +156 -0
- package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContractInformation.vue +429 -0
- package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContractList.vue +267 -0
- package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContract.vue +138 -0
- package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContractInformation.vue +715 -0
- package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContractList.vue +304 -0
- package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContract.vue +119 -0
- package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContractInformation.vue +286 -0
- package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContractList.vue +258 -0
- package/src/components/product/Ledger/FacilityManagement/EmployRecord/EmployRecord.vue +24 -0
- package/src/components/product/Ledger/FacilityManagement/EmployRecord/EmployRecordList.vue +218 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityEmployRecord.vue +124 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventory.vue +307 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventoryInformation.vue +583 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventoryList.vue +285 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityServiceRecord.vue +113 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/addFacilityInformation.vue +406 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/addoldFacilityInformation.vue +326 -0
- package/src/components/product/Ledger/FacilityManagement/ScrapRecord/ScrapRecord.vue +24 -0
- package/src/components/product/Ledger/FacilityManagement/ScrapRecord/ScrapRecordList.vue +157 -0
- package/src/components/product/Ledger/FacilityManagement/ServiceRecord/ServiceRecord.vue +24 -0
- package/src/components/product/Ledger/FacilityManagement/ServiceRecord/ServiceRecordList.vue +168 -0
- package/src/components/product/Ledger/FileDownload/FileDownload.vue +42 -0
- package/src/components/product/Ledger/Function/InstallFunction.vue +118 -0
- package/src/components/product/Ledger/Function/InstallInfoSelect.vue +299 -0
- package/src/components/product/Ledger/Function/Service/FunctionServiceControl.vue +220 -0
- package/src/components/product/Ledger/Function/functions/PauseInstall.vue +92 -0
- package/src/components/product/Ledger/ImportApply/ImportApply.vue +68 -0
- package/src/components/product/Ledger/MaterialManagement/DeliveryRecord/DeliveryRecord.vue +24 -0
- package/src/components/product/Ledger/MaterialManagement/DeliveryRecord/DeliveryRecordList.vue +281 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/InventoryInformation.vue +313 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/InventoryInformationList.vue +250 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialDeliveryRecord.vue +110 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialEarlyWarning.vue +194 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialInformation.vue +186 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialOutStock.vue +438 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialOutboundOrder.vue +457 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialWarehousingRecord.vue +110 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseMaterial.vue +425 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseOrder.vue +481 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/ReturnMaterial.vue +321 -0
- package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrder.vue +86 -0
- package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrderInformation.vue +327 -0
- package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrderList.vue +304 -0
- package/src/components/product/Ledger/MaterialManagement/OutboundOrder/PrintMaterialBill.vue +139 -0
- package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PrintPurchaseOrder.vue +157 -0
- package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecords.vue +73 -0
- package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecordsInformation.vue +268 -0
- package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecordsList.vue +261 -0
- package/src/components/product/Ledger/MaterialManagement/WarehousingRecord/WarehousingRecord.vue +24 -0
- package/src/components/product/Ledger/MaterialManagement/WarehousingRecord/WarehousingRecordList.vue +275 -0
- package/src/components/product/Ledger/Process/ProcessBusiness.vue +155 -0
- package/src/components/product/Ledger/Process/ProcessSelect.vue +340 -0
- package/src/components/product/Ledger/Process/Processes/ExhibitionPicture.vue +27 -0
- package/src/components/product/Ledger/Process/Processes/ProgressReport.vue +236 -0
- package/src/components/product/Ledger/Process/Processes/ProjectMaterialList.vue +77 -0
- package/src/components/product/Ledger/Process/Processes/QinhuaMaterialList.vue +72 -0
- package/src/components/product/Ledger/Process/Service/ServiceControl.vue +639 -0
- package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingInformation.vue +316 -0
- package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingRecord.vue +67 -0
- package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingRecordList.vue +194 -0
- package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningInformation.vue +385 -0
- package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningRecord.vue +70 -0
- package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningRecordList.vue +208 -0
- package/src/components/product/Ledger/Stop/StopApply.vue +103 -0
- package/src/components/product/Ledger/Stop/StopApplyList.vue +241 -0
- package/src/components/product/Ledger/Supervisory/ProcessSupervisory.vue +163 -0
- package/src/components/product/Ledger/Supervisory/Service/RenWuDan.vue +78 -0
- package/src/components/product/Ledger/Supervisory/Service/SupervisoryServiceControl.vue +606 -0
- package/src/components/product/Ledger/Supervisory/SupervisoryCart.vue +102 -0
- package/src/components/product/Ledger/Supervisory/SupervisoryList.vue +387 -0
- package/src/components/product/ServiceView.vue +376 -374
- package/src/components/product/VueUtils/ApplyUpload.vue +1 -3
- package/src/expandcssAndroid.less +534 -0
- package/src/main.js +2 -0
- package/static/Functions.js +91 -0
- package/static/Jsons.js +784 -0
- package/static/ManageHomePic//346/244/255/345/234/2064.png +0 -0
- package/static/ManagementControl/echarts10.png +0 -0
- package/static/ManagementControl/echarts11.png +0 -0
- package/static/ManagementControl/echarts12.png +0 -0
- package/static/ManagementControl/echarts13.png +0 -0
- package/static/ManagementControl/echarts14.png +0 -0
- package/static/ManagementControl/echarts15.png +0 -0
- package/static/ManagementControl/echarts16.png +0 -0
- package/static/ManagementControl/echarts17.png +0 -0
- package/static/ManagementControl/echarts18.png +0 -0
- package/static/ManagementControl/echarts4.png +0 -0
- package/static/ManagementControl/echarts5.png +0 -0
- package/static/ManagementControl/echarts51.png +0 -0
- package/static/ManagementControl/echarts6.png +0 -0
- package/static/ManagementControl/echarts7.png +0 -0
- package/static/ManagementControl/echarts71.png +0 -0
- package/static/ManagementControl/echarts8.png +0 -0
- package/static/ManagementControl//345/233/276/345/261/20211/346/213/267/350/264/235.png +0 -0
- package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2353.png +0 -0
- package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2355.png +0 -0
- package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2356.png +0 -0
- package/static/class.js +97 -0
- package/static/images/lefticon//346/226/207/344/273/266/346/250/241/345/235/227.png +0 -0
- package/static/init.js +135 -0
- package/static/jcwx.jpg +0 -0
- package/static/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/static/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/static/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/static/lefticon//345/233/276/345/261/202577.png +0 -0
- package/static/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/static/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/static/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/static/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/static/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/static/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/static/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/static/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/static/lefticon//347/237/251/345/275/2421183.png +0 -0
- package/static/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/static/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/static/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/static/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/static/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/static/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/static/loginbg1.jpg +0 -0
- package/static/loginbg_jincheng.jpg +0 -0
- package/static/loginbgmain.jpg +0 -0
- package/static/mainicon/adddevice.png +0 -0
- package/static/mainicon/addmeter.png +0 -0
- package/static/mainicon/bank.png +0 -0
- package/static/mainicon/biaopan.png +0 -0
- package/static/mainicon/cad.jpg +0 -0
- package/static/mainicon/chaobiaoyuan.png +0 -0
- package/static/mainicon/danganguanli.png +0 -0
- package/static/mainicon/deletedevice.png +0 -0
- package/static/mainicon/excel.jpg +0 -0
- package/static/mainicon/huizong.png +0 -0
- package/static/mainicon/jibiaoguanli.png +0 -0
- package/static/mainicon/jibiaoguanli2.png +0 -0
- package/static/mainicon/jiezhang.png +0 -0
- package/static/mainicon/loginbg.jpg +0 -0
- package/static/mainicon/shouqishoufei.png +0 -0
- package/static/mainicon/treeopen.png +0 -0
- package/static/mainicon/treeout.png +0 -0
- package/static/mainicon/treeset.png +0 -0
- package/static/mainicon/word.jpg +0 -0
- package/static/mainicon/wulianwang.png +0 -0
- package/static/mainicon/yingyechaxun.png +0 -0
- package/static/mainicon/zongheyewu.png +0 -0
- package/static/newStyle/loginbg-liaoyuan.gif +0 -0
- package/static/newStyle/loginbg.gif +0 -0
- package/static/newStyle/loginbg1366.gif +0 -0
- package/static/newStyle/loginbg_1.gif +0 -0
- package/static/newStyle/searchin.png +0 -0
- package/static/newStyle/searchout.png +0 -0
- package/static/newStyle//350/261/252/344/275/263/347/207/203/346/260/224.png +0 -0
- package/static/newStyle.7z +0 -0
- package/static/newStyle.zip +0 -0
- package/static/refresh.png +0 -0
- package/static/static.zip +0 -0
- package/static/tools.js +246 -0
- package/static/treeclose.png +0 -0
- package/static/wasm_exec.js +591 -0
- package/src/components/app_apply/Process/Processes/AppInstallationDetails.vue +0 -456
- package/src/components/product/ApplyCharge/ApplyChargeReport.vue +0 -107
- package/src/components/product/Process/Processes/InstallationDetails.vue +0 -515
- package/src/components/product/Process/Processes/printCharge.vue +0 -133
- package/src/components/product/Test.vue +0 -36
- package/src/components/product/VueUtils/ToolsPage.vue +0 -51
- package/src/components/product/VueUtils/Tree.vue +0 -330
|
@@ -157,9 +157,7 @@ export default {
|
|
|
157
157
|
i--
|
|
158
158
|
continue
|
|
159
159
|
}
|
|
160
|
-
|
|
161
|
-
let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
|
|
162
|
-
getFile.data[i].f_downloadURL = "http://" + location.host + "/" + URL
|
|
160
|
+
getFile.data[i].f_downloadURL = `http://${location.host}/${getFile.data[i].f_downloadpath.substring(getFile.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`
|
|
163
161
|
}
|
|
164
162
|
this.fileInfoData = []
|
|
165
163
|
this.fileInfoData = getFile.data
|
|
@@ -0,0 +1,534 @@
|
|
|
1
|
+
/* 表单内输入框 */
|
|
2
|
+
.form-input-group-large {
|
|
3
|
+
display: -webkit-box;
|
|
4
|
+
display: -webkit-flex;
|
|
5
|
+
display: -ms-flexbox;
|
|
6
|
+
display: flex;
|
|
7
|
+
label {
|
|
8
|
+
width: 110px;
|
|
9
|
+
//padding-top: 6px;
|
|
10
|
+
text-align: right;
|
|
11
|
+
+ * {
|
|
12
|
+
-webkit-box-flex:1;
|
|
13
|
+
-webkit-flex:1;
|
|
14
|
+
-ms-flexbox-flex:1;
|
|
15
|
+
flex: 1;
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
vertical-align:middle;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.form-input-group {
|
|
22
|
+
display: -webkit-box;
|
|
23
|
+
display: -webkit-flex;
|
|
24
|
+
display: -ms-flexbox;
|
|
25
|
+
display: flex;
|
|
26
|
+
.control-label {
|
|
27
|
+
// 居中对齐
|
|
28
|
+
line-height: @input-height-base;
|
|
29
|
+
width: 70px;
|
|
30
|
+
// padding-top: 6px;
|
|
31
|
+
text-align: right;
|
|
32
|
+
vertical-align: middle;
|
|
33
|
+
+ * {
|
|
34
|
+
-webkit-box-flex:1;
|
|
35
|
+
-webkit-flex:1;
|
|
36
|
+
-ms-flexbox-flex:1;
|
|
37
|
+
flex: 1;
|
|
38
|
+
width: 100px; // 随意给的宽度,将有flex重新计算
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
vertical-align:middle;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
label {
|
|
44
|
+
width: 110px;
|
|
45
|
+
// padding-top: 6px;
|
|
46
|
+
text-align: right;
|
|
47
|
+
+ * {
|
|
48
|
+
-webkit-box-flex:1;
|
|
49
|
+
-webkit-flex:1;
|
|
50
|
+
-ms-flexbox-flex:1;
|
|
51
|
+
flex: 1;
|
|
52
|
+
box-sizing: border-box;
|
|
53
|
+
vertical-align:middle;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.form-input-group-small {
|
|
58
|
+
display: -webkit-box;
|
|
59
|
+
display: -webkit-flex;
|
|
60
|
+
display: -ms-flexbox;
|
|
61
|
+
display: flex;
|
|
62
|
+
label {
|
|
63
|
+
width: 110px;
|
|
64
|
+
//padding-top: 6px;
|
|
65
|
+
text-align: right;
|
|
66
|
+
+ * {
|
|
67
|
+
-webkit-box-flex:1;
|
|
68
|
+
-webkit-flex:1;
|
|
69
|
+
-ms-flexbox-flex:1;
|
|
70
|
+
flex: 1;
|
|
71
|
+
box-sizing: border-box;
|
|
72
|
+
vertical-align:middle;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
.bg-white {
|
|
77
|
+
background-color: white;
|
|
78
|
+
}
|
|
79
|
+
.mgb-5 {
|
|
80
|
+
margin-bottom: 5px;
|
|
81
|
+
}
|
|
82
|
+
.pdl-12 {
|
|
83
|
+
padding-left: 12px;
|
|
84
|
+
}
|
|
85
|
+
// 字体加粗
|
|
86
|
+
.fwb {
|
|
87
|
+
font-weight: bold;
|
|
88
|
+
}
|
|
89
|
+
// 浮动右对齐
|
|
90
|
+
.fr {
|
|
91
|
+
float: right;
|
|
92
|
+
}
|
|
93
|
+
.pl-12 {
|
|
94
|
+
padding-left: 12px;
|
|
95
|
+
}
|
|
96
|
+
.p-10 {
|
|
97
|
+
padding: 10px;
|
|
98
|
+
}
|
|
99
|
+
.pt-8 {
|
|
100
|
+
padding-top: 8px;
|
|
101
|
+
}
|
|
102
|
+
// 下拉选择框占据剩余全部空间
|
|
103
|
+
.select-overspread {
|
|
104
|
+
.form-group {
|
|
105
|
+
// margin: 0px 5px 10px 0px;
|
|
106
|
+
.form-control {
|
|
107
|
+
margin-right: 0px;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
.btn-group, .btn-group-vertical {
|
|
111
|
+
width: 100%;
|
|
112
|
+
// padding-right: 5px;
|
|
113
|
+
button {
|
|
114
|
+
width: 100%;
|
|
115
|
+
display: flex;
|
|
116
|
+
justify-content: space-between;
|
|
117
|
+
align-items: center;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
.dropdown-menu {
|
|
121
|
+
min-width: 100%
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
.app-bg {
|
|
125
|
+
background: #F5F5F5;
|
|
126
|
+
}
|
|
127
|
+
.app-input {
|
|
128
|
+
background: #FFF;
|
|
129
|
+
border-bottom: 1px solid #ccc;
|
|
130
|
+
}
|
|
131
|
+
.app-input input, .app-input label {
|
|
132
|
+
padding: 8px 10px;
|
|
133
|
+
border: none;
|
|
134
|
+
outline: none;
|
|
135
|
+
margin: 0px;
|
|
136
|
+
}
|
|
137
|
+
.app-textarea {
|
|
138
|
+
display: block;
|
|
139
|
+
padding: 10px 15px;
|
|
140
|
+
border: 0;
|
|
141
|
+
resize: none;
|
|
142
|
+
width: 100%;
|
|
143
|
+
color: inherit;
|
|
144
|
+
font-size: 1em;
|
|
145
|
+
line-height: inherit;
|
|
146
|
+
outline: 0;
|
|
147
|
+
}
|
|
148
|
+
.app-cells {
|
|
149
|
+
height: auto;
|
|
150
|
+
background-color: #FFFFFF;
|
|
151
|
+
font-size: 1.2em;
|
|
152
|
+
overflow: hidden;
|
|
153
|
+
position: relative;
|
|
154
|
+
}
|
|
155
|
+
.app-cells label {
|
|
156
|
+
padding: 10px;
|
|
157
|
+
margin: 0px;
|
|
158
|
+
color: #999999;
|
|
159
|
+
font-weight: normal;
|
|
160
|
+
}
|
|
161
|
+
.app-cells * + * {
|
|
162
|
+
border-top: 1px solid #D5D5D6;
|
|
163
|
+
}
|
|
164
|
+
.app-btn {
|
|
165
|
+
display: flex;
|
|
166
|
+
width: 100%;
|
|
167
|
+
}
|
|
168
|
+
.app-btn button{
|
|
169
|
+
flex: 1;
|
|
170
|
+
border-radius: 17px;
|
|
171
|
+
margin: 10px;
|
|
172
|
+
}
|
|
173
|
+
.app-btn button:focus, .app-btn button::selection {
|
|
174
|
+
outline: none;
|
|
175
|
+
}
|
|
176
|
+
.app-list {
|
|
177
|
+
margin-top: 8px;
|
|
178
|
+
background: #FFF;
|
|
179
|
+
}
|
|
180
|
+
.app-list div {
|
|
181
|
+
padding: 6px 10px;
|
|
182
|
+
}
|
|
183
|
+
.app-list div:first-child{
|
|
184
|
+
border-bottom: 1px solid #ccc;
|
|
185
|
+
}
|
|
186
|
+
.app-input .datepicker-input[readonly] {
|
|
187
|
+
border: none;
|
|
188
|
+
background: none;
|
|
189
|
+
}
|
|
190
|
+
div[contenteditable=true]{
|
|
191
|
+
height: 80px;
|
|
192
|
+
width: 100%;
|
|
193
|
+
outline: none;
|
|
194
|
+
padding: 8px;
|
|
195
|
+
overflow: scroll;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.flex-between {
|
|
199
|
+
display: flex;
|
|
200
|
+
justify-content: space-between;
|
|
201
|
+
align-items: center;
|
|
202
|
+
}
|
|
203
|
+
.flex-between span {
|
|
204
|
+
padding-right: 10px;
|
|
205
|
+
}
|
|
206
|
+
.flex-full {
|
|
207
|
+
flex: 1;
|
|
208
|
+
}
|
|
209
|
+
/* app卡片样式 */
|
|
210
|
+
.app-preview {
|
|
211
|
+
position: relative;
|
|
212
|
+
background-color: #FFF;
|
|
213
|
+
height: auto;
|
|
214
|
+
}
|
|
215
|
+
.app-preview > .head > * {
|
|
216
|
+
padding: 0px;
|
|
217
|
+
margin: 0px;
|
|
218
|
+
}
|
|
219
|
+
.app-preview > .head {
|
|
220
|
+
display: flex;
|
|
221
|
+
justify-content: space-between;
|
|
222
|
+
padding: 10px 15px;
|
|
223
|
+
line-height: 2.5em;
|
|
224
|
+
border-bottom: 1px solid #D5D5D6;
|
|
225
|
+
}
|
|
226
|
+
.app-preview-btn-default {
|
|
227
|
+
color: #999999;
|
|
228
|
+
}
|
|
229
|
+
.app-preview-btn-success {
|
|
230
|
+
color: #3CC51F;
|
|
231
|
+
}
|
|
232
|
+
.app-preview > .body {
|
|
233
|
+
padding: 10px 15px;
|
|
234
|
+
border-bottom: 1px solid #D5D5D6;
|
|
235
|
+
|
|
236
|
+
}
|
|
237
|
+
.app-preview > .body > div > label {
|
|
238
|
+
text-align: justify;
|
|
239
|
+
text-align-last: justify;
|
|
240
|
+
min-width: 70px;
|
|
241
|
+
}
|
|
242
|
+
.app-preview > .foot {
|
|
243
|
+
display: flex;
|
|
244
|
+
height: 50px;
|
|
245
|
+
}
|
|
246
|
+
.app-preview > .foot > * {
|
|
247
|
+
flex: 1;
|
|
248
|
+
display: block;
|
|
249
|
+
flex: 1;
|
|
250
|
+
|
|
251
|
+
text-align: center;
|
|
252
|
+
}
|
|
253
|
+
.app-preview > .foot > * + * {
|
|
254
|
+
border-left: 1px solid #D5D5D6;
|
|
255
|
+
}
|
|
256
|
+
// 为工单列表样式
|
|
257
|
+
.compatible {
|
|
258
|
+
padding: 8px;
|
|
259
|
+
}
|
|
260
|
+
.compatible .form-input-group {
|
|
261
|
+
margin: 3px 0px;
|
|
262
|
+
padding: 0 8px;
|
|
263
|
+
}
|
|
264
|
+
@media screen and (min-width:992px) {
|
|
265
|
+
.hd-disappear{
|
|
266
|
+
display: none;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
#work-history ul {
|
|
271
|
+
padding: 0px;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
// 从order文件夹拷贝
|
|
275
|
+
// 为blockquote写的通用样式
|
|
276
|
+
// 大背景
|
|
277
|
+
.repair-bg {
|
|
278
|
+
background: #DBDBDB;
|
|
279
|
+
}
|
|
280
|
+
// 头部信息提示
|
|
281
|
+
.bq-parent {
|
|
282
|
+
height: auto;
|
|
283
|
+
background: #FFF;
|
|
284
|
+
padding: 10px 15px;
|
|
285
|
+
>blockquote {
|
|
286
|
+
padding: 0px;
|
|
287
|
+
padding-left: 8px;
|
|
288
|
+
margin: 0px;
|
|
289
|
+
font-size: 18px;
|
|
290
|
+
font-weight: bold;
|
|
291
|
+
border-left-color: #4C647A;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
// 为移动端提供左侧修饰性边框
|
|
295
|
+
.lb-left {
|
|
296
|
+
padding-left: 8px;
|
|
297
|
+
border: none;
|
|
298
|
+
border-left: 5px solid #A2C2EB;
|
|
299
|
+
}
|
|
300
|
+
// 内容块
|
|
301
|
+
.repair-info-content {
|
|
302
|
+
margin: 15px;
|
|
303
|
+
background: #FFF;
|
|
304
|
+
border-radius: 5px;
|
|
305
|
+
}
|
|
306
|
+
@media screen and (max-width:768px) {
|
|
307
|
+
.repair-info-content {
|
|
308
|
+
margin: 0px;
|
|
309
|
+
padding: 8px;
|
|
310
|
+
background: #FFF;
|
|
311
|
+
border-radius: 0px;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
// 为a标签:berfor伪元素写的通用样式
|
|
315
|
+
.tab-befor-img (@url) {
|
|
316
|
+
content: '';
|
|
317
|
+
background-image: url("@{url}");
|
|
318
|
+
background-size: 30px;
|
|
319
|
+
display: inline-block;
|
|
320
|
+
margin-right: 8px;
|
|
321
|
+
height: 30px;
|
|
322
|
+
width: 30px;
|
|
323
|
+
vertical-align: -35%;
|
|
324
|
+
}
|
|
325
|
+
.android-repair-order {
|
|
326
|
+
> div {
|
|
327
|
+
> ul {
|
|
328
|
+
background: #4C647A;
|
|
329
|
+
overflow: auto;
|
|
330
|
+
li {
|
|
331
|
+
display: block;
|
|
332
|
+
width: 100%;
|
|
333
|
+
}
|
|
334
|
+
> .active {
|
|
335
|
+
a {
|
|
336
|
+
background: #7599C4!important;
|
|
337
|
+
color: #FFF!important;
|
|
338
|
+
border: none;
|
|
339
|
+
display: block;
|
|
340
|
+
font-weight: bold;
|
|
341
|
+
&::after {
|
|
342
|
+
content: "";
|
|
343
|
+
width: 0px;
|
|
344
|
+
height: 0px;
|
|
345
|
+
border-width: 8px 8px 8px 0px;
|
|
346
|
+
border-color: transparent #FFF;
|
|
347
|
+
border-style: solid;
|
|
348
|
+
position: absolute;
|
|
349
|
+
right: 0;
|
|
350
|
+
top: 50%;
|
|
351
|
+
transform: translateY(-50%);
|
|
352
|
+
}
|
|
353
|
+
&:focus {
|
|
354
|
+
color: #FFF;
|
|
355
|
+
background: none;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
a {
|
|
360
|
+
font-size: 18px;
|
|
361
|
+
color: #FFF;
|
|
362
|
+
padding: 13px 16px;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
// 从app中考出
|
|
369
|
+
.no-close .nav-tabs a {
|
|
370
|
+
padding: 5px 12px;
|
|
371
|
+
}
|
|
372
|
+
/* checkbox和radio的样式 */
|
|
373
|
+
.magic-radio,
|
|
374
|
+
.magic-checkbox {
|
|
375
|
+
position: absolute;
|
|
376
|
+
display: none;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.magic-radio[disabled],
|
|
380
|
+
.magic-checkbox[disabled] {
|
|
381
|
+
cursor: not-allowed;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.magic-radio + label,
|
|
385
|
+
.magic-checkbox + label {
|
|
386
|
+
position: relative;
|
|
387
|
+
display: block;
|
|
388
|
+
padding-left: 30px;
|
|
389
|
+
cursor: pointer;
|
|
390
|
+
vertical-align: middle;
|
|
391
|
+
text-align: left;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.magic-radio + label:hover:before,
|
|
395
|
+
.magic-checkbox + label:hover:before {
|
|
396
|
+
animation-duration: 0.4s;
|
|
397
|
+
animation-fill-mode: both;
|
|
398
|
+
animation-name: hover-color;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.magic-radio + label:before,
|
|
402
|
+
.magic-checkbox + label:before {
|
|
403
|
+
position: absolute;
|
|
404
|
+
top: 0;
|
|
405
|
+
left: 0;
|
|
406
|
+
display: inline-block;
|
|
407
|
+
width: 20px;
|
|
408
|
+
height: 20px;
|
|
409
|
+
content: '';
|
|
410
|
+
border: 1px solid #c0c0c0;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.magic-radio + label:after,
|
|
414
|
+
.magic-checkbox + label:after {
|
|
415
|
+
position: absolute;
|
|
416
|
+
display: none;
|
|
417
|
+
content: '';
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.magic-radio[disabled] + label,
|
|
421
|
+
.magic-checkbox[disabled] + label {
|
|
422
|
+
cursor: not-allowed;
|
|
423
|
+
color: #e4e4e4;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.magic-radio[disabled] + label:hover, .magic-radio[disabled] + label:before, .magic-radio[disabled] + label:after,
|
|
427
|
+
.magic-checkbox[disabled] + label:hover,
|
|
428
|
+
.magic-checkbox[disabled] + label:before,
|
|
429
|
+
.magic-checkbox[disabled] + label:after {
|
|
430
|
+
cursor: not-allowed;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.magic-radio[disabled] + label:hover:before,
|
|
434
|
+
.magic-checkbox[disabled] + label:hover:before {
|
|
435
|
+
border: 1px solid #e4e4e4;
|
|
436
|
+
animation-name: none;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.magic-radio[disabled] + label:before,
|
|
440
|
+
.magic-checkbox[disabled] + label:before {
|
|
441
|
+
border-color: #e4e4e4;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.magic-radio:checked + label:before,
|
|
445
|
+
.magic-checkbox:checked + label:before {
|
|
446
|
+
animation-name: none;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.magic-radio:checked + label:after,
|
|
450
|
+
.magic-checkbox:checked + label:after {
|
|
451
|
+
display: block;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.magic-radio + label:before {
|
|
455
|
+
border-radius: 50%;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.magic-radio + label:after {
|
|
459
|
+
top: 4px;
|
|
460
|
+
left: 4px;
|
|
461
|
+
width: 12px;
|
|
462
|
+
height: 12px;
|
|
463
|
+
border-radius: 50%;
|
|
464
|
+
background: #7697c4;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.magic-radio:checked + label:before {
|
|
468
|
+
border: 2px solid #7697c4;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.magic-radio:checked[disabled] + label:before {
|
|
472
|
+
border: 2px solid #c9e2f9;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
/*.magic-radio:checked[disabled] + label:after {
|
|
476
|
+
background: #c9e2f9; }*/
|
|
477
|
+
|
|
478
|
+
.magic-checkbox + label:before {
|
|
479
|
+
border-radius: 3px;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.magic-checkbox + label:after {
|
|
483
|
+
top: 2px;
|
|
484
|
+
left: 7px;
|
|
485
|
+
box-sizing: border-box;
|
|
486
|
+
width: 6px;
|
|
487
|
+
height: 12px;
|
|
488
|
+
transform: rotate(45deg);
|
|
489
|
+
border-width: 2px;
|
|
490
|
+
border-style: solid;
|
|
491
|
+
border-color: #fff;
|
|
492
|
+
border-top: 0;
|
|
493
|
+
border-left: 0;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.magic-checkbox:checked + label:before {
|
|
497
|
+
border: #7697c4;
|
|
498
|
+
background: #7697c4;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.magic-checkbox:checked[disabled] + label:before {
|
|
502
|
+
border: #c9e2f9;
|
|
503
|
+
background: #c9e2f9;
|
|
504
|
+
}
|
|
505
|
+
/* 滚动条样式 */
|
|
506
|
+
/*---滚动条默认显示样式--*/
|
|
507
|
+
::-webkit-scrollbar-thumb{
|
|
508
|
+
// display: none;
|
|
509
|
+
background-color:rgba(0,0,0,0.2);
|
|
510
|
+
height:50px;
|
|
511
|
+
outline-offset:-2px;
|
|
512
|
+
/*outline:2px solid #fff;*/
|
|
513
|
+
-webkit-border-radius:4px;
|
|
514
|
+
/*border: 2px solid #fff;*/
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
/*---鼠标点击滚动条显示样式--*/
|
|
518
|
+
::-webkit-scrollbar-thumb:hover{
|
|
519
|
+
// display: inherit;
|
|
520
|
+
background-color:rgba(0,0,0,0.4);
|
|
521
|
+
height:50px;
|
|
522
|
+
-webkit-border-radius:4px;
|
|
523
|
+
}
|
|
524
|
+
/*---滚动条大小--*/
|
|
525
|
+
::-webkit-scrollbar{
|
|
526
|
+
width:8px;
|
|
527
|
+
height:8px;
|
|
528
|
+
}
|
|
529
|
+
/*---滚动框背景样式--*/
|
|
530
|
+
::-webkit-scrollbar-track-piece{
|
|
531
|
+
/* 全透明,不显示 */
|
|
532
|
+
background-color:rgba(255,255,255,0);
|
|
533
|
+
-webkit-border-radius:0;
|
|
534
|
+
}
|
package/src/main.js
CHANGED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
//函数:获取尺寸
|
|
2
|
+
function findDimensions() {
|
|
3
|
+
|
|
4
|
+
if(document.getElementById(canvas)){
|
|
5
|
+
content = document.getElementById("content")
|
|
6
|
+
document.getElementById(canvas).height = content.offsetHeight;
|
|
7
|
+
document.getElementById(canvas).width = content.offsetWidth;
|
|
8
|
+
}
|
|
9
|
+
// alert(window.innerHeight);
|
|
10
|
+
|
|
11
|
+
//触发自定义窗口变化事件
|
|
12
|
+
window.dispatchEvent(windowChangeEvent)
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function readNewComp(){
|
|
16
|
+
let newcomp = document.getElementById("newcomp").value;
|
|
17
|
+
if (newcomp != ""){
|
|
18
|
+
NewComp = eval('(' + newcomp + ')')
|
|
19
|
+
}else{
|
|
20
|
+
NewComp = {template:{type:'Grid'}}
|
|
21
|
+
}
|
|
22
|
+
console.log(NewComp)
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
//计算滚动位置
|
|
26
|
+
function ScollPostion() {
|
|
27
|
+
if (document.documentElement && document.documentElement.scrollTop) {
|
|
28
|
+
ScrollTop = document.documentElement.scrollTop;
|
|
29
|
+
ScrollLeft = document.documentElement.scrollLeft;
|
|
30
|
+
} else if (document.body) {
|
|
31
|
+
ScrollTop = document.body.scrollTop;
|
|
32
|
+
ScrollLeft = document.body.scrollLeft;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
//保存组件json
|
|
37
|
+
function save(m){
|
|
38
|
+
let newcomp = document.getElementById("newcomp");
|
|
39
|
+
newcomp.value = JSON.stringify(m);
|
|
40
|
+
NewComp = m;
|
|
41
|
+
console.log(m, JSON.stringify(m), newcomp.innerText, newcomp.innerHTML, newcomp.value)
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
//读取所有图片文件
|
|
45
|
+
function getImages(imageNames, imageSource) {
|
|
46
|
+
imageNames.forEach(function f(item, index){
|
|
47
|
+
img = new Image();
|
|
48
|
+
n = item.split(".")[0];
|
|
49
|
+
img.src = imageSource + item;
|
|
50
|
+
global.Images[n] = img
|
|
51
|
+
});
|
|
52
|
+
window.dispatchEvent(addImageEvent)
|
|
53
|
+
console.log(Images)
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// 设置时钟,先清除旧的,再设置新的
|
|
57
|
+
// f: 时钟到以后的回调函数
|
|
58
|
+
tipTimer = null;
|
|
59
|
+
function setTipTime(f) {
|
|
60
|
+
clearTipTime();
|
|
61
|
+
tipTimer = setTimeout(f, 1000)
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// 清除tips时钟
|
|
65
|
+
function clearTipTime() {
|
|
66
|
+
if (tipTimer) {
|
|
67
|
+
clearTimeout(tipTimer)
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// 让canvas捕获鼠标事件
|
|
72
|
+
function captureEvent () {
|
|
73
|
+
window.captureEvents(Event.MOUSEMOVE | Event.MOUSEUP)
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// 让canvas捕获鼠标事件
|
|
77
|
+
function releaseEvent() {
|
|
78
|
+
window.releaseEvents(Event.MOUSEMOVE | Event.MOUSEUP)
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
global.Verify = function (verifyKey, value, callBack){
|
|
82
|
+
console.log(verifyKey, value)
|
|
83
|
+
let result = true;
|
|
84
|
+
if (value === ""){
|
|
85
|
+
result = false;
|
|
86
|
+
callBack(false, "error!!!");
|
|
87
|
+
return
|
|
88
|
+
}
|
|
89
|
+
callBack(result);
|
|
90
|
+
return
|
|
91
|
+
}
|