@vipl520/dk-ui 1.0.76 → 1.0.77
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/attributes.json +8 -0
- package/dist/index.css +1 -1
- package/dist/index.js +285 -12
- package/dist/index.min.js +5 -5
- package/dist/index.min.js.map +1 -1
- package/dist/index.min.mjs +5 -5
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +282 -11
- package/dist/tags.json +7 -0
- package/dist/web-types.json +34 -0
- package/es/index.d.ts +1 -0
- package/es/index.mjs +4 -1
- package/es/index.mjs.map +1 -1
- package/es/index.scss +1 -0
- package/es/style-custom-input/style/index.scss +0 -1
- package/es/table-form/index.d.ts +53 -0
- package/es/table-form/index.mjs +8 -0
- package/es/table-form/index.mjs.map +1 -0
- package/es/table-form/src/props.d.ts +23 -0
- package/es/table-form/src/props.mjs +26 -0
- package/es/table-form/src/props.mjs.map +1 -0
- package/es/table-form/src/table-form.vue.d.ts +52 -0
- package/es/table-form/src/table-form.vue.mjs +7 -0
- package/es/table-form/src/table-form.vue.mjs.map +1 -0
- package/es/table-form/src/table-form.vue2.mjs +250 -0
- package/es/table-form/src/table-form.vue2.mjs.map +1 -0
- package/es/table-form/style/index.css +1 -0
- package/es/table-form/style/index.scss +110 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +187 -182
- package/lib/index.js.map +1 -1
- package/lib/index.scss +1 -0
- package/lib/style-custom-input/style/index.scss +0 -1
- package/lib/table-form/index.d.ts +53 -0
- package/lib/table-form/index.js +14 -0
- package/lib/table-form/index.js.map +1 -0
- package/lib/table-form/src/props.d.ts +23 -0
- package/lib/table-form/src/props.js +28 -0
- package/lib/table-form/src/props.js.map +1 -0
- package/lib/table-form/src/table-form.vue.d.ts +52 -0
- package/lib/table-form/src/table-form.vue.js +11 -0
- package/lib/table-form/src/table-form.vue.js.map +1 -0
- package/lib/table-form/src/table-form.vue2.js +254 -0
- package/lib/table-form/src/table-form.vue2.js.map +1 -0
- package/lib/table-form/style/index.css +1 -0
- package/lib/table-form/style/index.scss +110 -0
- package/package.json +1 -1
package/dist/attributes.json
CHANGED
@@ -455,6 +455,14 @@
|
|
455
455
|
"type": "event",
|
456
456
|
"description": "点击触发的事件\n\n[Docs](https://github.com/vipl520/dk-starter/components/project/#table-events)"
|
457
457
|
},
|
458
|
+
"dk-table-form/type": {
|
459
|
+
"type": "string",
|
460
|
+
"description": "参数类型\n\n[Docs](https://github.com/vipl520/dk-starter/components/project/#tableform-props)"
|
461
|
+
},
|
462
|
+
"dk-table-form/click": {
|
463
|
+
"type": "event",
|
464
|
+
"description": "点击触发的事件\n\n[Docs](https://github.com/vipl520/dk-starter/components/project/#tableform-events)"
|
465
|
+
},
|
458
466
|
"dk-test/type": {
|
459
467
|
"type": "string",
|
460
468
|
"description": "参数类型\n\n[Docs](https://github.com/vipl520/dk-starter/components/project/#test-props)"
|
package/dist/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
@charset "UTF-8";.dk-group ._dk-group-container{position:relative;padding:5px 0;margin:15px 0}.dk-group ._dk-group-container ._dk-group-idx{align-items:center;bottom:-15px;display:flex;font-weight:700;height:30px;justify-content:center;position:absolute}.dk-group ._dk-group-container ._dk-group-handle{bottom:-20px;display:flex;flex-direction:row;position:absolute;right:0;opacity:.5}.dk-group ._dk-group-container:hover ._dk-group-handle{opacity:1}.dk-group .group-arrow{position:relative;width:20px;height:20px}.dk-group .collapse-title{display:flex;align-items:center;font-size:12px;margin:0;padding:0;width:calc(100% - 30px)}.dk-group .collapse-title .collapse-title-block{width:3px;height:18px;background:var(--el-color-primary);display:block;margin-right:5px}.dk-group .collapse-title .collapse-title-rank{cursor:move;margin-right:6px}.dk-group .collapse-title .collapse-title-rank:hover{color:var(--el-color-primary)!important}.dk-group .collapse-title span{overflow:hidden;height:48px;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:left}.dk-dialog .el-dialog__header{margin-right:0}.dk-dialog .el-dialog__body{padding:10px 0}.dk-attachment{width:1000px;min-height:450px;background:var(--el-bg-color)}.dk-attachment .attachment-header{border-bottom:1px solid var(--el-border-color)}.dk-attachment .attachment-header .dk-upload-button{position:relative;display:inline-block;margin-left:10px}.dk-attachment .attachment-header .dk-upload-button .el-upload-list{position:absolute;right:0;z-index:999;background:#fff;box-shadow:0 5px 5px rgba(0,0,0,.2)}.dk-attachment .attachment-header .dk-upload-button .el-upload-list li{padding:10px;border-bottom:1px solid #f5f5f5}.dk-attachment .attachment-header .dk-upload-button .el-upload-list li a{width:200px}.dk-attachment .attachment-header .dk-upload-button .el-upload-list li .el-upload-list__item-status-label{top:10px;right:15px}.dk-attachment .attachment-content .attachment-group{width:150px;overflow:auto;border-right:1px solid var(--el-border-color)}.dk-attachment .attachment-content .attachment-group h5{padding-top:5px;padding-bottom:10px;margin-top:10px;font-size:14px;font-weight:400;color:#8492a6;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-attachment .attachment-content .attachment-group h5 .el-icon-circle-plus{cursor:pointer}.dk-attachment .attachment-content .attachment-group .group-menu{border-right:none}.dk-attachment .attachment-content .attachment-group .group_list li{position:relative;padding:10px;cursor:pointer;border-bottom:1px solid var(--el-border-color)}.dk-attachment .attachment-content .attachment-group .group_list li .op{position:absolute;top:0;right:0;display:none;padding:12px;color:#ccc}.dk-attachment .attachment-content .attachment-group .group_list li.active{background:var(--el-color-primary-light-9)}.dk-attachment .attachment-content .attachment-group .group_list li.active .op{display:block}.dk-attachment .attachment-content .attachment-group .group_list li:hover{color:var(--el-color-primary);background:var(--el-color-primary-light-9)}.dk-attachment .attachment-content .attachment-container{width:850px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-attachment .attachment-content .attachment-container .attachment-list{height:325px}.dk-attachment .attachment-content .attachment-container .attachment-list li{position:relative;box-sizing:border-box;float:left;width:calc(20% - 10px);height:150px;margin:5px;overflow:hidden;cursor:pointer;background:#eee;border:4px solid #eee}.dk-attachment .attachment-content .attachment-container .attachment-list li .file{width:100%;height:146px;text-align:center}.dk-attachment .attachment-content .attachment-container .attachment-list li .file .other-file{font-size:80px;line-height:150px;color:#aaa}.dk-attachment .attachment-content .attachment-container .attachment-list li .file-name{position:absolute;bottom:0;z-index:2;width:100%;padding:4px 10px;overflow:hidden;color:#fff;text-overflow:ellipsis;white-space:nowrap;background:rgba(0,0,0,.5)}.dk-attachment .attachment-content .attachment-container .attachment-list li .right{display:none}.dk-attachment .attachment-content .attachment-container .attachment-list li.choose,.dk-attachment .attachment-content .attachment-container .attachment-list li:hover{z-index:4;border:4px solid var(--el-color-primary)}.dk-attachment .attachment-content .attachment-container .attachment-list li.choose .right{position:absolute;bottom:0;z-index:3;display:block;width:100%;height:146px;font-size:50px;line-height:150px;color:#fff;text-align:center;background:rgba(0,0,0,.5)}.dk-file-input{width:100%}.dk-file-input .image-error{height:70px;font-size:40px;line-height:70px;color:#999;text-align:center;background:var(--el-bg-color-page)}.dk-file-input .button{padding-top:10px;text-align:center;border-top:1px solid var(--el-bg-color-page)}.dk-file-input .show{position:relative;height:80px}.dk-file-input .show .file{width:80px;height:80px;padding:5px;border:1px solid var(--el-border-color)}.dk-file-input .show em{position:absolute;top:0;font-size:15px;font-weight:600;line-height:20px;color:var(--el-border-color);cursor:pointer}.dk-file-input .only-img{position:relative;width:100px;height:100px;padding:5px;margin-right:10px;margin-bottom:10px;border:1px solid var(--el-border-color);border-radius:4px}.dk-file-input .only-img:hover .close{display:flex}.dk-file-input .only-img .close{position:absolute;top:0;right:0;display:none;align-items:center;justify-content:center;width:20px;height:20px;font-size:12px;color:#fff;cursor:pointer;background:rgba(0,0,0,.7019607843);border-radius:100px}.dk-file-input .only-img .no-image{width:100%;color:#999;text-align:center;cursor:pointer;background:var(--el-bg-color-page)}.dk-file-input .only-img .media{width:100%;color:#999;text-align:center;cursor:pointer;background:var(--el-bg-color-page)}.dk-file-input .only-img .play_btn{position:absolute;right:0;bottom:0;width:20px;height:20px;font-size:18px;line-height:20px;color:#fff;text-align:center;cursor:pointer;background:#409eff}.dk-file-list-input{width:100%}.dk-file-list-input .button{padding-top:10px;text-align:center;border-top:1px solid #f5f5f5}.dk-file-list-input .dk-image-list ul::after{display:block;clear:both;content:""}.dk-file-list-input .dk-image-list ul li{float:left;margin-right:10px;margin-bottom:10px;border:1px solid var(--el-border-color);border-radius:4px}.dk-file-list-input .dk-image-list ul li .file{position:relative;width:100px;height:100px;text-align:center}.dk-file-list-input .dk-image-list ul li .file div{position:relative}.dk-file-list-input .dk-image-list ul li .file div .other-file{font-size:80px;line-height:100px;color:#aaa}.dk-file-list-input .dk-image-list ul li .file div .el-icon-video-play{position:absolute;right:2px;bottom:2px;display:none;font-size:20px;cursor:pointer}.dk-file-list-input .dk-image-list ul li .file div:hover .el-icon-video-play{display:block;color:#409eff}.dk-file-list-input .dk-image-list ul li .file .close{position:absolute;top:0;right:0;display:none;align-items:center;justify-content:center;width:20px;height:20px;line-height:20px;color:#fff;text-align:center;cursor:pointer;background:rgba(0,0,0,.4);border-radius:100%}.dk-file-list-input .dk-image-list ul li .file:hover .close{display:flex}.dk-file-list-input .dk-image-list ul li .chooseImage{width:100px;height:100px;font-size:40px;line-height:100px;color:#999;text-align:center;cursor:pointer}.dk-file-list-input .dk-image-list ul li .chooseImage:hover{color:#409eff}.dk-icon-input{width:100%}.dk-icon-input .show{position:relative}.dk-icon-input .show .icon{width:80px;height:80px;padding:5px;border:1px solid var(--el-border-color)}.dk-icon-input .show em{position:absolute;top:0;font-size:15px;font-weight:600;line-height:20px;color:var(--el-border-color);cursor:pointer}.dk-icon-content{position:relative}.dk-icon-content .search-icon{position:absolute;top:0;right:0}.dk-icon-content .dk-tab-pane{height:300px;overflow:auto}.dk-icon-content .dk-icon{border:2px solid transparent}.dk-icon-content .choose-icon{border:2px solid #409eff}.dk-tiny-editor{width:100%}.dk-tiny-editor textarea{width:100%;height:400px;opacity:0}.dk-page-diy{min-width:1000px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy ._fc-l,.dk-page-diy ._fc-m,.dk-page-diy ._fc-r{background:#fff;box-sizing:border-box;height:calc(100vh - 180px);position:relative}.dk-page-diy ._fc-l::-webkit-scrollbar,.dk-page-diy ._fc-m::-webkit-scrollbar,.dk-page-diy ._fc-r::-webkit-scrollbar{display:none}.dk-page-diy ._fc-l .el-tabs__item,.dk-page-diy ._fc-m .el-tabs__item,.dk-page-diy ._fc-r .el-tabs__item{font-weight:800}.dk-page-diy ._fc-l .el-tabs__nav-wrap,.dk-page-diy ._fc-m .el-tabs__nav-wrap,.dk-page-diy ._fc-r .el-tabs__nav-wrap{padding:0 20px}.dk-page-diy ._fc-l{overflow:inherit!important;display:flex;flex:0 0 auto;flex-direction:column;top:0}.dk-page-diy ._fc-l ._fc-l-group{padding:0 12px}.dk-page-diy ._fc-l ._fc-l-title{font-weight:600;font-size:14px;margin:18px 0 5px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy ._fc-l ._fc-l-item{display:inline-block;background:#fff;color:#000;min-width:70px;width:80px;height:70px;line-height:1;text-align:center;transition:all .2s ease;cursor:move;border-radius:6px;position:relative}.dk-page-diy ._fc-l ._fc-l-item.not-drag{cursor:not-allowed;background:#f6f6f6!important;color:#000!important}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-name{font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-count{background-color:#409eff;border-radius:10px;color:#fff;display:inline-block;font-size:12px;height:18px;line-height:18px;padding:0 6px;text-align:center;white-space:nowrap;border:1px solid #fff;position:absolute;top:5px;right:20px;z-index:1;transform:translateY(-50%) translateX(100%)}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-icon{padding:10px 5px 12px}.dk-page-diy ._fc-l ._fc-l-item:hover{background:#409eff;color:#fff}.dk-page-diy ._fc-l.item-box ._fc-l-groups{height:calc(100vh - 220px);overflow:auto;flex:1 1 0%}.dk-page-diy ._fc-l.item-box ._fc-l-groups::-webkit-scrollbar{display:none}.dk-page-diy ._fc-l.item-box ._fc-l-groups ._fc-l-items ._fc-l-item{margin:5px;width:76px;box-shadow:1px 1px 4px rgba(0,0,0,.1019607843)}.dk-page-diy ._fc-l:hover .aside-toggle{display:block}.dk-page-diy ._fc-l .children-list{width:100%;position:relative;background:#fff;bottom:0;overflow:auto;z-index:2;height:calc(100vh - 240px)}.dk-page-diy ._fc-l .children-list .el-tree-node-content{width:100%;display:flex;align-items:center;justify-content:space-between}.dk-page-diy ._fc-l .children-list .el-tree-node-content .close-rule{position:absolute;right:0;padding:2px 10px;box-sizing:initial}.dk-page-diy ._fc-l .children-list .el-tree-node-content .close-rule:hover{color:#409eff!important}.dk-page-diy ._fc-l .children-list .el-tree-node-content:hover .close-rule{display:inline-flex}.dk-page-diy ._fc-l .children-list .el-tree-node-content ._fc-tree-node{display:flex;align-items:center;justify-content:space-between;cursor:move;height:26px;line-height:26px;padding-right:5px}.dk-page-diy ._fc-l .children-list .el-tree-node-content ._fc-tree-node ._fc-tree-icon{margin-right:5px}.dk-page-diy ._fc-l .children-list .aside-resizer{width:100%;height:4px;margin:-2px 0;cursor:n-resize;z-index:3}.dk-page-diy ._fc-l .children-list::-webkit-scrollbar{display:none}.dk-page-diy ._fc-m{background:#ebeced;width:100%}.dk-page-diy ._fc-m ._fc-m-tools{background:#fff;height:40px;align-items:center;display:flex;justify-content:flex-end;border:1px solid #ececec;border-top:0 none}.dk-page-diy ._fc-m ._fc-m-drag{overflow:auto;box-sizing:border-box}.dk-page-diy ._fc-m .form-create ._fc-l-item{background:#409eff;width:100%;height:30px;overflow:hidden;transition:all .3s ease;display:flex;justify-content:center;align-items:center;color:#fff}.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-count,.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-icon,.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-name{display:none}.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen:after{content:"放在这里";color:#fff;font-size:14px}.dk-page-diy ._fc-m .form-create ._fc-l-item ._fc-l-icon{margin:0 10px}.dk-page-diy ._fc-r{width:calc(100% - 800px);overflow:inherit!important}.dk-page-diy ._fc-r .el-tabs__nav{width:100%}.dk-page-diy ._fc-r .el-tabs__item{width:33%;text-align:center}.dk-page-diy ._fc-r .el-tabs__content{padding:0 20px;height:calc(100vh - 235px);overflow:auto}.dk-page-diy ._fc-r .el-tabs__content::-webkit-scrollbar{width:5px}.dk-page-diy ._fc-r .el-tabs__nav-wrap::after{height:1px;background-color:#ececec}.dk-page-diy ._fc-r ._fc-r-tabs{display:flex;cursor:pointer;padding:0;border-bottom:1px solid #ececec}.dk-page-diy ._fc-r ._fc-r-tab{height:40px;box-sizing:border-box;line-height:40px;display:inline-block;list-style:none;font-size:14px;font-weight:600;color:#303133;position:relative;flex:1;text-align:center}.dk-page-diy ._fc-r ._fc-r-tab.active{color:#409eff;border-bottom:2px solid #409eff}.dk-page-diy ._fc-r:hover .aside-toggle{display:block}.dk-page-diy ._fc-r .el-form-item__content{display:block}.dk-page-diy ._fc-r .el-form-item__content .form-help{line-height:1.5;margin-top:4px;color:#888;font-size:12px}.dk-page-diy ._fc-m-drag,.dk-page-diy .draggable-drag{min-height:630px;height:100%;position:relative}.dk-page-diy ._fc-m-drag .chosen,.dk-page-diy .draggable-drag .chosen{opacity:1!important}.dk-page-diy .aside-resizer{cursor:ew-resize;height:100%;margin:0 -2px;position:absolute;top:0;width:4px;z-index:1;right:0}.dk-page-diy .aside-resizer:hover{background:rgba(204,204,204,.5)}.dk-page-diy .aside-toggle{background:inherit;cursor:pointer;padding:20px 5px;position:absolute;top:50%;transform:translateY(-50%);z-index:1;display:none}.dk-page-diy .drag-tool{padding:var(--padding);position:relative;min-height:var(--minHeight);box-sizing:border-box;word-wrap:break-word;word-break:break-all;margin:var(--margin);outline:var(--showDashed) dashed #a2d1ff;overflow:var(--overflow)}.dk-page-diy .drag-tool:hover{outline:2px dashed #a2d1ff}.dk-page-diy .drag-tool .drag-tool{margin:5px}.dk-page-diy .drag-tool+.drag-tool{margin-top:5px}.dk-page-diy .drag-tool .drag-content{overflow:hidden}.dk-page-diy .drag-tool .drag-content .drag-tool .del{right:0;top:0}.dk-page-diy .drag-tool .drag-r{display:none}.dk-page-diy .drag-tool:hover .drag-r{display:block}.dk-page-diy .drag-tool .drag-r{position:absolute;right:2px;bottom:2px;z-index:1200}.dk-page-diy .drag-tool .drag-l{position:absolute;top:0;left:0;z-index:1904}.dk-page-diy .drag-tool .drag-btn{height:18px;width:18px;color:#fff;background-color:#666;text-align:center;line-height:20px;padding-bottom:1px;float:left;cursor:pointer;justify-content:center;display:none;opacity:.5}.dk-page-diy .drag-tool .drag-btn+.drag-btn{margin-left:2px}.dk-page-diy .drag-tool .drag-btn:hover{background-color:var(--el-color-primary);opacity:1}.dk-page-diy .drag-tool .drag-btn-danger{background-color:var(--el-color-danger)!important}.dk-page-diy .drag-tool .drag-btn i{font-size:13px}.dk-page-diy .drag-tool .drag-mask{z-index:1199;position:absolute;top:0;left:0;right:0;bottom:0}.dk-page-diy .drag-tool.active{outline:2px solid #409eff}.dk-page-diy .drag-tool.active>.drag-r .drag-btn{display:block}.dk-page-diy .drag-tool.active>.drag-l .drag-btn{display:block}.dk-page-diy .drag-tool.active>.del{display:block}.dk-page-diy .drag-tool.active>.op{display:block}.dk-page-diy .preview-phone{overflow:auto;box-shadow:inset 0 2px 5px 1px rgba(62,62,62,.0901960784);height:100%}.dk-page-diy .preview-phone::-webkit-scrollbar{width:8px}.dk-page-diy .preview-phone .phone{background:#fff;width:375px;margin:20px auto;box-shadow:0 5px 10px rgba(0,0,0,.2);min-height:700px}.dk-page-diy .preview-phone .phone .phone-header{height:75px;margin-bottom:1px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy .preview-phone .phone .phone-header img{width:100%}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top{display:flex;align-items:flex-start;justify-content:space-between;height:30px;font-size:12px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-time{margin:10px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-time span{margin-right:5px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-bangs{background:#000;width:200px;height:30px;border-bottom-right-radius:20px;border-bottom-left-radius:20px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-battery{margin:10px;display:flex;align-items:center;height:18px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-battery img{margin-left:5px}.dk-page-diy .preview-phone .phone .phone-header .phone-title{display:flex;justify-content:space-between;align-items:center;height:40px}.dk-page-diy .preview-phone .phone .phone-header .phone-title .phone-title-icon{margin:5px}.dk-page-diy .preview-phone .phone .phone-header-min{background-image:url(https://demo-saas.site.niucloud.com/admin/assets/diy_preview_head-8c072698.png);background-repeat:no-repeat;background-position:center;background-size:cover;position:relative}.dk-page-diy .preview-phone .phone .phone-header-min .close-button{position:absolute;top:34px;right:27px}.dk-page-diy .preview-phone .phone .phone-header-min .close-button:hover .close-button-mask{background:rgba(0,0,0,.0666666667)}.dk-page-diy .preview-phone .phone .phone-header-min .close-button .close-button-mask{width:20px;height:20px;border-radius:100%;cursor:pointer}.dk-page-diy .preview-phone .phone .phone-header-min .more-button-mask{position:absolute;top:34px;right:70px;width:25px;cursor:pointer;border-radius:40px;height:20px}.dk-page-diy .preview-phone .phone .phone-header-min .more-button-mask:hover{background:rgba(0,0,0,.0666666667)}.dk-page-diy .preview-phone .phone .phone-body{background:#f5f5f5;background-size:100% auto!important;overflow:visible;background-repeat:no-repeat;background-origin:initial;background-clip:initial}.dk-page-diy .preview-phone .phone .phone-body .ghost{box-shadow:var(--el-box-shadow)}.dk-page-diy .dk-view-bullet-chat{height:30px;line-height:30px;color:#fff;background:rgba(0,0,0,.6);border-radius:100px}.dk-page-diy .dk-view-bullet-chat .bullet-content{display:flex;align-items:center;height:20px;margin:5px;font-size:12px}.dk-page-diy .dk-view-bullet-chat .bullet-content img{width:20px;height:20px;border-radius:100%}.dk-page-diy .dk-view-bullet-chat .bullet-content span{padding:0 5px}.dk-page-diy .dk-view-common-btn .btn{display:flex;align-items:center;justify-content:center}.dk-page-diy .dk-view-common-btn .btn .van-icon{font-size:1.2em}.dk-page-diy .dk-view-common-btn .f-btn{display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.dk-page-diy .dk-view-common-btn .f-btn .image-content{display:inherit}.dk-page-diy .dk-view-common-btn .f-btn .f-btn-content{display:flex;align-items:center;justify-content:center;border-radius:100%}.dk-page-diy .dk-view-common-btn .f-img{display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.dk-page-diy .dk-view-image.dk-mobile-image-default{display:flex;flex-direction:column}.dk-page-diy .dk-view-image.dk-mobile-image-default .van-image{display:block}.dk-page-diy .dk-view-image.dk-mobile-image-default .dk-mobile-image-content{display:block}.dk-page-diy .dk-view-image.dk-mobile-image-slide{width:100%;overflow-x:scroll;white-space:nowrap}.dk-page-diy .dk-view-image.dk-mobile-image-slide .dk-mobile-image-content{position:relative;display:inline-block;margin-right:10px;vertical-align:top}.dk-page-diy .dk-view-image .dk-mobile-image-content{position:relative;overflow:hidden}.dk-page-diy .dk-view-image .dk-mobile-image-content:last-child{margin:0!important}.dk-page-diy .dk-view-image .dk-mobile-image-content .text-type-footer{text-align:center;height:48px;line-height:48px}.dk-page-diy .dk-view-image .dk-mobile-image-content .text-type-default{color:#fff;text-align:center;position:absolute;background:linear-gradient(180deg,transparent,rgba(0,0,0,.75));bottom:0;height:48px;line-height:48px;width:100%}.dk-page-diy .dk-view-dialog .preview{display:flex;align-items:center;justify-content:center;height:40px;text-align:center;background:#fff}.dk-page-diy .dk-view-music{width:100%;display:flex;align-items:center;justify-content:center}.dk-page-diy .dk-view-music .dk-music-icon{background:#fff;border-radius:100%;border:2px solid #fff;font-weight:800;box-sizing:content-box;color:#f56c6c}.dk-page-diy .dk-view-music .dk-music-img{border-radius:100%}.dk-page-diy .dk-view-music .changeRight{animation-name:changeRight}.dk-page-diy .dk-view-music .changeLeft{animation-name:changeLeft}@keyframes changeRight{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes changeLeft{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(-180deg)}100%{-webkit-transform:rotate(-360deg)}}.dk-page-diy .dk-view-swipe .image{width:100%}.dk-page-diy .dk-view-tabbar .van-tabbar,.dk-page-diy .dk-view-tabbar .van-tabbar-item--active{background:0 0}.dk-page-diy .dk-view-title{display:flex;align-items:center;justify-content:space-between}.dk-page-diy .dk-view-title .title-left{display:flex;align-items:center}.dk-page-diy .dk-view-video{display:flex;align-items:center;justify-content:center;width:100%;min-height:240px;color:#eee;background:#222}.dk-page-diy .dk-view-video .dk-video-content{width:100%;height:100%;text-align:center}.dk-page-diy .dk-view-video .dk-video-content p{font-size:12px;color:#999}.dk-page-diy .dk-view-video .dk-video-content .poster{width:100%;height:100%}.dk-page-diy .dk-view-video .el-icon-video-play{font-size:50px}.dk-page-diy .dk-view-video .video-preview{position:absolute;top:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;background:#000;opacity:.8}.dk-page-diy .dk-min-swipe .image{width:100%}.dk-page-diy .dk-min-swipe .swipe-title{position:absolute;bottom:0;background:rgba(0,0,0,.3333333333);width:100%;color:#fff;padding:5px}.dk-page-diy .dk-min-area{position:relative}.dk-page-diy .hot-item{display:flex;align-items:center;justify-content:center;color:#fff}.dk-page-diy .dk-min-image.dk-mobile-image-row{display:flex;flex-direction:row}.dk-page-diy .dk-min-image.dk-mobile-image-row .dk-mobile-image-content{display:block}.dk-page-diy .dk-min-image.dk-mobile-image-column{display:flex;flex-direction:column}.dk-page-diy .dk-min-image.dk-mobile-image-slide{width:100%;overflow-x:scroll;white-space:nowrap}.dk-page-diy .dk-min-image.dk-mobile-image-slide .dk-mobile-image-content{position:relative;display:inline-block;margin-right:10px;vertical-align:top}.dk-page-diy .dk-min-image .dk-mobile-image-content{position:relative;overflow:hidden}.dk-page-diy .dk-min-image .dk-mobile-image-content:last-child{margin:0!important}.dk-page-diy .dk-min-image .dk-mobile-image-content .text-type-footer{text-align:center}.dk-page-diy .dk-min-image .dk-mobile-image-content .text-type-default{color:#fff;text-align:center;position:absolute;background:linear-gradient(180deg,transparent,rgba(0,0,0,.75));bottom:0;height:32px;line-height:32px;width:100%}.dk-page-diy .dk-app-gold-grid:deep .van-grid-item__content{background:0 0}.dk-page-diy .dk-min-cube-image{position:relative;width:100%}.dk-page-diy .dk-min-cube-image .selected-area{z-index:1;position:absolute;display:flex;align-items:center}.dk-page-diy .dk-min-cube-image .selected-area .selected-image{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.dk-page-diy .dk-min-cube-image .selected-area .cube-selected-text{width:100%;background-color:rgba(255,255,255,.8);padding:4px;box-sizing:border-box;text-align:center;font-size:12px}.diy-cloud .diy-header{display:flex;justify-content:space-between}.diy-cloud .diy-header .diy-search{width:500px;display:flex;align-items:center}.diy-cloud .diy-content{padding:20px 0}.diy-cloud .diy-content ul{height:520px}.diy-cloud .diy-content ul li{float:left;width:calc(16.6% - 10px);text-align:center;margin:5px;position:relative;transition:all .3s ease 0s;cursor:pointer;border-radius:10px;overflow:hidden;border:1px solid #ccc}.diy-cloud .diy-content ul li .cover{width:180px;height:240px;transition:all .3s ease 0s}.diy-cloud .diy-content ul li .title{position:absolute;bottom:0;padding:4px 10px;background:#fff;color:#000;text-align:center;width:100%}.diy-cloud .diy-content ul li .type{position:absolute;bottom:40px;padding:4px 10px;color:#000;text-align:center;width:100%}.diy-cloud .diy-content ul li .tag-list{position:absolute;bottom:30px;padding:4px 10px;color:#000;text-align:right;width:100%}.diy-cloud .diy-content ul li .tag-list .tag{font-size:12px;margin-top:17px;text-align:right;padding:2px 6px;top:180px;right:6px;background-color:rgba(0,0,0,.6);color:#fff;border-radius:4px;margin-left:5px}.diy-cloud .diy-content ul li .mask{position:absolute;height:240px;width:180px;top:0;background:rgba(0,0,0,.3019607843)}.diy-cloud .diy-content ul li:hover{box-shadow:0 4px 12px 0 rgba(0,13,71,.2)}.diy-cloud .diy-content ul li.choose{transition:all .1s ease 0s;border:1px solid #1989fa}.diy-cloud .diy-footer{text-align:center;padding:10px}.design-cube{position:relative;width:100%}.design-cube .cube-col{float:left;padding:0;margin:0;list-style:none}.design-cube .cube-item{box-sizing:border-box;display:flex;align-items:center;justify-content:space-around;text-align:center;cursor:pointer;background:#f8f8f8;border-right:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;border-left:1px solid #e5e5e5}.design-cube .cube-item:first-child{border-top:1px solid #e5e5e5}.design-cube .cube-item.item-selected,.design-cube .cube-item.item-selecting{background:#e0edff}.design-cube .selected-area{position:absolute;box-sizing:border-box;overflow:hidden;color:#7d7e80;text-align:center;cursor:pointer;background-color:#fff;border:1px solid #ebedf0}.design-cube .selected-area img{width:100%}.design-cube .selected-area.selected-area-choose{border:1px solid red}.design-cube .selected-area .cube-selected-text{position:absolute;top:50%;left:50%;width:100%;font-size:12px;transform:translate(-50%) translateY(-50%)}.design-cube .selected-area .cube-close{position:absolute;top:5px;right:5px;z-index:99;font-size:18px}.dk-style-box-input{display:flex;flex-direction:column;flex-shrink:0;min-height:100%;width:100%}.dk-style-box-input .position-line{background:rgba(255,0,0,.42);position:fixed;z-index:999}.dk-style-box-input .header{margin-bottom:20px}.dk-style-box-input .header .name-header-operations{float:right;margin-left:4px;position:relative}.dk-style-box-input .wrapper{background-color:#e7dec6;height:380px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.dk-style-box-input .wrapper .thumnail{margin:auto;position:relative;top:50%;transform:translateY(-50%)}.dk-style-box-input .wrapper .thumnail-heightlight{box-sizing:border-box}.dk-style-box-input .wrapper .margin{background-color:#eace95;height:100%;width:100%}.dk-style-box-input .wrapper .margin .title{color:#7f0020;display:block;padding:6px;position:absolute;font-size:12px}.dk-style-box-input .wrapper .margin .anchor{background-color:#fff;border:1px solid rgba(51,51,51,.5);height:8px;width:8px;z-index:10000}.dk-style-box-input .wrapper .margin .anchor-left{left:-4px;position:absolute;top:50%;transform:translateY(-50%)}.dk-style-box-input .wrapper .margin .anchor-left:hover{cursor:w-resize}.dk-style-box-input .wrapper .margin .anchor-right{position:absolute;right:-4px;top:50%;transform:translateY(-50%)}.dk-style-box-input .wrapper .margin .anchor-right:hover{cursor:e-resize}.dk-style-box-input .wrapper .margin .anchor-top{left:50%;position:absolute;top:-4px;transform:translateX(-50%)}.dk-style-box-input .wrapper .margin .anchor-top:hover{cursor:n-resize}.dk-style-box-input .wrapper .margin .anchor-bottom{bottom:-4px;left:50%;position:absolute;transform:translateX(-50%)}.dk-style-box-input .wrapper .margin .anchor-bottom:hover{cursor:s-resize}.dk-style-box-input .wrapper .margin .anchor-tip-left{left:6px;position:absolute;top:50%;transform:translateY(-50%);z-index:999}.dk-style-box-input .wrapper .margin .anchor-tip-right{position:absolute;right:6px;top:50%;transform:translateY(-50%);z-index:999}.dk-style-box-input .wrapper .margin .anchor-tip-top{left:50%;position:absolute;top:6px;transform:translateX(-50%);z-index:999}.dk-style-box-input .wrapper .margin .anchor-tip-bottom{bottom:6px;left:50%;position:absolute;transform:translateX(-50%);z-index:999}.dk-style-box-input .wrapper .margin .anchor-tip-left,.dk-style-box-input .wrapper .margin .anchor-tip-right{width:13%;height:100%}.dk-style-box-input .wrapper .margin .anchor-tip-bottom,.dk-style-box-input .wrapper .margin .anchor-tip-top{height:10%;width:70%}.dk-style-box-input .wrapper .margin .border{border-width:3px;height:70%;width:70%}.dk-style-box-input .wrapper .margin .padding{background-color:#aed29f;height:calc(100% - 1px);width:calc(100% - 1px)}.dk-style-box-input .wrapper .margin .padding .anchor-tip-left,.dk-style-box-input .wrapper .margin .padding .anchor-tip-right{height:50%;width:16%}.dk-style-box-input .wrapper .margin .padding .anchor-tip-bottom,.dk-style-box-input .wrapper .margin .padding .anchor-tip-top{height:16%;width:100%}.dk-style-box-input .wrapper .margin .padding .width-height{align-items:center;background-color:#9ae0f1;display:flex;height:50%;justify-content:center;width:60%;font-size:14px}.dk-style-box-input .wrapper .margin .padding .width-height input{line-height:46px;top:calc(50% - 12px)}.dk-style-box-input .wrapper .margin .padding .width-height .title{color:#000;height:80%;padding:0;text-align:center;width:100%}.dk-style-box-input .wrapper .margin .padding .width-height .title span{top:calc(50% - 6px);height:100%;position:absolute}.dk-style-box-input .wrapper .margin .padding .width-height .title .content-unit{cursor:pointer;display:inline-block;width:40%}.dk-style-box-input .wrapper .margin .padding .width-height .title .content-unit em{font-style:normal;font-size:12px}.dk-style-box-input .wrapper .margin .tools{display:flex;align-items:center;position:absolute;right:2px;top:2px;z-index:1000;padding:2px 4px;cursor:pointer}.dk-style-box-input .wrapper .margin .input-box{border:0;border-radius:2px;display:none;font-size:12px;max-height:24px;max-width:48px;outline:1px solid #666}.dk-style-box-input .wrapper .margin .input-box.show{display:block}.dk-style-box-input .wrapper .margin .value-indicator{color:#333;cursor:pointer;font-size:12px;display:flex;align-items:center;justify-content:center}.dk-style-box-input .wrapper .margin .value-indicator:hover~.esm-modal-svg{opacity:1}.dk-style-box-input .wrapper .margin .esm-modal-svg{opacity:0}.dk-style-box-input .wrapper .margin .esm-modal-svg:hover{opacity:1}.dk-style-font-input .el-radio-button__inner{padding:6px 15px}.dk-style-border-input{align-items:center;display:flex;justify-content:space-between;width:100%}.dk-style-border-input .border-box{display:grid;grid-template:". border-top ." "border-left border-all border-right" ". border-bottom .";height:-moz-min-content;height:min-content;width:-moz-min-content;width:min-content}.dk-style-border-input .border-box .border-box-option{cursor:pointer;height:30px;text-align:center;width:30px}.dk-style-border-input .border-box .border-box-option.selected{background:#e8e8e8!important;border-radius:20%}.dk-style-border-input .border-box .border-box-option:hover{background:#f0f0f0;border-radius:20%}.dk-style-border-input .dk-border-slider{width:calc(100% - 140px);margin-right:10px;margin-left:10px}.dk-style-border-input .dk-border-input{width:100px}.dk-style-border-input .dk-border-select{width:40px}.dk-style-border-input.mini{flex-direction:column}.dk-style-border-input.mini .m-l-20px{margin-left:0!important;margin-top:10px}.dk-style-border-input .el-form-item{margin-bottom:18px!important;display:flex!important}.dk-box-size-input{display:flex;align-items:flex-start;justify-content:space-between;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-box-size-input .alone{display:flex}.dk-box-size-input .w-resize{display:flex;align-items:center;cursor:w-resize}.dk-box-size-input .el-input-group__append{padding:0}.dk-box-size-input .el-select-v2__suffix{display:none}.dk-box-size-input .el-select-v2__placeholder{width:100%}.dk-box-size-input .el-virtual-scrollbar{right:0!important;width:2px!important}body{--dk-color-input-background:black}.dk-color-input{width:100%}.dk-style-shadow-input .shadow-list li{display:flex;align-items:center;margin-top:10px}.dk-style-shadow-input .shadow-list li .close-shadow{margin-left:10px;cursor:pointer}.dk-style-shadow-content{display:flex;align-items:center;justify-content:space-between}.dk-style-shadow-content .shadow-form-content{margin-right:10px;width:calc(100% - var(--shadow-box-width));max-width:400px}.dk-style-shadow-content .shadow-content-box{border:1px solid #ccc;border-radius:5px;background:#f6f6f6;position:relative;cursor:pointer;overflow:hidden}.dk-style-shadow-content .shadow-content-box #spot{position:absolute;width:0;height:0;border-radius:100%}.dk-style-shadow-content .shadow-content-box #spot #center{position:absolute;top:-5px;left:-5px;width:10px;height:10px;background:#1989fa;border-radius:100%;z-index:9}.dk-style-shadow-content .shadow-content-box.down #center{box-shadow:1px 1px 10px 2px #1989fa}.dk-style-shadow-content .shadow-content-box #center-spot{position:absolute;width:0;height:0;border-radius:100%;background:#1989fa}.dk-style-shadow-content .shadow-content-box .x-hr{width:100%;position:absolute;height:1px;background:#ccc}.dk-style-shadow-content .shadow-content-box .y-hr{height:100%;position:absolute;width:1px;background:#ccc}.dk-style-background-input{display:flex}.dk-style-background-input .dk-image-input{width:100%;margin-left:5px}.dk-style-input{width:100%}.dk-style-input .el-collapse-item__content{padding:0}.dk-style-number-input{-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;display:inline-flex;width:100%}.dk-style-number-input.horizontal{flex-direction:row}.dk-style-number-input.horizontal .w-resize{cursor:ew-resize;display:flex}.dk-style-number-input.vertical{align-items:baseline}.dk-style-number-input.vertical .w-resize{cursor:ns-resize;display:flex}.dk-style-position-input .el-form-item{margin-bottom:18px!important;display:flex!important}.dk-form .form-help{margin-top:4px;margin-bottom:0;font-size:12px;line-height:1.5;color:#888}.dk-form .el-form-item__content{display:block}.dk-table .dk-data-table .cell{color:var(--el-text-color-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dk-table .dk-data-table .cell .dk-render-color{width:100%;height:25px}.dk-table .dk-data-table .cell .move-button{cursor:move}.dk-table .dk-data-table .cell .table-operate-text{padding-left:5px}.dk-table .dk-data-table .cell .table-operate{height:auto;padding:4px 5px}.dk-table .dk-data-table .cell .dk-tooltip-button{display:inline-flex;margin-left:6px;vertical-align:middle;height:auto;padding:4px 5px}.dk-table .dk-data-table .cell .el-image{width:36px;height:36px}.dk-table .dk-data-table .cell .images-item{width:50px;margin:0 5px}.dk-table .table-pagination{box-sizing:border-box;width:100%;max-width:100%;background-color:var(--ba-bg-color-overlay);padding:13px 15px}.dk-table-header{position:relative;overflow-x:auto;box-sizing:border-box;display:flex;align-items:center;width:100%;max-width:100%;background-color:var(--ba-bg-color-overlay);border:1px solid var(--ba-border-color);border-bottom:none;padding:13px 15px;font-size:14px}.dk-table-header .el-button+.el-button{margin-left:6px}.dk-table-header .table-header-operate-text{margin-left:6px}.dk-table-header .table-search{display:flex;margin-left:auto}.dk-table-header .table-search .quick-search{width:auto}.dk-table-header .table-search-button-group{display:flex;border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);overflow:hidden}.dk-table-header .table-search-button-group button:active,.dk-table-header .table-search-button-group button:focus{background-color:var(--ba-bg-color-overlay)}.dk-table-header .table-search-button-group button:hover{background-color:var(--el-color-info-light-7)}.dk-table-header .table-search-button-group .table-search-button-item{border:none;border-radius:0}.dk-table-header .table-search-button-group .el-button+.el-button{margin:0}.dk-table-header .table-search-button-group .right-border{border-right:1px solid var(--el-border-color)}.table-com-search{box-sizing:border-box;width:100%;max-width:100%;padding:13px 15px;font-size:14px;background-color:var(--ba-bg-color-overlay);border:1px solid var(--ba-border-color);border-bottom:none}.table-com-search .com-search-col{display:flex;align-items:center;padding-top:8px;font-size:13px;color:var(--el-text-color-regular)}.table-com-search .com-search-col-label{width:80px;padding:0 15px;overflow:hidden;text-align:left;white-space:nowrap}.table-com-search .com-search-col-input{width:100%;padding:0 15px}.table-com-search .com-search-col-input-range{display:flex;align-items:center;width:100%;padding:0 15px}.table-com-search .com-search-col-input-range .range-separator{padding:0 5px}.dk-poster{display:flex;justify-content:space-between;overflow:hidden}.dk-poster .poster-draw{border-radius:5px;border:1px solid #ccc;position:relative}.dk-poster .poster-draw .poster-tools{width:100%;display:flex;padding:10px;align-items:center;justify-content:space-between;position:absolute;background:#fff;z-index:1;top:0;box-shadow:0 0 5px 1px rgba(0,0,0,.1882352941);transition:all .4s ease 0s}.dk-poster .poster-draw .poster-tools .form-inline{height:28px;margin-left:20px}.dk-poster .poster-draw .poster-body{background:linear-gradient(-90deg,rgba(0,0,0,.1) 1px,transparent 1px) 0 0/10px 10px,linear-gradient(rgba(0,0,0,.1) 1px,transparent 1px) 0 0/10px 10px;padding:20px;padding-bottom:50px;width:600px;display:flex;justify-content:space-around;min-height:600px;position:relative;align-items:center}.dk-poster .poster-draw .poster-body .poster-content{position:relative;box-sizing:content-box;box-shadow:var(--el-box-shadow);background:#fff;z-index:0;overflow:hidden}.dk-poster .poster-draw .poster-body .poster-content .bg{overflow:hidden;position:absolute;width:100%;z-index:0;box-sizing:border-box;-webkit-box-sizing:border-box}.dk-poster .poster-draw .poster-body .poster-content .bgBorder{position:absolute;z-index:-1}.dk-poster .poster-draw .poster-body .poster-content .vdr-handle{z-index:1}.dk-poster .poster-draw .el-icon-setting{position:absolute;right:20px;top:16px;font-size:18px;z-index:9;cursor:pointer}.dk-poster .poster-draw .snap-tolerance{position:absolute;bottom:-10px;left:10px;display:flex;justify-content:space-evenly;opacity:.5}.dk-poster .poster-draw .snap-tolerance:hover{opacity:1}.dk-poster .view-buttons .el-button{margin-left:0;margin-right:12px}.hot-area-content{display:flex;justify-content:space-between}.hot-area-content .hot-area-draggable{width:500px;border:1px solid var(--el-border-color)}.hot-area-content .hot-area-form{width:400px}.hot-area-content .hot-area-form .hot-area-input{display:flex;align-items:center}.hot-area-content .hot-area-form .hot-area-input span{width:100px}.hot-item-content{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:20px;color:#fff;background:rgba(0,0,0,.2509803922)}.dk-animate-content{display:flex;justify-content:space-between;min-height:300px}.dk-animate-content .animate-preview{width:250px;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.dk-animate-content .animate-list{width:600px}.dk-animate-content .animate-list ul li{float:left;width:calc(25% - 10px);padding:10px;cursor:pointer;border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);margin:5px}.dk-animate-content .animate-list ul li:hover{box-shadow:var(--el-box-shadow-lighter)}.dk-animate-content .animate-list ul li.choose{border:1px solid var(--el-color-primary)}.dk-style-animation-input .el-form-item__content{display:block}.dk-style-animation-input .form-help{margin-top:4px;margin-bottom:0;font-size:12px;line-height:1.5;color:#888;-webkit-user-select:text;-moz-user-select:text;user-select:text;cursor:text}.uniui-cart-filled::before{content:"\e6d0"}.uniui-gift-filled::before{content:"\e6c4"}.uniui-color::before{content:"\e6cf"}.uniui-wallet::before{content:"\e6b1"}.uniui-settings-filled::before{content:"\e6ce"}.uniui-auth-filled::before{content:"\e6cc"}.uniui-shop-filled::before{content:"\e6cd"}.uniui-staff-filled::before{content:"\e6cb"}.uniui-vip-filled::before{content:"\e6c6"}.uniui-plus-filled::before{content:"\e6c7"}.uniui-folder-add-filled::before{content:"\e6c8"}.uniui-color-filled::before{content:"\e6c9"}.uniui-tune-filled::before{content:"\e6ca"}.uniui-calendar-filled::before{content:"\e6c0"}.uniui-notification-filled::before{content:"\e6c1"}.uniui-wallet-filled::before{content:"\e6c2"}.uniui-medal-filled::before{content:"\e6c3"}.uniui-fire-filled::before{content:"\e6c5"}.uniui-refreshempty::before{content:"\e6bf"}.uniui-location-filled::before{content:"\e6af"}.uniui-person-filled::before{content:"\e69d"}.uniui-personadd-filled::before{content:"\e698"}.uniui-arrowthinleft::before{content:"\e6d2"}.uniui-arrowthinup::before{content:"\e6d3"}.uniui-arrowthindown::before{content:"\e6d4"}.uniui-back::before{content:"\e6b9"}.uniui-forward::before{content:"\e6ba"}.uniui-arrow-right::before{content:"\e6bb"}.uniui-arrow-left::before{content:"\e6bc"}.uniui-arrow-up::before{content:"\e6bd"}.uniui-arrow-down::before{content:"\e6be"}.uniui-arrowthinright::before{content:"\e6d1"}.uniui-down::before{content:"\e6b8"}.uniui-bottom::before{content:"\e6b8"}.uniui-arrowright::before{content:"\e6d5"}.uniui-right::before{content:"\e6b5"}.uniui-up::before{content:"\e6b6"}.uniui-top::before{content:"\e6b6"}.uniui-left::before{content:"\e6b7"}.uniui-arrowup::before{content:"\e6d6"}.uniui-eye::before{content:"\e651"}.uniui-eye-filled::before{content:"\e66a"}.uniui-eye-slash::before{content:"\e6b3"}.uniui-eye-slash-filled::before{content:"\e6b4"}.uniui-info-filled::before{content:"\e649"}.uniui-reload::before{content:"\e6b2"}.uniui-micoff-filled::before{content:"\e6b0"}.uniui-map-pin-ellipse::before{content:"\e6ac"}.uniui-map-pin::before{content:"\e6ad"}.uniui-location::before{content:"\e6ae"}.uniui-starhalf::before{content:"\e683"}.uniui-star::before{content:"\e688"}.uniui-star-filled::before{content:"\e68f"}.uniui-calendar::before{content:"\e6a0"}.uniui-fire::before{content:"\e6a1"}.uniui-medal::before{content:"\e6a2"}.uniui-font::before{content:"\e6a3"}.uniui-gift::before{content:"\e6a4"}.uniui-link::before{content:"\e6a5"}.uniui-notification::before{content:"\e6a6"}.uniui-staff::before{content:"\e6a7"}.uniui-vip::before{content:"\e6a8"}.uniui-folder-add::before{content:"\e6a9"}.uniui-tune::before{content:"\e6aa"}.uniui-auth::before{content:"\e6ab"}.uniui-person::before{content:"\e699"}.uniui-email-filled::before{content:"\e69a"}.uniui-phone-filled::before{content:"\e69b"}.uniui-phone::before{content:"\e69c"}.uniui-email::before{content:"\e69e"}.uniui-personadd::before{content:"\e69f"}.uniui-chatboxes-filled::before{content:"\e692"}.uniui-contact::before{content:"\e693"}.uniui-chatbubble-filled::before{content:"\e694"}.uniui-contact-filled::before{content:"\e695"}.uniui-chatboxes::before{content:"\e696"}.uniui-chatbubble::before{content:"\e697"}.uniui-upload-filled::before{content:"\e68e"}.uniui-upload::before{content:"\e690"}.uniui-weixin::before{content:"\e691"}.uniui-compose::before{content:"\e67f"}.uniui-qq::before{content:"\e680"}.uniui-download-filled::before{content:"\e681"}.uniui-pyq::before{content:"\e682"}.uniui-sound::before{content:"\e684"}.uniui-trash-filled::before{content:"\e685"}.uniui-sound-filled::before{content:"\e686"}.uniui-trash::before{content:"\e687"}.uniui-videocam-filled::before{content:"\e689"}.uniui-spinner-cycle::before{content:"\e68a"}.uniui-weibo::before{content:"\e68b"}.uniui-videocam::before{content:"\e68c"}.uniui-download::before{content:"\e68d"}.uniui-help::before{content:"\e679"}.uniui-navigate-filled::before{content:"\e67a"}.uniui-plusempty::before{content:"\e67b"}.uniui-smallcircle::before{content:"\e67c"}.uniui-minus-filled::before{content:"\e67d"}.uniui-micoff::before{content:"\e67e"}.uniui-closeempty::before{content:"\e66c"}.uniui-clear::before{content:"\e66d"}.uniui-navigate::before{content:"\e66e"}.uniui-minus::before{content:"\e66f"}.uniui-image::before{content:"\e670"}.uniui-mic::before{content:"\e671"}.uniui-paperplane::before{content:"\e672"}.uniui-close::before{content:"\e673"}.uniui-help-filled::before{content:"\e674"}.uniui-paperplane-filled::before{content:"\e675"}.uniui-plus::before{content:"\e676"}.uniui-mic-filled::before{content:"\e677"}.uniui-image-filled::before{content:"\e678"}.uniui-locked-filled::before{content:"\e668"}.uniui-info::before{content:"\e669"}.uniui-locked::before{content:"\e66b"}.uniui-camera-filled::before{content:"\e658"}.uniui-chat-filled::before{content:"\e659"}.uniui-camera::before{content:"\e65a"}.uniui-circle::before{content:"\e65b"}.uniui-checkmarkempty::before{content:"\e65c"}.uniui-chat::before{content:"\e65d"}.uniui-circle-filled::before{content:"\e65e"}.uniui-flag::before{content:"\e65f"}.uniui-flag-filled::before{content:"\e660"}.uniui-gear-filled::before{content:"\e661"}.uniui-home::before{content:"\e662"}.uniui-home-filled::before{content:"\e663"}.uniui-gear::before{content:"\e664"}.uniui-smallcircle-filled::before{content:"\e665"}.uniui-map-filled::before{content:"\e666"}.uniui-map::before{content:"\e667"}.uniui-refresh-filled::before{content:"\e656"}.uniui-refresh::before{content:"\e657"}.uniui-cloud-upload::before{content:"\e645"}.uniui-cloud-download-filled::before{content:"\e646"}.uniui-cloud-download::before{content:"\e647"}.uniui-cloud-upload-filled::before{content:"\e648"}.uniui-redo::before{content:"\e64a"}.uniui-images-filled::before{content:"\e64b"}.uniui-undo-filled::before{content:"\e64c"}.uniui-more::before{content:"\e64d"}.uniui-more-filled::before{content:"\e64e"}.uniui-undo::before{content:"\e64f"}.uniui-images::before{content:"\e650"}.uniui-paperclip::before{content:"\e652"}.uniui-settings::before{content:"\e653"}.uniui-search::before{content:"\e654"}.uniui-redo-filled::before{content:"\e655"}.uniui-list::before{content:"\e644"}.uniui-mail-open-filled::before{content:"\e63a"}.uniui-hand-down-filled::before{content:"\e63c"}.uniui-hand-down::before{content:"\e63d"}.uniui-hand-up-filled::before{content:"\e63e"}.uniui-hand-up::before{content:"\e63f"}.uniui-heart-filled::before{content:"\e641"}.uniui-mail-open::before{content:"\e643"}.uniui-heart::before{content:"\e639"}.uniui-loop::before{content:"\e633"}.uniui-pulldown::before{content:"\e632"}.uniui-scan::before{content:"\e62a"}.uniui-bars::before{content:"\e627"}.uniui-checkbox::before{content:"\e62b"}.uniui-checkbox-filled::before{content:"\e62c"}.uniui-shop::before{content:"\e62f"}.uniui-headphones::before{content:"\e630"}.uniui-cart::before{content:"\e631"}@font-face{font-family:uniicons;src:url(https://cdn-1251560393.cos.ap-chengdu.myqcloud.com/font/uniicons.ttf)}.dk-uni-icon{font-family:uniicons;text-decoration:none;text-align:center;font-style:normal}.dk-uni-icon-input .uni-icon-content{margin-top:5px;border:1px solid #ccc;width:80px;height:80px;display:flex;align-items:center;justify-content:center}.dk-url-input-content .url-list{display:flex;flex-wrap:wrap}.dk-url-input-content .url-list .url-box{padding:7px 30px;margin-right:10px;margin-bottom:10px;font-size:13px;font-weight:400;color:rgba(0,0,0,.85);text-align:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:#fafafa;border-radius:3px}.dk-url-input-content .url-list .url-box:hover{color:#333;background-color:var(--el-color-primary-light-9)}.dk-url-input-content .url-list .url-box.choose{color:#fff;background-color:var(--el-color-primary)}::-webkit-scrollbar{width:10px;height:10px;background:hsla(0,0%,100%,.3)}::-webkit-scrollbar-thumb{background-color:#f6f6f6;border:1px solid #fff;border-radius:10px}::-webkit-scrollbar-thumb:hover{background-color:#ccc}*,::after,::before{box-sizing:border-box}.cl:after{content:".";display:block;height:0;clear:both;visibility:hidden}.cl{zoom:1}
|
1
|
+
@charset "UTF-8";.dk-group ._dk-group-container{position:relative;padding:5px 0;margin:15px 0}.dk-group ._dk-group-container ._dk-group-idx{align-items:center;bottom:-15px;display:flex;font-weight:700;height:30px;justify-content:center;position:absolute}.dk-group ._dk-group-container ._dk-group-handle{bottom:-20px;display:flex;flex-direction:row;position:absolute;right:0;opacity:.5}.dk-group ._dk-group-container:hover ._dk-group-handle{opacity:1}.dk-group .group-arrow{position:relative;width:20px;height:20px}.dk-group .collapse-title{display:flex;align-items:center;font-size:12px;margin:0;padding:0;width:calc(100% - 30px)}.dk-group .collapse-title .collapse-title-block{width:3px;height:18px;background:var(--el-color-primary);display:block;margin-right:5px}.dk-group .collapse-title .collapse-title-rank{cursor:move;margin-right:6px}.dk-group .collapse-title .collapse-title-rank:hover{color:var(--el-color-primary)!important}.dk-group .collapse-title span{overflow:hidden;height:48px;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:left}.dk-table-form{overflow:auto;color:#666}.dk-table-form .form-create .el-form-item{margin-bottom:1px}.dk-table-form .form-create .el-form-item.is-error{margin-bottom:22px}.dk-table-form .form-create .el-form-item__label{display:none!important}.dk-table-form .form-create .el-form-item__content{display:flex;margin-left:0!important;width:100%!important}.dk-table-form .dk-tf-head-idx,.dk-table-form .dk-tf-idx{width:40px;min-width:40px;font-weight:500;text-align:center}.dk-table-form .dk-tf-btn,.dk-table-form .dk-tf-edit{width:70px;min-width:70px;text-align:center}.dk-table-form .dk-tf-btn .fc-icon,.dk-table-form .dk-tf-edit .fc-icon{cursor:pointer}.dk-table-form.dk-disabled .dk-tf-btn .fc-icon,.dk-table-form.dk-disabled>.el-button{cursor:not-allowed}.dk-table-form .dk-tf-table{width:100%;height:100%;overflow:hidden;table-layout:fixed;border:1px solid #ebeef5;border-bottom:0 none}.dk-table-form .dk-tf-table thead tr th{border:0 none;border-bottom:1px solid #ebeef5;height:40px;font-weight:500}.dk-table-form .dk-tf-table thead tr th:not(:first-child){border-left:1px solid #ebeef5}.dk-table-form .dk-tf-table tr{min-height:50px}.dk-table-form .dk-tf-table .dk-read-view{text-align:center;width:100%}.dk-table-form .dk-tf-table td{padding:5px;min-height:50px;min-width:80px;position:relative;box-sizing:border-box;overflow-wrap:break-word;overflow:hidden;border:0 none;border-bottom:1px solid #ebeef5}.dk-table-form .dk-tf-table td:not(:first-child){border-left:1px solid #ebeef5}.dk-table-form .dk-tf-table td .el-cascader,.dk-table-form .dk-tf-table td .el-date-editor,.dk-table-form .dk-tf-table td .el-input-number,.dk-table-form .dk-tf-table td .el-select,.dk-table-form .dk-tf-table td .el-slider{width:100%}.dk-dialog .el-dialog__header{margin-right:0}.dk-dialog .el-dialog__body{padding:10px 0}.dk-attachment{width:1000px;min-height:450px;background:var(--el-bg-color)}.dk-attachment .attachment-header{border-bottom:1px solid var(--el-border-color)}.dk-attachment .attachment-header .dk-upload-button{position:relative;display:inline-block;margin-left:10px}.dk-attachment .attachment-header .dk-upload-button .el-upload-list{position:absolute;right:0;z-index:999;background:#fff;box-shadow:0 5px 5px rgba(0,0,0,.2)}.dk-attachment .attachment-header .dk-upload-button .el-upload-list li{padding:10px;border-bottom:1px solid #f5f5f5}.dk-attachment .attachment-header .dk-upload-button .el-upload-list li a{width:200px}.dk-attachment .attachment-header .dk-upload-button .el-upload-list li .el-upload-list__item-status-label{top:10px;right:15px}.dk-attachment .attachment-content .attachment-group{width:150px;overflow:auto;border-right:1px solid var(--el-border-color)}.dk-attachment .attachment-content .attachment-group h5{padding-top:5px;padding-bottom:10px;margin-top:10px;font-size:14px;font-weight:400;color:#8492a6;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-attachment .attachment-content .attachment-group h5 .el-icon-circle-plus{cursor:pointer}.dk-attachment .attachment-content .attachment-group .group-menu{border-right:none}.dk-attachment .attachment-content .attachment-group .group_list li{position:relative;padding:10px;cursor:pointer;border-bottom:1px solid var(--el-border-color)}.dk-attachment .attachment-content .attachment-group .group_list li .op{position:absolute;top:0;right:0;display:none;padding:12px;color:#ccc}.dk-attachment .attachment-content .attachment-group .group_list li.active{background:var(--el-color-primary-light-9)}.dk-attachment .attachment-content .attachment-group .group_list li.active .op{display:block}.dk-attachment .attachment-content .attachment-group .group_list li:hover{color:var(--el-color-primary);background:var(--el-color-primary-light-9)}.dk-attachment .attachment-content .attachment-container{width:850px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-attachment .attachment-content .attachment-container .attachment-list{height:325px}.dk-attachment .attachment-content .attachment-container .attachment-list li{position:relative;box-sizing:border-box;float:left;width:calc(20% - 10px);height:150px;margin:5px;overflow:hidden;cursor:pointer;background:#eee;border:4px solid #eee}.dk-attachment .attachment-content .attachment-container .attachment-list li .file{width:100%;height:146px;text-align:center}.dk-attachment .attachment-content .attachment-container .attachment-list li .file .other-file{font-size:80px;line-height:150px;color:#aaa}.dk-attachment .attachment-content .attachment-container .attachment-list li .file-name{position:absolute;bottom:0;z-index:2;width:100%;padding:4px 10px;overflow:hidden;color:#fff;text-overflow:ellipsis;white-space:nowrap;background:rgba(0,0,0,.5)}.dk-attachment .attachment-content .attachment-container .attachment-list li .right{display:none}.dk-attachment .attachment-content .attachment-container .attachment-list li.choose,.dk-attachment .attachment-content .attachment-container .attachment-list li:hover{z-index:4;border:4px solid var(--el-color-primary)}.dk-attachment .attachment-content .attachment-container .attachment-list li.choose .right{position:absolute;bottom:0;z-index:3;display:block;width:100%;height:146px;font-size:50px;line-height:150px;color:#fff;text-align:center;background:rgba(0,0,0,.5)}.dk-file-input{width:100%}.dk-file-input .image-error{height:70px;font-size:40px;line-height:70px;color:#999;text-align:center;background:var(--el-bg-color-page)}.dk-file-input .button{padding-top:10px;text-align:center;border-top:1px solid var(--el-bg-color-page)}.dk-file-input .show{position:relative;height:80px}.dk-file-input .show .file{width:80px;height:80px;padding:5px;border:1px solid var(--el-border-color)}.dk-file-input .show em{position:absolute;top:0;font-size:15px;font-weight:600;line-height:20px;color:var(--el-border-color);cursor:pointer}.dk-file-input .only-img{position:relative;width:100px;height:100px;padding:5px;margin-right:10px;margin-bottom:10px;border:1px solid var(--el-border-color);border-radius:4px}.dk-file-input .only-img:hover .close{display:flex}.dk-file-input .only-img .close{position:absolute;top:0;right:0;display:none;align-items:center;justify-content:center;width:20px;height:20px;font-size:12px;color:#fff;cursor:pointer;background:rgba(0,0,0,.7019607843);border-radius:100px}.dk-file-input .only-img .no-image{width:100%;color:#999;text-align:center;cursor:pointer;background:var(--el-bg-color-page)}.dk-file-input .only-img .media{width:100%;color:#999;text-align:center;cursor:pointer;background:var(--el-bg-color-page)}.dk-file-input .only-img .play_btn{position:absolute;right:0;bottom:0;width:20px;height:20px;font-size:18px;line-height:20px;color:#fff;text-align:center;cursor:pointer;background:#409eff}.dk-file-list-input{width:100%}.dk-file-list-input .button{padding-top:10px;text-align:center;border-top:1px solid #f5f5f5}.dk-file-list-input .dk-image-list ul::after{display:block;clear:both;content:""}.dk-file-list-input .dk-image-list ul li{float:left;margin-right:10px;margin-bottom:10px;border:1px solid var(--el-border-color);border-radius:4px}.dk-file-list-input .dk-image-list ul li .file{position:relative;width:100px;height:100px;text-align:center}.dk-file-list-input .dk-image-list ul li .file div{position:relative}.dk-file-list-input .dk-image-list ul li .file div .other-file{font-size:80px;line-height:100px;color:#aaa}.dk-file-list-input .dk-image-list ul li .file div .el-icon-video-play{position:absolute;right:2px;bottom:2px;display:none;font-size:20px;cursor:pointer}.dk-file-list-input .dk-image-list ul li .file div:hover .el-icon-video-play{display:block;color:#409eff}.dk-file-list-input .dk-image-list ul li .file .close{position:absolute;top:0;right:0;display:none;align-items:center;justify-content:center;width:20px;height:20px;line-height:20px;color:#fff;text-align:center;cursor:pointer;background:rgba(0,0,0,.4);border-radius:100%}.dk-file-list-input .dk-image-list ul li .file:hover .close{display:flex}.dk-file-list-input .dk-image-list ul li .chooseImage{width:100px;height:100px;font-size:40px;line-height:100px;color:#999;text-align:center;cursor:pointer}.dk-file-list-input .dk-image-list ul li .chooseImage:hover{color:#409eff}.dk-icon-input{width:100%}.dk-icon-input .show{position:relative}.dk-icon-input .show .icon{width:80px;height:80px;padding:5px;border:1px solid var(--el-border-color)}.dk-icon-input .show em{position:absolute;top:0;font-size:15px;font-weight:600;line-height:20px;color:var(--el-border-color);cursor:pointer}.dk-icon-content{position:relative}.dk-icon-content .search-icon{position:absolute;top:0;right:0}.dk-icon-content .dk-tab-pane{height:300px;overflow:auto}.dk-icon-content .dk-icon{border:2px solid transparent}.dk-icon-content .choose-icon{border:2px solid #409eff}.dk-tiny-editor{width:100%}.dk-tiny-editor textarea{width:100%;height:400px;opacity:0}.dk-page-diy{min-width:1000px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy ._fc-l,.dk-page-diy ._fc-m,.dk-page-diy ._fc-r{background:#fff;box-sizing:border-box;height:calc(100vh - 180px);position:relative}.dk-page-diy ._fc-l::-webkit-scrollbar,.dk-page-diy ._fc-m::-webkit-scrollbar,.dk-page-diy ._fc-r::-webkit-scrollbar{display:none}.dk-page-diy ._fc-l .el-tabs__item,.dk-page-diy ._fc-m .el-tabs__item,.dk-page-diy ._fc-r .el-tabs__item{font-weight:800}.dk-page-diy ._fc-l .el-tabs__nav-wrap,.dk-page-diy ._fc-m .el-tabs__nav-wrap,.dk-page-diy ._fc-r .el-tabs__nav-wrap{padding:0 20px}.dk-page-diy ._fc-l{overflow:inherit!important;display:flex;flex:0 0 auto;flex-direction:column;top:0}.dk-page-diy ._fc-l ._fc-l-group{padding:0 12px}.dk-page-diy ._fc-l ._fc-l-title{font-weight:600;font-size:14px;margin:18px 0 5px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy ._fc-l ._fc-l-item{display:inline-block;background:#fff;color:#000;min-width:70px;width:80px;height:70px;line-height:1;text-align:center;transition:all .2s ease;cursor:move;border-radius:6px;position:relative}.dk-page-diy ._fc-l ._fc-l-item.not-drag{cursor:not-allowed;background:#f6f6f6!important;color:#000!important}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-name{font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-count{background-color:#409eff;border-radius:10px;color:#fff;display:inline-block;font-size:12px;height:18px;line-height:18px;padding:0 6px;text-align:center;white-space:nowrap;border:1px solid #fff;position:absolute;top:5px;right:20px;z-index:1;transform:translateY(-50%) translateX(100%)}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-icon{padding:10px 5px 12px}.dk-page-diy ._fc-l ._fc-l-item:hover{background:#409eff;color:#fff}.dk-page-diy ._fc-l.item-box ._fc-l-groups{height:calc(100vh - 220px);overflow:auto;flex:1 1 0%}.dk-page-diy ._fc-l.item-box ._fc-l-groups::-webkit-scrollbar{display:none}.dk-page-diy ._fc-l.item-box ._fc-l-groups ._fc-l-items ._fc-l-item{margin:5px;width:76px;box-shadow:1px 1px 4px rgba(0,0,0,.1019607843)}.dk-page-diy ._fc-l:hover .aside-toggle{display:block}.dk-page-diy ._fc-l .children-list{width:100%;position:relative;background:#fff;bottom:0;overflow:auto;z-index:2;height:calc(100vh - 240px)}.dk-page-diy ._fc-l .children-list .el-tree-node-content{width:100%;display:flex;align-items:center;justify-content:space-between}.dk-page-diy ._fc-l .children-list .el-tree-node-content .close-rule{position:absolute;right:0;padding:2px 10px;box-sizing:initial}.dk-page-diy ._fc-l .children-list .el-tree-node-content .close-rule:hover{color:#409eff!important}.dk-page-diy ._fc-l .children-list .el-tree-node-content:hover .close-rule{display:inline-flex}.dk-page-diy ._fc-l .children-list .el-tree-node-content ._fc-tree-node{display:flex;align-items:center;justify-content:space-between;cursor:move;height:26px;line-height:26px;padding-right:5px}.dk-page-diy ._fc-l .children-list .el-tree-node-content ._fc-tree-node ._fc-tree-icon{margin-right:5px}.dk-page-diy ._fc-l .children-list .aside-resizer{width:100%;height:4px;margin:-2px 0;cursor:n-resize;z-index:3}.dk-page-diy ._fc-l .children-list::-webkit-scrollbar{display:none}.dk-page-diy ._fc-m{background:#ebeced;width:100%}.dk-page-diy ._fc-m ._fc-m-tools{background:#fff;height:40px;align-items:center;display:flex;justify-content:flex-end;border:1px solid #ececec;border-top:0 none}.dk-page-diy ._fc-m ._fc-m-drag{overflow:auto;box-sizing:border-box}.dk-page-diy ._fc-m .form-create ._fc-l-item{background:#409eff;width:100%;height:30px;overflow:hidden;transition:all .3s ease;display:flex;justify-content:center;align-items:center;color:#fff}.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-count,.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-icon,.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-name{display:none}.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen:after{content:"放在这里";color:#fff;font-size:14px}.dk-page-diy ._fc-m .form-create ._fc-l-item ._fc-l-icon{margin:0 10px}.dk-page-diy ._fc-r{width:calc(100% - 800px);overflow:inherit!important}.dk-page-diy ._fc-r .el-tabs__nav{width:100%}.dk-page-diy ._fc-r .el-tabs__item{width:33%;text-align:center}.dk-page-diy ._fc-r .el-tabs__content{padding:0 20px;height:calc(100vh - 235px);overflow:auto}.dk-page-diy ._fc-r .el-tabs__content::-webkit-scrollbar{width:5px}.dk-page-diy ._fc-r .el-tabs__nav-wrap::after{height:1px;background-color:#ececec}.dk-page-diy ._fc-r ._fc-r-tabs{display:flex;cursor:pointer;padding:0;border-bottom:1px solid #ececec}.dk-page-diy ._fc-r ._fc-r-tab{height:40px;box-sizing:border-box;line-height:40px;display:inline-block;list-style:none;font-size:14px;font-weight:600;color:#303133;position:relative;flex:1;text-align:center}.dk-page-diy ._fc-r ._fc-r-tab.active{color:#409eff;border-bottom:2px solid #409eff}.dk-page-diy ._fc-r:hover .aside-toggle{display:block}.dk-page-diy ._fc-r .el-form-item__content{display:block}.dk-page-diy ._fc-r .el-form-item__content .form-help{line-height:1.5;margin-top:4px;color:#888;font-size:12px}.dk-page-diy ._fc-m-drag,.dk-page-diy .draggable-drag{min-height:630px;height:100%;position:relative}.dk-page-diy ._fc-m-drag .chosen,.dk-page-diy .draggable-drag .chosen{opacity:1!important}.dk-page-diy .aside-resizer{cursor:ew-resize;height:100%;margin:0 -2px;position:absolute;top:0;width:4px;z-index:1;right:0}.dk-page-diy .aside-resizer:hover{background:rgba(204,204,204,.5)}.dk-page-diy .aside-toggle{background:inherit;cursor:pointer;padding:20px 5px;position:absolute;top:50%;transform:translateY(-50%);z-index:1;display:none}.dk-page-diy .drag-tool{padding:var(--padding);position:relative;min-height:var(--minHeight);box-sizing:border-box;word-wrap:break-word;word-break:break-all;margin:var(--margin);outline:var(--showDashed) dashed #a2d1ff;overflow:var(--overflow)}.dk-page-diy .drag-tool:hover{outline:2px dashed #a2d1ff}.dk-page-diy .drag-tool .drag-tool{margin:5px}.dk-page-diy .drag-tool+.drag-tool{margin-top:5px}.dk-page-diy .drag-tool .drag-content{overflow:hidden}.dk-page-diy .drag-tool .drag-content .drag-tool .del{right:0;top:0}.dk-page-diy .drag-tool .drag-r{display:none}.dk-page-diy .drag-tool:hover .drag-r{display:block}.dk-page-diy .drag-tool .drag-r{position:absolute;right:2px;bottom:2px;z-index:1200}.dk-page-diy .drag-tool .drag-l{position:absolute;top:0;left:0;z-index:1904}.dk-page-diy .drag-tool .drag-btn{height:18px;width:18px;color:#fff;background-color:#666;text-align:center;line-height:20px;padding-bottom:1px;float:left;cursor:pointer;justify-content:center;display:none;opacity:.5}.dk-page-diy .drag-tool .drag-btn+.drag-btn{margin-left:2px}.dk-page-diy .drag-tool .drag-btn:hover{background-color:var(--el-color-primary);opacity:1}.dk-page-diy .drag-tool .drag-btn-danger{background-color:var(--el-color-danger)!important}.dk-page-diy .drag-tool .drag-btn i{font-size:13px}.dk-page-diy .drag-tool .drag-mask{z-index:1199;position:absolute;top:0;left:0;right:0;bottom:0}.dk-page-diy .drag-tool.active{outline:2px solid #409eff}.dk-page-diy .drag-tool.active>.drag-r .drag-btn{display:block}.dk-page-diy .drag-tool.active>.drag-l .drag-btn{display:block}.dk-page-diy .drag-tool.active>.del{display:block}.dk-page-diy .drag-tool.active>.op{display:block}.dk-page-diy .preview-phone{overflow:auto;box-shadow:inset 0 2px 5px 1px rgba(62,62,62,.0901960784);height:100%}.dk-page-diy .preview-phone::-webkit-scrollbar{width:8px}.dk-page-diy .preview-phone .phone{background:#fff;width:375px;margin:20px auto;box-shadow:0 5px 10px rgba(0,0,0,.2);min-height:700px}.dk-page-diy .preview-phone .phone .phone-header{height:75px;margin-bottom:1px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy .preview-phone .phone .phone-header img{width:100%}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top{display:flex;align-items:flex-start;justify-content:space-between;height:30px;font-size:12px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-time{margin:10px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-time span{margin-right:5px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-bangs{background:#000;width:200px;height:30px;border-bottom-right-radius:20px;border-bottom-left-radius:20px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-battery{margin:10px;display:flex;align-items:center;height:18px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-battery img{margin-left:5px}.dk-page-diy .preview-phone .phone .phone-header .phone-title{display:flex;justify-content:space-between;align-items:center;height:40px}.dk-page-diy .preview-phone .phone .phone-header .phone-title .phone-title-icon{margin:5px}.dk-page-diy .preview-phone .phone .phone-header-min{background-image:url(https://demo-saas.site.niucloud.com/admin/assets/diy_preview_head-8c072698.png);background-repeat:no-repeat;background-position:center;background-size:cover;position:relative}.dk-page-diy .preview-phone .phone .phone-header-min .close-button{position:absolute;top:34px;right:27px}.dk-page-diy .preview-phone .phone .phone-header-min .close-button:hover .close-button-mask{background:rgba(0,0,0,.0666666667)}.dk-page-diy .preview-phone .phone .phone-header-min .close-button .close-button-mask{width:20px;height:20px;border-radius:100%;cursor:pointer}.dk-page-diy .preview-phone .phone .phone-header-min .more-button-mask{position:absolute;top:34px;right:70px;width:25px;cursor:pointer;border-radius:40px;height:20px}.dk-page-diy .preview-phone .phone .phone-header-min .more-button-mask:hover{background:rgba(0,0,0,.0666666667)}.dk-page-diy .preview-phone .phone .phone-body{background:#f5f5f5;background-size:100% auto!important;overflow:visible;background-repeat:no-repeat;background-origin:initial;background-clip:initial}.dk-page-diy .preview-phone .phone .phone-body .ghost{box-shadow:var(--el-box-shadow)}.dk-page-diy .dk-view-bullet-chat{height:30px;line-height:30px;color:#fff;background:rgba(0,0,0,.6);border-radius:100px}.dk-page-diy .dk-view-bullet-chat .bullet-content{display:flex;align-items:center;height:20px;margin:5px;font-size:12px}.dk-page-diy .dk-view-bullet-chat .bullet-content img{width:20px;height:20px;border-radius:100%}.dk-page-diy .dk-view-bullet-chat .bullet-content span{padding:0 5px}.dk-page-diy .dk-view-common-btn .btn{display:flex;align-items:center;justify-content:center}.dk-page-diy .dk-view-common-btn .btn .van-icon{font-size:1.2em}.dk-page-diy .dk-view-common-btn .f-btn{display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.dk-page-diy .dk-view-common-btn .f-btn .image-content{display:inherit}.dk-page-diy .dk-view-common-btn .f-btn .f-btn-content{display:flex;align-items:center;justify-content:center;border-radius:100%}.dk-page-diy .dk-view-common-btn .f-img{display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.dk-page-diy .dk-view-image.dk-mobile-image-default{display:flex;flex-direction:column}.dk-page-diy .dk-view-image.dk-mobile-image-default .van-image{display:block}.dk-page-diy .dk-view-image.dk-mobile-image-default .dk-mobile-image-content{display:block}.dk-page-diy .dk-view-image.dk-mobile-image-slide{width:100%;overflow-x:scroll;white-space:nowrap}.dk-page-diy .dk-view-image.dk-mobile-image-slide .dk-mobile-image-content{position:relative;display:inline-block;margin-right:10px;vertical-align:top}.dk-page-diy .dk-view-image .dk-mobile-image-content{position:relative;overflow:hidden}.dk-page-diy .dk-view-image .dk-mobile-image-content:last-child{margin:0!important}.dk-page-diy .dk-view-image .dk-mobile-image-content .text-type-footer{text-align:center;height:48px;line-height:48px}.dk-page-diy .dk-view-image .dk-mobile-image-content .text-type-default{color:#fff;text-align:center;position:absolute;background:linear-gradient(180deg,transparent,rgba(0,0,0,.75));bottom:0;height:48px;line-height:48px;width:100%}.dk-page-diy .dk-view-dialog .preview{display:flex;align-items:center;justify-content:center;height:40px;text-align:center;background:#fff}.dk-page-diy .dk-view-music{width:100%;display:flex;align-items:center;justify-content:center}.dk-page-diy .dk-view-music .dk-music-icon{background:#fff;border-radius:100%;border:2px solid #fff;font-weight:800;box-sizing:content-box;color:#f56c6c}.dk-page-diy .dk-view-music .dk-music-img{border-radius:100%}.dk-page-diy .dk-view-music .changeRight{animation-name:changeRight}.dk-page-diy .dk-view-music .changeLeft{animation-name:changeLeft}@keyframes changeRight{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes changeLeft{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(-180deg)}100%{-webkit-transform:rotate(-360deg)}}.dk-page-diy .dk-view-swipe .image{width:100%}.dk-page-diy .dk-view-tabbar .van-tabbar,.dk-page-diy .dk-view-tabbar .van-tabbar-item--active{background:0 0}.dk-page-diy .dk-view-title{display:flex;align-items:center;justify-content:space-between}.dk-page-diy .dk-view-title .title-left{display:flex;align-items:center}.dk-page-diy .dk-view-video{display:flex;align-items:center;justify-content:center;width:100%;min-height:240px;color:#eee;background:#222}.dk-page-diy .dk-view-video .dk-video-content{width:100%;height:100%;text-align:center}.dk-page-diy .dk-view-video .dk-video-content p{font-size:12px;color:#999}.dk-page-diy .dk-view-video .dk-video-content .poster{width:100%;height:100%}.dk-page-diy .dk-view-video .el-icon-video-play{font-size:50px}.dk-page-diy .dk-view-video .video-preview{position:absolute;top:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;background:#000;opacity:.8}.dk-page-diy .dk-min-swipe .image{width:100%}.dk-page-diy .dk-min-swipe .swipe-title{position:absolute;bottom:0;background:rgba(0,0,0,.3333333333);width:100%;color:#fff;padding:5px}.dk-page-diy .dk-min-area{position:relative}.dk-page-diy .hot-item{display:flex;align-items:center;justify-content:center;color:#fff}.dk-page-diy .dk-min-image.dk-mobile-image-row{display:flex;flex-direction:row}.dk-page-diy .dk-min-image.dk-mobile-image-row .dk-mobile-image-content{display:block}.dk-page-diy .dk-min-image.dk-mobile-image-column{display:flex;flex-direction:column}.dk-page-diy .dk-min-image.dk-mobile-image-slide{width:100%;overflow-x:scroll;white-space:nowrap}.dk-page-diy .dk-min-image.dk-mobile-image-slide .dk-mobile-image-content{position:relative;display:inline-block;margin-right:10px;vertical-align:top}.dk-page-diy .dk-min-image .dk-mobile-image-content{position:relative;overflow:hidden}.dk-page-diy .dk-min-image .dk-mobile-image-content:last-child{margin:0!important}.dk-page-diy .dk-min-image .dk-mobile-image-content .text-type-footer{text-align:center}.dk-page-diy .dk-min-image .dk-mobile-image-content .text-type-default{color:#fff;text-align:center;position:absolute;background:linear-gradient(180deg,transparent,rgba(0,0,0,.75));bottom:0;height:32px;line-height:32px;width:100%}.dk-page-diy .dk-app-gold-grid:deep .van-grid-item__content{background:0 0}.dk-page-diy .dk-min-cube-image{position:relative;width:100%}.dk-page-diy .dk-min-cube-image .selected-area{z-index:1;position:absolute;display:flex;align-items:center}.dk-page-diy .dk-min-cube-image .selected-area .selected-image{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.dk-page-diy .dk-min-cube-image .selected-area .cube-selected-text{width:100%;background-color:rgba(255,255,255,.8);padding:4px;box-sizing:border-box;text-align:center;font-size:12px}.diy-cloud .diy-header{display:flex;justify-content:space-between}.diy-cloud .diy-header .diy-search{width:500px;display:flex;align-items:center}.diy-cloud .diy-content{padding:20px 0}.diy-cloud .diy-content ul{height:520px}.diy-cloud .diy-content ul li{float:left;width:calc(16.6% - 10px);text-align:center;margin:5px;position:relative;transition:all .3s ease 0s;cursor:pointer;border-radius:10px;overflow:hidden;border:1px solid #ccc}.diy-cloud .diy-content ul li .cover{width:180px;height:240px;transition:all .3s ease 0s}.diy-cloud .diy-content ul li .title{position:absolute;bottom:0;padding:4px 10px;background:#fff;color:#000;text-align:center;width:100%}.diy-cloud .diy-content ul li .type{position:absolute;bottom:40px;padding:4px 10px;color:#000;text-align:center;width:100%}.diy-cloud .diy-content ul li .tag-list{position:absolute;bottom:30px;padding:4px 10px;color:#000;text-align:right;width:100%}.diy-cloud .diy-content ul li .tag-list .tag{font-size:12px;margin-top:17px;text-align:right;padding:2px 6px;top:180px;right:6px;background-color:rgba(0,0,0,.6);color:#fff;border-radius:4px;margin-left:5px}.diy-cloud .diy-content ul li .mask{position:absolute;height:240px;width:180px;top:0;background:rgba(0,0,0,.3019607843)}.diy-cloud .diy-content ul li:hover{box-shadow:0 4px 12px 0 rgba(0,13,71,.2)}.diy-cloud .diy-content ul li.choose{transition:all .1s ease 0s;border:1px solid #1989fa}.diy-cloud .diy-footer{text-align:center;padding:10px}.design-cube{position:relative;width:100%}.design-cube .cube-col{float:left;padding:0;margin:0;list-style:none}.design-cube .cube-item{box-sizing:border-box;display:flex;align-items:center;justify-content:space-around;text-align:center;cursor:pointer;background:#f8f8f8;border-right:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;border-left:1px solid #e5e5e5}.design-cube .cube-item:first-child{border-top:1px solid #e5e5e5}.design-cube .cube-item.item-selected,.design-cube .cube-item.item-selecting{background:#e0edff}.design-cube .selected-area{position:absolute;box-sizing:border-box;overflow:hidden;color:#7d7e80;text-align:center;cursor:pointer;background-color:#fff;border:1px solid #ebedf0}.design-cube .selected-area img{width:100%}.design-cube .selected-area.selected-area-choose{border:1px solid red}.design-cube .selected-area .cube-selected-text{position:absolute;top:50%;left:50%;width:100%;font-size:12px;transform:translate(-50%) translateY(-50%)}.design-cube .selected-area .cube-close{position:absolute;top:5px;right:5px;z-index:99;font-size:18px}.dk-style-box-input{display:flex;flex-direction:column;flex-shrink:0;min-height:100%;width:100%}.dk-style-box-input .position-line{background:rgba(255,0,0,.42);position:fixed;z-index:999}.dk-style-box-input .header{margin-bottom:20px}.dk-style-box-input .header .name-header-operations{float:right;margin-left:4px;position:relative}.dk-style-box-input .wrapper{background-color:#e7dec6;height:380px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.dk-style-box-input .wrapper .thumnail{margin:auto;position:relative;top:50%;transform:translateY(-50%)}.dk-style-box-input .wrapper .thumnail-heightlight{box-sizing:border-box}.dk-style-box-input .wrapper .margin{background-color:#eace95;height:100%;width:100%}.dk-style-box-input .wrapper .margin .title{color:#7f0020;display:block;padding:6px;position:absolute;font-size:12px}.dk-style-box-input .wrapper .margin .anchor{background-color:#fff;border:1px solid rgba(51,51,51,.5);height:8px;width:8px;z-index:10000}.dk-style-box-input .wrapper .margin .anchor-left{left:-4px;position:absolute;top:50%;transform:translateY(-50%)}.dk-style-box-input .wrapper .margin .anchor-left:hover{cursor:w-resize}.dk-style-box-input .wrapper .margin .anchor-right{position:absolute;right:-4px;top:50%;transform:translateY(-50%)}.dk-style-box-input .wrapper .margin .anchor-right:hover{cursor:e-resize}.dk-style-box-input .wrapper .margin .anchor-top{left:50%;position:absolute;top:-4px;transform:translateX(-50%)}.dk-style-box-input .wrapper .margin .anchor-top:hover{cursor:n-resize}.dk-style-box-input .wrapper .margin .anchor-bottom{bottom:-4px;left:50%;position:absolute;transform:translateX(-50%)}.dk-style-box-input .wrapper .margin .anchor-bottom:hover{cursor:s-resize}.dk-style-box-input .wrapper .margin .anchor-tip-left{left:6px;position:absolute;top:50%;transform:translateY(-50%);z-index:999}.dk-style-box-input .wrapper .margin .anchor-tip-right{position:absolute;right:6px;top:50%;transform:translateY(-50%);z-index:999}.dk-style-box-input .wrapper .margin .anchor-tip-top{left:50%;position:absolute;top:6px;transform:translateX(-50%);z-index:999}.dk-style-box-input .wrapper .margin .anchor-tip-bottom{bottom:6px;left:50%;position:absolute;transform:translateX(-50%);z-index:999}.dk-style-box-input .wrapper .margin .anchor-tip-left,.dk-style-box-input .wrapper .margin .anchor-tip-right{width:13%;height:100%}.dk-style-box-input .wrapper .margin .anchor-tip-bottom,.dk-style-box-input .wrapper .margin .anchor-tip-top{height:10%;width:70%}.dk-style-box-input .wrapper .margin .border{border-width:3px;height:70%;width:70%}.dk-style-box-input .wrapper .margin .padding{background-color:#aed29f;height:calc(100% - 1px);width:calc(100% - 1px)}.dk-style-box-input .wrapper .margin .padding .anchor-tip-left,.dk-style-box-input .wrapper .margin .padding .anchor-tip-right{height:50%;width:16%}.dk-style-box-input .wrapper .margin .padding .anchor-tip-bottom,.dk-style-box-input .wrapper .margin .padding .anchor-tip-top{height:16%;width:100%}.dk-style-box-input .wrapper .margin .padding .width-height{align-items:center;background-color:#9ae0f1;display:flex;height:50%;justify-content:center;width:60%;font-size:14px}.dk-style-box-input .wrapper .margin .padding .width-height input{line-height:46px;top:calc(50% - 12px)}.dk-style-box-input .wrapper .margin .padding .width-height .title{color:#000;height:80%;padding:0;text-align:center;width:100%}.dk-style-box-input .wrapper .margin .padding .width-height .title span{top:calc(50% - 6px);height:100%;position:absolute}.dk-style-box-input .wrapper .margin .padding .width-height .title .content-unit{cursor:pointer;display:inline-block;width:40%}.dk-style-box-input .wrapper .margin .padding .width-height .title .content-unit em{font-style:normal;font-size:12px}.dk-style-box-input .wrapper .margin .tools{display:flex;align-items:center;position:absolute;right:2px;top:2px;z-index:1000;padding:2px 4px;cursor:pointer}.dk-style-box-input .wrapper .margin .input-box{border:0;border-radius:2px;display:none;font-size:12px;max-height:24px;max-width:48px;outline:1px solid #666}.dk-style-box-input .wrapper .margin .input-box.show{display:block}.dk-style-box-input .wrapper .margin .value-indicator{color:#333;cursor:pointer;font-size:12px;display:flex;align-items:center;justify-content:center}.dk-style-box-input .wrapper .margin .value-indicator:hover~.esm-modal-svg{opacity:1}.dk-style-box-input .wrapper .margin .esm-modal-svg{opacity:0}.dk-style-box-input .wrapper .margin .esm-modal-svg:hover{opacity:1}.dk-style-font-input .el-radio-button__inner{padding:6px 15px}.dk-style-border-input{align-items:center;display:flex;justify-content:space-between;width:100%}.dk-style-border-input .border-box{display:grid;grid-template:". border-top ." "border-left border-all border-right" ". border-bottom .";height:-moz-min-content;height:min-content;width:-moz-min-content;width:min-content}.dk-style-border-input .border-box .border-box-option{cursor:pointer;height:30px;text-align:center;width:30px}.dk-style-border-input .border-box .border-box-option.selected{background:#e8e8e8!important;border-radius:20%}.dk-style-border-input .border-box .border-box-option:hover{background:#f0f0f0;border-radius:20%}.dk-style-border-input .dk-border-slider{width:calc(100% - 140px);margin-right:10px;margin-left:10px}.dk-style-border-input .dk-border-input{width:100px}.dk-style-border-input .dk-border-select{width:40px}.dk-style-border-input.mini{flex-direction:column}.dk-style-border-input.mini .m-l-20px{margin-left:0!important;margin-top:10px}.dk-style-border-input .el-form-item{margin-bottom:18px!important;display:flex!important}.dk-box-size-input{display:flex;align-items:flex-start;justify-content:space-between;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-box-size-input .alone{display:flex}.dk-box-size-input .w-resize{display:flex;align-items:center;cursor:w-resize}.dk-box-size-input .el-input-group__append{padding:0}.dk-box-size-input .el-select-v2__suffix{display:none}.dk-box-size-input .el-select-v2__placeholder{width:100%}.dk-box-size-input .el-virtual-scrollbar{right:0!important;width:2px!important}body{--dk-color-input-background:black}.dk-color-input{width:100%}.dk-style-shadow-input .shadow-list li{display:flex;align-items:center;margin-top:10px}.dk-style-shadow-input .shadow-list li .close-shadow{margin-left:10px;cursor:pointer}.dk-style-shadow-content{display:flex;align-items:center;justify-content:space-between}.dk-style-shadow-content .shadow-form-content{margin-right:10px;width:calc(100% - var(--shadow-box-width));max-width:400px}.dk-style-shadow-content .shadow-content-box{border:1px solid #ccc;border-radius:5px;background:#f6f6f6;position:relative;cursor:pointer;overflow:hidden}.dk-style-shadow-content .shadow-content-box #spot{position:absolute;width:0;height:0;border-radius:100%}.dk-style-shadow-content .shadow-content-box #spot #center{position:absolute;top:-5px;left:-5px;width:10px;height:10px;background:#1989fa;border-radius:100%;z-index:9}.dk-style-shadow-content .shadow-content-box.down #center{box-shadow:1px 1px 10px 2px #1989fa}.dk-style-shadow-content .shadow-content-box #center-spot{position:absolute;width:0;height:0;border-radius:100%;background:#1989fa}.dk-style-shadow-content .shadow-content-box .x-hr{width:100%;position:absolute;height:1px;background:#ccc}.dk-style-shadow-content .shadow-content-box .y-hr{height:100%;position:absolute;width:1px;background:#ccc}.dk-style-background-input{display:flex}.dk-style-background-input .dk-image-input{width:100%;margin-left:5px}.dk-style-input{width:100%}.dk-style-input .el-collapse-item__content{padding:0}.dk-style-number-input{-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;display:inline-flex;width:100%}.dk-style-number-input.horizontal{flex-direction:row}.dk-style-number-input.horizontal .w-resize{cursor:ew-resize;display:flex}.dk-style-number-input.vertical{align-items:baseline}.dk-style-number-input.vertical .w-resize{cursor:ns-resize;display:flex}.dk-style-position-input .el-form-item{margin-bottom:18px!important;display:flex!important}.dk-form .form-help{margin-top:4px;margin-bottom:0;font-size:12px;line-height:1.5;color:#888}.dk-form .el-form-item__content{display:block}.dk-table .dk-data-table .cell{color:var(--el-text-color-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dk-table .dk-data-table .cell .dk-render-color{width:100%;height:25px}.dk-table .dk-data-table .cell .move-button{cursor:move}.dk-table .dk-data-table .cell .table-operate-text{padding-left:5px}.dk-table .dk-data-table .cell .table-operate{height:auto;padding:4px 5px}.dk-table .dk-data-table .cell .dk-tooltip-button{display:inline-flex;margin-left:6px;vertical-align:middle;height:auto;padding:4px 5px}.dk-table .dk-data-table .cell .el-image{width:36px;height:36px}.dk-table .dk-data-table .cell .images-item{width:50px;margin:0 5px}.dk-table .table-pagination{box-sizing:border-box;width:100%;max-width:100%;background-color:var(--ba-bg-color-overlay);padding:13px 15px}.dk-table-header{position:relative;overflow-x:auto;box-sizing:border-box;display:flex;align-items:center;width:100%;max-width:100%;background-color:var(--ba-bg-color-overlay);border:1px solid var(--ba-border-color);border-bottom:none;padding:13px 15px;font-size:14px}.dk-table-header .el-button+.el-button{margin-left:6px}.dk-table-header .table-header-operate-text{margin-left:6px}.dk-table-header .table-search{display:flex;margin-left:auto}.dk-table-header .table-search .quick-search{width:auto}.dk-table-header .table-search-button-group{display:flex;border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);overflow:hidden}.dk-table-header .table-search-button-group button:active,.dk-table-header .table-search-button-group button:focus{background-color:var(--ba-bg-color-overlay)}.dk-table-header .table-search-button-group button:hover{background-color:var(--el-color-info-light-7)}.dk-table-header .table-search-button-group .table-search-button-item{border:none;border-radius:0}.dk-table-header .table-search-button-group .el-button+.el-button{margin:0}.dk-table-header .table-search-button-group .right-border{border-right:1px solid var(--el-border-color)}.table-com-search{box-sizing:border-box;width:100%;max-width:100%;padding:13px 15px;font-size:14px;background-color:var(--ba-bg-color-overlay);border:1px solid var(--ba-border-color);border-bottom:none}.table-com-search .com-search-col{display:flex;align-items:center;padding-top:8px;font-size:13px;color:var(--el-text-color-regular)}.table-com-search .com-search-col-label{width:80px;padding:0 15px;overflow:hidden;text-align:left;white-space:nowrap}.table-com-search .com-search-col-input{width:100%;padding:0 15px}.table-com-search .com-search-col-input-range{display:flex;align-items:center;width:100%;padding:0 15px}.table-com-search .com-search-col-input-range .range-separator{padding:0 5px}.dk-poster{display:flex;justify-content:space-between;overflow:hidden}.dk-poster .poster-draw{border-radius:5px;border:1px solid #ccc;position:relative}.dk-poster .poster-draw .poster-tools{width:100%;display:flex;padding:10px;align-items:center;justify-content:space-between;position:absolute;background:#fff;z-index:1;top:0;box-shadow:0 0 5px 1px rgba(0,0,0,.1882352941);transition:all .4s ease 0s}.dk-poster .poster-draw .poster-tools .form-inline{height:28px;margin-left:20px}.dk-poster .poster-draw .poster-body{background:linear-gradient(-90deg,rgba(0,0,0,.1) 1px,transparent 1px) 0 0/10px 10px,linear-gradient(rgba(0,0,0,.1) 1px,transparent 1px) 0 0/10px 10px;padding:20px;padding-bottom:50px;width:600px;display:flex;justify-content:space-around;min-height:600px;position:relative;align-items:center}.dk-poster .poster-draw .poster-body .poster-content{position:relative;box-sizing:content-box;box-shadow:var(--el-box-shadow);background:#fff;z-index:0;overflow:hidden}.dk-poster .poster-draw .poster-body .poster-content .bg{overflow:hidden;position:absolute;width:100%;z-index:0;box-sizing:border-box;-webkit-box-sizing:border-box}.dk-poster .poster-draw .poster-body .poster-content .bgBorder{position:absolute;z-index:-1}.dk-poster .poster-draw .poster-body .poster-content .vdr-handle{z-index:1}.dk-poster .poster-draw .el-icon-setting{position:absolute;right:20px;top:16px;font-size:18px;z-index:9;cursor:pointer}.dk-poster .poster-draw .snap-tolerance{position:absolute;bottom:-10px;left:10px;display:flex;justify-content:space-evenly;opacity:.5}.dk-poster .poster-draw .snap-tolerance:hover{opacity:1}.dk-poster .view-buttons .el-button{margin-left:0;margin-right:12px}.hot-area-content{display:flex;justify-content:space-between}.hot-area-content .hot-area-draggable{width:500px;border:1px solid var(--el-border-color)}.hot-area-content .hot-area-form{width:400px}.hot-area-content .hot-area-form .hot-area-input{display:flex;align-items:center}.hot-area-content .hot-area-form .hot-area-input span{width:100px}.hot-item-content{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:20px;color:#fff;background:rgba(0,0,0,.2509803922)}.dk-animate-content{display:flex;justify-content:space-between;min-height:300px}.dk-animate-content .animate-preview{width:250px;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.dk-animate-content .animate-list{width:600px}.dk-animate-content .animate-list ul li{float:left;width:calc(25% - 10px);padding:10px;cursor:pointer;border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);margin:5px}.dk-animate-content .animate-list ul li:hover{box-shadow:var(--el-box-shadow-lighter)}.dk-animate-content .animate-list ul li.choose{border:1px solid var(--el-color-primary)}.dk-style-animation-input .el-form-item__content{display:block}.dk-style-animation-input .form-help{margin-top:4px;margin-bottom:0;font-size:12px;line-height:1.5;color:#888;-webkit-user-select:text;-moz-user-select:text;user-select:text;cursor:text}.uniui-cart-filled::before{content:"\e6d0"}.uniui-gift-filled::before{content:"\e6c4"}.uniui-color::before{content:"\e6cf"}.uniui-wallet::before{content:"\e6b1"}.uniui-settings-filled::before{content:"\e6ce"}.uniui-auth-filled::before{content:"\e6cc"}.uniui-shop-filled::before{content:"\e6cd"}.uniui-staff-filled::before{content:"\e6cb"}.uniui-vip-filled::before{content:"\e6c6"}.uniui-plus-filled::before{content:"\e6c7"}.uniui-folder-add-filled::before{content:"\e6c8"}.uniui-color-filled::before{content:"\e6c9"}.uniui-tune-filled::before{content:"\e6ca"}.uniui-calendar-filled::before{content:"\e6c0"}.uniui-notification-filled::before{content:"\e6c1"}.uniui-wallet-filled::before{content:"\e6c2"}.uniui-medal-filled::before{content:"\e6c3"}.uniui-fire-filled::before{content:"\e6c5"}.uniui-refreshempty::before{content:"\e6bf"}.uniui-location-filled::before{content:"\e6af"}.uniui-person-filled::before{content:"\e69d"}.uniui-personadd-filled::before{content:"\e698"}.uniui-arrowthinleft::before{content:"\e6d2"}.uniui-arrowthinup::before{content:"\e6d3"}.uniui-arrowthindown::before{content:"\e6d4"}.uniui-back::before{content:"\e6b9"}.uniui-forward::before{content:"\e6ba"}.uniui-arrow-right::before{content:"\e6bb"}.uniui-arrow-left::before{content:"\e6bc"}.uniui-arrow-up::before{content:"\e6bd"}.uniui-arrow-down::before{content:"\e6be"}.uniui-arrowthinright::before{content:"\e6d1"}.uniui-down::before{content:"\e6b8"}.uniui-bottom::before{content:"\e6b8"}.uniui-arrowright::before{content:"\e6d5"}.uniui-right::before{content:"\e6b5"}.uniui-up::before{content:"\e6b6"}.uniui-top::before{content:"\e6b6"}.uniui-left::before{content:"\e6b7"}.uniui-arrowup::before{content:"\e6d6"}.uniui-eye::before{content:"\e651"}.uniui-eye-filled::before{content:"\e66a"}.uniui-eye-slash::before{content:"\e6b3"}.uniui-eye-slash-filled::before{content:"\e6b4"}.uniui-info-filled::before{content:"\e649"}.uniui-reload::before{content:"\e6b2"}.uniui-micoff-filled::before{content:"\e6b0"}.uniui-map-pin-ellipse::before{content:"\e6ac"}.uniui-map-pin::before{content:"\e6ad"}.uniui-location::before{content:"\e6ae"}.uniui-starhalf::before{content:"\e683"}.uniui-star::before{content:"\e688"}.uniui-star-filled::before{content:"\e68f"}.uniui-calendar::before{content:"\e6a0"}.uniui-fire::before{content:"\e6a1"}.uniui-medal::before{content:"\e6a2"}.uniui-font::before{content:"\e6a3"}.uniui-gift::before{content:"\e6a4"}.uniui-link::before{content:"\e6a5"}.uniui-notification::before{content:"\e6a6"}.uniui-staff::before{content:"\e6a7"}.uniui-vip::before{content:"\e6a8"}.uniui-folder-add::before{content:"\e6a9"}.uniui-tune::before{content:"\e6aa"}.uniui-auth::before{content:"\e6ab"}.uniui-person::before{content:"\e699"}.uniui-email-filled::before{content:"\e69a"}.uniui-phone-filled::before{content:"\e69b"}.uniui-phone::before{content:"\e69c"}.uniui-email::before{content:"\e69e"}.uniui-personadd::before{content:"\e69f"}.uniui-chatboxes-filled::before{content:"\e692"}.uniui-contact::before{content:"\e693"}.uniui-chatbubble-filled::before{content:"\e694"}.uniui-contact-filled::before{content:"\e695"}.uniui-chatboxes::before{content:"\e696"}.uniui-chatbubble::before{content:"\e697"}.uniui-upload-filled::before{content:"\e68e"}.uniui-upload::before{content:"\e690"}.uniui-weixin::before{content:"\e691"}.uniui-compose::before{content:"\e67f"}.uniui-qq::before{content:"\e680"}.uniui-download-filled::before{content:"\e681"}.uniui-pyq::before{content:"\e682"}.uniui-sound::before{content:"\e684"}.uniui-trash-filled::before{content:"\e685"}.uniui-sound-filled::before{content:"\e686"}.uniui-trash::before{content:"\e687"}.uniui-videocam-filled::before{content:"\e689"}.uniui-spinner-cycle::before{content:"\e68a"}.uniui-weibo::before{content:"\e68b"}.uniui-videocam::before{content:"\e68c"}.uniui-download::before{content:"\e68d"}.uniui-help::before{content:"\e679"}.uniui-navigate-filled::before{content:"\e67a"}.uniui-plusempty::before{content:"\e67b"}.uniui-smallcircle::before{content:"\e67c"}.uniui-minus-filled::before{content:"\e67d"}.uniui-micoff::before{content:"\e67e"}.uniui-closeempty::before{content:"\e66c"}.uniui-clear::before{content:"\e66d"}.uniui-navigate::before{content:"\e66e"}.uniui-minus::before{content:"\e66f"}.uniui-image::before{content:"\e670"}.uniui-mic::before{content:"\e671"}.uniui-paperplane::before{content:"\e672"}.uniui-close::before{content:"\e673"}.uniui-help-filled::before{content:"\e674"}.uniui-paperplane-filled::before{content:"\e675"}.uniui-plus::before{content:"\e676"}.uniui-mic-filled::before{content:"\e677"}.uniui-image-filled::before{content:"\e678"}.uniui-locked-filled::before{content:"\e668"}.uniui-info::before{content:"\e669"}.uniui-locked::before{content:"\e66b"}.uniui-camera-filled::before{content:"\e658"}.uniui-chat-filled::before{content:"\e659"}.uniui-camera::before{content:"\e65a"}.uniui-circle::before{content:"\e65b"}.uniui-checkmarkempty::before{content:"\e65c"}.uniui-chat::before{content:"\e65d"}.uniui-circle-filled::before{content:"\e65e"}.uniui-flag::before{content:"\e65f"}.uniui-flag-filled::before{content:"\e660"}.uniui-gear-filled::before{content:"\e661"}.uniui-home::before{content:"\e662"}.uniui-home-filled::before{content:"\e663"}.uniui-gear::before{content:"\e664"}.uniui-smallcircle-filled::before{content:"\e665"}.uniui-map-filled::before{content:"\e666"}.uniui-map::before{content:"\e667"}.uniui-refresh-filled::before{content:"\e656"}.uniui-refresh::before{content:"\e657"}.uniui-cloud-upload::before{content:"\e645"}.uniui-cloud-download-filled::before{content:"\e646"}.uniui-cloud-download::before{content:"\e647"}.uniui-cloud-upload-filled::before{content:"\e648"}.uniui-redo::before{content:"\e64a"}.uniui-images-filled::before{content:"\e64b"}.uniui-undo-filled::before{content:"\e64c"}.uniui-more::before{content:"\e64d"}.uniui-more-filled::before{content:"\e64e"}.uniui-undo::before{content:"\e64f"}.uniui-images::before{content:"\e650"}.uniui-paperclip::before{content:"\e652"}.uniui-settings::before{content:"\e653"}.uniui-search::before{content:"\e654"}.uniui-redo-filled::before{content:"\e655"}.uniui-list::before{content:"\e644"}.uniui-mail-open-filled::before{content:"\e63a"}.uniui-hand-down-filled::before{content:"\e63c"}.uniui-hand-down::before{content:"\e63d"}.uniui-hand-up-filled::before{content:"\e63e"}.uniui-hand-up::before{content:"\e63f"}.uniui-heart-filled::before{content:"\e641"}.uniui-mail-open::before{content:"\e643"}.uniui-heart::before{content:"\e639"}.uniui-loop::before{content:"\e633"}.uniui-pulldown::before{content:"\e632"}.uniui-scan::before{content:"\e62a"}.uniui-bars::before{content:"\e627"}.uniui-checkbox::before{content:"\e62b"}.uniui-checkbox-filled::before{content:"\e62c"}.uniui-shop::before{content:"\e62f"}.uniui-headphones::before{content:"\e630"}.uniui-cart::before{content:"\e631"}@font-face{font-family:uniicons;src:url(https://cdn-1251560393.cos.ap-chengdu.myqcloud.com/font/uniicons.ttf)}.dk-uni-icon{font-family:uniicons;text-decoration:none;text-align:center;font-style:normal}.dk-uni-icon-input .uni-icon-content{margin-top:5px;border:1px solid #ccc;width:80px;height:80px;display:flex;align-items:center;justify-content:center}.dk-url-input-content .url-list{display:flex;flex-wrap:wrap}.dk-url-input-content .url-list .url-box{padding:7px 30px;margin-right:10px;margin-bottom:10px;font-size:13px;font-weight:400;color:rgba(0,0,0,.85);text-align:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:#fafafa;border-radius:3px}.dk-url-input-content .url-list .url-box:hover{color:#333;background-color:var(--el-color-primary-light-9)}.dk-url-input-content .url-list .url-box.choose{color:#fff;background-color:var(--el-color-primary)}::-webkit-scrollbar{width:10px;height:10px;background:hsla(0,0%,100%,.3)}::-webkit-scrollbar-thumb{background-color:#f6f6f6;border:1px solid #fff;border-radius:10px}::-webkit-scrollbar-thumb:hover{background-color:#ccc}*,::after,::before{box-sizing:border-box}.cl:after{content:".";display:block;height:0;clear:both;visibility:hidden}.cl{zoom:1}
|
package/dist/index.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
(function (global, factory) {
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('axios'), require('element-plus'), require('vue'), require('@vueuse/core'), require('vuedraggable'), require('vue3-draggable-resizable'), require('@tinymce/tinymce-vue'), require('@iconify/vue'), require('@element-plus/icons-vue'), require('@vant/icons')
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', 'axios', 'element-plus', 'vue', '@vueuse/core', 'vuedraggable', 'vue3-draggable-resizable', '@tinymce/tinymce-vue', '@iconify/vue', '@element-plus/icons-vue', '@vant/icons'
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.DkUI = {}, global.axios, global.ElementPlus, global.Vue, global.VueUse, global.draggable, global.Vue3DraggableResizable, global.Editor, global.Icon, global.ElementPlusIconsVue, global.VantIcons
|
5
|
-
})(this, (function (exports, axios, elementPlus, vue, core, draggable, Vue3DraggableResizable, Editor, vue$1, ElementPlusIconsVue, icons
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('axios'), require('element-plus'), require('vue'), require('@vueuse/core'), require('vuedraggable'), require('vue3-draggable-resizable'), require('@form-create/element-ui'), require('@tinymce/tinymce-vue'), require('@iconify/vue'), require('@element-plus/icons-vue'), require('@vant/icons')) :
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'axios', 'element-plus', 'vue', '@vueuse/core', 'vuedraggable', 'vue3-draggable-resizable', '@form-create/element-ui', '@tinymce/tinymce-vue', '@iconify/vue', '@element-plus/icons-vue', '@vant/icons'], factory) :
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.DkUI = {}, global.axios, global.ElementPlus, global.Vue, global.VueUse, global.draggable, global.Vue3DraggableResizable, global.formCreate, global.Editor, global.Icon, global.ElementPlusIconsVue, global.VantIcons));
|
5
|
+
})(this, (function (exports, axios, elementPlus, vue, core, draggable, Vue3DraggableResizable, formCreate, Editor, vue$1, ElementPlusIconsVue, icons) { 'use strict';
|
6
6
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
8
8
|
var n = Object.create(null);
|
@@ -1682,11 +1682,11 @@
|
|
1682
1682
|
};
|
1683
1683
|
|
1684
1684
|
const _hoisted_1$12 = { class: "mr-10px bg-black" };
|
1685
|
-
const __default__$
|
1685
|
+
const __default__$T = vue.defineComponent({
|
1686
1686
|
name: "DkTest"
|
1687
1687
|
});
|
1688
|
-
var _sfc_main$
|
1689
|
-
...__default__$
|
1688
|
+
var _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
|
1689
|
+
...__default__$T,
|
1690
1690
|
props: testProps,
|
1691
1691
|
emits: ["onChooseUrl"],
|
1692
1692
|
setup(__props, { emit }) {
|
@@ -1745,7 +1745,7 @@
|
|
1745
1745
|
return target;
|
1746
1746
|
};
|
1747
1747
|
|
1748
|
-
var _Test = /* @__PURE__ */ _export_sfc(_sfc_main$
|
1748
|
+
var _Test = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\test\\src\\test.vue"]]);
|
1749
1749
|
|
1750
1750
|
const Test = withInstall(_Test);
|
1751
1751
|
|
@@ -1902,11 +1902,11 @@
|
|
1902
1902
|
const _hoisted_1$11 = { key: 1 };
|
1903
1903
|
const _hoisted_2$N = { class: "collapse-title" };
|
1904
1904
|
const _hoisted_3$B = { class: "_dk-group-handle" };
|
1905
|
-
const __default__$
|
1905
|
+
const __default__$S = vue.defineComponent({
|
1906
1906
|
name: "DkGroup"
|
1907
1907
|
});
|
1908
|
-
var _sfc_main$
|
1909
|
-
...__default__$
|
1908
|
+
var _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
|
1909
|
+
...__default__$S,
|
1910
1910
|
props: groupProps,
|
1911
1911
|
emits: ["update:modelValue", "change", "itemMounted", "remove", "add"],
|
1912
1912
|
setup(__props, { emit }) {
|
@@ -2260,10 +2260,280 @@
|
|
2260
2260
|
}
|
2261
2261
|
});
|
2262
2262
|
|
2263
|
-
var _Group = /* @__PURE__ */ _export_sfc(_sfc_main$
|
2263
|
+
var _Group = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\group\\src\\group.vue"]]);
|
2264
2264
|
|
2265
2265
|
const Group = withInstall(_Group);
|
2266
2266
|
|
2267
|
+
const tableFormProps = {
|
2268
|
+
formCreateInject: Object,
|
2269
|
+
modelValue: {
|
2270
|
+
type: Array,
|
2271
|
+
default: () => []
|
2272
|
+
},
|
2273
|
+
columns: {
|
2274
|
+
type: Array,
|
2275
|
+
required: true,
|
2276
|
+
default: () => []
|
2277
|
+
},
|
2278
|
+
options: {
|
2279
|
+
type: Object,
|
2280
|
+
default: () => vue.reactive({
|
2281
|
+
submitBtn: false,
|
2282
|
+
resetBtn: false
|
2283
|
+
})
|
2284
|
+
},
|
2285
|
+
max: Number,
|
2286
|
+
disabled: Boolean
|
2287
|
+
};
|
2288
|
+
|
2289
|
+
const __default__$R = vue.defineComponent({
|
2290
|
+
name: "DkTableForm"
|
2291
|
+
});
|
2292
|
+
var _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
|
2293
|
+
...__default__$R,
|
2294
|
+
props: tableFormProps,
|
2295
|
+
emits: ["change", "add", "delete", "update:modelValue"],
|
2296
|
+
setup(__props, { emit }) {
|
2297
|
+
const props = __props;
|
2298
|
+
const rule = vue.ref([]);
|
2299
|
+
const trs = vue.ref([]);
|
2300
|
+
const fapi = vue.ref({});
|
2301
|
+
const Form = vue.markRaw(props.formCreateInject?.form?.$form() || {});
|
2302
|
+
const copyTrs = vue.ref("");
|
2303
|
+
const oldValue = vue.ref("");
|
2304
|
+
const formChange = (field, _, rule2, api, flag) => {
|
2305
|
+
if (!flag) {
|
2306
|
+
updateValue();
|
2307
|
+
}
|
2308
|
+
};
|
2309
|
+
const updateValue = () => {
|
2310
|
+
const value = trs.value.map((tr, idx) => ({
|
2311
|
+
// Vue: Spread types may only be created from object types.
|
2312
|
+
...props.modelValue[idx] || {},
|
2313
|
+
...fapi.value.getChildrenFormData(tr)
|
2314
|
+
})).filter((v) => {
|
2315
|
+
if (v === void 0 || v === null) {
|
2316
|
+
return false;
|
2317
|
+
}
|
2318
|
+
let flag = false;
|
2319
|
+
Object.keys(v).forEach((k) => {
|
2320
|
+
flag = flag || v[k] !== void 0 && v[k] !== "" && v[k] !== null;
|
2321
|
+
});
|
2322
|
+
return flag;
|
2323
|
+
});
|
2324
|
+
const str = JSON.stringify(value);
|
2325
|
+
if (str !== oldValue.value) {
|
2326
|
+
oldValue.value = str;
|
2327
|
+
emit("update:modelValue", value);
|
2328
|
+
emit("change", value);
|
2329
|
+
}
|
2330
|
+
};
|
2331
|
+
const setRawData = (idx, formData) => {
|
2332
|
+
const raw = trs.value[idx];
|
2333
|
+
fapi.value.setChildrenFormData(raw, formData, true);
|
2334
|
+
};
|
2335
|
+
const updateTable = () => {
|
2336
|
+
const str = JSON.stringify(props.modelValue);
|
2337
|
+
if (oldValue.value === str) {
|
2338
|
+
return;
|
2339
|
+
}
|
2340
|
+
oldValue.value = str;
|
2341
|
+
trs.value.splice(0, trs.value.length, ...props.modelValue.map(() => null));
|
2342
|
+
if (!props.modelValue.length) {
|
2343
|
+
addRaw();
|
2344
|
+
}
|
2345
|
+
props.modelValue.forEach((data, idx) => {
|
2346
|
+
if (!trs.value[idx]) {
|
2347
|
+
addRaw();
|
2348
|
+
}
|
2349
|
+
setRawData(idx, data);
|
2350
|
+
});
|
2351
|
+
rule.value[0].children[1].children = trs.value;
|
2352
|
+
};
|
2353
|
+
const delRaw = (idx) => {
|
2354
|
+
if (props.disabled) {
|
2355
|
+
return;
|
2356
|
+
}
|
2357
|
+
trs.value.splice(idx, 1);
|
2358
|
+
updateValue();
|
2359
|
+
if (trs.value.length) {
|
2360
|
+
trs.value.forEach(updateRaw);
|
2361
|
+
} else {
|
2362
|
+
addRaw();
|
2363
|
+
}
|
2364
|
+
emit("delete", idx);
|
2365
|
+
};
|
2366
|
+
const addRaw = (flag = false) => {
|
2367
|
+
if (flag && props.disabled) {
|
2368
|
+
return;
|
2369
|
+
}
|
2370
|
+
const tr = formCreate.parseJson(copyTrs.value)[0];
|
2371
|
+
trs.value.push(tr);
|
2372
|
+
updateRaw(tr);
|
2373
|
+
if (flag)
|
2374
|
+
emit("add", trs.value.length);
|
2375
|
+
};
|
2376
|
+
const updateRaw = (tr) => {
|
2377
|
+
const idx = trs.value.indexOf(tr);
|
2378
|
+
tr.children[0].props.innerText = idx + 1;
|
2379
|
+
tr.children[tr.children.length - 1].children[0].props.onClick = () => {
|
2380
|
+
delRaw(idx);
|
2381
|
+
};
|
2382
|
+
};
|
2383
|
+
const loadRule = () => {
|
2384
|
+
const header = [
|
2385
|
+
{
|
2386
|
+
type: "th",
|
2387
|
+
native: true,
|
2388
|
+
class: "dk-tf-head-idx",
|
2389
|
+
props: {
|
2390
|
+
innerText: "#"
|
2391
|
+
}
|
2392
|
+
}
|
2393
|
+
];
|
2394
|
+
const body = [
|
2395
|
+
{
|
2396
|
+
type: "td",
|
2397
|
+
class: "dk-tf-idx",
|
2398
|
+
native: true,
|
2399
|
+
props: {
|
2400
|
+
innerText: "0"
|
2401
|
+
}
|
2402
|
+
}
|
2403
|
+
];
|
2404
|
+
props.columns.forEach((column) => {
|
2405
|
+
header.push({
|
2406
|
+
type: "th",
|
2407
|
+
native: true,
|
2408
|
+
style: column.style,
|
2409
|
+
props: {
|
2410
|
+
innerText: column.label || ""
|
2411
|
+
}
|
2412
|
+
});
|
2413
|
+
body.push({
|
2414
|
+
type: "td",
|
2415
|
+
native: true,
|
2416
|
+
children: [...column.rule || []]
|
2417
|
+
});
|
2418
|
+
});
|
2419
|
+
header.push({
|
2420
|
+
type: "th",
|
2421
|
+
native: true,
|
2422
|
+
class: "dk-tf-edit fc-clock",
|
2423
|
+
props: {
|
2424
|
+
innerText: "\u64CD\u4F5C"
|
2425
|
+
}
|
2426
|
+
});
|
2427
|
+
body.push({
|
2428
|
+
type: "td",
|
2429
|
+
native: true,
|
2430
|
+
class: "dk-tf-btn fc-clock",
|
2431
|
+
children: [
|
2432
|
+
{
|
2433
|
+
type: "dk-icon",
|
2434
|
+
native: true,
|
2435
|
+
class: "fc-icon icon-delete",
|
2436
|
+
props: {
|
2437
|
+
icon: "DeleteFilled"
|
2438
|
+
}
|
2439
|
+
}
|
2440
|
+
]
|
2441
|
+
});
|
2442
|
+
copyTrs.value = formCreate.toJson([
|
2443
|
+
{
|
2444
|
+
type: "tr",
|
2445
|
+
native: true,
|
2446
|
+
subRule: true,
|
2447
|
+
children: body
|
2448
|
+
}
|
2449
|
+
]);
|
2450
|
+
rule.value = [
|
2451
|
+
{
|
2452
|
+
type: "table",
|
2453
|
+
native: true,
|
2454
|
+
class: "dk-tf-table",
|
2455
|
+
props: {
|
2456
|
+
border: "1",
|
2457
|
+
cellspacing: "0",
|
2458
|
+
cellpadding: "0"
|
2459
|
+
},
|
2460
|
+
children: [
|
2461
|
+
{
|
2462
|
+
type: "thead",
|
2463
|
+
native: true,
|
2464
|
+
children: [
|
2465
|
+
{
|
2466
|
+
type: "tr",
|
2467
|
+
native: true,
|
2468
|
+
children: header
|
2469
|
+
}
|
2470
|
+
]
|
2471
|
+
},
|
2472
|
+
{
|
2473
|
+
type: "tbody",
|
2474
|
+
native: true,
|
2475
|
+
children: trs.value
|
2476
|
+
}
|
2477
|
+
]
|
2478
|
+
}
|
2479
|
+
];
|
2480
|
+
addRaw();
|
2481
|
+
};
|
2482
|
+
vue.watch(() => props.modelValue, updateTable, { deep: true });
|
2483
|
+
vue.onMounted(() => {
|
2484
|
+
loadRule();
|
2485
|
+
updateTable();
|
2486
|
+
});
|
2487
|
+
return (_ctx, _cache) => {
|
2488
|
+
const _component_dk_icon = vue.resolveComponent("dk-icon");
|
2489
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
2490
|
+
return vue.openBlock(), vue.createElementBlock(
|
2491
|
+
"div",
|
2492
|
+
{
|
2493
|
+
class: vue.normalizeClass(["dk-table-form", { "dk-disabled": _ctx.disabled }])
|
2494
|
+
},
|
2495
|
+
[
|
2496
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(Form)), {
|
2497
|
+
api: fapi.value,
|
2498
|
+
"onUpdate:api": _cache[0] || (_cache[0] = ($event) => fapi.value = $event),
|
2499
|
+
option: _ctx.options,
|
2500
|
+
rule: rule.value,
|
2501
|
+
"extend-option": true,
|
2502
|
+
disabled: _ctx.disabled,
|
2503
|
+
onChange: formChange,
|
2504
|
+
onEmitEvent: _ctx.$emit
|
2505
|
+
}, null, 40, ["api", "option", "rule", "disabled", "onEmitEvent"])),
|
2506
|
+
!_ctx.max || _ctx.max > trs.value.length ? (vue.openBlock(), vue.createBlock(_component_el_button, {
|
2507
|
+
key: 0,
|
2508
|
+
link: "",
|
2509
|
+
type: "primary",
|
2510
|
+
class: "fc-clock",
|
2511
|
+
onClick: _cache[1] || (_cache[1] = ($event) => addRaw(true))
|
2512
|
+
}, {
|
2513
|
+
default: vue.withCtx(() => [
|
2514
|
+
vue.createElementVNode("span", null, [
|
2515
|
+
vue.createVNode(_component_dk_icon, {
|
2516
|
+
icon: "CirclePlusFilled",
|
2517
|
+
size: 14
|
2518
|
+
}),
|
2519
|
+
vue.createTextVNode(" \u6DFB\u52A0")
|
2520
|
+
])
|
2521
|
+
]),
|
2522
|
+
_: 1
|
2523
|
+
/* STABLE */
|
2524
|
+
})) : vue.createCommentVNode("v-if", true)
|
2525
|
+
],
|
2526
|
+
2
|
2527
|
+
/* CLASS */
|
2528
|
+
);
|
2529
|
+
};
|
2530
|
+
}
|
2531
|
+
});
|
2532
|
+
|
2533
|
+
var _TableForm = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\table-form\\src\\table-form.vue"]]);
|
2534
|
+
|
2535
|
+
const TableForm = withInstall(_TableForm);
|
2536
|
+
|
2267
2537
|
const init = {
|
2268
2538
|
language: "zh-Hans",
|
2269
2539
|
branding: false,
|
@@ -29744,6 +30014,7 @@
|
|
29744
30014
|
const components = [
|
29745
30015
|
Test,
|
29746
30016
|
Group,
|
30017
|
+
TableForm,
|
29747
30018
|
// 富文本编辑器
|
29748
30019
|
TinyEditor,
|
29749
30020
|
// 图标
|
@@ -29878,6 +30149,7 @@
|
|
29878
30149
|
exports.StyleShadowContent = StyleShadowContent;
|
29879
30150
|
exports.StyleShadowInput = StyleShadowInput;
|
29880
30151
|
exports.Table = Table;
|
30152
|
+
exports.TableForm = TableForm;
|
29881
30153
|
exports.Test = Test;
|
29882
30154
|
exports.TinyEditor = TinyEditor;
|
29883
30155
|
exports.UniIcon = UniIcon;
|
@@ -29918,6 +30190,7 @@
|
|
29918
30190
|
exports.styleInputProps = styleInputProps;
|
29919
30191
|
exports.styleNumberInputProps = styleNumberInputProps;
|
29920
30192
|
exports.stylePositionInputProps = stylePositionInputProps;
|
30193
|
+
exports.tableFormProps = tableFormProps;
|
29921
30194
|
exports.tableProps = tableProps;
|
29922
30195
|
exports.testProps = testProps;
|
29923
30196
|
exports.tinyEditorProps = tinyEditorProps;
|