cloud-web-corejs 1.1.0-dev.4 → 1.1.0-dev.41
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/README.md +38 -0
- package/bin/core-resources.js +16 -0
- package/bin/create-child-app.js +34 -0
- package/docs/child-app/README.md +95 -0
- package/docs/child-app/activiti-resources.md +63 -0
- package/docs/child-app/generate-prompt.md +55 -0
- package/docs/child-app/luckysheet-resources.md +80 -0
- package/docs/child-app/public-resources-plan.md +288 -0
- package/docs/child-app/resources-implementation.md +101 -0
- package/docs/child-app/tinymce-resources.md +88 -0
- package/docs/child-app/validation.md +34 -0
- package/docs/qiankun/346/216/245/345/205/245/345/215/217/350/256/256.md +298 -0
- package/docs/qiankun/350/257/246/346/203/205/346/211/277/350/275/275/345/255/220/345/272/224/347/224/250/345/257/271/346/216/245/346/270/205/345/215/225.md +111 -0
- package/package.json +27 -4
- package/resource-tools/index.js +126 -0
- package/src/app-bootstrap.js +530 -0
- package/src/boot-assets.legacy.js +7 -0
- package/src/boot-assets.next.js +7 -0
- package/src/components/Tinymce/dynamicLoadScript.js +51 -59
- package/src/components/Tinymce/index.vue +382 -336
- package/src/components/Tinymce/mce-chrome.scss +150 -0
- package/src/components/VabUpload/image-viewer.vue +18 -10
- package/src/components/VabUpload/index.vue +1 -1
- package/src/components/VabUpload/style.scss +282 -0
- package/src/components/VabUpload/view.vue +19 -18
- package/src/components/baseArea/index.vue +2 -2
- package/src/components/baseInputExport/mixins.js +0 -6
- package/src/components/bizTab/BizTabListPage.vue +66 -33
- package/src/components/bizTab/README.md +3 -1
- package/src/components/bizTab/bizBillDetailMixin.js +2 -0
- package/src/components/code-editor/ace-chrome.scss +17 -0
- package/src/components/code-editor/index.vue +361 -340
- package/src/components/errorMsg/index.vue +4 -4
- package/src/components/excelExport/conditionExportConfig.js +112 -0
- package/src/components/excelExport/exportColumnMemory.js +118 -0
- package/src/components/excelExport/exportFieldDialog.vue +50 -38
- package/src/components/excelExport/exportType.js +8 -0
- package/src/components/excelExport/index.js +30 -13
- package/src/components/excelExport/index.vue +7 -1
- package/src/components/excelExport/mixins.js +782 -293
- package/src/components/excelImport/index.vue +156 -156
- package/src/components/excelImport/mixins.js +888 -834
- package/src/components/fileLibrary/style.scss +579 -0
- package/src/components/hiprint/style.scss +188 -0
- package/src/components/jsonImport/index.vue +1 -1
- package/src/components/jsonImport/mixins.js +6 -10
- package/src/components/langImport/index.vue +1 -1
- package/src/components/langImport/mixins.js +6 -10
- package/src/components/luckysheet/loadResources.js +64 -0
- package/src/components/luckysheet/view.vue +239 -210
- package/src/components/mobile/buttonGroup/index.vue +1 -1
- package/src/components/mobile/wf/addTaskUserdialog.vue +100 -80
- package/src/components/mobile/wf/content.vue +141 -69
- package/src/components/mobile/wf/deleteTaskUserDialog.vue +73 -54
- package/src/components/mobile/wf/selectUserDialog.vue +118 -0
- package/src/components/mobile/wf/setCandidateDialog.vue +69 -48
- package/src/components/mobile/wf/urgingDialog.vue +75 -52
- package/src/components/mobile/wf/wfModifyDialog.vue +4 -0
- package/src/components/obsUpload/index.vue +1 -1
- package/src/components/onlineTalk/index.vue +4 -4
- package/src/components/table/index.js +22 -3
- package/src/components/table/plugins/cell-area/index.js +10 -3
- package/src/components/table/style.scss +1399 -0
- package/src/components/table/vxeFilter/mixin.js +28 -18
- package/src/components/wf/content.vue +3 -2
- package/src/components/wf/content2.vue +1 -1
- package/src/components/wf/style.scss +265 -0
- package/src/components/wf/wf.js +7 -0
- package/src/components/wf/wfActionItems.js +3 -0
- package/src/components/wf/wfStartDialog.vue +1 -0
- package/src/components/wf/wfTransferEnabled.js +54 -0
- package/src/components/wf/wfUtil.js +47 -29
- package/src/components/wf/wfVisibility.js +6 -0
- package/src/components/xform/docs/2026-07 table/344/270/216excelExport/344/277/256/345/244/215/345/217/212/345/257/274/345/207/272/344/274/230/345/214/226.md" +64 -57
- package/src/components/xform/docs/2026-08 xform H5 P0 /345/256/236/347/216/260/350/247/204/346/240/274.md" +1 -1
- package/src/components/xform/docs/2026-08 xform /347/247/273/345/212/250/347/253/257/345/270/203/345/261/200/345/257/271/351/275/220 bill_setting /346/226/271/346/241/210.md" +1 -1
- package/src/components/xform/docs/2026-09 /345/212/250/346/200/201/345/255/227/346/256/265/350/247/204/345/210/231/344/270/216/346/265/201/347/250/213/346/216/247/345/210/266/346/211/247/350/241/214/351/241/272/345/272/217/350/220/275/345/234/260/346/226/271/346/241/210.md" +409 -0
- package/src/components/xform/docs/2026-09 /346/235/241/344/273/266/345/257/274/345/207/272/345/244/247/346/225/260/346/215/256/351/207/217/345/264/251/346/272/203/346/216/222/346/237/245.md" +389 -0
- package/src/components/xform/docs/2026-09 /347/274/226/350/276/221/350/241/250/350/241/214/345/206/205/344/277/235/345/255/230/346/240/241/351/252/214/350/214/203/345/233/264/344/270/216/345/210/227/345/277/205/345/241/253/350/247/243/346/236/220/344/277/256/345/244/215.md" +233 -0
- package/src/components/xform/docs/2026-09 /350/241/250/345/215/225/345/257/274/345/205/245/351/200/232/351/201/223/346/242/263/347/220/206/344/270/216/350/220/275/345/234/260/346/226/271/346/241/210.md" +745 -0
- package/src/components/xform/form-designer/designer.js +2132 -2100
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +7 -0
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +3 -1
- package/src/components/xform/form-designer/form-widget/container-widget/detail-h5-widget.vue +243 -227
- package/src/components/xform/form-designer/form-widget/container-widget/h5-card-pane-widget.vue +228 -207
- package/src/components/xform/form-designer/form-widget/container-widget/h5-card-widget.vue +165 -136
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +190 -185
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +2656 -1774
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/area-select-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/autocomplete-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/descriptions-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/divider-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/download-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-widget.vue +35 -4
- package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +38 -2
- package/src/components/xform/form-designer/form-widget/field-widget/file-upload-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +19 -6
- package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/index.js +10 -1
- package/src/components/xform/form-designer/form-widget/field-widget/input-batch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/news-list-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/picture-upload-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/rate-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/rich-editor-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/row-col-select-widget.vue +64 -0
- package/src/components/xform/form-designer/form-widget/field-widget/save_submit_wf_button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/script-input-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-item-button-widget.vue +6 -2
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +145 -145
- package/src/components/xform/form-designer/form-widget/field-widget/slider-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/static-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/switch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +3 -2
- package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/textarea-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/title-head-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +3 -3
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vue-page-widget.vue +1 -1
- package/src/components/xform/form-designer/indexMixin.js +35 -1
- package/src/components/xform/form-designer/setting-panel/form-dynamicField-setting.vue +687 -602
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +88 -11
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +335 -12
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +23 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-temp-edito.vue +13 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +846 -860
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +62 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +142 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/empty-number-input.vue +51 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-item-button-editor.vue +27 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +33 -3
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +9 -1
- package/src/components/xform/form-designer/toolbar-panel/index.vue +884 -874
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +14 -0
- package/src/components/xform/form-designer/widget-panel/index.vue +11 -7
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +30 -6
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +142 -9
- package/src/components/xform/form-render/container-item/data-table-item.vue +352 -347
- package/src/components/xform/form-render/container-item/data-table-mixin.js +6883 -5985
- package/src/components/xform/form-render/container-item/detail-h5-item.vue +48 -19
- package/src/components/xform/form-render/container-item/detail-item.vue +350 -446
- package/src/components/xform/form-render/container-item/dynamicFieldMixin.js +55 -1
- package/src/components/xform/form-render/container-item/list-h5-item.vue +152 -140
- package/src/components/xform/form-render/container-item/tab-item.vue +138 -129
- package/src/components/xform/form-render/fieldControlEngine.js +218 -0
- package/src/components/xform/form-render/fieldControlMixin.js +536 -0
- package/src/components/xform/form-render/index.vue +164 -153
- package/src/components/xform/form-render/indexMixin.js +5425 -5311
- package/src/components/xform/lang/en-US.js +4 -0
- package/src/components/xform/lang/zh-CN.js +5 -0
- package/src/components/xform/mixins/businessLock.js +59 -0
- package/src/components/xform/mixins/defaultHandle.js +713 -707
- package/src/components/xform/mixins/scriptHttp.js +29 -8
- package/src/components/xform/mixins/wfStart.js +105 -0
- package/src/components/xform/mixins/wfVisibility.js +33 -0
- package/src/components/xform/styles/census.scss +288 -0
- package/src/components/xform/styles/containers.scss +215 -0
- package/src/components/xform/styles/designer.scss +904 -0
- package/src/components/xform/styles/detail-temp.scss +71 -0
- package/src/components/xform/styles/h5-designer.scss +191 -0
- package/src/components/xform/styles/h5.scss +831 -514
- package/src/components/xform/styles/skins.scss +398 -0
- package/src/components/xform/styles/table-layout.scss +91 -0
- package/src/components/xform/styles/titles.scss +255 -0
- package/src/components/xform/utils/dynamicSchemaUtil.js +385 -361
- package/src/components/xform/utils/tableColumnHelper.js +46 -4
- package/src/components/xform/utils/util.js +1732 -1708
- package/src/core-resources/css/h5.scss +548 -0
- package/src/core-resources/css/iconfont.css +1447 -0
- package/src/core-resources/font/iconfont.ttf +0 -0
- package/src/core-resources/font/iconfont.woff +0 -0
- package/src/core-resources/font/iconfont.woff2 +0 -0
- package/src/core-resources/images/default-header.png +0 -0
- package/src/core-resources/images/ico-default_wenjian.svg +1 -0
- package/src/core-resources/images/ico-excel.svg +1 -0
- package/src/core-resources/images/ico-ftl.svg +7 -0
- package/src/core-resources/images/ico-html.svg +1 -0
- package/src/core-resources/images/ico-java.svg +1 -0
- package/src/core-resources/images/ico-music.svg +1 -0
- package/src/core-resources/images/ico-pdf.svg +1 -0
- package/src/core-resources/images/ico-photo.svg +1 -0
- package/src/core-resources/images/ico-ppt.svg +1 -0
- package/src/core-resources/images/ico-psd.svg +1 -0
- package/src/core-resources/images/ico-service.png +0 -0
- package/src/core-resources/images/ico-txt.svg +1 -0
- package/src/core-resources/images/ico-video.svg +1 -0
- package/src/core-resources/images/ico-vue.svg +8 -0
- package/src/core-resources/images/ico-wenjianjia.svg +1 -0
- package/src/core-resources/images/ico-wrod.svg +1 -0
- package/src/core-resources/images/ico-xml.svg +1 -0
- package/src/core-resources/images/ico-yasuobao.svg +1 -0
- package/src/core-resources/images/icon-error.png +0 -0
- package/src/core-resources/images/icon-tips.png +0 -0
- package/src/core-resources/images/nodata.png +0 -0
- package/src/core-resources/images/nodata2.png +0 -0
- package/src/directive/append-to-body/index.js +48 -0
- package/src/icons/index.js +9 -0
- package/src/icons/svg/404.svg +1 -0
- package/src/icons/svg/alert.svg +1 -0
- package/src/icons/svg/bug.svg +1 -0
- package/src/icons/svg/button.svg +1 -0
- package/src/icons/svg/card.svg +1 -0
- package/src/icons/svg/cascader-field.svg +1 -0
- package/src/icons/svg/census.svg +1 -0
- package/src/icons/svg/chart.svg +1 -0
- package/src/icons/svg/checkbox-field.svg +1 -0
- package/src/icons/svg/clipboard.svg +1 -0
- package/src/icons/svg/color-field.svg +1 -0
- package/src/icons/svg/component.svg +1 -0
- package/src/icons/svg/custom-component.svg +1 -0
- package/src/icons/svg/dashboard.svg +1 -0
- package/src/icons/svg/data-table.svg +1 -0
- package/src/icons/svg/date-field.svg +1 -0
- package/src/icons/svg/date-range-field.svg +1 -0
- package/src/icons/svg/descriptions.svg +1 -0
- package/src/icons/svg/divider.svg +1 -0
- package/src/icons/svg/document.svg +1 -0
- package/src/icons/svg/documentation.svg +1 -0
- package/src/icons/svg/drag.svg +1 -0
- package/src/icons/svg/echart-category.svg +1 -0
- package/src/icons/svg/echart-pie.svg +1 -0
- package/src/icons/svg/echart.svg +1 -0
- package/src/icons/svg/edit.svg +1 -0
- package/src/icons/svg/education.svg +1 -0
- package/src/icons/svg/email.svg +1 -0
- package/src/icons/svg/example.svg +1 -0
- package/src/icons/svg/excel.svg +1 -0
- package/src/icons/svg/exit-fullscreen.svg +1 -0
- package/src/icons/svg/eye-open.svg +1 -0
- package/src/icons/svg/eye.svg +1 -0
- package/src/icons/svg/file-upload-field.svg +1 -0
- package/src/icons/svg/form.svg +1 -0
- package/src/icons/svg/fullscreen.svg +1 -0
- package/src/icons/svg/github.svg +1 -0
- package/src/icons/svg/grid.svg +1 -0
- package/src/icons/svg/guide.svg +1 -0
- package/src/icons/svg/html-text.svg +1 -0
- package/src/icons/svg/ico-more.svg +1 -0
- package/src/icons/svg/ico-wenjianjia.svg +1 -0
- package/src/icons/svg/icon.svg +1 -0
- package/src/icons/svg/input-batch.svg +1 -0
- package/src/icons/svg/international.svg +1 -0
- package/src/icons/svg/language.svg +1 -0
- package/src/icons/svg/link.svg +1 -0
- package/src/icons/svg/list-export.svg +1 -0
- package/src/icons/svg/list.svg +1 -0
- package/src/icons/svg/lock.svg +1 -0
- package/src/icons/svg/message.svg +1 -0
- package/src/icons/svg/money.svg +1 -0
- package/src/icons/svg/nested.svg +1 -0
- package/src/icons/svg/news-list.svg +1 -0
- package/src/icons/svg/node-tree.svg +1 -0
- package/src/icons/svg/number-field.svg +1 -0
- package/src/icons/svg/password.svg +1 -0
- package/src/icons/svg/pdf.svg +1 -0
- package/src/icons/svg/people.svg +1 -0
- package/src/icons/svg/peoples.svg +1 -0
- package/src/icons/svg/picture-upload-field.svg +1 -0
- package/src/icons/svg/qq.svg +1 -0
- package/src/icons/svg/query.svg +1 -0
- package/src/icons/svg/radio-field.svg +1 -0
- package/src/icons/svg/rate-field.svg +1 -0
- package/src/icons/svg/redo.svg +1 -0
- package/src/icons/svg/rich-editor-field.svg +1 -0
- package/src/icons/svg/search.svg +1 -0
- package/src/icons/svg/searchbox.svg +1 -0
- package/src/icons/svg/section.svg +1 -0
- package/src/icons/svg/select-field.svg +1 -0
- package/src/icons/svg/shopping.svg +1 -0
- package/src/icons/svg/size.svg +1 -0
- package/src/icons/svg/skill.svg +1 -0
- package/src/icons/svg/slider-field.svg +1 -0
- package/src/icons/svg/slot-component.svg +1 -0
- package/src/icons/svg/slot-field.svg +1 -0
- package/src/icons/svg/star.svg +1 -0
- package/src/icons/svg/static-text.svg +1 -0
- package/src/icons/svg/status.svg +1 -0
- package/src/icons/svg/sub-form.svg +1 -0
- package/src/icons/svg/switch-field.svg +1 -0
- package/src/icons/svg/tab.svg +1 -0
- package/src/icons/svg/table.svg +1 -0
- package/src/icons/svg/text-field.svg +1 -0
- package/src/icons/svg/text.svg +1 -0
- package/src/icons/svg/textarea-field.svg +1 -0
- package/src/icons/svg/theme.svg +1 -0
- package/src/icons/svg/time-field.svg +1 -0
- package/src/icons/svg/time-range-field.svg +1 -0
- package/src/icons/svg/tips-text.svg +1 -0
- package/src/icons/svg/title-head.svg +1 -0
- package/src/icons/svg/tree-pane.svg +1 -0
- package/src/icons/svg/tree-table.svg +1 -0
- package/src/icons/svg/tree.svg +1 -0
- package/src/icons/svg/undo.svg +1 -0
- package/src/icons/svg/uploadbox.svg +1 -0
- package/src/icons/svg/user.svg +1 -0
- package/src/icons/svg/vf-box.svg +1 -0
- package/src/icons/svg/vf-dialog.svg +1 -0
- package/src/icons/svg/vf-drawer.svg +1 -0
- package/src/icons/svg/vue-sfc.svg +1 -0
- package/src/icons/svg/wechat.svg +1 -0
- package/src/icons/svg/zip.svg +1 -0
- package/src/index.js +2 -510
- package/src/index.next.js +5 -0
- package/src/layout/components/Sidebar/default.vue +1656 -1655
- package/src/layout/components/TagsView/index.vue +325 -323
- package/src/layout/defaultLayout.vue +2 -2
- package/src/router/index.js +43 -48
- package/src/store/modules/settings.js +1 -1
- package/src/store/modules/tagsView.js +241 -217
- package/src/styles/btn.scss +104 -0
- package/src/styles/element-ui.scss +155 -0
- package/src/styles/element-variables.scss +31 -0
- package/src/styles/global.scss +115 -0
- package/src/styles/index.scss +200 -0
- package/src/styles/menu-icons.scss +75 -0
- package/src/styles/mixin.scss +72 -0
- package/src/styles/nprogress.scss +14 -0
- package/src/styles/sidebar.scss +281 -0
- package/src/styles/split-handle.scss +52 -0
- package/src/styles/theme-variables.scss +7 -0
- package/src/styles/transition.scss +48 -0
- package/src/styles/utilities.scss +137 -0
- package/src/styles/variables.scss +44 -0
- package/src/utils/assetUrl.js +19 -0
- package/src/utils/chunkLoadError.js +24 -0
- package/src/utils/featureResources.js +57 -0
- package/src/utils/importLimit.js +72 -0
- package/src/utils/pdfUtil.js +6 -1
- package/src/utils/request.js +24 -2
- package/src/utils/runtimeRecovery.js +105 -0
- package/src/utils/swiperLoader.js +20 -0
- package/src/utils/vab.js +1299 -1273
- package/src/utils/xlsxLoader.js +29 -0
- package/src/views/bd/setting/formVersion/compareContMixin.scss +1 -1
- package/src/views/bd/setting/form_template/edit.vue +378 -356
- package/src/views/bd/setting/form_template/formDesignerDialog.vue +6 -0
- package/src/views/bd/setting/form_template/formTemplateType.js +43 -0
- package/src/views/bd/setting/form_template/list.vue +304 -303
- package/src/views/bd/setting/form_template/mixins/edit.js +344 -280
- package/src/views/bd/setting/form_template/mixins/list.js +749 -721
- package/src/views/bd/setting/form_template/mixins/list2.js +412 -411
- package/src/views/bd/setting/form_template/mixins/wf_list.js +431 -430
- package/src/views/mobile/user/area/dialog.vue +1 -1
- package/src/views/mobile/user/user/dialog.vue +1 -1
- package/src/views/user/bill_setting/mixins/wf.js +8 -0
- package/src/views/user/bill_setting/render.vue +1 -1
- package/src/views/user/commMenu/index.vue +3 -1
- package/src/views/user/commMenu/style.scss +123 -0
- package/src/views/user/file_view_ins/list.vue +970 -970
- package/src/views/user/form/form_template/list.vue +527 -506
- package/src/views/user/form/vform/designer.vue +823 -821
- package/src/views/user/home/default.vue +1120 -1117
- package/src/views/user/home/default2.vue +2 -2
- package/src/views/user/home/index.vue +102 -102
- package/src/views/user/menuFallback/index.vue +23 -0
- package/src/views/user/notify_message/dialog.vue +139 -139
- package/src/views/user/outLink/form_view.vue +202 -202
- package/src/views/user/outLink/index.vue +110 -110
- package/src/views/user/role/edit.vue +4 -0
- package/src/views/user/role/role-box.scss +83 -0
- package/src/views/user/role/voc_edit.vue +4 -0
- package/src/views/user/wf/iframe/index.vue +51 -51
- package/src/views/user/wf/iframe/index2.vue +64 -64
- package/src/views/user/wf/wf_diy_attribute/edit.vue +1 -1
- package/src/views/user/wf/wf_manage/list2.vue +871 -871
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +177 -126
- package/src/views/user/wf/wf_obj_config/activiti_wf.vue +134 -133
- package/src/views/user/wf/wf_obj_config/importItemDialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/list.vue +747 -746
- package/src/views/user/wf/wf_obj_config/list_form.vue +374 -373
- package/templates/child-app/.env +3 -0
- package/templates/child-app/README.md +49 -0
- package/templates/child-app/app.config.js +6 -0
- package/templates/child-app/babel.config.js +1 -0
- package/templates/child-app/core-resources.config.js +15 -0
- package/templates/child-app/gitignore +7 -0
- package/templates/child-app/package.json +34 -0
- package/templates/child-app/public/index.html +12 -0
- package/templates/child-app/src/assets/401_images/401.gif +0 -0
- package/templates/child-app/src/assets/404_images/404.png +0 -0
- package/templates/child-app/src/assets/404_images/404_cloud.png +0 -0
- package/templates/child-app/src/assets/logo.png +0 -0
- package/templates/child-app/src/corejsConfig.js +2 -0
- package/templates/child-app/src/icons/index.js +2 -0
- package/templates/child-app/src/icons/svg/child-demo.svg +1 -0
- package/templates/child-app/src/layout/index.vue +4 -0
- package/templates/child-app/src/main.js +5 -0
- package/templates/child-app/src/prefixConfig.js +13 -0
- package/templates/child-app/src/resources/css/login.scss +29 -0
- package/templates/child-app/src/resources/images/bg-login5.jpg +0 -0
- package/templates/child-app/src/resources/images/home-img.png +0 -0
- package/templates/child-app/src/router/modules/customer.js +3 -0
- package/templates/child-app/src/settings.js +24 -0
- package/templates/child-app/src/styles/app.scss +2 -0
- package/templates/child-app/src/views/demo/detail.vue +19 -0
- package/templates/child-app/src/views/demo/list.vue +38 -0
- package/templates/child-app/src/views/user/login/index.vue +18 -0
- package/templates/child-app/vue.config.js +107 -0
- package/src/components/xform/form-render/container-item/dynamicFieldEngine.js +0 -285
- package/src/components/xform/form-render/formDynamicFieldMixin.js +0 -131
- package/src/views/demo/bizTab/bill/billConfig.js +0 -41
- package/src/views/demo/bizTab/bill/detail.vue +0 -436
- package/src/views/demo/bizTab/bill/list.vue +0 -288
- package/src/views/demo/bizTab/bill/productDialog.vue +0 -176
- package/src/views/demo/bizTab/simple/billApi.js +0 -123
- package/src/views/demo/bizTab/simple/detail.vue +0 -407
- package/src/views/demo/bizTab/simple/list.vue +0 -217
- package/src/views/demo/bizTab/standalone/index.vue +0 -121
- package/src/views/demo/bizTab/wf/billConfig.js +0 -44
- package/src/views/demo/bizTab/wf/detail.vue +0 -661
- package/src/views/demo/bizTab/wf/list.vue +0 -242
- package/src/views/user/home/wjl/content.vue +0 -1569
- package/src/views/user/outLink/cc_form_view.vue +0 -188
- /package/src/{resources → core-resources}/js/base/common.js +0 -0
|
@@ -5,9 +5,8 @@
|
|
|
5
5
|
* formConfig.layoutType === 'H5' 输出,PC/Pad 版式下整份样式不生效。
|
|
6
6
|
*
|
|
7
7
|
* 为什么放包内而不是 resources/css/style.scss:
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* 样式写在这里才能随包走,改一次各应用同步生效。
|
|
8
|
+
* style.scss 是消费应用按需加载的历史业务样式,不随 cloud-web-corejs 发布。
|
|
9
|
+
* 组件样式写在这里才能随包走,改一次各应用同步生效。
|
|
11
10
|
* 详见 docs/2026-08 xform 移动端布局对齐 bill_setting 方案.md 决策 2。
|
|
12
11
|
*
|
|
13
12
|
* ★ 特异度硬约束(改这个文件前必读):
|
|
@@ -19,7 +18,7 @@
|
|
|
19
18
|
* 每处覆盖点都标了对手所在行号,便于核对。
|
|
20
19
|
*/
|
|
21
20
|
|
|
22
|
-
@import "
|
|
21
|
+
@import "~@base/styles/variables.scss";
|
|
23
22
|
|
|
24
23
|
/* ============ 块 A:变量 ============ */
|
|
25
24
|
/* 收掉 bill_setting 散在 4 处 5 个值的 calc(100vh - N),不要抄它的具体数值 */
|
|
@@ -27,9 +26,10 @@ $xformH5HeaderHeight: 38px; // 标题栏
|
|
|
27
26
|
$xformH5FooterHeight: 56px; // 底部动作栏
|
|
28
27
|
$xformH5RowHeight: 48px; // 字段行高
|
|
29
28
|
$xformH5LabelWidth: 80px; // 标签宽
|
|
30
|
-
$xformH5RowBorder: #
|
|
29
|
+
$xformH5RowBorder: #f1f1f1; // 行分隔线
|
|
31
30
|
$xformH5CardRadius: 12px;
|
|
32
31
|
$xformH5PageBg: #f1f5fb;
|
|
32
|
+
$xformH5Size:14px;
|
|
33
33
|
|
|
34
34
|
/* ============ 块 B:分组卡片(对齐 bill_setting 的 .c-item / .tit) ============ */
|
|
35
35
|
/* 对手:style.scss:13766 .h5-detail-wrap .h5-item (0,2,0);本方 0,3,0
|
|
@@ -41,8 +41,8 @@ $xformH5PageBg: #f1f5fb;
|
|
|
41
41
|
.c-item {
|
|
42
42
|
background: #fff;
|
|
43
43
|
border-radius: $xformH5CardRadius;
|
|
44
|
-
margin: 12px
|
|
45
|
-
padding-bottom:
|
|
44
|
+
margin: 12px 16px 0;
|
|
45
|
+
padding-bottom: 0;
|
|
46
46
|
overflow: hidden;
|
|
47
47
|
|
|
48
48
|
/* 对手:style.scss:13771 .h5-detail-wrap .h5-item .h5-title (0,3,0);本方 0,4,0
|
|
@@ -51,11 +51,11 @@ $xformH5PageBg: #f1f5fb;
|
|
|
51
51
|
.tit {
|
|
52
52
|
line-height: 45px;
|
|
53
53
|
padding: 0 12px;
|
|
54
|
-
border-bottom:
|
|
54
|
+
border-bottom:none;
|
|
55
55
|
position: relative;
|
|
56
56
|
|
|
57
57
|
b {
|
|
58
|
-
font-size:
|
|
58
|
+
font-size: 15px;
|
|
59
59
|
font-weight: 600;
|
|
60
60
|
color: #323232;
|
|
61
61
|
}
|
|
@@ -116,11 +116,37 @@ $xformH5PageBg: #f1f5fb;
|
|
|
116
116
|
给它加 12px 不会让任何字段受益,只会把里面的卡片整体往里缩一圈,
|
|
117
117
|
结果是同一屏里 h5-card 里的卡片比流程面板窄 30px、左右对不齐。 */
|
|
118
118
|
.xform-h5 .h5-detail-wrap .h5-item .h5-form-box {
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
/* 12 拆成「容器 6 + 每个子项 6」,外缘仍是 12px,省出来的给列间距,见下面 > * 那条 */
|
|
120
|
+
padding:0 6px;
|
|
121
|
+
.item{
|
|
122
|
+
background: #FFF;
|
|
123
|
+
border-color: $xformH5RowBorder;
|
|
124
|
+
}
|
|
121
125
|
> .form-widget-list {
|
|
122
126
|
display: flex;
|
|
123
127
|
flex-wrap: wrap;
|
|
128
|
+
.h5-header{
|
|
129
|
+
display: none;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/* 半宽两列的列间距(H5 版式最多两列,半宽的 50% 就是上限)。
|
|
133
|
+
没有这一条时两列是贴着的:值是右对齐的(块 D),左列的值正好停在
|
|
134
|
+
右列标签的左边界上,读起来就是「值粘在下一个字段名上」——
|
|
135
|
+
表格路径早就补过同一个问题(块 C3 的
|
|
136
|
+
`td.table-cell + td.table-cell .el-form-item{padding-left:12px}`),
|
|
137
|
+
流式路径一直缺。
|
|
138
|
+
|
|
139
|
+
★ 用「容器减半 + 每项补一半」而不是给右列单独加左边距:
|
|
140
|
+
整宽/半宽混排时,谁是右列在 CSS 里数不出来(半宽跟在整宽后面会另起一行,
|
|
141
|
+
nth-child 的奇偶与列位对不上)。这个口径与明细卡片块 I2 的 .t2/dl 一致:
|
|
142
|
+
外缘不变、列间得到 6+6=12px。
|
|
143
|
+
★ 打在所有直接子项上而不是只打 .field-wrapper:这一层还会装嵌套容器
|
|
144
|
+
(h5-table、list-h5 等),只给字段加的话容器会缩到距卡片边 6px、与字段行错开。
|
|
145
|
+
全局 box-sizing 是 border-box(styles/index.scss),内边距算在 50% 里不会溢出。 */
|
|
146
|
+
> * {
|
|
147
|
+
padding-left: 6px;
|
|
148
|
+
padding-right: 6px;
|
|
149
|
+
}
|
|
124
150
|
}
|
|
125
151
|
}
|
|
126
152
|
|
|
@@ -153,24 +179,25 @@ $xformH5PageBg: #f1f5fb;
|
|
|
153
179
|
那条正是块 C1 依赖的前提。 */
|
|
154
180
|
.el-form-item {
|
|
155
181
|
display: flex;
|
|
156
|
-
|
|
182
|
+
/* 单行字段与移动端基本信息表格保持一致:标签和值都落在字段行中线。 */
|
|
183
|
+
align-items: center;
|
|
157
184
|
position: relative;
|
|
158
185
|
min-height: $xformH5RowHeight;
|
|
159
|
-
padding: 6px 0;
|
|
160
186
|
margin-bottom: 0;
|
|
161
|
-
border-bottom: 1px solid $xformH5RowBorder;
|
|
162
187
|
}
|
|
163
188
|
|
|
164
189
|
/* 对手:style.scss:13854 `.h5-detail-wrap .h5-item .el-form-item__label` (0,3,0)
|
|
165
190
|
带 text-align:left !important,且把 &:after 设成 display:none;本方 (0,5,0)。 */
|
|
166
191
|
.el-form-item > .el-form-item__label {
|
|
192
|
+
display: flex !important;
|
|
193
|
+
align-items: center;
|
|
167
194
|
width: $xformH5LabelWidth;
|
|
168
195
|
padding: 0 5px 0 0;
|
|
169
196
|
margin: 0;
|
|
170
197
|
line-height: 1.4;
|
|
171
198
|
height: auto;
|
|
172
199
|
overflow: hidden;
|
|
173
|
-
color: #
|
|
200
|
+
color: #666666;
|
|
174
201
|
text-align: left !important;
|
|
175
202
|
|
|
176
203
|
/* 标签后自动补冒号,对齐 bill_setting form-table 的 th::after。
|
|
@@ -178,13 +205,13 @@ $xformH5PageBg: #f1f5fb;
|
|
|
178
205
|
&::after {
|
|
179
206
|
display: inline !important;
|
|
180
207
|
content: ":";
|
|
208
|
+
margin-left:2px;
|
|
181
209
|
}
|
|
182
210
|
}
|
|
183
211
|
|
|
184
212
|
.el-form-item > .el-form-item__content {
|
|
185
213
|
flex: 1;
|
|
186
214
|
line-height: 1.4;
|
|
187
|
-
text-align: right;
|
|
188
215
|
word-break: break-word;
|
|
189
216
|
/* el-form-item 按 label-width 写的内联 margin-left 在 flex 行里是多余的左空白:
|
|
190
217
|
值是右对齐的所以看不出来,但它白白压缩可用宽度、让长值提前折行。
|
|
@@ -194,9 +221,6 @@ $xformH5PageBg: #f1f5fb;
|
|
|
194
221
|
|
|
195
222
|
/* 卡片里最后一行不留分隔线。:last-child 计入 class 列,本条 (0,5,0)
|
|
196
223
|
高于上面 .el-form-item 的 border-bottom (0,4,0)。 */
|
|
197
|
-
&:last-child .el-form-item {
|
|
198
|
-
border-bottom: none;
|
|
199
|
-
}
|
|
200
224
|
}
|
|
201
225
|
|
|
202
226
|
/* ============ 块 C1:表格布局(.table-layout)下退回块 C 的 flex 行 ============ */
|
|
@@ -229,7 +253,7 @@ $xformH5PageBg: #f1f5fb;
|
|
|
229
253
|
|
|
230
254
|
.el-form-item {
|
|
231
255
|
display: flex;
|
|
232
|
-
align-items:
|
|
256
|
+
align-items: center;
|
|
233
257
|
|
|
234
258
|
> .el-form-item__label,
|
|
235
259
|
> .el-form-item__content {
|
|
@@ -263,8 +287,14 @@ $xformH5PageBg: #f1f5fb;
|
|
|
263
287
|
.xform-h5 .table-layout.table-d-box {
|
|
264
288
|
/* 解除 w1~w4 的 PC 死宽。设计器里显式配了 cellWidth 的单元格走内联
|
|
265
289
|
style="width:xx !important",优先级最高,不受这条影响,按配置生效。 */
|
|
266
|
-
> tbody > tr
|
|
267
|
-
|
|
290
|
+
> tbody > tr {
|
|
291
|
+
&:last-child{
|
|
292
|
+
.field-wrapper.h5-field .el-form-item{border-bottom:none}
|
|
293
|
+
}
|
|
294
|
+
> td.table-cell {
|
|
295
|
+
width: auto !important;
|
|
296
|
+
border:none !important
|
|
297
|
+
}
|
|
268
298
|
}
|
|
269
299
|
|
|
270
300
|
/* 一行两列(两个 td.w1 并排)时,左列的值右对齐后正好停在右列的左边界上,
|
|
@@ -272,23 +302,25 @@ $xformH5PageBg: #f1f5fb;
|
|
|
272
302
|
对齐 bill_setting form-table 的处理:它用 `th:nth-child(3){padding-left:12px}`
|
|
273
303
|
让第二列的标签让出间隔。这里把间隔加在单元格上而不是标签上 —— 标签有 80px
|
|
274
304
|
定宽,加内边距会挤掉字数(全局 box-sizing 是 border-box)。 */
|
|
275
|
-
> tbody > tr > td.table-cell + td.table-cell {
|
|
305
|
+
> tbody > tr > td.table-cell + td.table-cell .el-form-item{
|
|
276
306
|
padding-left: 12px;
|
|
277
307
|
}
|
|
278
308
|
|
|
279
309
|
td.table-cell .field-wrapper.h5-field .el-form-item {
|
|
280
310
|
/* 断链场景下 element 默认标签是右对齐的,这里兜住 */
|
|
311
|
+
border-bottom:solid 1px $xformH5RowBorder;
|
|
281
312
|
> .el-form-item__label {
|
|
282
313
|
text-align: left !important;
|
|
314
|
+
font-size: $xformH5Size;
|
|
283
315
|
}
|
|
284
316
|
|
|
285
317
|
> .el-form-item__content {
|
|
286
|
-
width: auto !important; // 压对手二的 !important;本方 (0,7,1)+!important
|
|
287
318
|
text-align: right;
|
|
288
|
-
|
|
319
|
+
display: flex;
|
|
320
|
+
justify-content: flex-end;
|
|
289
321
|
/* 对手一 (0,3,2),本方 (0,8,2) */
|
|
290
322
|
span {
|
|
291
|
-
|
|
323
|
+
font-size:$xformH5Size;
|
|
292
324
|
}
|
|
293
325
|
}
|
|
294
326
|
}
|
|
@@ -408,11 +440,12 @@ $xformH5PageBg: #f1f5fb;
|
|
|
408
440
|
/* container-item-wrapper 那层,高度要能传下去 */
|
|
409
441
|
.container-wrapper {
|
|
410
442
|
height: 100%;
|
|
443
|
+
width:100%;
|
|
411
444
|
}
|
|
412
445
|
|
|
413
446
|
.h5-detail-wrap {
|
|
414
|
-
display: flex;
|
|
415
|
-
flex-direction: column;
|
|
447
|
+
//display: flex;
|
|
448
|
+
//flex-direction: column; 弹框在里面会有问题
|
|
416
449
|
height: 100%;
|
|
417
450
|
min-height: 0; // 允许在 flex 父级下收缩
|
|
418
451
|
/* 压掉 style.scss:13765 的 padding-bottom:68px(那是给 fixed 底栏让位用的) */
|
|
@@ -421,7 +454,7 @@ $xformH5PageBg: #f1f5fb;
|
|
|
421
454
|
|
|
422
455
|
.h5-header {
|
|
423
456
|
flex: none;
|
|
424
|
-
height: $xformH5HeaderHeight;
|
|
457
|
+
height: $xformH5HeaderHeight !important;
|
|
425
458
|
line-height: $xformH5HeaderHeight;
|
|
426
459
|
}
|
|
427
460
|
|
|
@@ -436,7 +469,9 @@ $xformH5PageBg: #f1f5fb;
|
|
|
436
469
|
卡片是 margin:12px 8px 0(只有上间距),末尾这一格只能由滚动区补。
|
|
437
470
|
取 12px 与卡片间距同口径。 */
|
|
438
471
|
padding-bottom: 12px;
|
|
472
|
+
height:calc(100% - $xformH5FooterHeight - $xformH5HeaderHeight) !important;
|
|
439
473
|
|
|
474
|
+
-webkit-overflow-scrolling:touch;
|
|
440
475
|
/* ★ 字段卡片那组的高度必须由内容决定。
|
|
441
476
|
detail-h5-item.vue 的 scoped 样式里有一条从设计器画布抄来的
|
|
442
477
|
`.grid-container .form-widget-list { height: 100% }`,而该组件的根节点
|
|
@@ -449,17 +484,28 @@ $xformH5PageBg: #f1f5fb;
|
|
|
449
484
|
> .form-widget-list {
|
|
450
485
|
height: auto;
|
|
451
486
|
}
|
|
487
|
+
|
|
452
488
|
}
|
|
453
489
|
|
|
454
490
|
.h5-fixed-bottom-btns {
|
|
455
491
|
/* 压掉 style.scss:10246 附近的 position:fixed 与 height:56px!important。
|
|
456
492
|
单行固定高:超出三个的按钮进图标下拉,不换行。 */
|
|
457
|
-
position: static !important;
|
|
493
|
+
//position: static !important;
|
|
458
494
|
flex: none;
|
|
459
495
|
height: $xformH5FooterHeight !important;
|
|
460
496
|
}
|
|
461
497
|
}
|
|
462
498
|
|
|
499
|
+
/* ============ 块 G2:底栏没按钮时把那一格还给内容区 ============ */
|
|
500
|
+
/* 底栏一个按钮都没有时 detail-h5-item 不渲染它,并在根节点打 h5-no-bottom-btns。
|
|
501
|
+
块 G 的 .h5-detail-body 高度是 calc(100% - 底栏 - 标题栏) 硬减出来的,
|
|
502
|
+
不跟着改的话底部会空出一条 56px 的白带(底栏没了,减法还在)。
|
|
503
|
+
对手是块 G 里 .xform-h5 .h5-detail-body 那条 (0,2,0) + !important,
|
|
504
|
+
本方 (0,4,0) + !important,靠段数取胜,不依赖书写顺序。 */
|
|
505
|
+
.xform-h5 .h5-detail-wrap.h5-no-bottom-btns .h5-detail-body {
|
|
506
|
+
height: calc(100% - $xformH5HeaderHeight) !important;
|
|
507
|
+
}
|
|
508
|
+
|
|
463
509
|
/* ★ 页面态必须定死一屏,不能用 min-height。
|
|
464
510
|
实测宿主链没有确定高度(#containt 只有背景/圆角,没有 height),
|
|
465
511
|
.designer-view{height:100%} → .xform-h5{height:100%} 一路塌陷成 auto;
|
|
@@ -486,6 +532,7 @@ $xformH5PageBg: #f1f5fb;
|
|
|
486
532
|
}
|
|
487
533
|
|
|
488
534
|
/* ============ 块 H:底部动作栏(胶囊按钮,单行、最多三个 + 图标下拉) ============ */
|
|
535
|
+
|
|
489
536
|
.xform-h5 .h5-detail-wrap .h5-fixed-bottom-btns {
|
|
490
537
|
display: flex;
|
|
491
538
|
align-items: center;
|
|
@@ -565,60 +612,16 @@ $xformH5PageBg: #f1f5fb;
|
|
|
565
612
|
}
|
|
566
613
|
}
|
|
567
614
|
|
|
568
|
-
/* ============ 明细详情弹框:铺满视口 ============ */
|
|
569
|
-
/* 这个弹框是 :modal="false"(无遮罩),高度又只由内容撑开,
|
|
570
|
-
于是底部动作栏(通过/驳回/中断)会从弹框下方露出来,看着像两层界面。
|
|
571
|
-
让它铺满一屏盖住底栏。作用域限定在 .xform-h5 内,不影响 bill_setting
|
|
572
|
-
那边同样用 .h5view-dialog 的弹框(弹框未 append-to-body,DOM 就在本作用域里)。 */
|
|
573
|
-
.xform-h5 .el-dialog__wrapper .el-dialog.h5view-dialog {
|
|
574
|
-
margin: 0 !important;
|
|
575
|
-
/* 同上:手机浏览器地址栏占位时 100vh 比可视区高,弹框底部的「关闭」会被顶出屏幕。
|
|
576
|
-
dvh 打头、vh 兜底,见块 G 的说明。 */
|
|
577
|
-
height: 100vh;
|
|
578
|
-
height: 100dvh;
|
|
579
|
-
display: flex;
|
|
580
|
-
flex-direction: column;
|
|
581
|
-
border-radius: 0;
|
|
582
|
-
|
|
583
|
-
> .el-dialog__body {
|
|
584
|
-
flex: 1;
|
|
585
|
-
min-height: 0;
|
|
586
|
-
overflow-y: auto;
|
|
587
|
-
-webkit-overflow-scrolling: touch;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
/* 内容区的 height 是模板里的内联样式,只能用 !important 压掉,
|
|
591
|
-
改由上面的 flex 决定高度 */
|
|
592
|
-
.cont {
|
|
593
|
-
height: auto !important;
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
/* 底部「关闭」:与底部动作栏同款胶囊,铺满一行 */
|
|
597
|
-
> .el-dialog__footer {
|
|
598
|
-
flex: none;
|
|
599
|
-
padding: 8px 13px;
|
|
600
|
-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
|
|
601
|
-
|
|
602
|
-
.button-sty,
|
|
603
|
-
.el-button {
|
|
604
|
-
width: 100%;
|
|
605
|
-
height: 40px;
|
|
606
|
-
border-radius: 30px;
|
|
607
|
-
padding: 0;
|
|
608
|
-
font-size: 13px;
|
|
609
|
-
|
|
610
|
-
i {
|
|
611
|
-
margin-right: 3px;
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
615
|
|
|
617
616
|
/* ============ 明细行的「查看」角标 ============ */
|
|
618
617
|
/* 对齐 bill_setting 的 .pro-item .t::after:主色淡底圆钮 + 右向箭头,
|
|
619
618
|
提示这一行可以点进详情。与 itemStyle 无关,明细行一律有。
|
|
620
619
|
对手 .h5-list-box .item (0,2,0);本方 (0,3,0)。 */
|
|
621
620
|
.xform-h5 .h5-list-box .item {
|
|
621
|
+
margin-bottom:12px;
|
|
622
|
+
&:last-child{
|
|
623
|
+
margin-bottom:12px;
|
|
624
|
+
}
|
|
622
625
|
.h5-item-arrow {
|
|
623
626
|
position: absolute;
|
|
624
627
|
right: 12px;
|
|
@@ -690,11 +693,14 @@ $xformH5PageBg: #f1f5fb;
|
|
|
690
693
|
列间也是 14px,省出来的 14px 全给值。 */
|
|
691
694
|
padding-left: 7px;
|
|
692
695
|
padding-right: 7px;
|
|
696
|
+
padding-bottom:0;
|
|
697
|
+
font-size: 13px;
|
|
693
698
|
}
|
|
694
699
|
|
|
695
700
|
.xform-h5 .h5-list-box .item .t2 > dl {
|
|
696
701
|
padding-left: 7px;
|
|
697
702
|
padding-right: 7px;
|
|
703
|
+
margin-top:0;
|
|
698
704
|
> div {
|
|
699
705
|
align-items: flex-start; // 值折行时标签跟着顶对齐,别居中
|
|
700
706
|
}
|
|
@@ -710,7 +716,8 @@ $xformH5PageBg: #f1f5fb;
|
|
|
710
716
|
> div > dd {
|
|
711
717
|
flex: 1;
|
|
712
718
|
min-width: 0; // 不写这行,长值会撑破行而不是折行
|
|
713
|
-
text-align: right;
|
|
719
|
+
//text-align: right;
|
|
720
|
+
margin: 0;
|
|
714
721
|
word-break: break-word;
|
|
715
722
|
color: #323232; // 值加深、标签留灰,同块 C 的 #808080 / 默认色关系
|
|
716
723
|
}
|
|
@@ -741,9 +748,12 @@ $xformH5PageBg: #f1f5fb;
|
|
|
741
748
|
}
|
|
742
749
|
}
|
|
743
750
|
|
|
744
|
-
/* dd
|
|
745
|
-
|
|
751
|
+
/* dd 里是真控件的那份。列表行本身只出纯文本。
|
|
752
|
+
明细详情弹框 append-to-body,不在 .xform-h5 下,真正生效的是
|
|
753
|
+
下方 .el-dialog.h5view-dialog 里同一口径的规则;这段留给弹框
|
|
754
|
+
万一没挂到 body 时的兜底。 */
|
|
746
755
|
.xform-h5 .h5-list-box .item .t2 > dl > div > dd {
|
|
756
|
+
margin:0;
|
|
747
757
|
/* 压 style.scss:14112 的 width:calc(100vw - 159px),本方 (0,5,2) > (0,4,1) */
|
|
748
758
|
.field-wrapper.h5-field {
|
|
749
759
|
display: block;
|
|
@@ -771,32 +781,9 @@ $xformH5PageBg: #f1f5fb;
|
|
|
771
781
|
|
|
772
782
|
.field-wrapper.h5-field .el-form-item > .el-form-item__content {
|
|
773
783
|
margin-left: 0 !important;
|
|
774
|
-
text-align: right;
|
|
775
784
|
}
|
|
776
785
|
}
|
|
777
786
|
|
|
778
|
-
/* 「明细详情」弹框里那份 list 保持一行一个:那里的 dd 放的是真控件(输入框、
|
|
779
|
-
选择器、附件),塞进半宽格子就没法用了;它也是详情视角,不需要压缩行数。
|
|
780
|
-
本方 (0,6,1) > 上面两列那条 (0,4,1)。 */
|
|
781
|
-
.xform-h5 .h5view-dialog .h5-list-box .item .t2 > dl {
|
|
782
|
-
width: 100%;
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
/* 弹框那份 list 另有一条更狠的写死宽度:
|
|
786
|
-
`body .grid-height .dialog-style.h5view-dialog .el-dialog__body > .cont >
|
|
787
|
-
.h5-list-box .t2 dl .field-wrapper` (0,8,2)(style.scss:3861),
|
|
788
|
-
上面那条 (0,5,2) 压不过,必须单独补到 (0,9,1)。 */
|
|
789
|
-
.xform-h5
|
|
790
|
-
.dialog-style.h5view-dialog
|
|
791
|
-
.el-dialog__body
|
|
792
|
-
> .cont
|
|
793
|
-
> .h5-list-box
|
|
794
|
-
.item
|
|
795
|
-
.t2
|
|
796
|
-
> dl
|
|
797
|
-
.field-wrapper {
|
|
798
|
-
width: auto;
|
|
799
|
-
}
|
|
800
787
|
|
|
801
788
|
/* ============ 块 I:明细行卡片皮肤(list-h5 的 itemStyle=card) ============ */
|
|
802
789
|
/* 现状 .h5-list-box .item(style.scss:14029)已经是白底+radius8+1px边框+左侧竖条的卡片,
|
|
@@ -867,7 +854,7 @@ $xformH5PageBg: #f1f5fb;
|
|
|
867
854
|
|
|
868
855
|
> b {
|
|
869
856
|
font-size: 14px;
|
|
870
|
-
font-weight:
|
|
857
|
+
font-weight: 400;
|
|
871
858
|
word-break: break-word; // 主字段常是长编码,别撑破卡片
|
|
872
859
|
}
|
|
873
860
|
|
|
@@ -892,6 +879,34 @@ $xformH5PageBg: #f1f5fb;
|
|
|
892
879
|
}
|
|
893
880
|
}
|
|
894
881
|
|
|
882
|
+
/* ============ 块 I4:明细列表的「更多」尾行 ============ */
|
|
883
|
+
/* 详情里挂的明细列表默认只出 5 条(list-h5-item 的 H5_LIST_COLLAPSE_SIZE),
|
|
884
|
+
这一行是「更多(N)/ 收起」开关,两态同一行、只换文字与箭头方向,行高不变。
|
|
885
|
+
它是 .h5-list-box 的最后一个子元素,横向跟着那层 12px 内边距与卡片对齐;
|
|
886
|
+
卡片自带 12px 下边距(本文件块「查看角标」那段),这里不再叠上边距。
|
|
887
|
+
无对手规则,(0,3,0) 一条就够。 */
|
|
888
|
+
.xform-h5 .h5-list-box .h5-list-more {
|
|
889
|
+
display: flex;
|
|
890
|
+
align-items: center;
|
|
891
|
+
justify-content: center;
|
|
892
|
+
height: 36px;
|
|
893
|
+
border-radius: 8px;
|
|
894
|
+
background: #fff;
|
|
895
|
+
//border: solid 1px #eee;
|
|
896
|
+
color: $baseColor;
|
|
897
|
+
font-size: 13px;
|
|
898
|
+
cursor: pointer;
|
|
899
|
+
margin:-4px 0 8px;
|
|
900
|
+
.h5-list-more-count {
|
|
901
|
+
color: #999;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
i {
|
|
905
|
+
margin-left: 2px;
|
|
906
|
+
font-size: 12px;
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
|
|
895
910
|
/* ============ 块 J:附件(VabUpload 列表的 H5 行式版式) ============ */
|
|
896
911
|
/* 这一块的第一版是照抄 bill_setting/h5.scss 的 74px 方格口径,实测把附件压没了、
|
|
897
912
|
已撤回;那套 DOM 里 .el-upload-list__item-thumbnail 是 item 的直接子元素,而
|
|
@@ -939,7 +954,7 @@ $xformH5PageBg: #f1f5fb;
|
|
|
939
954
|
display: block !important;
|
|
940
955
|
float: none !important;
|
|
941
956
|
width: 100%;
|
|
942
|
-
margin: 0 0
|
|
957
|
+
margin: 0 0 12px;
|
|
943
958
|
}
|
|
944
959
|
|
|
945
960
|
.upload-box {
|
|
@@ -958,8 +973,8 @@ $xformH5PageBg: #f1f5fb;
|
|
|
958
973
|
padding: 8px;
|
|
959
974
|
overflow: visible;
|
|
960
975
|
background: #fff;
|
|
961
|
-
border: solid 1px
|
|
962
|
-
border-radius:
|
|
976
|
+
border: solid 1px $xformH5RowBorder;
|
|
977
|
+
border-radius: 8px;
|
|
963
978
|
transition: none; // element 的 item 有 transform 过渡,行式下没意义还会闪
|
|
964
979
|
|
|
965
980
|
/* 行本体。li 下只有这一个 div,所有子块都在它里面 */
|
|
@@ -991,6 +1006,7 @@ $xformH5PageBg: #f1f5fb;
|
|
|
991
1006
|
.el-image {
|
|
992
1007
|
width: 100%;
|
|
993
1008
|
height: 100%;
|
|
1009
|
+
img{width:56px;height:56px}
|
|
994
1010
|
}
|
|
995
1011
|
|
|
996
1012
|
img {
|
|
@@ -1130,15 +1146,21 @@ $xformH5PageBg: #f1f5fb;
|
|
|
1130
1146
|
只作用于 el-button 的直接子 i(element 把 icon 渲染成按钮的第一个子元素)。
|
|
1131
1147
|
底栏「更多」下拉的触发器是裸 <i class="h5-more-icon">、不在 el-button 里,不受影响。 */
|
|
1132
1148
|
.xform-h5 {
|
|
1133
|
-
.pop-box .el-button > i,
|
|
1134
|
-
.pop-tipsBox .el-button > i,
|
|
1135
|
-
.pop-screen-box .el-button > i,
|
|
1136
1149
|
.h5-detail-wrap .h5-fixed-bottom-btns .el-button > i,
|
|
1137
1150
|
.el-dialog.h5view-dialog > .el-dialog__footer .el-button > i {
|
|
1138
1151
|
display: none;
|
|
1139
1152
|
}
|
|
1140
1153
|
}
|
|
1141
1154
|
|
|
1155
|
+
/* 同上,但这两条不能收在 .xform-h5 里:.h5-pop-dialog 那 5 个弹层、
|
|
1156
|
+
.h5-pop-tips 那 5 个确认框都已挂到 document.body 下。
|
|
1157
|
+
.h5-pop-dialog 里再弹的高级筛选抽屉(.pop-screen-box)被后代选择器一并覆盖,
|
|
1158
|
+
不必单列 —— 也正好不会误伤手写移动页里那些独立使用的 .pop-screen-box。 */
|
|
1159
|
+
.h5-pop-dialog .el-button > i,
|
|
1160
|
+
.pop-tipsBox.h5-pop-tips .el-button > i {
|
|
1161
|
+
display: none;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1142
1164
|
/* ============ 块 L:移动版流程(wf)面板 ============ */
|
|
1143
1165
|
/* 来源:resources/css/h5.scss —— 那份不随包发布、xform 引不到,故把
|
|
1144
1166
|
components/mobile/wf/content.vue 实际用到的类搬进包内。
|
|
@@ -1162,8 +1184,8 @@ $xformH5PageBg: #f1f5fb;
|
|
|
1162
1184
|
|
|
1163
1185
|
> .t,
|
|
1164
1186
|
.m2 .t {
|
|
1165
|
-
color:
|
|
1166
|
-
|
|
1187
|
+
color: #666;
|
|
1188
|
+
padding:8px;
|
|
1167
1189
|
|
|
1168
1190
|
&:before {
|
|
1169
1191
|
content: "";
|
|
@@ -1283,63 +1305,225 @@ $xformH5PageBg: #f1f5fb;
|
|
|
1283
1305
|
}
|
|
1284
1306
|
}
|
|
1285
1307
|
|
|
1286
|
-
/* ---- 全屏弹层(.pop-box)---- */
|
|
1287
|
-
/* 用这个根类的一共 7 个:流程图预览、任务情况预览(这两个是 mobile/wf/content.vue
|
|
1288
|
-
模板里内联写的,见该文件 showPreviewDialog / showRenwuDialog 两段)、
|
|
1289
|
-
选用户 views/mobile/user/user/dialog.vue、加签 addTaskUserdialog、减签
|
|
1290
|
-
deleteTaskUserDialog、催办 urgingDialog、修改候选人 setCandidateDialog、
|
|
1291
|
-
修改单据 wfModifyDialog。它们共用同一批类名,所以一次搬齐。
|
|
1292
1308
|
|
|
1293
|
-
原规则整段嵌在 resources/css/h5.scss 的 `.h5-box` 下,而 xform H5 的根类是
|
|
1294
|
-
.xform-h5、全项目没有任何 .vue 输出过 h5-box —— 一条都命中不了,表现是列表
|
|
1295
|
-
退化成裸文字、搜索行和已选区完全没有版式。(对比 .pop-tipsBox 是顶层选择器,
|
|
1296
|
-
所以通过/驳回/转办那几个小确认框看着正常,一点「选用户」就裸。)
|
|
1297
1309
|
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
/* ---- 确认/表单提示框(通过、驳回、中断、转办、加签)---- */
|
|
1313
|
+
/* ★ 顶层选择器,不能收回 .xform-h5 里:这 5 个已改走 v-append-to-body,
|
|
1314
|
+
节点在 document.body 下,带 .xform-h5 前缀的规则一条都命中不了。
|
|
1315
|
+
与上面的 .h5-pop-dialog 同一个道理。
|
|
1316
|
+
|
|
1317
|
+
★ 但也不能只写 .pop-tipsBox:confirmDialog / baseAlert / errorMsg 的移动端分支
|
|
1318
|
+
用的是同一个类名,而且它们本来就挂在 body 上。只写 .pop-tipsBox(0,1,0)会和
|
|
1319
|
+
各应用 resources/css/h5.scss 里那条同名顶层规则拼加载顺序,把那三个的样子也一起
|
|
1320
|
+
改掉。所以多挂一个 .h5-pop-tips 作锚点,选择器权重(0,2,0)与改造前的
|
|
1321
|
+
`.xform-h5 .pop-tipsBox` 完全相同,命中范围也仍然只有这 5 个。
|
|
1322
|
+
|
|
1323
|
+
注意:.icon 沿用 resources/images 下的图标,`~@/` 在消费应用里解析到它自己的
|
|
1324
|
+
src/resources/images —— 该目录同样不在 package.json files 内,属隐式依赖。
|
|
1325
|
+
消费应用现有的 h5.scss 已引用同一批图,故风险可控;若要彻底解耦可换字体图标。 */
|
|
1326
|
+
.pop-tipsBox.h5-pop-tips {
|
|
1327
|
+
position: relative;
|
|
1328
|
+
&:before {
|
|
1329
|
+
content: "";
|
|
1302
1330
|
position: fixed;
|
|
1303
1331
|
top: 0;
|
|
1304
1332
|
right: 0;
|
|
1305
1333
|
bottom: 0;
|
|
1306
1334
|
left: 0;
|
|
1307
|
-
background:
|
|
1308
|
-
z-index:
|
|
1335
|
+
background: rgba(0, 0, 0, 0.4);
|
|
1336
|
+
z-index: 998;
|
|
1337
|
+
}
|
|
1309
1338
|
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1339
|
+
> div {
|
|
1340
|
+
position: fixed;
|
|
1341
|
+
top: 19%;
|
|
1342
|
+
left: 32px;
|
|
1343
|
+
right: 32px;
|
|
1344
|
+
box-shadow: 0 0 14px rgba(0, 0, 0, 0.16);
|
|
1345
|
+
border-radius: 18px;
|
|
1346
|
+
padding: 68px 16px 18px;
|
|
1347
|
+
text-align: center;
|
|
1348
|
+
z-index: 999;
|
|
1349
|
+
background-color: #fff;
|
|
1350
|
+
background-size: 100% auto;
|
|
1351
|
+
border: solid 2px #fff;
|
|
1352
|
+
|
|
1353
|
+
.icon {
|
|
1354
|
+
background: url(~@base/core-resources/images/icon-tips.png) no-repeat center;
|
|
1355
|
+
background-size: cover;
|
|
1356
|
+
position: absolute;
|
|
1357
|
+
top: -19px;
|
|
1358
|
+
left: 50%;
|
|
1359
|
+
margin-left: -34px;
|
|
1360
|
+
width: 68px;
|
|
1361
|
+
height: 68px;
|
|
1362
|
+
border-radius: 50%;
|
|
1363
|
+
border: solid 2px #fff;
|
|
1315
1364
|
}
|
|
1316
1365
|
|
|
1317
|
-
.
|
|
1318
|
-
|
|
1319
|
-
position: relative;
|
|
1320
|
-
background-color: #fff;
|
|
1321
|
-
text-align: center;
|
|
1322
|
-
height: $xformH5HeaderHeight;
|
|
1323
|
-
line-height: $xformH5HeaderHeight;
|
|
1324
|
-
font-size: 16px;
|
|
1325
|
-
color: #212121;
|
|
1326
|
-
border-bottom: solid 1px #f1f6fc;
|
|
1366
|
+
.cont {
|
|
1367
|
+
padding: 0 0 18px;
|
|
1327
1368
|
|
|
1328
|
-
.
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
margin-top: -10px;
|
|
1333
|
-
line-height: 20px;
|
|
1334
|
-
font-size: 20px;
|
|
1369
|
+
.name {
|
|
1370
|
+
font-weight: 600;
|
|
1371
|
+
font-size: 18px;
|
|
1372
|
+
margin-bottom: 24px;
|
|
1335
1373
|
}
|
|
1336
1374
|
|
|
1337
|
-
/*
|
|
1338
|
-
|
|
1339
|
-
|
|
1375
|
+
/* max-height + overflow:auto 是给「自定义确认文案」这类可能很长的内容留的
|
|
1376
|
+
(提醒内容、脚本里配的提示都走这里)。但确认框里多数只有一行短句,
|
|
1377
|
+
真机 WebView 又是经典滚动条(不像桌面那样会自动淡出),于是「您确定要
|
|
1378
|
+
中断流程吗?」这种一行字旁边也挂着一条灰色滚动条。
|
|
1379
|
+
保留可滚动(长文案照样能滑),只把滚动条本身藏掉 —— 移动端本来就该是
|
|
1380
|
+
无痕滚动。 */
|
|
1381
|
+
.txt,
|
|
1382
|
+
.txt2 {
|
|
1383
|
+
overflow: auto;
|
|
1384
|
+
word-break: break-word;
|
|
1385
|
+
scrollbar-width: none; // Firefox
|
|
1386
|
+
-ms-overflow-style: none; // 旧 Edge/IE
|
|
1387
|
+
text-align:left;
|
|
1388
|
+
font-size:13px;
|
|
1389
|
+
&::-webkit-scrollbar {
|
|
1390
|
+
display: none;
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
.txt {
|
|
1395
|
+
max-height: 100px;
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
.txt2 {
|
|
1399
|
+
max-height: 200px;
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
.form-box {
|
|
1403
|
+
border: solid 1px #dcdcdc;
|
|
1404
|
+
padding: 0 12px 10px;
|
|
1405
|
+
border-radius: 10px;
|
|
1406
|
+
margin-top: -8px;
|
|
1407
|
+
text-align:left;
|
|
1408
|
+
.el-form-item .el-form-item__label{
|
|
1409
|
+
padding-bottom:0;
|
|
1410
|
+
}
|
|
1411
|
+
.line {
|
|
1412
|
+
border: solid 1px #e8e8e8;
|
|
1413
|
+
}
|
|
1414
|
+
.el-input,.el-select{width:100% !important}
|
|
1415
|
+
}
|
|
1416
|
+
.link-underline{
|
|
1417
|
+
border-bottom:solid 1px
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
.btns {
|
|
1422
|
+
display: flex;
|
|
1423
|
+
|
|
1424
|
+
.btn {
|
|
1425
|
+
flex: 1;
|
|
1426
|
+
height: 40px;
|
|
1427
|
+
border-radius: 12px;
|
|
1428
|
+
|
|
1429
|
+
&.el-button--primary.is-plain {
|
|
1430
|
+
border-color: $baseColor;
|
|
1431
|
+
}
|
|
1340
1432
|
}
|
|
1341
1433
|
}
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
&.error > div .icon {
|
|
1437
|
+
background-image: url(~@base/core-resources/images/icon-error.png);
|
|
1438
|
+
border-color: #fff;
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
/* ============ 页面底色 ============ */
|
|
1443
|
+
.xform-h5 .h5-detail-wrap {
|
|
1444
|
+
background: $xformH5PageBg;
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
/* ---- 全屏弹层(.h5-pop-dialog)---- */
|
|
1448
|
+
/* 用这个根类的一共 5 个,都在 components/mobile/wf/ 下:选用户 selectUserDialog、
|
|
1449
|
+
加签 addTaskUserdialog、减签 deleteTaskUserDialog、催办 urgingDialog、
|
|
1450
|
+
修改候选人 setCandidateDialog。它们共用同一批类名,所以一次搬齐。
|
|
1451
|
+
(流程图预览、任务情况预览是 content.vue 模板里内联写的 el-dialog,走的是
|
|
1452
|
+
.h5view-dialog,不在这一段。同目录的 wfModifyDialog 仍是 .pop-box 就地渲染——
|
|
1453
|
+
H5 不需要「修改单据」,那个只从手写移动页进,样式也走各应用自己的 h5.scss。)
|
|
1454
|
+
|
|
1455
|
+
★ 这一段必须是顶层选择器,不能收进 .xform-h5 里。这 5 个已经改成
|
|
1456
|
+
el-dialog + append-to-body,节点挂在 document.body 下、不在 .xform-h5 子树里,
|
|
1457
|
+
写成 `.xform-h5 .pop-box` 一条都命中不了 —— 与它们最初挂在从不存在的 `.h5-box`
|
|
1458
|
+
下、表现为「列表退化成裸文字」是同一类事故。同理见下方 .h5view-dialog。
|
|
1459
|
+
|
|
1460
|
+
骨架高度不抄原文的 calc(100vh - 102px / 138px / 151px) 那套(值随有没有搜索行
|
|
1461
|
+
而变,脆),一律 flex + min-height:0,与块 A、块 G 同口径。content.vue 那两处
|
|
1462
|
+
.flex 上的内联 height:calc(100vh - 38px) 不用管:flex-basis:0% 会接管主轴尺寸。 */
|
|
1463
|
+
.el-dialog.h5-pop-dialog {
|
|
1464
|
+
/* 外层 .el-dialog__wrapper 已经是铺满视口的 fixed,这里用 absolute 贴着它定位,
|
|
1465
|
+
几何与改造前的 `position:fixed; top:38px; bottom:55px` 完全一致:
|
|
1466
|
+
顶部让出 H5 页头、底部让出审批动作栏。
|
|
1467
|
+
z-index 不再手写 —— 由 element 的 PopupManager 给 wrapper 递增分配,
|
|
1468
|
+
改造前 99 / 内联 zIndex 两套值互相打架的问题一并消掉。 */
|
|
1469
|
+
position: absolute;
|
|
1470
|
+
top: 38px;
|
|
1471
|
+
right: 0;
|
|
1472
|
+
bottom: 55px;
|
|
1473
|
+
left: 0;
|
|
1474
|
+
width: 100% !important;
|
|
1475
|
+
margin: 0 !important;
|
|
1476
|
+
background: #f6f6f6;
|
|
1477
|
+
border-radius: 0;
|
|
1478
|
+
box-shadow: none;
|
|
1479
|
+
display: flex;
|
|
1480
|
+
flex-direction: column;
|
|
1481
|
+
|
|
1482
|
+
/* 标题和关闭按钮都在自己的 .header-box 里,el-dialog 自带的表头整条不要 */
|
|
1483
|
+
> .el-dialog__header {
|
|
1484
|
+
display: none;
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
/* body 顶掉 element 的 30px 20px 内边距,只当骨架的承载层 */
|
|
1488
|
+
> .el-dialog__body {
|
|
1489
|
+
flex: 1;
|
|
1490
|
+
min-height: 0;
|
|
1491
|
+
padding: 0;
|
|
1492
|
+
color: inherit;
|
|
1493
|
+
font-size: inherit;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
/* 骨架:标题栏 / 搜索行 / 底部按钮条 flex:none,中间那段独占剩余高度并内部滚动 */
|
|
1497
|
+
> .el-dialog__body > div {
|
|
1498
|
+
display: flex;
|
|
1499
|
+
flex-direction: column;
|
|
1500
|
+
height: 100%;
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
.header-box {
|
|
1504
|
+
flex: none;
|
|
1505
|
+
position: relative;
|
|
1506
|
+
background-color: #fff;
|
|
1507
|
+
text-align: center;
|
|
1508
|
+
height: $xformH5HeaderHeight;
|
|
1509
|
+
line-height: $xformH5HeaderHeight;
|
|
1510
|
+
font-size: 16px;
|
|
1511
|
+
color: #212121;
|
|
1512
|
+
border-bottom: solid 1px #f1f6fc;
|
|
1513
|
+
|
|
1514
|
+
.back {
|
|
1515
|
+
position: absolute;
|
|
1516
|
+
right: 14px;
|
|
1517
|
+
top: 50%;
|
|
1518
|
+
margin-top: -10px;
|
|
1519
|
+
line-height: 20px;
|
|
1520
|
+
font-size: 20px;
|
|
1521
|
+
}
|
|
1342
1522
|
|
|
1523
|
+
/* 「修改单据 — 节点:xx」这类副标题 */
|
|
1524
|
+
> span {
|
|
1525
|
+
margin: 0 8px;
|
|
1526
|
+
}
|
|
1343
1527
|
/* 搜索行(选用户 / 加签):输入框 + 右侧「高级筛选」 */
|
|
1344
1528
|
.search-H5box {
|
|
1345
1529
|
flex: none;
|
|
@@ -1431,328 +1615,269 @@ $xformH5PageBg: #f1f5fb;
|
|
|
1431
1615
|
overflow-y: auto;
|
|
1432
1616
|
}
|
|
1433
1617
|
|
|
1434
|
-
|
|
1435
|
-
display: flex;
|
|
1436
|
-
flex-direction: column;
|
|
1437
|
-
flex: 1;
|
|
1438
|
-
min-height: 0;
|
|
1439
|
-
|
|
1440
|
-
/* 可滚动的候选列表 */
|
|
1441
|
-
.checkbox-all_list {
|
|
1442
|
-
flex: 1;
|
|
1443
|
-
min-height: 0;
|
|
1444
|
-
/* 只放开纵向。写成 overflow:auto 时横向也可滚,卡片里一旦有超长内容
|
|
1445
|
-
(用户资料的「地址」字段存的是一整条图片 URL)就会拖出一条横向滚动条。 */
|
|
1446
|
-
overflow-y: auto;
|
|
1447
|
-
overflow-x: hidden;
|
|
1448
|
-
padding: 0 12px;
|
|
1449
|
-
|
|
1450
|
-
.order-item {
|
|
1451
|
-
background: #fff;
|
|
1452
|
-
|
|
1453
|
-
.is-checked {
|
|
1454
|
-
position: absolute;
|
|
1455
|
-
right: 0;
|
|
1456
|
-
top: 0;
|
|
1457
|
-
width: 62px;
|
|
1458
|
-
height: 22px;
|
|
1459
|
-
line-height: 20px;
|
|
1460
|
-
text-align: center;
|
|
1461
|
-
font-size: 13px;
|
|
1462
|
-
color: #fff;
|
|
1463
|
-
background: #e2e2e2;
|
|
1464
|
-
border: solid 1px #dcdcdc;
|
|
1465
|
-
border-radius: 0 8px 0 6px;
|
|
1466
|
-
|
|
1467
|
-
i {
|
|
1468
|
-
margin-right: 3px;
|
|
1469
|
-
font-size: 13px;
|
|
1470
|
-
}
|
|
1471
|
-
}
|
|
1472
|
-
|
|
1473
|
-
&.on {
|
|
1474
|
-
border: solid 1px $baseColor;
|
|
1475
|
-
|
|
1476
|
-
.is-checked {
|
|
1477
|
-
border-color: $baseColor;
|
|
1478
|
-
background: $baseColor;
|
|
1479
|
-
}
|
|
1480
|
-
}
|
|
1481
|
-
}
|
|
1482
|
-
}
|
|
1618
|
+
}
|
|
1483
1619
|
|
|
1484
|
-
/*
|
|
1485
|
-
|
|
1620
|
+
/* 按钮口径与块 H 的底部动作栏、块 G 的明细详情弹框页脚保持一致(40px 高胶囊)。
|
|
1621
|
+
原文搬过来时是 border-radius:14px —— 那是手写移动页 resources/css/h5.scss 的
|
|
1622
|
+
口径,跟包内基线不是一套,同一屏里会出现两种按钮,故改齐。
|
|
1623
|
+
左右 margin 保留:选用户/加签这些是两个按钮并排,需要中间那道缝。 */
|
|
1624
|
+
.fixed-bottom-btns {
|
|
1486
1625
|
flex: none;
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
padding:
|
|
1490
|
-
background: #fff;
|
|
1491
|
-
box-shadow: 0 -3px 4px rgba(0, 0, 0, 0.06);
|
|
1492
|
-
|
|
1493
|
-
.ca-t {
|
|
1494
|
-
margin: 8px 0;
|
|
1495
|
-
font-size: 14px;
|
|
1496
|
-
font-weight: 600;
|
|
1497
|
-
}
|
|
1626
|
+
background: #f6f6f6;
|
|
1627
|
+
display: flex;
|
|
1628
|
+
padding: 4px 8px;
|
|
1498
1629
|
|
|
1499
|
-
.
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
height:
|
|
1503
|
-
|
|
1504
|
-
padding: 0
|
|
1505
|
-
margin: 4px 10px 4px 0;
|
|
1630
|
+
.btn {
|
|
1631
|
+
flex: 1;
|
|
1632
|
+
margin: 4px 6px;
|
|
1633
|
+
height: 40px;
|
|
1634
|
+
border-radius: 30px;
|
|
1635
|
+
padding: 0;
|
|
1506
1636
|
font-size: 13px;
|
|
1507
|
-
color: $baseColor;
|
|
1508
|
-
border: solid 1px $baseColor;
|
|
1509
|
-
border-radius: 4px;
|
|
1510
1637
|
|
|
1511
1638
|
i {
|
|
1512
|
-
|
|
1513
|
-
top: 0;
|
|
1514
|
-
right: 0;
|
|
1515
|
-
width: 24px;
|
|
1516
|
-
height: 24px;
|
|
1517
|
-
line-height: 24px;
|
|
1518
|
-
text-align: center;
|
|
1519
|
-
background: transparentize($baseColor, 0.91);
|
|
1639
|
+
margin-right: 3px;
|
|
1520
1640
|
}
|
|
1521
1641
|
}
|
|
1522
1642
|
}
|
|
1523
1643
|
|
|
1524
|
-
.form-box {
|
|
1525
|
-
display: flex;
|
|
1526
|
-
flex-direction: column;
|
|
1527
|
-
flex: 1;
|
|
1528
|
-
overflow: hidden;
|
|
1529
|
-
|
|
1530
|
-
.tit {
|
|
1531
|
-
margin: 8px 12px;
|
|
1532
|
-
background: rgba(51, 106, 153, 0.1);
|
|
1533
|
-
border-radius: 11px;
|
|
1534
|
-
padding: 10px 12px;
|
|
1535
|
-
font-size: 13px;
|
|
1536
|
-
color: $baseColor;
|
|
1537
|
-
|
|
1538
|
-
&:before {
|
|
1539
|
-
content: "";
|
|
1540
|
-
width: 5px;
|
|
1541
|
-
height: 5px;
|
|
1542
|
-
background: $baseColor;
|
|
1543
|
-
border-radius: 50%;
|
|
1544
|
-
vertical-align: middle;
|
|
1545
|
-
margin-right: 5px;
|
|
1546
|
-
display: inline-block;
|
|
1547
|
-
}
|
|
1548
1644
|
|
|
1549
|
-
> span {
|
|
1550
|
-
vertical-align: middle;
|
|
1551
|
-
}
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
}
|
|
1555
1645
|
|
|
1556
|
-
|
|
1557
|
-
原文搬过来时是 border-radius:14px —— 那是手写移动页 resources/css/h5.scss 的
|
|
1558
|
-
口径,跟包内基线不是一套,同一屏里会出现两种按钮,故改齐。
|
|
1559
|
-
左右 margin 保留:选用户/加签这些是两个按钮并排,需要中间那道缝。 */
|
|
1560
|
-
.fixed-bottom-btns {
|
|
1561
|
-
flex: none;
|
|
1562
|
-
background: #f6f6f6;
|
|
1563
|
-
display: flex;
|
|
1564
|
-
padding: 4px 8px;
|
|
1646
|
+
}
|
|
1565
1647
|
|
|
1566
|
-
.btn {
|
|
1567
|
-
flex: 1;
|
|
1568
|
-
margin: 4px 6px;
|
|
1569
|
-
height: 40px;
|
|
1570
|
-
border-radius: 30px;
|
|
1571
|
-
padding: 0;
|
|
1572
|
-
font-size: 13px;
|
|
1573
1648
|
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1649
|
+
/* ---- 高级筛选抽屉(h5SearchDialog,从 .pop-box 里再弹一层)---- */
|
|
1650
|
+
.pop-screen-box {
|
|
1651
|
+
position: fixed;
|
|
1652
|
+
top: 0;
|
|
1653
|
+
right: 0;
|
|
1654
|
+
bottom: 0;
|
|
1655
|
+
left: 0;
|
|
1656
|
+
z-index: 99;
|
|
1579
1657
|
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1658
|
+
&:before {
|
|
1659
|
+
content: "";
|
|
1660
|
+
position: absolute;
|
|
1661
|
+
left: 0;
|
|
1662
|
+
right: 0;
|
|
1663
|
+
top: 0;
|
|
1664
|
+
bottom: 0;
|
|
1665
|
+
background: rgba(0, 0, 0, 0.3);
|
|
1666
|
+
}
|
|
1588
1667
|
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
border-radius: 5px;
|
|
1599
|
-
}
|
|
1668
|
+
> div {
|
|
1669
|
+
display: flex;
|
|
1670
|
+
flex-direction: column;
|
|
1671
|
+
position: absolute;
|
|
1672
|
+
top: 0;
|
|
1673
|
+
right: 0;
|
|
1674
|
+
bottom: 0;
|
|
1675
|
+
width: 80%;
|
|
1676
|
+
background: #fff;
|
|
1600
1677
|
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1678
|
+
.header-box {
|
|
1679
|
+
flex: none;
|
|
1680
|
+
position: relative;
|
|
1681
|
+
text-align: center;
|
|
1682
|
+
height: $xformH5HeaderHeight;
|
|
1683
|
+
line-height: $xformH5HeaderHeight;
|
|
1684
|
+
font-size: 16px;
|
|
1685
|
+
color: #212121;
|
|
1686
|
+
border-bottom: solid 1px #eee;
|
|
1609
1687
|
|
|
1610
|
-
.
|
|
1611
|
-
|
|
1688
|
+
.back {
|
|
1689
|
+
position: absolute;
|
|
1690
|
+
right: 14px;
|
|
1691
|
+
top: 50%;
|
|
1692
|
+
margin-top: -10px;
|
|
1693
|
+
line-height: 20px;
|
|
1694
|
+
font-size: 20px;
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1612
1697
|
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1698
|
+
.p-cont {
|
|
1699
|
+
flex: 1;
|
|
1700
|
+
min-height: 0;
|
|
1701
|
+
overflow-y: auto;
|
|
1702
|
+
padding: 10px 16px 0;
|
|
1618
1703
|
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
margin: 0 5px 0 0;
|
|
1622
|
-
}
|
|
1704
|
+
.txt {
|
|
1705
|
+
width: 100%;
|
|
1623
1706
|
}
|
|
1624
1707
|
|
|
1625
|
-
.
|
|
1626
|
-
|
|
1627
|
-
color: rgba(128, 128, 128, 0.8);
|
|
1708
|
+
.el-form .el-form-item {
|
|
1709
|
+
margin-bottom: 4px;
|
|
1628
1710
|
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
margin-bottom: 4px;
|
|
1634
|
-
display: inline-block;
|
|
1635
|
-
vertical-align: top;
|
|
1711
|
+
.el-form-item__label {
|
|
1712
|
+
padding: 0;
|
|
1713
|
+
margin: 0;
|
|
1714
|
+
font-size: 13px;
|
|
1636
1715
|
}
|
|
1637
|
-
}
|
|
1638
1716
|
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1717
|
+
.el-input {
|
|
1718
|
+
width: 100% !important;
|
|
1719
|
+
height: 38px;
|
|
1720
|
+
border-radius: 4px;
|
|
1721
|
+
}
|
|
1643
1722
|
|
|
1644
|
-
.
|
|
1645
|
-
height: 28px;
|
|
1646
|
-
padding: 0 10px;
|
|
1723
|
+
.el-input__inner {
|
|
1647
1724
|
font-size: 13px;
|
|
1648
1725
|
}
|
|
1649
1726
|
}
|
|
1650
1727
|
}
|
|
1651
|
-
}
|
|
1652
1728
|
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
position: fixed;
|
|
1656
|
-
top: 0;
|
|
1657
|
-
right: 0;
|
|
1658
|
-
bottom: 0;
|
|
1659
|
-
left: 0;
|
|
1660
|
-
z-index: 99;
|
|
1661
|
-
|
|
1662
|
-
&:before {
|
|
1663
|
-
content: "";
|
|
1664
|
-
position: absolute;
|
|
1665
|
-
left: 0;
|
|
1666
|
-
right: 0;
|
|
1667
|
-
top: 0;
|
|
1668
|
-
bottom: 0;
|
|
1669
|
-
background: rgba(0, 0, 0, 0.3);
|
|
1670
|
-
}
|
|
1671
|
-
|
|
1672
|
-
> div {
|
|
1729
|
+
.p-btn {
|
|
1730
|
+
flex: none;
|
|
1673
1731
|
display: flex;
|
|
1674
|
-
|
|
1675
|
-
position: absolute;
|
|
1676
|
-
top: 0;
|
|
1677
|
-
right: 0;
|
|
1678
|
-
bottom: 0;
|
|
1679
|
-
width: 80%;
|
|
1680
|
-
background: #fff;
|
|
1732
|
+
padding: 8px;
|
|
1681
1733
|
|
|
1682
|
-
.
|
|
1683
|
-
flex: none;
|
|
1684
|
-
position: relative;
|
|
1685
|
-
text-align: center;
|
|
1686
|
-
height: $xformH5HeaderHeight;
|
|
1687
|
-
line-height: $xformH5HeaderHeight;
|
|
1688
|
-
font-size: 16px;
|
|
1689
|
-
color: #212121;
|
|
1690
|
-
border-bottom: solid 1px #eee;
|
|
1691
|
-
|
|
1692
|
-
.back {
|
|
1693
|
-
position: absolute;
|
|
1694
|
-
right: 14px;
|
|
1695
|
-
top: 50%;
|
|
1696
|
-
margin-top: -10px;
|
|
1697
|
-
line-height: 20px;
|
|
1698
|
-
font-size: 20px;
|
|
1699
|
-
}
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
|
-
.p-cont {
|
|
1734
|
+
.btn {
|
|
1703
1735
|
flex: 1;
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1736
|
+
margin: 0 8px;
|
|
1737
|
+
height: 42px;
|
|
1738
|
+
border-radius: 42px;
|
|
1739
|
+
}
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
}
|
|
1711
1743
|
|
|
1712
|
-
|
|
1713
|
-
|
|
1744
|
+
.el-dialog.h5view-dialog {
|
|
1745
|
+
margin: 0 !important;
|
|
1746
|
+
/* 同上:手机浏览器地址栏占位时 100vh 比可视区高,弹框底部的「关闭」会被顶出屏幕。
|
|
1747
|
+
dvh 打头、vh 兜底,见块 G 的说明。 */
|
|
1748
|
+
height: calc(100vh - 15px);
|
|
1749
|
+
height: calc(100dvh - 15px);
|
|
1750
|
+
display: flex;
|
|
1751
|
+
flex-direction: column;
|
|
1752
|
+
border-radius: 0;
|
|
1714
1753
|
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1754
|
+
> .el-dialog__body {
|
|
1755
|
+
display: flex;
|
|
1756
|
+
flex-direction: column;
|
|
1757
|
+
flex: 1;
|
|
1758
|
+
min-height: 0;
|
|
1759
|
+
overflow-y: auto;
|
|
1760
|
+
-webkit-overflow-scrolling: touch;
|
|
1761
|
+
}
|
|
1762
|
+
.form-box {
|
|
1763
|
+
display: flex;
|
|
1764
|
+
flex-direction: column;
|
|
1765
|
+
flex: 1;
|
|
1766
|
+
overflow: hidden;
|
|
1767
|
+
background:#FFF;
|
|
1768
|
+
.tit {
|
|
1769
|
+
margin: 8px 12px;
|
|
1770
|
+
background: rgba(51, 106, 153, 0.1);
|
|
1771
|
+
border-radius: 11px;
|
|
1772
|
+
padding: 10px 12px;
|
|
1773
|
+
font-size: 13px;
|
|
1774
|
+
color: $baseColor;
|
|
1720
1775
|
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1776
|
+
&:before {
|
|
1777
|
+
content: "";
|
|
1778
|
+
width: 5px;
|
|
1779
|
+
height: 5px;
|
|
1780
|
+
background: $baseColor;
|
|
1781
|
+
border-radius: 50%;
|
|
1782
|
+
vertical-align: middle;
|
|
1783
|
+
margin-right: 5px;
|
|
1784
|
+
display: inline-block;
|
|
1785
|
+
}
|
|
1726
1786
|
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
}
|
|
1730
|
-
}
|
|
1787
|
+
> span {
|
|
1788
|
+
vertical-align: middle;
|
|
1731
1789
|
}
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1732
1792
|
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1793
|
+
/* 内容区的 height 是模板里的内联样式,只能用 !important 压掉,
|
|
1794
|
+
改由上面的 flex 决定高度 */
|
|
1795
|
+
.cont {
|
|
1796
|
+
height: 100% !important;overflow: auto;
|
|
1797
|
+
.h5-list-box{
|
|
1798
|
+
margin:12px;padding:0 !important;background:none !important;
|
|
1799
|
+
.item{
|
|
1800
|
+
border:none;
|
|
1801
|
+
/* 明细详情弹框 append-to-body,节点不在 .xform-h5 里,
|
|
1802
|
+
列表卡片那套 `.xform-h5 .h5-list-box .item .t2` 一行两个打不到。
|
|
1803
|
+
这里按同一口径接上:.t2 变 flex 容器,dl.m2 占 50%。 */
|
|
1804
|
+
.t2{
|
|
1805
|
+
display: flex;
|
|
1806
|
+
flex-wrap: wrap;
|
|
1807
|
+
align-items: flex-start;
|
|
1808
|
+
> dl{
|
|
1809
|
+
font-size:14px;color:#666;
|
|
1810
|
+
&.m2 {
|
|
1811
|
+
width: 50%;
|
|
1812
|
+
}
|
|
1813
|
+
&.m2 > div {
|
|
1814
|
+
flex-wrap: wrap;
|
|
1815
|
+
}
|
|
1816
|
+
&.m2 > div > dd {
|
|
1817
|
+
flex: 1 1 auto;
|
|
1818
|
+
min-width: 0;
|
|
1819
|
+
}
|
|
1820
|
+
dd{
|
|
1821
|
+
margin:0;
|
|
1822
|
+
color:#323232;
|
|
1823
|
+
text-align:right;
|
|
1824
|
+
min-width: 0;
|
|
1825
|
+
/* 压 style.scss:14112 的 width:calc(100vw - 159px)。
|
|
1826
|
+
弹框里是真控件,半行净宽撑不住整屏宽。 */
|
|
1827
|
+
.field-wrapper,
|
|
1828
|
+
.field-wrapper.h5-field {
|
|
1829
|
+
display: block;
|
|
1830
|
+
width: auto;
|
|
1831
|
+
}
|
|
1832
|
+
.field-wrapper.h5-field .el-form-item {
|
|
1833
|
+
display: block;
|
|
1834
|
+
min-height: 0;
|
|
1835
|
+
margin-bottom: 0;
|
|
1836
|
+
padding: 0;
|
|
1837
|
+
border-bottom: none;
|
|
1838
|
+
}
|
|
1839
|
+
/* dt 已经出过字段名,藏掉控件自带的第二份 label */
|
|
1840
|
+
.field-wrapper.h5-field .el-form-item > .el-form-item__label {
|
|
1841
|
+
display: none;
|
|
1842
|
+
}
|
|
1843
|
+
.field-wrapper.h5-field .el-form-item > .el-form-item__content {
|
|
1844
|
+
margin-left: 0 !important;
|
|
1845
|
+
}
|
|
1846
|
+
}
|
|
1847
|
+
}
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
}
|
|
1851
|
+
}
|
|
1737
1852
|
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1853
|
+
/* 底部「关闭」:与底部动作栏同款胶囊,铺满一行 */
|
|
1854
|
+
> .el-dialog__footer {
|
|
1855
|
+
flex: none;
|
|
1856
|
+
padding: 8px 13px;
|
|
1857
|
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
|
|
1858
|
+
.dialog-footer{display:flex;}
|
|
1859
|
+
.button-sty,
|
|
1860
|
+
.el-button {
|
|
1861
|
+
height: 40px;
|
|
1862
|
+
border-radius: 30px;
|
|
1863
|
+
padding: 0;
|
|
1864
|
+
font-size: 13px;
|
|
1865
|
+
flex:1;
|
|
1866
|
+
i {
|
|
1867
|
+
margin-right: 3px;
|
|
1744
1868
|
}
|
|
1745
1869
|
}
|
|
1746
1870
|
}
|
|
1747
1871
|
|
|
1872
|
+
/*步骤条*/
|
|
1748
1873
|
/* ---- 任务情况时间轴 ---- */
|
|
1749
1874
|
.h5-process-info {
|
|
1750
|
-
font-size:
|
|
1875
|
+
font-size: $xformH5Size;
|
|
1751
1876
|
padding: 12px 16px;
|
|
1752
1877
|
background: #fff;
|
|
1753
|
-
margin:
|
|
1878
|
+
margin: 12px 16px;
|
|
1754
1879
|
border-radius: 15px;
|
|
1755
|
-
|
|
1880
|
+
overflow:auto;
|
|
1756
1881
|
.item {
|
|
1757
1882
|
display: flex;
|
|
1758
1883
|
line-height: 1.4;
|
|
@@ -1837,7 +1962,7 @@ $xformH5PageBg: #f1f5fb;
|
|
|
1837
1962
|
|
|
1838
1963
|
.info {
|
|
1839
1964
|
width: calc(100% - 100px);
|
|
1840
|
-
|
|
1965
|
+
color:#666;
|
|
1841
1966
|
p {
|
|
1842
1967
|
margin: 2px 0;
|
|
1843
1968
|
display: block;
|
|
@@ -1850,6 +1975,7 @@ $xformH5PageBg: #f1f5fb;
|
|
|
1850
1975
|
font-weight: 600;
|
|
1851
1976
|
width: 100%;
|
|
1852
1977
|
margin-bottom: 3px;
|
|
1978
|
+
color:#323232;
|
|
1853
1979
|
}
|
|
1854
1980
|
}
|
|
1855
1981
|
|
|
@@ -1872,121 +1998,312 @@ $xformH5PageBg: #f1f5fb;
|
|
|
1872
1998
|
}
|
|
1873
1999
|
}
|
|
1874
2000
|
|
|
1875
|
-
|
|
1876
|
-
/*
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
.pop-tipsBox {
|
|
2001
|
+
|
|
2002
|
+
/* 搜索行(选用户 / 加签):输入框 + 右侧「高级筛选」 */
|
|
2003
|
+
.search-H5box {
|
|
2004
|
+
flex: none;
|
|
1880
2005
|
position: relative;
|
|
2006
|
+
display: flex;
|
|
2007
|
+
padding: 8px 16px 0;
|
|
1881
2008
|
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
position:
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
background: rgba(0, 0, 0, 0.4);
|
|
1890
|
-
z-index: 998;
|
|
1891
|
-
}
|
|
2009
|
+
.txt {
|
|
2010
|
+
flex: 1;
|
|
2011
|
+
position: relative;
|
|
2012
|
+
height: 38px;
|
|
2013
|
+
background: #fff;
|
|
2014
|
+
border: solid 1px #e4e4e4;
|
|
2015
|
+
border-radius: 38px 0 0 38px;
|
|
1892
2016
|
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
left: 32px;
|
|
1897
|
-
right: 32px;
|
|
1898
|
-
box-shadow: 0 0 14px rgba(0, 0, 0, 0.16);
|
|
1899
|
-
border-radius: 18px;
|
|
1900
|
-
padding: 68px 16px 18px;
|
|
1901
|
-
text-align: center;
|
|
1902
|
-
z-index: 999;
|
|
1903
|
-
background-color: #fff;
|
|
1904
|
-
background-size: 100% auto;
|
|
1905
|
-
border: solid 2px #fff;
|
|
2017
|
+
.el-input {
|
|
2018
|
+
width: 100% !important;
|
|
2019
|
+
}
|
|
1906
2020
|
|
|
1907
|
-
.
|
|
1908
|
-
|
|
1909
|
-
|
|
2021
|
+
.el-input__inner {
|
|
2022
|
+
height: 38px !important;
|
|
2023
|
+
width: 100%;
|
|
2024
|
+
border: none;
|
|
2025
|
+
background: none;
|
|
2026
|
+
line-height: 38px;
|
|
2027
|
+
padding-left: 39px;
|
|
2028
|
+
font-size: 13px;
|
|
2029
|
+
}
|
|
2030
|
+
|
|
2031
|
+
/* 放大镜挪到左侧(element 默认在右) */
|
|
2032
|
+
.el-input__suffix {
|
|
1910
2033
|
position: absolute;
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
width:
|
|
1915
|
-
|
|
1916
|
-
border-radius: 50%;
|
|
1917
|
-
border: solid 2px #fff;
|
|
2034
|
+
left: 12px;
|
|
2035
|
+
right: inherit;
|
|
2036
|
+
top: 7px;
|
|
2037
|
+
width: 20px;
|
|
2038
|
+
transform: inherit !important;
|
|
1918
2039
|
}
|
|
1919
2040
|
|
|
1920
|
-
.
|
|
1921
|
-
|
|
2041
|
+
.el-input-group__append {
|
|
2042
|
+
border: none;
|
|
2043
|
+
background: none;
|
|
1922
2044
|
|
|
1923
|
-
.
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
2045
|
+
.el-button {
|
|
2046
|
+
border: none;
|
|
2047
|
+
background: $baseColor;
|
|
2048
|
+
color: #fff;
|
|
2049
|
+
width: 53px;
|
|
2050
|
+
height: 30px;
|
|
2051
|
+
padding: 0;
|
|
2052
|
+
position: absolute;
|
|
2053
|
+
right: 4px;
|
|
2054
|
+
top: 4px;
|
|
2055
|
+
/* element 给 .el-input-group__append .el-button 定了 margin:-10px -20px,
|
|
2056
|
+
绝对定位后这对负边距会把按钮整体往右上顶出去(实测右溢 16px、上溢
|
|
2057
|
+
5px,正好压在「高级筛选」上)。原文是用 right:26px/top:14px 反向补
|
|
2058
|
+
偿的,这里直接清零,right/top 才是所见即所得。 */
|
|
2059
|
+
margin: 0;
|
|
2060
|
+
border-radius: 30px;
|
|
2061
|
+
outline: none;
|
|
2062
|
+
font-size: 13px;
|
|
1927
2063
|
}
|
|
2064
|
+
}
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
.icon-screen {
|
|
2068
|
+
flex: none;
|
|
2069
|
+
height: 38px;
|
|
2070
|
+
line-height: 38px;
|
|
2071
|
+
padding: 0 10px;
|
|
2072
|
+
font-size: 13px;
|
|
2073
|
+
color: $baseColor;
|
|
2074
|
+
background: transparentize($baseColor, 0.88);
|
|
2075
|
+
border: solid 1px #e4e4e4;
|
|
2076
|
+
border-left: none;
|
|
2077
|
+
border-radius: 0 10px 10px 0;
|
|
2078
|
+
|
|
2079
|
+
i {
|
|
2080
|
+
margin-right: 5px;
|
|
2081
|
+
font-size: 14px;
|
|
2082
|
+
}
|
|
2083
|
+
}
|
|
2084
|
+
}
|
|
2085
|
+
|
|
2086
|
+
/* 修改单据:表单直接挂在骨架下,不套 .flex */
|
|
2087
|
+
> .el-dialog__body > div > .form-box {
|
|
2088
|
+
flex: 1;
|
|
2089
|
+
min-height: 0;
|
|
2090
|
+
overflow-y: auto;
|
|
2091
|
+
}
|
|
2092
|
+
.selected-flex-box{
|
|
2093
|
+
display: flex;height:100%;flex-direction: column;
|
|
2094
|
+
}
|
|
2095
|
+
.flex {
|
|
2096
|
+
display: flex;
|
|
2097
|
+
flex-direction: column;
|
|
2098
|
+
flex: 1;
|
|
2099
|
+
min-height: 0;
|
|
2100
|
+
|
|
2101
|
+
/* 可滚动的候选列表 */
|
|
2102
|
+
.checkbox-all_list {
|
|
2103
|
+
flex: 1;
|
|
2104
|
+
min-height: 0;
|
|
2105
|
+
/* 只放开纵向。写成 overflow:auto 时横向也可滚,卡片里一旦有超长内容
|
|
2106
|
+
(用户资料的「地址」字段存的是一整条图片 URL)就会拖出一条横向滚动条。 */
|
|
2107
|
+
overflow-y: auto;
|
|
2108
|
+
overflow-x: hidden;
|
|
2109
|
+
padding: 0 12px;
|
|
2110
|
+
|
|
2111
|
+
.order-item {
|
|
2112
|
+
background: #fff;
|
|
1928
2113
|
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
2114
|
+
.is-checked {
|
|
2115
|
+
position: absolute;
|
|
2116
|
+
right: 0;
|
|
2117
|
+
top: 0;
|
|
2118
|
+
width: 62px;
|
|
2119
|
+
height: 22px;
|
|
2120
|
+
line-height: 20px;
|
|
2121
|
+
text-align: center;
|
|
2122
|
+
font-size: 13px;
|
|
2123
|
+
color: #fff;
|
|
2124
|
+
background: #e2e2e2;
|
|
2125
|
+
border: solid 1px #dcdcdc;
|
|
2126
|
+
border-radius: 0 8px 0 6px;
|
|
2127
|
+
|
|
2128
|
+
i {
|
|
2129
|
+
margin-right: 3px;
|
|
2130
|
+
font-size: 13px;
|
|
1944
2131
|
}
|
|
1945
2132
|
}
|
|
1946
2133
|
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
}
|
|
2134
|
+
&.on {
|
|
2135
|
+
border: solid 1px $baseColor;
|
|
1950
2136
|
|
|
1951
|
-
|
|
1952
|
-
|
|
2137
|
+
.is-checked {
|
|
2138
|
+
border-color: $baseColor;
|
|
2139
|
+
background: $baseColor;
|
|
2140
|
+
}
|
|
1953
2141
|
}
|
|
2142
|
+
}
|
|
2143
|
+
}
|
|
1954
2144
|
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
2145
|
+
/* 已选区(底部固定,不滚) */
|
|
2146
|
+
.checkbox-all {
|
|
2147
|
+
flex: none;
|
|
2148
|
+
position: relative;
|
|
2149
|
+
min-height: 80px;
|
|
2150
|
+
padding: 0 12px 8px;
|
|
2151
|
+
background: #fff;
|
|
2152
|
+
box-shadow: 0 -3px 4px rgba(0, 0, 0, 0.06);
|
|
2153
|
+
border-bottom: solid 1px $xformH5RowBorder;
|
|
2154
|
+
.ca-t {
|
|
2155
|
+
margin: 8px 0;
|
|
2156
|
+
font-size: 14px;
|
|
2157
|
+
font-weight: 600;
|
|
2158
|
+
}
|
|
1960
2159
|
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
2160
|
+
.ca-c span {
|
|
2161
|
+
display: inline-block;
|
|
2162
|
+
position: relative;
|
|
2163
|
+
height: 24px;
|
|
2164
|
+
line-height: 24px;
|
|
2165
|
+
padding: 0 28px 0 2px;
|
|
2166
|
+
margin: 4px 10px 4px 0;
|
|
2167
|
+
font-size: 13px;
|
|
2168
|
+
color: $baseColor;
|
|
2169
|
+
border: solid 1px $baseColor;
|
|
2170
|
+
border-radius: 4px;
|
|
2171
|
+
|
|
2172
|
+
i {
|
|
2173
|
+
position: absolute;
|
|
2174
|
+
top: 0;
|
|
2175
|
+
right: 0;
|
|
2176
|
+
width: 24px;
|
|
2177
|
+
height: 24px;
|
|
2178
|
+
line-height: 24px;
|
|
2179
|
+
text-align: center;
|
|
2180
|
+
background: transparentize($baseColor, 0.91);
|
|
1964
2181
|
}
|
|
1965
2182
|
}
|
|
2183
|
+
}
|
|
1966
2184
|
|
|
1967
|
-
|
|
1968
|
-
|
|
2185
|
+
.form-box {
|
|
2186
|
+
display: flex;
|
|
2187
|
+
flex-direction: column;
|
|
2188
|
+
flex: 1;
|
|
2189
|
+
overflow: hidden;
|
|
1969
2190
|
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
2191
|
+
.tit {
|
|
2192
|
+
margin: 8px 12px;
|
|
2193
|
+
background: rgba(51, 106, 153, 0.1);
|
|
2194
|
+
border-radius: 11px;
|
|
2195
|
+
padding: 10px 12px;
|
|
2196
|
+
font-size: 13px;
|
|
2197
|
+
color: $baseColor;
|
|
1974
2198
|
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
2199
|
+
&:before {
|
|
2200
|
+
content: "";
|
|
2201
|
+
width: 5px;
|
|
2202
|
+
height: 5px;
|
|
2203
|
+
background: $baseColor;
|
|
2204
|
+
border-radius: 50%;
|
|
2205
|
+
vertical-align: middle;
|
|
2206
|
+
margin-right: 5px;
|
|
2207
|
+
display: inline-block;
|
|
2208
|
+
}
|
|
2209
|
+
|
|
2210
|
+
> span {
|
|
2211
|
+
vertical-align: middle;
|
|
1978
2212
|
}
|
|
1979
2213
|
}
|
|
1980
2214
|
}
|
|
2215
|
+
}
|
|
2216
|
+
|
|
1981
2217
|
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
2218
|
+
/* 列表里的一张候选卡片。原文挂在 .h5-box 下(不在 .pop-box 段内),
|
|
2219
|
+
xform 里只有这批弹层用得到,就收进来。 */
|
|
2220
|
+
.order-item {
|
|
2221
|
+
position: relative;
|
|
2222
|
+
border: solid 1px #f0f1f1;
|
|
2223
|
+
border-radius: 12px;
|
|
2224
|
+
padding: 8px 10px;
|
|
2225
|
+
margin: 8px 0;
|
|
2226
|
+
|
|
2227
|
+
/* 左侧那道竖条 */
|
|
2228
|
+
&:before {
|
|
2229
|
+
content: "";
|
|
2230
|
+
position: absolute;
|
|
2231
|
+
left: 0;
|
|
2232
|
+
top: 6px;
|
|
2233
|
+
width: 3px;
|
|
2234
|
+
height: 50px;
|
|
2235
|
+
background: $baseColor;
|
|
2236
|
+
border-radius: 5px;
|
|
2237
|
+
}
|
|
2238
|
+
|
|
2239
|
+
/* 卡片里放的是用户资料原值,可能出现超长且无空格的串(「地址」字段实际存的
|
|
2240
|
+
是一整条图片 URL)。默认不允许在非空白处断行,这种串会把卡片整体撑宽、
|
|
2241
|
+
连带拖出横向滚动条,所以这里统一允许任意位置断行。 */
|
|
2242
|
+
.t1,
|
|
2243
|
+
.t2 {
|
|
2244
|
+
word-break: break-all;
|
|
2245
|
+
overflow-wrap: anywhere;
|
|
2246
|
+
}
|
|
2247
|
+
|
|
2248
|
+
.t1 {
|
|
2249
|
+
margin-bottom: 6px;
|
|
2250
|
+
|
|
2251
|
+
/* 模板里恒有 <i class="icon">(原文设了一圈头像样式后又 display:none,
|
|
2252
|
+
等于留着没用)。照原样隐藏,避免哪天有人给裸 .icon 加了全局规则时冒出来。 */
|
|
2253
|
+
.icon {
|
|
2254
|
+
display: none;
|
|
2255
|
+
}
|
|
2256
|
+
|
|
2257
|
+
span {
|
|
2258
|
+
vertical-align: middle;
|
|
2259
|
+
margin: 0 5px 0 0;
|
|
2260
|
+
}
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2263
|
+
.t2 {
|
|
2264
|
+
font-size: 11px;
|
|
2265
|
+
color: rgba(128, 128, 128, 0.8);
|
|
2266
|
+
|
|
2267
|
+
p {
|
|
2268
|
+
min-width: 50%;
|
|
2269
|
+
/* 没有 max-width 时,inline-block 会被里面的长串顶到超出卡片宽度 */
|
|
2270
|
+
max-width: 100%;
|
|
2271
|
+
margin: 4px 0;
|
|
2272
|
+
display: inline-block;
|
|
2273
|
+
vertical-align: top;
|
|
2274
|
+
font-size:13px;
|
|
2275
|
+
}
|
|
2276
|
+
}
|
|
2277
|
+
|
|
2278
|
+
/* 修改候选人:卡片内的「设置候选人」按钮 */
|
|
2279
|
+
.btns {
|
|
2280
|
+
text-align: right;
|
|
2281
|
+
margin-top: 4px;
|
|
2282
|
+
|
|
2283
|
+
.btn {
|
|
2284
|
+
height: 28px;
|
|
2285
|
+
padding: 0 10px;
|
|
2286
|
+
font-size: 13px;
|
|
2287
|
+
}
|
|
1985
2288
|
}
|
|
1986
2289
|
}
|
|
2290
|
+
|
|
2291
|
+
}
|
|
2292
|
+
.el-dropdown-menu__item:not(.is-disabled):hover, .el-dropdown-menu__item:focus{
|
|
2293
|
+
background:none
|
|
1987
2294
|
}
|
|
2295
|
+
.h5-dropdown-button.button-sty{
|
|
2296
|
+
width: 100%;
|
|
2297
|
+
height: 40px;
|
|
2298
|
+
border-radius: 30px;
|
|
2299
|
+
padding: 0;
|
|
2300
|
+
/* 三个并排时按钮偏窄:字号收一档、超长省略,避免文字撑破 */
|
|
2301
|
+
font-size: 13px;
|
|
2302
|
+
overflow: hidden;
|
|
2303
|
+
text-overflow: ellipsis;
|
|
2304
|
+
white-space: nowrap;
|
|
1988
2305
|
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
2306
|
+
i {
|
|
2307
|
+
margin-right: 3px;
|
|
2308
|
+
}
|
|
1992
2309
|
}
|