@maketribe/ms-app 3.2.32 → 3.2.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/basic/doc-editor/core/element-block.js +48 -63
- package/dist/cjs/components/basic/doc-editor/core/element-block.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/core/index.js +1 -1
- package/dist/cjs/components/basic/doc-editor/core/index.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/editor.vue.js +4 -1
- package/dist/cjs/components/basic/doc-editor/editor.vue.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/index.js +2 -0
- package/dist/cjs/components/basic/doc-editor/index.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/plugins/ElementBlockSelectionPlugin/index.vue.js +203 -65
- package/dist/cjs/components/basic/doc-editor/plugins/ElementBlockSelectionPlugin/index.vue.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/plugins/GridPlugin/GridNode.js +39 -39
- package/dist/cjs/components/basic/doc-editor/plugins/GridPlugin/GridNode.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/plugins/GridPlugin/ImageTextGridNode.js +8 -1
- package/dist/cjs/components/basic/doc-editor/plugins/GridPlugin/ImageTextGridNode.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/plugins/GridPlugin/LayoutGridNode.js +32 -23
- package/dist/cjs/components/basic/doc-editor/plugins/GridPlugin/LayoutGridNode.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/plugins/GridPlugin/ModuleGridNode.js +33 -18
- package/dist/cjs/components/basic/doc-editor/plugins/GridPlugin/ModuleGridNode.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/plugins/GridPlugin/TextGridNode.js +8 -1
- package/dist/cjs/components/basic/doc-editor/plugins/GridPlugin/TextGridNode.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/plugins/GridPlugin/index.vue.js +4 -52
- package/dist/cjs/components/basic/doc-editor/plugins/GridPlugin/index.vue.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/plugins/ImagePlugin/ImageNode.js +4 -0
- package/dist/cjs/components/basic/doc-editor/plugins/ImagePlugin/ImageNode.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/plugins/ImagePlugin/index.vue.js +19 -22
- package/dist/cjs/components/basic/doc-editor/plugins/ImagePlugin/index.vue.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/plugins/ImagePlugin/utils.js +2 -2
- package/dist/cjs/components/basic/doc-editor/plugins/ImagePlugin/utils.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/plugins/ModulePlugin/ModuleBlockNode.js +16 -9
- package/dist/cjs/components/basic/doc-editor/plugins/ModulePlugin/ModuleBlockNode.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/plugins/ModulePlugin/composables.js +11 -10
- package/dist/cjs/components/basic/doc-editor/plugins/ModulePlugin/composables.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/plugins/ModulePlugin/index.vue.js +5 -26
- package/dist/cjs/components/basic/doc-editor/plugins/ModulePlugin/index.vue.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/plugins/ModulePlugin/utils.js +3 -1
- package/dist/cjs/components/basic/doc-editor/plugins/ModulePlugin/utils.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/plugins/TemplatePlugin/commands.js +6 -0
- package/dist/cjs/components/basic/doc-editor/plugins/TemplatePlugin/commands.js.map +1 -0
- package/dist/cjs/components/basic/doc-editor/plugins/TemplatePlugin/composables.js +118 -0
- package/dist/cjs/components/basic/doc-editor/plugins/TemplatePlugin/composables.js.map +1 -0
- package/dist/cjs/components/basic/doc-editor/plugins/TemplatePlugin/index.vue.js +26 -0
- package/dist/cjs/components/basic/doc-editor/plugins/TemplatePlugin/index.vue.js.map +1 -0
- package/dist/cjs/components/basic/doc-editor/plugins/TemplatePlugin/index.vue2.js +4 -0
- package/dist/cjs/components/basic/doc-editor/plugins/TemplatePlugin/index.vue2.js.map +1 -0
- package/dist/cjs/components/basic/doc-editor/plugins/ToolbarPlugin/ContentStyleTool.vue.js +1 -2
- package/dist/cjs/components/basic/doc-editor/plugins/ToolbarPlugin/ContentStyleTool.vue.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/plugins/ToolbarPlugin/PreviewToolbar.vue.js +2 -1
- package/dist/cjs/components/basic/doc-editor/plugins/ToolbarPlugin/PreviewToolbar.vue.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/themes/doc-editor-edit.css.js +1 -1
- package/dist/cjs/components/basic/doc-editor/themes/doc-editor-edit.css.js.map +1 -1
- package/dist/cjs/components/basic/doc-editor/themes/doc-theme.css.js +1 -2
- package/dist/cjs/components/basic/doc-editor/themes/doc-theme.css.js.map +1 -1
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/modules/cms/pages/cms-contents/article-edit-add-page.vue2.js +1 -10
- package/dist/cjs/modules/cms/pages/cms-contents/article-edit-add-page.vue2.js.map +1 -1
- package/dist/cjs/modules/cms/pages/cms-contents/components/article-list.vue.js +176 -46
- package/dist/cjs/modules/cms/pages/cms-contents/components/article-list.vue.js.map +1 -1
- package/dist/cjs/modules/cms/pages/cms-contents/components/part-banner-edit.vue.js +44 -22
- package/dist/cjs/modules/cms/pages/cms-contents/components/part-banner-edit.vue.js.map +1 -1
- package/dist/cjs/modules/cms/pages/cms-contents/components/part-info.vue.js +1 -8
- package/dist/cjs/modules/cms/pages/cms-contents/components/part-info.vue.js.map +1 -1
- package/dist/cjs/modules/cms/pages/cms-contents/index.vue2.js +2 -1
- package/dist/cjs/modules/cms/pages/cms-contents/index.vue2.js.map +1 -1
- package/dist/cjs/modules/ms/components/rich-text-editor/rich-text-editor-options.js +1 -1
- package/dist/cjs/modules/ms/components/rich-text-editor/rich-text-editor-options.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/core/element-block.js +50 -65
- package/dist/esm/components/basic/doc-editor/core/element-block.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/core/index.js +2 -2
- package/dist/esm/components/basic/doc-editor/core/index.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/editor.vue.js +5 -2
- package/dist/esm/components/basic/doc-editor/editor.vue.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/index.js +3 -1
- package/dist/esm/components/basic/doc-editor/index.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/plugins/ElementBlockSelectionPlugin/index.vue.js +206 -68
- package/dist/esm/components/basic/doc-editor/plugins/ElementBlockSelectionPlugin/index.vue.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/plugins/GridPlugin/GridNode.js +39 -39
- package/dist/esm/components/basic/doc-editor/plugins/GridPlugin/GridNode.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/plugins/GridPlugin/ImageTextGridNode.js +8 -1
- package/dist/esm/components/basic/doc-editor/plugins/GridPlugin/ImageTextGridNode.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/plugins/GridPlugin/LayoutGridNode.js +32 -23
- package/dist/esm/components/basic/doc-editor/plugins/GridPlugin/LayoutGridNode.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/plugins/GridPlugin/ModuleGridNode.js +33 -18
- package/dist/esm/components/basic/doc-editor/plugins/GridPlugin/ModuleGridNode.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/plugins/GridPlugin/TextGridNode.js +8 -1
- package/dist/esm/components/basic/doc-editor/plugins/GridPlugin/TextGridNode.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/plugins/GridPlugin/index.vue.js +7 -55
- package/dist/esm/components/basic/doc-editor/plugins/GridPlugin/index.vue.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/plugins/ImagePlugin/ImageNode.js +4 -0
- package/dist/esm/components/basic/doc-editor/plugins/ImagePlugin/ImageNode.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/plugins/ImagePlugin/index.vue.js +20 -23
- package/dist/esm/components/basic/doc-editor/plugins/ImagePlugin/index.vue.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/plugins/ImagePlugin/utils.js +2 -2
- package/dist/esm/components/basic/doc-editor/plugins/ImagePlugin/utils.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/plugins/ModulePlugin/ModuleBlockNode.js +16 -9
- package/dist/esm/components/basic/doc-editor/plugins/ModulePlugin/ModuleBlockNode.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/plugins/ModulePlugin/composables.js +12 -11
- package/dist/esm/components/basic/doc-editor/plugins/ModulePlugin/composables.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/plugins/ModulePlugin/index.vue.js +7 -28
- package/dist/esm/components/basic/doc-editor/plugins/ModulePlugin/index.vue.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/plugins/ModulePlugin/utils.js +4 -2
- package/dist/esm/components/basic/doc-editor/plugins/ModulePlugin/utils.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/plugins/TemplatePlugin/commands.js +6 -0
- package/dist/esm/components/basic/doc-editor/plugins/TemplatePlugin/commands.js.map +1 -0
- package/dist/esm/components/basic/doc-editor/plugins/TemplatePlugin/composables.js +118 -0
- package/dist/esm/components/basic/doc-editor/plugins/TemplatePlugin/composables.js.map +1 -0
- package/dist/esm/components/basic/doc-editor/plugins/TemplatePlugin/index.vue.js +27 -0
- package/dist/esm/components/basic/doc-editor/plugins/TemplatePlugin/index.vue.js.map +1 -0
- package/dist/esm/components/basic/doc-editor/plugins/TemplatePlugin/index.vue2.js +5 -0
- package/dist/esm/components/basic/doc-editor/plugins/TemplatePlugin/index.vue2.js.map +1 -0
- package/dist/esm/components/basic/doc-editor/plugins/ToolbarPlugin/ContentStyleTool.vue.js +1 -2
- package/dist/esm/components/basic/doc-editor/plugins/ToolbarPlugin/ContentStyleTool.vue.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/plugins/ToolbarPlugin/PreviewToolbar.vue.js +3 -2
- package/dist/esm/components/basic/doc-editor/plugins/ToolbarPlugin/PreviewToolbar.vue.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/themes/doc-editor-edit.css.js +1 -1
- package/dist/esm/components/basic/doc-editor/themes/doc-editor-edit.css.js.map +1 -1
- package/dist/esm/components/basic/doc-editor/themes/doc-theme.css.js +1 -2
- package/dist/esm/components/basic/doc-editor/themes/doc-theme.css.js.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/modules/cms/pages/cms-contents/article-edit-add-page.vue2.js +1 -10
- package/dist/esm/modules/cms/pages/cms-contents/article-edit-add-page.vue2.js.map +1 -1
- package/dist/esm/modules/cms/pages/cms-contents/components/article-list.vue.js +177 -47
- package/dist/esm/modules/cms/pages/cms-contents/components/article-list.vue.js.map +1 -1
- package/dist/esm/modules/cms/pages/cms-contents/components/part-banner-edit.vue.js +45 -23
- package/dist/esm/modules/cms/pages/cms-contents/components/part-banner-edit.vue.js.map +1 -1
- package/dist/esm/modules/cms/pages/cms-contents/components/part-info.vue.js +1 -8
- package/dist/esm/modules/cms/pages/cms-contents/components/part-info.vue.js.map +1 -1
- package/dist/esm/modules/cms/pages/cms-contents/index.vue2.js +2 -1
- package/dist/esm/modules/cms/pages/cms-contents/index.vue2.js.map +1 -1
- package/dist/esm/modules/ms/components/rich-text-editor/rich-text-editor-options.js +1 -1
- package/dist/esm/modules/ms/components/rich-text-editor/rich-text-editor-options.js.map +1 -1
- package/dist/style/components/basic/doc-editor/index.css +1 -1
- package/dist/style/components/index.css +1 -1
- package/dist/style/index.css +2 -2
- package/dist/style/modules/cms/index.css +1 -1
- package/dist/style/modules/cms/pages/cms-contents/components/article-list.css +1 -1
- package/dist/style/modules/cms/pages/cms-contents/index.css +1 -1
- package/dist/style/modules/ms/components/rich-text-editor/index.css +1 -1
- package/dist/style/modules/ms/index.css +1 -1
- package/dist/style/src/components/basic/doc-editor/index.scss +16 -0
- package/dist/style/src/modules/cms/pages/cms-contents/components/article-list.scss +31 -3
- package/dist/style/src/modules/ms/components/rich-text-editor/index.scss +1 -1
- package/dist/types/components/basic/doc-editor/core/element-block.d.ts +5 -13
- package/dist/types/components/basic/doc-editor/core/index.d.ts +0 -1
- package/dist/types/components/basic/doc-editor/index.d.ts +2 -1
- package/dist/types/components/basic/doc-editor/plugins/GridPlugin/GridNode.d.ts +10 -5
- package/dist/types/components/basic/doc-editor/plugins/GridPlugin/ImageTextGridNode.d.ts +5 -0
- package/dist/types/components/basic/doc-editor/plugins/GridPlugin/LayoutGridNode.d.ts +5 -0
- package/dist/types/components/basic/doc-editor/plugins/GridPlugin/ModuleGridNode.d.ts +5 -0
- package/dist/types/components/basic/doc-editor/plugins/GridPlugin/TextGridNode.d.ts +5 -0
- package/dist/types/components/basic/doc-editor/plugins/ModulePlugin/ModuleBlockNode.d.ts +5 -1
- package/dist/types/components/basic/doc-editor/plugins/ModulePlugin/composables.d.ts +3 -8
- package/dist/types/components/basic/doc-editor/plugins/ModulePlugin/utils.d.ts +1 -1
- package/dist/types/components/basic/doc-editor/plugins/TemplatePlugin/commands.d.ts +5 -0
- package/dist/types/components/basic/doc-editor/plugins/TemplatePlugin/composables.d.ts +34 -0
- package/dist/types/components/basic/doc-editor/plugins/TemplatePlugin/index.vue.d.ts +2 -0
- package/dist/types/components/basic/doc-editor/plugins/index.d.ts +2 -1
- package/dist/types/modules/ms/components/rich-text-editor/index.d.ts +2 -2
- package/dist/types/modules/ms/components/rich-text-editor/rich-text-editor-options.d.ts +1 -1
- package/dist/types/modules/ms/components/rich-text-editor/rich-text-editor.d.ts +2 -2
- package/package.json +3 -3
- package/dist/cjs/components/basic/doc-editor/core/utils.js +0 -42
- package/dist/cjs/components/basic/doc-editor/core/utils.js.map +0 -1
- package/dist/esm/components/basic/doc-editor/core/utils.js +0 -42
- package/dist/esm/components/basic/doc-editor/core/utils.js.map +0 -1
- package/dist/types/components/basic/doc-editor/core/utils.d.ts +0 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
.resource-manager{display:flex;flex-direction:column;height:100%;background:#fff}.resource-manager .resource-list{height:0;flex:1}.resource-list{display:flex;flex-direction:column}.resource-list-header{padding:5px 10px;border-top:1px solid #e6e6e6;border-bottom:1px solid #e6e6e6;display:flex;justify-content:space-between;align-items:center}.resource-list-header .el-breadcrumb{display:flex;flex-wrap:wrap}.resource-list-header .el-breadcrumb .el-breadcrumb__separator{margin:0}.resource-list-mode{cursor:pointer;display:flex}.resource-list-breadcrumb-item{cursor:pointer;padding:5px 3px}.resource-list-main{height:0;flex:1}.resource-list-list{gap:10px;display:flex;flex-wrap:wrap;align-items:flex-start}.resource-list .resource-item{width:120px;height:130px;padding:10px;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none}.resource-list .resource-item__wrapper{display:flex;height:100%;gap:5px;flex-direction:column}.resource-list .resource-item__main{flex:1;font-size:48px;text-align:center;padding-top:10px}.resource-list .resource-item__label{white-space:nowrap;text-align:center;overflow:hidden;text-overflow:ellipsis;padding:5px}.resource-list .resource-item__time{display:none}.resource-list .resource-item__size{display:none}.resource-list .resource-item:hover{background-color:var(--el-color-info-light-9)}.resource-list .resource-item.is-selected{background-color:var(--el-color-primary-light-9)}.resource-list.row .resource-list-list{gap:10px;display:block;flex-wrap:wrap;align-items:flex-start}.resource-list.row .resource-item{width:100%;height:auto;padding:10px;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer}.resource-list.row .resource-item__wrapper{height:100%;gap:5px;flex-direction:row}.resource-list.row .resource-item__main{flex:0;font-size:24px;text-align:center;padding-top:0}.resource-list.row .resource-item__label{font-size:18px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:left;padding:5px;width:100%;flex:1}.resource-list.row .resource-item__time{display:block;padding:0 5px;max-width:200px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.resource-list.row .resource-item__size{display:block;padding:0 5px;width:100px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:right}.resource-list.row .resource-item:hover{background-color:var(--el-color-info-light-9)}.resource-list.row .resource-item.is-selected{background-color:var(--el-color-primary-light-9)}.resource-select-dialog .resource-list{height:540px}.cms-part-tree{display:flex;flex-direction:column;padding-right:0!important}.cms-part-tree__header{height:32px;padding:10px;display:flex;align-items:center;align-content:center;justify-content:space-between;font-weight:600}.cms-part-tree__body{height:0;flex:1}.cms-part-tree__body .el-scrollbar .el-scrollbar__wrap{padding-right:10px}.mk-cms-ad__warp{display:flex;flex-direction:column;width:100%;height:100%}.mk-cms-ad__body{padding:10px 0 10px 10px;display:flex;flex-direction:column;height:0;flex:1}.mk-cms-ad__body__scrollbar{padding-right:10px}.mk-cms-ad__card{box-sizing:border-box;flex:1}.mk-cms-ad__card__header{display:flex;align-content:center;justify-content:space-between;align-items:center}.mk-cms-ad__card__header .btn-box{display:flex;justify-content:flex-end;gap:10px}.mk-cms-ad__card__header .btn-box .btn{cursor:pointer}.mk-cms-ad__card__body__scrollbar>.el-scrollbar__wrap>.el-scrollbar__view{display:flex;gap:10px;padding-bottom:10px}.mk-cms-ad__card__body__item{max-width:340px;min-width:240px;height:inherit}.mk-cms-ad__card__body__item .item-desc{padding-top:10px;display:flex;justify-content:space-between}.mk-cms-ad__card__body__item .item-desc .icon{margin-right:5px}.mk-cms-ad__card__body__item .item-desc-left .external-links a{font-size:13px}.mk-cms-ad__card__body__item .item-desc-left .desc{font-size:13px}.mk-cms-ad__card__body__item .item-desc-left .ellipsis{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;word-break:break-all;white-space:normal}.mk-cms-ad__card__body__item .item-desc-right{display:flex;align-items:center;flex-shrink:0;align-items:flex-start;margin-left:5px}.mk-cms-ad__card__body__item .item-desc-right__more{cursor:pointer}.mk-cms-ad__card__body__item .item-desc-right .el-dropdown{color:var(--el-color-primary)}.mk-cms-ad__card__body__item .item-desc-right .edit-button{color:var(--el-color-primary)}.mk-cms-ad__card__body__item .item-desc-right .delete-button{color:var(--el-color-danger)}.mk-cms-ad__card__body__item .images{width:100%;height:200px}.mk-cms-ad__card__body__item .video{width:100%;height:200px}.mk-cms-ad__card+.mk-cms-ad__card{margin-top:10px}.mk-cms-article-list{width:100%;height:100%;box-sizing:border-box}.mk-cms-article-list .mk-pagination{margin-top:8px}.mk-cms-article-list .mk-table-view>.el-card__body{padding-right:0}.mk-cms-article-list .mk-table-view>.el-card__body .el-empty{flex:1}.mk-cms-article-list__content{flex:1;width:100%;height:100%;overflow-y:auto;overflow-x:hidden}.mk-cms-article-list__content>.el-scrollbar__wrap>.el-scrollbar__view{display:flex;flex-direction:column;gap:10px;padding-right:12px}.mk-cms-article-list__item{width:100%;height:auto}.mk-cms-article-list__item__content{display:flex}.mk-cms-article-list__item__content .left{width:150px;display:flex;align-items:center;align-items:flex-start}.mk-cms-article-list__item__content .left .cover-image{width:140px;height:140px;background-color:#f4f4f4;display:flex;align-items:center;justify-content:center;align-content:center;font-size:30px;color:#ccc;margin-right:10px}.mk-cms-article-list__item__content .right{width:100%}.mk-cms-article-list__item__content .right .title{font-size:18px;font-weight:600;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.mk-cms-article-list__item__content .right .sub-title{font-size:14px;margin-bottom:8px;color:#ccc;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.mk-cms-article-list__item__content .right .desc{color:#999;font-size:14px;overflow:hidden;display:-webkit-box;text-overflow:ellipsis;-o-text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4;max-height:80px}.mk-cms-article-list__item__content .right .footer{display:flex;margin-top:10px;justify-content:space-between;align-items:center}.mk-cms-article-list__item__content .right .footer>div{display:flex}.mk-cms-article-list__item__content .right .footer>div.ext{font-size:14px;color:#999}.mk-cms-article-list__item__content .right .footer>div.ext .publish-time{display:flex;align-items:center}.mk-cms-article-list__item__content .right .footer>div.ext>div+div{display:flex}.mk-cms-article-list__item__content .right .footer>div.ext>div+div::before{content:"";height:1em;width:1px;display:block;margin:0 12px;background-color:#ccc;margin-top:.2em}.mk-cms-article-eidtadd__warp{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.mk-cms-article-eidtadd__header_tools{display:flex;align-items:center;gap:5px}.mk-cms-article-eidtadd__body{height:100%;height:100%;overflow:hidden;border-top:1px solid var(--mk-container-border-color)}.mk-cms-article-eidtadd__body__extentions{position:fixed;right:15px;top:50%;transform:translateY(-60%);background:#fff;padding:10px 20px 20px 20px;border-radius:5px 0 0 5px;box-shadow:0 3px 4px 0 #e5e5e5}.mk-cms-article-eidtadd__body__extentions.hide{transform:translateX(100%) translateY(-60%);z-index:0;background-color:transparent;box-shadow:none}.mk-cms-article-eidtadd__body__extentions.hide .mk-data-form{opacity:0;pointer-events:none}.mk-cms-article-eidtadd__body__extentions .close,.mk-cms-article-eidtadd__body__extentions .open{position:absolute;top:50%;left:-15px;transform:translateY(-50%);align-items:center;justify-content:flex-end;padding-right:10px;height:40px;width:40px;background-color:#f4f4f4;border-radius:0 50% 50% 0;box-sizing:border-box;cursor:pointer;z-index:100;clip-path:path("M 15 0 L 40 0 l 40 40 L 15 40z")}.mk-cms-article-eidtadd__body__extentions .open{left:-25px;background-color:#fff;justify-content:center;align-items:center;clip-path:path("M 0 0 L 25 0 L 25 40 L 0 40z");border-radius:50% 0 0 50%}.mk-cms-article-eidtadd__body__footer,.mk-cms-article-eidtadd__body__header{padding:10px 20px;background-color:#fff}.mk-cms-article-eidtadd__body__footer .el-tabs,.mk-cms-article-eidtadd__body__header .el-tabs{height:auto;flex:1}.mk-cms-article-eidtadd__body__footer .el-tabs .el-tab-pane,.mk-cms-article-eidtadd__body__header .el-tabs .el-tab-pane{height:100%}.mk-cms-article-eidtadd__body__footer .content>.el-row+.el-row,.mk-cms-article-eidtadd__body__footer>.el-row+.el-row,.mk-cms-article-eidtadd__body__header .content>.el-row+.el-row,.mk-cms-article-eidtadd__body__header>.el-row+.el-row{margin-top:10px}.mk-cms-article-eidtadd__body__footer .content>.el-row .el-input>.el-input__wrapper,.mk-cms-article-eidtadd__body__footer .content>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__footer .content>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__footer>.el-row .el-input>.el-input__wrapper,.mk-cms-article-eidtadd__body__footer>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__footer>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__header .content>.el-row .el-input>.el-input__wrapper,.mk-cms-article-eidtadd__body__header .content>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__header .content>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__header>.el-row .el-input>.el-input__wrapper,.mk-cms-article-eidtadd__body__header>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__header>.el-row .el-textarea>.el-textarea__inner{box-shadow:none}.mk-cms-article-eidtadd__body__footer .content>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__footer>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__header .content>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__header>.el-row .el-select>.el-select__wrapper{border-bottom:1px solid var(--el-border-color);padding:4px 10px}.mk-cms-article-eidtadd__body__footer .content>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__footer>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__header .content>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__header>.el-row .el-textarea>.el-textarea__inner{box-shadow:none}.mk-cms-article-eidtadd__body__footer .content>.el-row .el-textarea.title,.mk-cms-article-eidtadd__body__footer>.el-row .el-textarea.title,.mk-cms-article-eidtadd__body__header .content>.el-row .el-textarea.title,.mk-cms-article-eidtadd__body__header>.el-row .el-textarea.title{font-size:28px;font-weight:400}.mk-cms-article-eidtadd__body__footer .content>.el-row .mk-upload-file,.mk-cms-article-eidtadd__body__footer>.el-row .mk-upload-file,.mk-cms-article-eidtadd__body__header .content>.el-row .mk-upload-file,.mk-cms-article-eidtadd__body__header>.el-row .mk-upload-file{display:flex;align-items:center;justify-content:center;background:#ebebeb}.mk-cms-article-eidtadd__body__footer .content>.el-row .mk-upload-file .el-image,.mk-cms-article-eidtadd__body__footer>.el-row .mk-upload-file .el-image,.mk-cms-article-eidtadd__body__header .content>.el-row .mk-upload-file .el-image,.mk-cms-article-eidtadd__body__header>.el-row .mk-upload-file .el-image{display:flex;justify-content:center;align-items:center}.mk-cms-article-eidtadd__body__footer .content>.el-row .mk-upload-file .el-image .el-icon,.mk-cms-article-eidtadd__body__footer>.el-row .mk-upload-file .el-image .el-icon,.mk-cms-article-eidtadd__body__header .content>.el-row .mk-upload-file .el-image .el-icon,.mk-cms-article-eidtadd__body__header>.el-row .mk-upload-file .el-image .el-icon{font-size:30px}.mk-cms-article-eidtadd__body__footer .content>.el-row .banner,.mk-cms-article-eidtadd__body__footer>.el-row .banner,.mk-cms-article-eidtadd__body__header .content>.el-row .banner,.mk-cms-article-eidtadd__body__header>.el-row .banner{width:100%;height:200px}.mk-cms-article-eidtadd__body__footer .content>.el-row.cover-desc,.mk-cms-article-eidtadd__body__footer>.el-row.cover-desc,.mk-cms-article-eidtadd__body__header .content>.el-row.cover-desc,.mk-cms-article-eidtadd__body__header>.el-row.cover-desc{display:flex}.mk-cms-article-eidtadd__body__footer .content>.el-row.cover-desc .cover,.mk-cms-article-eidtadd__body__footer>.el-row.cover-desc .cover,.mk-cms-article-eidtadd__body__header .content>.el-row.cover-desc .cover,.mk-cms-article-eidtadd__body__header>.el-row.cover-desc .cover{width:115px;height:115px;margin-right:10px}.mk-cms-article-eidtadd__body__footer .content>.el-row.cover-desc .desc,.mk-cms-article-eidtadd__body__footer>.el-row.cover-desc .desc,.mk-cms-article-eidtadd__body__header .content>.el-row.cover-desc .desc,.mk-cms-article-eidtadd__body__header>.el-row.cover-desc .desc{flex:1 1}.mk-cms-article-eidtadd__body__footer .content>.el-row.cover-desc .desc textarea,.mk-cms-article-eidtadd__body__footer>.el-row.cover-desc .desc textarea,.mk-cms-article-eidtadd__body__header .content>.el-row.cover-desc .desc textarea,.mk-cms-article-eidtadd__body__header>.el-row.cover-desc .desc textarea{background:#f4f4f4}.mk-cms-article-eidtadd__body__header{margin-bottom:5px}.mk-cms-article-eidtadd__body__footer{margin-top:5px;min-height:400px}.mk-cms-part-info{height:100%}.mk-cms-part-info .el-card{border:0}.mk-cms-part-info .el-card .el-card__body{padding:0}.mk-cms-part-info .mk-form-view__footer button:last-child{display:none}.mk-cms-part-info__body__form-options .el-scrollbar__wrap{box-sizing:border-box;width:100%;padding-right:12px}.cms-article-atlas>.el-card__body{padding-bottom:0}.cms-article-atlas .cms-article-atlas__header{display:flex;justify-content:space-between}.cms-article-atlas .cms-article-atlas__header .cms-article-atlas__header__btn{cursor:pointer}.cms-article-atlas .cms-article-atlas__list{height:100%;display:flex;flex-wrap:wrap;gap:10px}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap{padding-bottom:12px}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view{display:flex}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item{max-width:340px;min-width:240px;height:inherit}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item .images{width:100%;height:200px}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item .video{width:100%;height:200px}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item .cms-article-atlas__list__item__desc{display:flex;justify-content:space-between;align-items:center}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item .cms-article-atlas__list__item__desc .item-desc-right{color:#409eff;cursor:pointer}.mk-cms-part-banner__warp{background-color:#fff;padding:10px;box-sizing:border-box;margin-bottom:10px}.mk-cms-part-banner__list_item:hover .mk-cms-part-banner__list_action-mask{display:flex}.mk-cms-part-banner__list_action-mask,.mk-cms-part-banner__list_content,.mk-cms-part-banner__list_content_img,.mk-cms-part-banner__list_item{width:100%;height:100%;position:relative}.mk-cms-part-banner__list_bottom{position:absolute;bottom:0;min-height:50px;z-index:2;text-indent:1em;width:100%;background-color:rgba(0,0,0,.5);font-size:14px;display:flex;flex-direction:column;justify-content:flex-end;padding:5px;box-sizing:border-box;color:#fff}.mk-cms-part-banner__list_title{font-weight:500;margin-bottom:10px;font-size:18px}.mk-cms-part-banner__list_action-mask{position:absolute;background-color:rgba(0,0,0,.6);top:0;left:0;display:none;align-items:center;justify-content:center;color:#fff;z-index:99}.mk-cms-contents__publish{display:flex;flex-wrap:wrap;gap:10px 100px;padding:10px;justify-content:flex-start}.mk-cms-contents__warp{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.mk-cms-contents__body{padding:10px;display:flex;height:100%;overflow:hidden}.mk-cms-contents__body__left{background-color:#fff;padding:10px;max-width:360px;min-width:220px;margin-right:10px}.mk-cms-contents__body__right{flex:1;width:100%;height:100%;overflow:hidden;background:#fff;padding:10px;box-sizing:border-box;position:relative}.mk-cms-contents__body__right__action{position:absolute;right:10px;top:10px}.mk-cms-contents__body__right .el-tabs__content{overflow:hidden;position:static}.mk-cms-contents__body__right .el-tabs__content .el-tab-pane{width:100%;height:100%;overflow:auto}
|
|
1
|
+
.resource-manager{display:flex;flex-direction:column;height:100%;background:#fff}.resource-manager .resource-list{height:0;flex:1}.resource-list{display:flex;flex-direction:column}.resource-list-header{padding:5px 10px;border-top:1px solid #e6e6e6;border-bottom:1px solid #e6e6e6;display:flex;justify-content:space-between;align-items:center}.resource-list-header .el-breadcrumb{display:flex;flex-wrap:wrap}.resource-list-header .el-breadcrumb .el-breadcrumb__separator{margin:0}.resource-list-mode{cursor:pointer;display:flex}.resource-list-breadcrumb-item{cursor:pointer;padding:5px 3px}.resource-list-main{height:0;flex:1}.resource-list-list{gap:10px;display:flex;flex-wrap:wrap;align-items:flex-start}.resource-list .resource-item{width:120px;height:130px;padding:10px;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none}.resource-list .resource-item__wrapper{display:flex;height:100%;gap:5px;flex-direction:column}.resource-list .resource-item__main{flex:1;font-size:48px;text-align:center;padding-top:10px}.resource-list .resource-item__label{white-space:nowrap;text-align:center;overflow:hidden;text-overflow:ellipsis;padding:5px}.resource-list .resource-item__time{display:none}.resource-list .resource-item__size{display:none}.resource-list .resource-item:hover{background-color:var(--el-color-info-light-9)}.resource-list .resource-item.is-selected{background-color:var(--el-color-primary-light-9)}.resource-list.row .resource-list-list{gap:10px;display:block;flex-wrap:wrap;align-items:flex-start}.resource-list.row .resource-item{width:100%;height:auto;padding:10px;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer}.resource-list.row .resource-item__wrapper{height:100%;gap:5px;flex-direction:row}.resource-list.row .resource-item__main{flex:0;font-size:24px;text-align:center;padding-top:0}.resource-list.row .resource-item__label{font-size:18px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:left;padding:5px;width:100%;flex:1}.resource-list.row .resource-item__time{display:block;padding:0 5px;max-width:200px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.resource-list.row .resource-item__size{display:block;padding:0 5px;width:100px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:right}.resource-list.row .resource-item:hover{background-color:var(--el-color-info-light-9)}.resource-list.row .resource-item.is-selected{background-color:var(--el-color-primary-light-9)}.resource-select-dialog .resource-list{height:540px}.cms-part-tree{display:flex;flex-direction:column;padding-right:0!important}.cms-part-tree__header{height:32px;padding:10px;display:flex;align-items:center;align-content:center;justify-content:space-between;font-weight:600}.cms-part-tree__body{height:0;flex:1}.cms-part-tree__body .el-scrollbar .el-scrollbar__wrap{padding-right:10px}.mk-cms-ad__warp{display:flex;flex-direction:column;width:100%;height:100%}.mk-cms-ad__body{padding:10px 0 10px 10px;display:flex;flex-direction:column;height:0;flex:1}.mk-cms-ad__body__scrollbar{padding-right:10px}.mk-cms-ad__card{box-sizing:border-box;flex:1}.mk-cms-ad__card__header{display:flex;align-content:center;justify-content:space-between;align-items:center}.mk-cms-ad__card__header .btn-box{display:flex;justify-content:flex-end;gap:10px}.mk-cms-ad__card__header .btn-box .btn{cursor:pointer}.mk-cms-ad__card__body__scrollbar>.el-scrollbar__wrap>.el-scrollbar__view{display:flex;gap:10px;padding-bottom:10px}.mk-cms-ad__card__body__item{max-width:340px;min-width:240px;height:inherit}.mk-cms-ad__card__body__item .item-desc{padding-top:10px;display:flex;justify-content:space-between}.mk-cms-ad__card__body__item .item-desc .icon{margin-right:5px}.mk-cms-ad__card__body__item .item-desc-left .external-links a{font-size:13px}.mk-cms-ad__card__body__item .item-desc-left .desc{font-size:13px}.mk-cms-ad__card__body__item .item-desc-left .ellipsis{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;word-break:break-all;white-space:normal}.mk-cms-ad__card__body__item .item-desc-right{display:flex;align-items:center;flex-shrink:0;align-items:flex-start;margin-left:5px}.mk-cms-ad__card__body__item .item-desc-right__more{cursor:pointer}.mk-cms-ad__card__body__item .item-desc-right .el-dropdown{color:var(--el-color-primary)}.mk-cms-ad__card__body__item .item-desc-right .edit-button{color:var(--el-color-primary)}.mk-cms-ad__card__body__item .item-desc-right .delete-button{color:var(--el-color-danger)}.mk-cms-ad__card__body__item .images{width:100%;height:200px}.mk-cms-ad__card__body__item .video{width:100%;height:200px}.mk-cms-ad__card+.mk-cms-ad__card{margin-top:10px}.mk-cms-article-list{width:100%;height:100%;box-sizing:border-box;overflow:hidden}.mk-cms-article-list .mk-pagination{margin-top:8px;margin-right:10px}.mk-cms-article-list .mk-table-view>.el-card__body{padding-right:0}.mk-cms-article-list .mk-table-view>.el-card__body .el-empty{flex:1}.mk-cms-article-list__content{flex:1;width:100%;height:100%;overflow-y:auto;overflow-x:hidden}.mk-cms-article-list__content>.el-scrollbar__wrap>.el-scrollbar__view{display:flex;flex-direction:column;gap:10px;padding-right:12px}.mk-cms-article-list__item{width:100%;height:auto}.mk-cms-article-list__item__content{display:flex}.mk-cms-article-list__item__content .left{width:150px;display:flex;align-items:center;align-items:flex-start}.mk-cms-article-list__item__content .left .cover-image{width:140px;height:140px;background-color:#f4f4f4;display:flex;align-items:center;justify-content:center;align-content:center;font-size:30px;color:#ccc;margin-right:10px}.mk-cms-article-list__item__content .right{width:100%}.mk-cms-article-list__item__content .right .top{display:flex;justify-content:space-between}.mk-cms-article-list__item__content .right .title{font-size:18px;font-weight:600;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.mk-cms-article-list__item__content .right .tags{font-size:18px;font-weight:600;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;display:flex;gap:10px}.mk-cms-article-list__item__content .right .tags .tag{cursor:pointer}.mk-cms-article-list__item__content .right .sub-title{font-size:14px;margin-bottom:8px;color:#ccc;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.mk-cms-article-list__item__content .right .desc{color:#999;font-size:14px;overflow:hidden;display:-webkit-box;text-overflow:ellipsis;-o-text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4;max-height:80px}.mk-cms-article-list__item__content .right .footer{display:flex;margin-top:10px;justify-content:space-between;align-items:center}.mk-cms-article-list__item__content .right .footer>div{display:flex}.mk-cms-article-list__item__content .right .footer>div.ext{font-size:14px;color:#999}.mk-cms-article-list__item__content .right .footer>div.ext .publish-time{display:flex;align-items:center}.mk-cms-article-list__item__content .right .footer>div.ext>div+div{display:flex}.mk-cms-article-list__item__content .right .footer>div.ext>div+div::before{content:"";height:1em;width:1px;display:block;margin:0 12px;background-color:#ccc;margin-top:.2em}.mk-cms-article-eidtadd__warp{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.mk-cms-article-eidtadd__header_tools{display:flex;align-items:center;gap:5px}.mk-cms-article-eidtadd__body{height:100%;height:100%;overflow:hidden;border-top:1px solid var(--mk-container-border-color)}.mk-cms-article-eidtadd__body__extentions{position:fixed;right:15px;top:50%;transform:translateY(-60%);background:#fff;padding:10px 20px 20px 20px;border-radius:5px 0 0 5px;box-shadow:0 3px 4px 0 #e5e5e5}.mk-cms-article-eidtadd__body__extentions.hide{transform:translateX(100%) translateY(-60%);z-index:0;background-color:transparent;box-shadow:none}.mk-cms-article-eidtadd__body__extentions.hide .mk-data-form{opacity:0;pointer-events:none}.mk-cms-article-eidtadd__body__extentions .close,.mk-cms-article-eidtadd__body__extentions .open{position:absolute;top:50%;left:-15px;transform:translateY(-50%);align-items:center;justify-content:flex-end;padding-right:10px;height:40px;width:40px;background-color:#f4f4f4;border-radius:0 50% 50% 0;box-sizing:border-box;cursor:pointer;z-index:100;clip-path:path("M 15 0 L 40 0 l 40 40 L 15 40z")}.mk-cms-article-eidtadd__body__extentions .open{left:-25px;background-color:#fff;justify-content:center;align-items:center;clip-path:path("M 0 0 L 25 0 L 25 40 L 0 40z");border-radius:50% 0 0 50%}.mk-cms-article-eidtadd__body__footer,.mk-cms-article-eidtadd__body__header{padding:10px 20px;background-color:#fff}.mk-cms-article-eidtadd__body__footer .el-tabs,.mk-cms-article-eidtadd__body__header .el-tabs{height:auto;flex:1}.mk-cms-article-eidtadd__body__footer .el-tabs .el-tab-pane,.mk-cms-article-eidtadd__body__header .el-tabs .el-tab-pane{height:100%}.mk-cms-article-eidtadd__body__footer .content>.el-row+.el-row,.mk-cms-article-eidtadd__body__footer>.el-row+.el-row,.mk-cms-article-eidtadd__body__header .content>.el-row+.el-row,.mk-cms-article-eidtadd__body__header>.el-row+.el-row{margin-top:10px}.mk-cms-article-eidtadd__body__footer .content>.el-row .el-input>.el-input__wrapper,.mk-cms-article-eidtadd__body__footer .content>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__footer .content>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__footer>.el-row .el-input>.el-input__wrapper,.mk-cms-article-eidtadd__body__footer>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__footer>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__header .content>.el-row .el-input>.el-input__wrapper,.mk-cms-article-eidtadd__body__header .content>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__header .content>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__header>.el-row .el-input>.el-input__wrapper,.mk-cms-article-eidtadd__body__header>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__header>.el-row .el-textarea>.el-textarea__inner{box-shadow:none}.mk-cms-article-eidtadd__body__footer .content>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__footer>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__header .content>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__header>.el-row .el-select>.el-select__wrapper{border-bottom:1px solid var(--el-border-color);padding:4px 10px}.mk-cms-article-eidtadd__body__footer .content>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__footer>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__header .content>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__header>.el-row .el-textarea>.el-textarea__inner{box-shadow:none}.mk-cms-article-eidtadd__body__footer .content>.el-row .el-textarea.title,.mk-cms-article-eidtadd__body__footer>.el-row .el-textarea.title,.mk-cms-article-eidtadd__body__header .content>.el-row .el-textarea.title,.mk-cms-article-eidtadd__body__header>.el-row .el-textarea.title{font-size:28px;font-weight:400}.mk-cms-article-eidtadd__body__footer .content>.el-row .mk-upload-file,.mk-cms-article-eidtadd__body__footer>.el-row .mk-upload-file,.mk-cms-article-eidtadd__body__header .content>.el-row .mk-upload-file,.mk-cms-article-eidtadd__body__header>.el-row .mk-upload-file{display:flex;align-items:center;justify-content:center;background:#ebebeb}.mk-cms-article-eidtadd__body__footer .content>.el-row .mk-upload-file .el-image,.mk-cms-article-eidtadd__body__footer>.el-row .mk-upload-file .el-image,.mk-cms-article-eidtadd__body__header .content>.el-row .mk-upload-file .el-image,.mk-cms-article-eidtadd__body__header>.el-row .mk-upload-file .el-image{display:flex;justify-content:center;align-items:center}.mk-cms-article-eidtadd__body__footer .content>.el-row .mk-upload-file .el-image .el-icon,.mk-cms-article-eidtadd__body__footer>.el-row .mk-upload-file .el-image .el-icon,.mk-cms-article-eidtadd__body__header .content>.el-row .mk-upload-file .el-image .el-icon,.mk-cms-article-eidtadd__body__header>.el-row .mk-upload-file .el-image .el-icon{font-size:30px}.mk-cms-article-eidtadd__body__footer .content>.el-row .banner,.mk-cms-article-eidtadd__body__footer>.el-row .banner,.mk-cms-article-eidtadd__body__header .content>.el-row .banner,.mk-cms-article-eidtadd__body__header>.el-row .banner{width:100%;height:200px}.mk-cms-article-eidtadd__body__footer .content>.el-row.cover-desc,.mk-cms-article-eidtadd__body__footer>.el-row.cover-desc,.mk-cms-article-eidtadd__body__header .content>.el-row.cover-desc,.mk-cms-article-eidtadd__body__header>.el-row.cover-desc{display:flex}.mk-cms-article-eidtadd__body__footer .content>.el-row.cover-desc .cover,.mk-cms-article-eidtadd__body__footer>.el-row.cover-desc .cover,.mk-cms-article-eidtadd__body__header .content>.el-row.cover-desc .cover,.mk-cms-article-eidtadd__body__header>.el-row.cover-desc .cover{width:115px;height:115px;margin-right:10px}.mk-cms-article-eidtadd__body__footer .content>.el-row.cover-desc .desc,.mk-cms-article-eidtadd__body__footer>.el-row.cover-desc .desc,.mk-cms-article-eidtadd__body__header .content>.el-row.cover-desc .desc,.mk-cms-article-eidtadd__body__header>.el-row.cover-desc .desc{flex:1 1}.mk-cms-article-eidtadd__body__footer .content>.el-row.cover-desc .desc textarea,.mk-cms-article-eidtadd__body__footer>.el-row.cover-desc .desc textarea,.mk-cms-article-eidtadd__body__header .content>.el-row.cover-desc .desc textarea,.mk-cms-article-eidtadd__body__header>.el-row.cover-desc .desc textarea{background:#f4f4f4}.mk-cms-article-eidtadd__body__header{margin-bottom:5px}.mk-cms-article-eidtadd__body__footer{margin-top:5px;min-height:400px}.mk-cms-part-info{height:100%}.mk-cms-part-info .el-card{border:0}.mk-cms-part-info .el-card .el-card__body{padding:0}.mk-cms-part-info .mk-form-view__footer button:last-child{display:none}.mk-cms-part-info__body__form-options .el-scrollbar__wrap{box-sizing:border-box;width:100%;padding-right:12px}.cms-article-atlas>.el-card__body{padding-bottom:0}.cms-article-atlas .cms-article-atlas__header{display:flex;justify-content:space-between}.cms-article-atlas .cms-article-atlas__header .cms-article-atlas__header__btn{cursor:pointer}.cms-article-atlas .cms-article-atlas__list{height:100%;display:flex;flex-wrap:wrap;gap:10px}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap{padding-bottom:12px}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view{display:flex}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item{max-width:340px;min-width:240px;height:inherit}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item .images{width:100%;height:200px}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item .video{width:100%;height:200px}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item .cms-article-atlas__list__item__desc{display:flex;justify-content:space-between;align-items:center}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item .cms-article-atlas__list__item__desc .item-desc-right{color:#409eff;cursor:pointer}.mk-cms-part-banner__warp{background-color:#fff;padding:10px;box-sizing:border-box;margin-bottom:10px}.mk-cms-part-banner__list_item:hover .mk-cms-part-banner__list_action-mask{display:flex}.mk-cms-part-banner__list_action-mask,.mk-cms-part-banner__list_content,.mk-cms-part-banner__list_content_img,.mk-cms-part-banner__list_item{width:100%;height:100%;position:relative}.mk-cms-part-banner__list_bottom{position:absolute;bottom:0;min-height:50px;z-index:2;text-indent:1em;width:100%;background-color:rgba(0,0,0,.5);font-size:14px;display:flex;flex-direction:column;justify-content:flex-end;padding:5px;box-sizing:border-box;color:#fff}.mk-cms-part-banner__list_title{font-weight:500;margin-bottom:10px;font-size:18px}.mk-cms-part-banner__list_action-mask{position:absolute;background-color:rgba(0,0,0,.6);top:0;left:0;display:none;align-items:center;justify-content:center;color:#fff;z-index:99}.mk-cms-contents__publish{display:flex;flex-wrap:wrap;gap:10px 100px;padding:10px;justify-content:flex-start}.mk-cms-contents__warp{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.mk-cms-contents__body{padding:10px;display:flex;height:100%;overflow:hidden}.mk-cms-contents__body__left{background-color:#fff;padding:10px;max-width:360px;min-width:220px;margin-right:10px}.mk-cms-contents__body__right{flex:1;width:100%;height:100%;overflow:hidden;background:#fff;padding:10px;box-sizing:border-box;position:relative}.mk-cms-contents__body__right__action{position:absolute;right:10px;top:10px}.mk-cms-contents__body__right .el-tabs__content{overflow:hidden;position:static}.mk-cms-contents__body__right .el-tabs__content .el-tab-pane{width:100%;height:100%;overflow:auto}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.mk-cms-article-list{width:100%;height:100%;box-sizing:border-box}.mk-cms-article-list .mk-pagination{margin-top:8px}.mk-cms-article-list .mk-table-view>.el-card__body{padding-right:0}.mk-cms-article-list .mk-table-view>.el-card__body .el-empty{flex:1}.mk-cms-article-list__content{flex:1;width:100%;height:100%;overflow-y:auto;overflow-x:hidden}.mk-cms-article-list__content>.el-scrollbar__wrap>.el-scrollbar__view{display:flex;flex-direction:column;gap:10px;padding-right:12px}.mk-cms-article-list__item{width:100%;height:auto}.mk-cms-article-list__item__content{display:flex}.mk-cms-article-list__item__content .left{width:150px;display:flex;align-items:center;align-items:flex-start}.mk-cms-article-list__item__content .left .cover-image{width:140px;height:140px;background-color:#f4f4f4;display:flex;align-items:center;justify-content:center;align-content:center;font-size:30px;color:#ccc;margin-right:10px}.mk-cms-article-list__item__content .right{width:100%}.mk-cms-article-list__item__content .right .title{font-size:18px;font-weight:600;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.mk-cms-article-list__item__content .right .sub-title{font-size:14px;margin-bottom:8px;color:#ccc;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.mk-cms-article-list__item__content .right .desc{color:#999;font-size:14px;overflow:hidden;display:-webkit-box;text-overflow:ellipsis;-o-text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4;max-height:80px}.mk-cms-article-list__item__content .right .footer{display:flex;margin-top:10px;justify-content:space-between;align-items:center}.mk-cms-article-list__item__content .right .footer>div{display:flex}.mk-cms-article-list__item__content .right .footer>div.ext{font-size:14px;color:#999}.mk-cms-article-list__item__content .right .footer>div.ext .publish-time{display:flex;align-items:center}.mk-cms-article-list__item__content .right .footer>div.ext>div+div{display:flex}.mk-cms-article-list__item__content .right .footer>div.ext>div+div::before{content:"";height:1em;width:1px;display:block;margin:0 12px;background-color:#ccc;margin-top:.2em}
|
|
1
|
+
.mk-cms-article-list{width:100%;height:100%;box-sizing:border-box;overflow:hidden}.mk-cms-article-list .mk-pagination{margin-top:8px;margin-right:10px}.mk-cms-article-list .mk-table-view>.el-card__body{padding-right:0}.mk-cms-article-list .mk-table-view>.el-card__body .el-empty{flex:1}.mk-cms-article-list__content{flex:1;width:100%;height:100%;overflow-y:auto;overflow-x:hidden}.mk-cms-article-list__content>.el-scrollbar__wrap>.el-scrollbar__view{display:flex;flex-direction:column;gap:10px;padding-right:12px}.mk-cms-article-list__item{width:100%;height:auto}.mk-cms-article-list__item__content{display:flex}.mk-cms-article-list__item__content .left{width:150px;display:flex;align-items:center;align-items:flex-start}.mk-cms-article-list__item__content .left .cover-image{width:140px;height:140px;background-color:#f4f4f4;display:flex;align-items:center;justify-content:center;align-content:center;font-size:30px;color:#ccc;margin-right:10px}.mk-cms-article-list__item__content .right{width:100%}.mk-cms-article-list__item__content .right .top{display:flex;justify-content:space-between}.mk-cms-article-list__item__content .right .title{font-size:18px;font-weight:600;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.mk-cms-article-list__item__content .right .tags{font-size:18px;font-weight:600;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;display:flex;gap:10px}.mk-cms-article-list__item__content .right .tags .tag{cursor:pointer}.mk-cms-article-list__item__content .right .sub-title{font-size:14px;margin-bottom:8px;color:#ccc;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.mk-cms-article-list__item__content .right .desc{color:#999;font-size:14px;overflow:hidden;display:-webkit-box;text-overflow:ellipsis;-o-text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4;max-height:80px}.mk-cms-article-list__item__content .right .footer{display:flex;margin-top:10px;justify-content:space-between;align-items:center}.mk-cms-article-list__item__content .right .footer>div{display:flex}.mk-cms-article-list__item__content .right .footer>div.ext{font-size:14px;color:#999}.mk-cms-article-list__item__content .right .footer>div.ext .publish-time{display:flex;align-items:center}.mk-cms-article-list__item__content .right .footer>div.ext>div+div{display:flex}.mk-cms-article-list__item__content .right .footer>div.ext>div+div::before{content:"";height:1em;width:1px;display:block;margin:0 12px;background-color:#ccc;margin-top:.2em}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.mk-cms-article-list{width:100%;height:100%;box-sizing:border-box}.mk-cms-article-list .mk-pagination{margin-top:8px}.mk-cms-article-list .mk-table-view>.el-card__body{padding-right:0}.mk-cms-article-list .mk-table-view>.el-card__body .el-empty{flex:1}.mk-cms-article-list__content{flex:1;width:100%;height:100%;overflow-y:auto;overflow-x:hidden}.mk-cms-article-list__content>.el-scrollbar__wrap>.el-scrollbar__view{display:flex;flex-direction:column;gap:10px;padding-right:12px}.mk-cms-article-list__item{width:100%;height:auto}.mk-cms-article-list__item__content{display:flex}.mk-cms-article-list__item__content .left{width:150px;display:flex;align-items:center;align-items:flex-start}.mk-cms-article-list__item__content .left .cover-image{width:140px;height:140px;background-color:#f4f4f4;display:flex;align-items:center;justify-content:center;align-content:center;font-size:30px;color:#ccc;margin-right:10px}.mk-cms-article-list__item__content .right{width:100%}.mk-cms-article-list__item__content .right .title{font-size:18px;font-weight:600;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.mk-cms-article-list__item__content .right .sub-title{font-size:14px;margin-bottom:8px;color:#ccc;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.mk-cms-article-list__item__content .right .desc{color:#999;font-size:14px;overflow:hidden;display:-webkit-box;text-overflow:ellipsis;-o-text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4;max-height:80px}.mk-cms-article-list__item__content .right .footer{display:flex;margin-top:10px;justify-content:space-between;align-items:center}.mk-cms-article-list__item__content .right .footer>div{display:flex}.mk-cms-article-list__item__content .right .footer>div.ext{font-size:14px;color:#999}.mk-cms-article-list__item__content .right .footer>div.ext .publish-time{display:flex;align-items:center}.mk-cms-article-list__item__content .right .footer>div.ext>div+div{display:flex}.mk-cms-article-list__item__content .right .footer>div.ext>div+div::before{content:"";height:1em;width:1px;display:block;margin:0 12px;background-color:#ccc;margin-top:.2em}.mk-cms-article-eidtadd__warp{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.mk-cms-article-eidtadd__header_tools{display:flex;align-items:center;gap:5px}.mk-cms-article-eidtadd__body{height:100%;height:100%;overflow:hidden;border-top:1px solid var(--mk-container-border-color)}.mk-cms-article-eidtadd__body__extentions{position:fixed;right:15px;top:50%;transform:translateY(-60%);background:#fff;padding:10px 20px 20px 20px;border-radius:5px 0 0 5px;box-shadow:0 3px 4px 0 #e5e5e5}.mk-cms-article-eidtadd__body__extentions.hide{transform:translateX(100%) translateY(-60%);z-index:0;background-color:transparent;box-shadow:none}.mk-cms-article-eidtadd__body__extentions.hide .mk-data-form{opacity:0;pointer-events:none}.mk-cms-article-eidtadd__body__extentions .close,.mk-cms-article-eidtadd__body__extentions .open{position:absolute;top:50%;left:-15px;transform:translateY(-50%);align-items:center;justify-content:flex-end;padding-right:10px;height:40px;width:40px;background-color:#f4f4f4;border-radius:0 50% 50% 0;box-sizing:border-box;cursor:pointer;z-index:100;clip-path:path("M 15 0 L 40 0 l 40 40 L 15 40z")}.mk-cms-article-eidtadd__body__extentions .open{left:-25px;background-color:#fff;justify-content:center;align-items:center;clip-path:path("M 0 0 L 25 0 L 25 40 L 0 40z");border-radius:50% 0 0 50%}.mk-cms-article-eidtadd__body__footer,.mk-cms-article-eidtadd__body__header{padding:10px 20px;background-color:#fff}.mk-cms-article-eidtadd__body__footer .el-tabs,.mk-cms-article-eidtadd__body__header .el-tabs{height:auto;flex:1}.mk-cms-article-eidtadd__body__footer .el-tabs .el-tab-pane,.mk-cms-article-eidtadd__body__header .el-tabs .el-tab-pane{height:100%}.mk-cms-article-eidtadd__body__footer .content>.el-row+.el-row,.mk-cms-article-eidtadd__body__footer>.el-row+.el-row,.mk-cms-article-eidtadd__body__header .content>.el-row+.el-row,.mk-cms-article-eidtadd__body__header>.el-row+.el-row{margin-top:10px}.mk-cms-article-eidtadd__body__footer .content>.el-row .el-input>.el-input__wrapper,.mk-cms-article-eidtadd__body__footer .content>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__footer .content>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__footer>.el-row .el-input>.el-input__wrapper,.mk-cms-article-eidtadd__body__footer>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__footer>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__header .content>.el-row .el-input>.el-input__wrapper,.mk-cms-article-eidtadd__body__header .content>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__header .content>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__header>.el-row .el-input>.el-input__wrapper,.mk-cms-article-eidtadd__body__header>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__header>.el-row .el-textarea>.el-textarea__inner{box-shadow:none}.mk-cms-article-eidtadd__body__footer .content>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__footer>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__header .content>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__header>.el-row .el-select>.el-select__wrapper{border-bottom:1px solid var(--el-border-color);padding:4px 10px}.mk-cms-article-eidtadd__body__footer .content>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__footer>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__header .content>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__header>.el-row .el-textarea>.el-textarea__inner{box-shadow:none}.mk-cms-article-eidtadd__body__footer .content>.el-row .el-textarea.title,.mk-cms-article-eidtadd__body__footer>.el-row .el-textarea.title,.mk-cms-article-eidtadd__body__header .content>.el-row .el-textarea.title,.mk-cms-article-eidtadd__body__header>.el-row .el-textarea.title{font-size:28px;font-weight:400}.mk-cms-article-eidtadd__body__footer .content>.el-row .mk-upload-file,.mk-cms-article-eidtadd__body__footer>.el-row .mk-upload-file,.mk-cms-article-eidtadd__body__header .content>.el-row .mk-upload-file,.mk-cms-article-eidtadd__body__header>.el-row .mk-upload-file{display:flex;align-items:center;justify-content:center;background:#ebebeb}.mk-cms-article-eidtadd__body__footer .content>.el-row .mk-upload-file .el-image,.mk-cms-article-eidtadd__body__footer>.el-row .mk-upload-file .el-image,.mk-cms-article-eidtadd__body__header .content>.el-row .mk-upload-file .el-image,.mk-cms-article-eidtadd__body__header>.el-row .mk-upload-file .el-image{display:flex;justify-content:center;align-items:center}.mk-cms-article-eidtadd__body__footer .content>.el-row .mk-upload-file .el-image .el-icon,.mk-cms-article-eidtadd__body__footer>.el-row .mk-upload-file .el-image .el-icon,.mk-cms-article-eidtadd__body__header .content>.el-row .mk-upload-file .el-image .el-icon,.mk-cms-article-eidtadd__body__header>.el-row .mk-upload-file .el-image .el-icon{font-size:30px}.mk-cms-article-eidtadd__body__footer .content>.el-row .banner,.mk-cms-article-eidtadd__body__footer>.el-row .banner,.mk-cms-article-eidtadd__body__header .content>.el-row .banner,.mk-cms-article-eidtadd__body__header>.el-row .banner{width:100%;height:200px}.mk-cms-article-eidtadd__body__footer .content>.el-row.cover-desc,.mk-cms-article-eidtadd__body__footer>.el-row.cover-desc,.mk-cms-article-eidtadd__body__header .content>.el-row.cover-desc,.mk-cms-article-eidtadd__body__header>.el-row.cover-desc{display:flex}.mk-cms-article-eidtadd__body__footer .content>.el-row.cover-desc .cover,.mk-cms-article-eidtadd__body__footer>.el-row.cover-desc .cover,.mk-cms-article-eidtadd__body__header .content>.el-row.cover-desc .cover,.mk-cms-article-eidtadd__body__header>.el-row.cover-desc .cover{width:115px;height:115px;margin-right:10px}.mk-cms-article-eidtadd__body__footer .content>.el-row.cover-desc .desc,.mk-cms-article-eidtadd__body__footer>.el-row.cover-desc .desc,.mk-cms-article-eidtadd__body__header .content>.el-row.cover-desc .desc,.mk-cms-article-eidtadd__body__header>.el-row.cover-desc .desc{flex:1 1}.mk-cms-article-eidtadd__body__footer .content>.el-row.cover-desc .desc textarea,.mk-cms-article-eidtadd__body__footer>.el-row.cover-desc .desc textarea,.mk-cms-article-eidtadd__body__header .content>.el-row.cover-desc .desc textarea,.mk-cms-article-eidtadd__body__header>.el-row.cover-desc .desc textarea{background:#f4f4f4}.mk-cms-article-eidtadd__body__header{margin-bottom:5px}.mk-cms-article-eidtadd__body__footer{margin-top:5px;min-height:400px}.mk-cms-part-info{height:100%}.mk-cms-part-info .el-card{border:0}.mk-cms-part-info .el-card .el-card__body{padding:0}.mk-cms-part-info .mk-form-view__footer button:last-child{display:none}.mk-cms-part-info__body__form-options .el-scrollbar__wrap{box-sizing:border-box;width:100%;padding-right:12px}.cms-article-atlas>.el-card__body{padding-bottom:0}.cms-article-atlas .cms-article-atlas__header{display:flex;justify-content:space-between}.cms-article-atlas .cms-article-atlas__header .cms-article-atlas__header__btn{cursor:pointer}.cms-article-atlas .cms-article-atlas__list{height:100%;display:flex;flex-wrap:wrap;gap:10px}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap{padding-bottom:12px}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view{display:flex}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item{max-width:340px;min-width:240px;height:inherit}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item .images{width:100%;height:200px}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item .video{width:100%;height:200px}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item .cms-article-atlas__list__item__desc{display:flex;justify-content:space-between;align-items:center}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item .cms-article-atlas__list__item__desc .item-desc-right{color:#409eff;cursor:pointer}.mk-cms-part-banner__warp{background-color:#fff;padding:10px;box-sizing:border-box;margin-bottom:10px}.mk-cms-part-banner__list_item:hover .mk-cms-part-banner__list_action-mask{display:flex}.mk-cms-part-banner__list_action-mask,.mk-cms-part-banner__list_content,.mk-cms-part-banner__list_content_img,.mk-cms-part-banner__list_item{width:100%;height:100%;position:relative}.mk-cms-part-banner__list_bottom{position:absolute;bottom:0;min-height:50px;z-index:2;text-indent:1em;width:100%;background-color:rgba(0,0,0,.5);font-size:14px;display:flex;flex-direction:column;justify-content:flex-end;padding:5px;box-sizing:border-box;color:#fff}.mk-cms-part-banner__list_title{font-weight:500;margin-bottom:10px;font-size:18px}.mk-cms-part-banner__list_action-mask{position:absolute;background-color:rgba(0,0,0,.6);top:0;left:0;display:none;align-items:center;justify-content:center;color:#fff;z-index:99}.mk-cms-contents__publish{display:flex;flex-wrap:wrap;gap:10px 100px;padding:10px;justify-content:flex-start}.mk-cms-contents__warp{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.mk-cms-contents__body{padding:10px;display:flex;height:100%;overflow:hidden}.mk-cms-contents__body__left{background-color:#fff;padding:10px;max-width:360px;min-width:220px;margin-right:10px}.mk-cms-contents__body__right{flex:1;width:100%;height:100%;overflow:hidden;background:#fff;padding:10px;box-sizing:border-box;position:relative}.mk-cms-contents__body__right__action{position:absolute;right:10px;top:10px}.mk-cms-contents__body__right .el-tabs__content{overflow:hidden;position:static}.mk-cms-contents__body__right .el-tabs__content .el-tab-pane{width:100%;height:100%;overflow:auto}
|
|
1
|
+
.mk-cms-article-list{width:100%;height:100%;box-sizing:border-box;overflow:hidden}.mk-cms-article-list .mk-pagination{margin-top:8px;margin-right:10px}.mk-cms-article-list .mk-table-view>.el-card__body{padding-right:0}.mk-cms-article-list .mk-table-view>.el-card__body .el-empty{flex:1}.mk-cms-article-list__content{flex:1;width:100%;height:100%;overflow-y:auto;overflow-x:hidden}.mk-cms-article-list__content>.el-scrollbar__wrap>.el-scrollbar__view{display:flex;flex-direction:column;gap:10px;padding-right:12px}.mk-cms-article-list__item{width:100%;height:auto}.mk-cms-article-list__item__content{display:flex}.mk-cms-article-list__item__content .left{width:150px;display:flex;align-items:center;align-items:flex-start}.mk-cms-article-list__item__content .left .cover-image{width:140px;height:140px;background-color:#f4f4f4;display:flex;align-items:center;justify-content:center;align-content:center;font-size:30px;color:#ccc;margin-right:10px}.mk-cms-article-list__item__content .right{width:100%}.mk-cms-article-list__item__content .right .top{display:flex;justify-content:space-between}.mk-cms-article-list__item__content .right .title{font-size:18px;font-weight:600;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.mk-cms-article-list__item__content .right .tags{font-size:18px;font-weight:600;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;display:flex;gap:10px}.mk-cms-article-list__item__content .right .tags .tag{cursor:pointer}.mk-cms-article-list__item__content .right .sub-title{font-size:14px;margin-bottom:8px;color:#ccc;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.mk-cms-article-list__item__content .right .desc{color:#999;font-size:14px;overflow:hidden;display:-webkit-box;text-overflow:ellipsis;-o-text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4;max-height:80px}.mk-cms-article-list__item__content .right .footer{display:flex;margin-top:10px;justify-content:space-between;align-items:center}.mk-cms-article-list__item__content .right .footer>div{display:flex}.mk-cms-article-list__item__content .right .footer>div.ext{font-size:14px;color:#999}.mk-cms-article-list__item__content .right .footer>div.ext .publish-time{display:flex;align-items:center}.mk-cms-article-list__item__content .right .footer>div.ext>div+div{display:flex}.mk-cms-article-list__item__content .right .footer>div.ext>div+div::before{content:"";height:1em;width:1px;display:block;margin:0 12px;background-color:#ccc;margin-top:.2em}.mk-cms-article-eidtadd__warp{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.mk-cms-article-eidtadd__header_tools{display:flex;align-items:center;gap:5px}.mk-cms-article-eidtadd__body{height:100%;height:100%;overflow:hidden;border-top:1px solid var(--mk-container-border-color)}.mk-cms-article-eidtadd__body__extentions{position:fixed;right:15px;top:50%;transform:translateY(-60%);background:#fff;padding:10px 20px 20px 20px;border-radius:5px 0 0 5px;box-shadow:0 3px 4px 0 #e5e5e5}.mk-cms-article-eidtadd__body__extentions.hide{transform:translateX(100%) translateY(-60%);z-index:0;background-color:transparent;box-shadow:none}.mk-cms-article-eidtadd__body__extentions.hide .mk-data-form{opacity:0;pointer-events:none}.mk-cms-article-eidtadd__body__extentions .close,.mk-cms-article-eidtadd__body__extentions .open{position:absolute;top:50%;left:-15px;transform:translateY(-50%);align-items:center;justify-content:flex-end;padding-right:10px;height:40px;width:40px;background-color:#f4f4f4;border-radius:0 50% 50% 0;box-sizing:border-box;cursor:pointer;z-index:100;clip-path:path("M 15 0 L 40 0 l 40 40 L 15 40z")}.mk-cms-article-eidtadd__body__extentions .open{left:-25px;background-color:#fff;justify-content:center;align-items:center;clip-path:path("M 0 0 L 25 0 L 25 40 L 0 40z");border-radius:50% 0 0 50%}.mk-cms-article-eidtadd__body__footer,.mk-cms-article-eidtadd__body__header{padding:10px 20px;background-color:#fff}.mk-cms-article-eidtadd__body__footer .el-tabs,.mk-cms-article-eidtadd__body__header .el-tabs{height:auto;flex:1}.mk-cms-article-eidtadd__body__footer .el-tabs .el-tab-pane,.mk-cms-article-eidtadd__body__header .el-tabs .el-tab-pane{height:100%}.mk-cms-article-eidtadd__body__footer .content>.el-row+.el-row,.mk-cms-article-eidtadd__body__footer>.el-row+.el-row,.mk-cms-article-eidtadd__body__header .content>.el-row+.el-row,.mk-cms-article-eidtadd__body__header>.el-row+.el-row{margin-top:10px}.mk-cms-article-eidtadd__body__footer .content>.el-row .el-input>.el-input__wrapper,.mk-cms-article-eidtadd__body__footer .content>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__footer .content>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__footer>.el-row .el-input>.el-input__wrapper,.mk-cms-article-eidtadd__body__footer>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__footer>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__header .content>.el-row .el-input>.el-input__wrapper,.mk-cms-article-eidtadd__body__header .content>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__header .content>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__header>.el-row .el-input>.el-input__wrapper,.mk-cms-article-eidtadd__body__header>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__header>.el-row .el-textarea>.el-textarea__inner{box-shadow:none}.mk-cms-article-eidtadd__body__footer .content>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__footer>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__header .content>.el-row .el-select>.el-select__wrapper,.mk-cms-article-eidtadd__body__header>.el-row .el-select>.el-select__wrapper{border-bottom:1px solid var(--el-border-color);padding:4px 10px}.mk-cms-article-eidtadd__body__footer .content>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__footer>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__header .content>.el-row .el-textarea>.el-textarea__inner,.mk-cms-article-eidtadd__body__header>.el-row .el-textarea>.el-textarea__inner{box-shadow:none}.mk-cms-article-eidtadd__body__footer .content>.el-row .el-textarea.title,.mk-cms-article-eidtadd__body__footer>.el-row .el-textarea.title,.mk-cms-article-eidtadd__body__header .content>.el-row .el-textarea.title,.mk-cms-article-eidtadd__body__header>.el-row .el-textarea.title{font-size:28px;font-weight:400}.mk-cms-article-eidtadd__body__footer .content>.el-row .mk-upload-file,.mk-cms-article-eidtadd__body__footer>.el-row .mk-upload-file,.mk-cms-article-eidtadd__body__header .content>.el-row .mk-upload-file,.mk-cms-article-eidtadd__body__header>.el-row .mk-upload-file{display:flex;align-items:center;justify-content:center;background:#ebebeb}.mk-cms-article-eidtadd__body__footer .content>.el-row .mk-upload-file .el-image,.mk-cms-article-eidtadd__body__footer>.el-row .mk-upload-file .el-image,.mk-cms-article-eidtadd__body__header .content>.el-row .mk-upload-file .el-image,.mk-cms-article-eidtadd__body__header>.el-row .mk-upload-file .el-image{display:flex;justify-content:center;align-items:center}.mk-cms-article-eidtadd__body__footer .content>.el-row .mk-upload-file .el-image .el-icon,.mk-cms-article-eidtadd__body__footer>.el-row .mk-upload-file .el-image .el-icon,.mk-cms-article-eidtadd__body__header .content>.el-row .mk-upload-file .el-image .el-icon,.mk-cms-article-eidtadd__body__header>.el-row .mk-upload-file .el-image .el-icon{font-size:30px}.mk-cms-article-eidtadd__body__footer .content>.el-row .banner,.mk-cms-article-eidtadd__body__footer>.el-row .banner,.mk-cms-article-eidtadd__body__header .content>.el-row .banner,.mk-cms-article-eidtadd__body__header>.el-row .banner{width:100%;height:200px}.mk-cms-article-eidtadd__body__footer .content>.el-row.cover-desc,.mk-cms-article-eidtadd__body__footer>.el-row.cover-desc,.mk-cms-article-eidtadd__body__header .content>.el-row.cover-desc,.mk-cms-article-eidtadd__body__header>.el-row.cover-desc{display:flex}.mk-cms-article-eidtadd__body__footer .content>.el-row.cover-desc .cover,.mk-cms-article-eidtadd__body__footer>.el-row.cover-desc .cover,.mk-cms-article-eidtadd__body__header .content>.el-row.cover-desc .cover,.mk-cms-article-eidtadd__body__header>.el-row.cover-desc .cover{width:115px;height:115px;margin-right:10px}.mk-cms-article-eidtadd__body__footer .content>.el-row.cover-desc .desc,.mk-cms-article-eidtadd__body__footer>.el-row.cover-desc .desc,.mk-cms-article-eidtadd__body__header .content>.el-row.cover-desc .desc,.mk-cms-article-eidtadd__body__header>.el-row.cover-desc .desc{flex:1 1}.mk-cms-article-eidtadd__body__footer .content>.el-row.cover-desc .desc textarea,.mk-cms-article-eidtadd__body__footer>.el-row.cover-desc .desc textarea,.mk-cms-article-eidtadd__body__header .content>.el-row.cover-desc .desc textarea,.mk-cms-article-eidtadd__body__header>.el-row.cover-desc .desc textarea{background:#f4f4f4}.mk-cms-article-eidtadd__body__header{margin-bottom:5px}.mk-cms-article-eidtadd__body__footer{margin-top:5px;min-height:400px}.mk-cms-part-info{height:100%}.mk-cms-part-info .el-card{border:0}.mk-cms-part-info .el-card .el-card__body{padding:0}.mk-cms-part-info .mk-form-view__footer button:last-child{display:none}.mk-cms-part-info__body__form-options .el-scrollbar__wrap{box-sizing:border-box;width:100%;padding-right:12px}.cms-article-atlas>.el-card__body{padding-bottom:0}.cms-article-atlas .cms-article-atlas__header{display:flex;justify-content:space-between}.cms-article-atlas .cms-article-atlas__header .cms-article-atlas__header__btn{cursor:pointer}.cms-article-atlas .cms-article-atlas__list{height:100%;display:flex;flex-wrap:wrap;gap:10px}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap{padding-bottom:12px}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view{display:flex}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item{max-width:340px;min-width:240px;height:inherit}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item .images{width:100%;height:200px}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item .video{width:100%;height:200px}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item .cms-article-atlas__list__item__desc{display:flex;justify-content:space-between;align-items:center}.cms-article-atlas .cms-article-atlas__list .el-scrollbar__wrap .el-scrollbar__view .cms-article-atlas__list__item .cms-article-atlas__list__item__desc .item-desc-right{color:#409eff;cursor:pointer}.mk-cms-part-banner__warp{background-color:#fff;padding:10px;box-sizing:border-box;margin-bottom:10px}.mk-cms-part-banner__list_item:hover .mk-cms-part-banner__list_action-mask{display:flex}.mk-cms-part-banner__list_action-mask,.mk-cms-part-banner__list_content,.mk-cms-part-banner__list_content_img,.mk-cms-part-banner__list_item{width:100%;height:100%;position:relative}.mk-cms-part-banner__list_bottom{position:absolute;bottom:0;min-height:50px;z-index:2;text-indent:1em;width:100%;background-color:rgba(0,0,0,.5);font-size:14px;display:flex;flex-direction:column;justify-content:flex-end;padding:5px;box-sizing:border-box;color:#fff}.mk-cms-part-banner__list_title{font-weight:500;margin-bottom:10px;font-size:18px}.mk-cms-part-banner__list_action-mask{position:absolute;background-color:rgba(0,0,0,.6);top:0;left:0;display:none;align-items:center;justify-content:center;color:#fff;z-index:99}.mk-cms-contents__publish{display:flex;flex-wrap:wrap;gap:10px 100px;padding:10px;justify-content:flex-start}.mk-cms-contents__warp{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.mk-cms-contents__body{padding:10px;display:flex;height:100%;overflow:hidden}.mk-cms-contents__body__left{background-color:#fff;padding:10px;max-width:360px;min-width:220px;margin-right:10px}.mk-cms-contents__body__right{flex:1;width:100%;height:100%;overflow:hidden;background:#fff;padding:10px;box-sizing:border-box;position:relative}.mk-cms-contents__body__right__action{position:absolute;right:10px;top:10px}.mk-cms-contents__body__right .el-tabs__content{overflow:hidden;position:static}.mk-cms-contents__body__right .el-tabs__content .el-tab-pane{width:100%;height:100%;overflow:auto}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.mk-rich-text-editor{width:100%;height:100%;min-height:400px}.mk-rich-text-editor__wrapper{width:100%;height:100%;min-height:400px;background-color:#fff;padding:10px;box-sizing:border-box
|
|
1
|
+
.mk-rich-text-editor{width:100%;height:100%;min-height:400px;box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.mk-rich-text-editor__wrapper{width:100%;height:100%;min-height:400px;background-color:#fff;padding:10px;box-sizing:border-box}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.mk-rich-text-editor{width:100%;height:100%;min-height:400px}.mk-rich-text-editor__wrapper{width:100%;height:100%;min-height:400px;background-color:#fff;padding:10px;box-sizing:border-box
|
|
1
|
+
.mk-rich-text-editor{width:100%;height:100%;min-height:400px;box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.mk-rich-text-editor__wrapper{width:100%;height:100%;min-height:400px;background-color:#fff;padding:10px;box-sizing:border-box}.ms-role{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.ms-role__body-warp{padding:10px;display:flex;height:100%;overflow:hidden}.ms-role__aside{background-color:#fff;padding:10px;max-width:360px;min-width:220px;margin-right:10px}.ms-role__main{width:0;flex:1}.ms-role__main .mk-data-table{display:flex;flex-direction:column;height:100%}.ms-role__main .mk-data-table .el-table{height:0;flex:1}.ms-role__content{display:flex;flex-direction:column;padding:12px;width:100%;height:100%;box-sizing:border-box;background-color:#fff}.ms-role__title{font-size:18px;font-weight:600;margin:10px 0}.ms-role__tools{margin:10px 0;display:flex;justify-content:flex-end}.ms-role-aside{height:100%;display:flex;flex-direction:column}.ms-role-aside__main{height:0;flex:1}.ms-role-aside__role-icon{margin-right:8px;font-size:16px}.ms-role-aside__role-item+.ms-role-aside__role-item{margin-top:5px}.ms-role-aside__role-item{display:flex;align-items:center;height:36px;padding:5px 10px;line-height:36px;border-radius:5px;cursor:pointer}.ms-role-aside__role-item.is-active,.ms-role-aside__role-item:hover{background-color:#f4f4f4}.ms-role-aside__role-item .ms-role-aside__icon{display:none;border-radius:3px;font-size:14px}.ms-role-aside__role-item .ms-role-aside__icon:hover{background-color:#f4f4f4}.ms-role-aside__role-item:hover .ms-role-aside__icon{padding:5px;display:inline-flex}.ms-role-aside__role-item .flex-box-tools{display:flex;align-items:center}.ms-member-active{display:flex}.ms-member-active .ms-member-active__icon{margin-right:5px;font-size:20px;color:#e6a23c}.ms-member-active .ms-member-active__body{font-size:14px;color:#4090ee}.mk-icon-list{display:grid;grid-template-columns:repeat(7,1fr);flex-wrap:wrap;list-style:none;padding:0;margin:0;color:var(--el-text-color-regular);margin-top:20px}.mk-icon-list__item{border-bottom:1px var(--el-border-color) solid;border-right:1px var(--el-border-color) solid}.mk-icon-list__item:nth-child(-n+7){border-top:1px var(--el-border-color) solid}.mk-icon-list__item:nth-child(7n+1){border-left:1px var(--el-border-color) solid}.mk-icon-list .mk-icon-item{display:flex;flex-direction:column;align-items:center;justify-content:center;height:90px;cursor:pointer}.mk-icon-list .mk-icon-item__icon{font-size:24px}.mk-icon-list .mk-icon-item__name{margin-top:6px;padding:0 8px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}.mk-icon-list .mk-icon-item:hover{background-color:var(--el-border-color-extra-light)}
|
|
@@ -98,6 +98,22 @@
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
+
// 选中框
|
|
102
|
+
.mk-doc-selection-element-block-mark{
|
|
103
|
+
position: absolute;
|
|
104
|
+
box-sizing:border-box;
|
|
105
|
+
background-color:#2776f63b;
|
|
106
|
+
z-index: 99;
|
|
107
|
+
pointer-events: none;
|
|
108
|
+
z-index: 0;
|
|
109
|
+
&.box{
|
|
110
|
+
outline: 2px solid #2776f63b;
|
|
111
|
+
background-color: transparent;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
.mk-doc-editor-decorator-module-toolbar{
|
|
115
|
+
text-align: center;
|
|
116
|
+
}
|
|
101
117
|
|
|
102
118
|
// 编辑器外观
|
|
103
119
|
.mk-doc-editor{
|
|
@@ -2,15 +2,18 @@
|
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
4
|
box-sizing: border-box;
|
|
5
|
+
overflow: hidden;
|
|
5
6
|
|
|
6
7
|
.mk-pagination {
|
|
7
8
|
margin-top: 8px;
|
|
9
|
+
margin-right: 10px;
|
|
8
10
|
}
|
|
9
11
|
|
|
10
12
|
.mk-table-view {
|
|
11
13
|
>.el-card__body {
|
|
12
14
|
padding-right: 0;
|
|
13
|
-
|
|
15
|
+
|
|
16
|
+
.el-empty {
|
|
14
17
|
flex: 1;
|
|
15
18
|
}
|
|
16
19
|
}
|
|
@@ -63,6 +66,11 @@
|
|
|
63
66
|
.right {
|
|
64
67
|
width: 100%;
|
|
65
68
|
|
|
69
|
+
.top {
|
|
70
|
+
display: flex;
|
|
71
|
+
justify-content: space-between;
|
|
72
|
+
}
|
|
73
|
+
|
|
66
74
|
.title {
|
|
67
75
|
font-size: 18px;
|
|
68
76
|
font-weight: 600;
|
|
@@ -75,6 +83,25 @@
|
|
|
75
83
|
|
|
76
84
|
}
|
|
77
85
|
|
|
86
|
+
.tags {
|
|
87
|
+
font-size: 18px;
|
|
88
|
+
font-weight: 600;
|
|
89
|
+
margin-bottom: 8px;
|
|
90
|
+
overflow: hidden;
|
|
91
|
+
text-overflow: ellipsis;
|
|
92
|
+
display: -webkit-box;
|
|
93
|
+
-webkit-line-clamp: 1;
|
|
94
|
+
-webkit-box-orient: vertical;
|
|
95
|
+
|
|
96
|
+
display: flex;
|
|
97
|
+
gap: 10px;
|
|
98
|
+
|
|
99
|
+
.tag {
|
|
100
|
+
cursor: pointer;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
}
|
|
104
|
+
|
|
78
105
|
.sub-title {
|
|
79
106
|
font-size: 14px;
|
|
80
107
|
margin-bottom: 8px;
|
|
@@ -115,7 +142,8 @@
|
|
|
115
142
|
.author {
|
|
116
143
|
// width: 68px;
|
|
117
144
|
}
|
|
118
|
-
|
|
145
|
+
|
|
146
|
+
.publish-time {
|
|
119
147
|
display: flex;
|
|
120
148
|
align-items: center;
|
|
121
149
|
}
|
|
@@ -143,4 +171,4 @@
|
|
|
143
171
|
&__item+&__item {
|
|
144
172
|
// margin-top: 10px;
|
|
145
173
|
}
|
|
146
|
-
}
|
|
174
|
+
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
4
|
min-height: 400px;
|
|
5
|
+
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
5
6
|
|
|
6
7
|
&__wrapper{
|
|
7
8
|
width: 100%;
|
|
@@ -10,6 +11,5 @@
|
|
|
10
11
|
background-color: #fff;
|
|
11
12
|
padding: 10px;
|
|
12
13
|
box-sizing: border-box;
|
|
13
|
-
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { LexicalCommand,
|
|
1
|
+
import { LexicalCommand, NodeKey, LexicalEditor } from 'lexical';
|
|
2
2
|
/**
|
|
3
3
|
* toolsbar的函数
|
|
4
4
|
*/
|
|
5
|
-
export type SelectElementBlockToolsbarFunction = (
|
|
5
|
+
export type SelectElementBlockToolsbarFunction = (nodeKey?: NodeKey | string) => Array<any> | null;
|
|
6
6
|
/**
|
|
7
7
|
* 元素抗选中类型
|
|
8
8
|
*/
|
|
9
9
|
export type SelectElementBlocktEventType = {
|
|
10
|
-
|
|
10
|
+
nodeKey: NodeKey | string;
|
|
11
11
|
toolsbars: Array<any> | SelectElementBlockToolsbarFunction;
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
@@ -30,16 +30,8 @@ export type SelectExistFunc = (el: HTMLElement) => HTMLElement | null;
|
|
|
30
30
|
* 判断选中的方法
|
|
31
31
|
*/
|
|
32
32
|
export type ElementSelectionHandle = (el: HTMLElement) => undefined;
|
|
33
|
-
|
|
34
|
-
* 使用元素模块激活
|
|
35
|
-
*/
|
|
36
|
-
export declare const useElementBlockActive: (func: SelectExistFunc, selectionHandle: ElementSelectionHandle, unSelectionHandle: ElementSelectionHandle) => void;
|
|
33
|
+
export declare const setElementBlockSelection: (editor: LexicalEditor, nodeKey: string) => Promise<void>;
|
|
37
34
|
/**
|
|
38
35
|
* 使用元素块选中
|
|
39
36
|
*/
|
|
40
|
-
export declare const useElementBlockSelection: (func: SelectExistFunc, toolsbars: Array<any> | SelectElementBlockToolsbarFunction) =>
|
|
41
|
-
isSelected: import("vue").Ref<boolean>;
|
|
42
|
-
setSelection: (nodeKey: string, el: HTMLElement | null | undefined) => Promise<void>;
|
|
43
|
-
curSelectKey: import("vue").Ref<any>;
|
|
44
|
-
curSelectPos: import("vue").Ref<any>;
|
|
45
|
-
};
|
|
37
|
+
export declare const useElementBlockSelection: (func: SelectExistFunc, toolsbars: Array<any> | SelectElementBlockToolsbarFunction) => void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { registerDocModule } from "./plugins/ModulePlugin/composables";
|
|
2
|
+
import { registerDocTemplate } from "./plugins/TemplatePlugin/composables";
|
|
2
3
|
export declare const MKDocEditor: import("@maketribe/utils").SFCWithInstall<{
|
|
3
4
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
5
|
placeholder: {
|
|
@@ -133,5 +134,5 @@ export declare const MKDocEditor: import("@maketribe/utils").SFCWithInstall<{
|
|
|
133
134
|
"after-extentions"?(_: {}): any;
|
|
134
135
|
};
|
|
135
136
|
})> & Record<string, any>;
|
|
136
|
-
export { registerDocModule };
|
|
137
|
+
export { registerDocModule, registerDocTemplate };
|
|
137
138
|
export default MKDocEditor;
|
|
@@ -30,6 +30,11 @@ export declare class GridNode extends ElementNode {
|
|
|
30
30
|
static importJSON(serializedNode: SerializedGridNode): GridNode;
|
|
31
31
|
static importDOM(): DOMConversionMap | null;
|
|
32
32
|
constructor(attrs: GridNodeAttrType, key?: NodeKey);
|
|
33
|
+
/**
|
|
34
|
+
* 选中标题
|
|
35
|
+
* @returns
|
|
36
|
+
*/
|
|
37
|
+
getTitle(): string;
|
|
33
38
|
/**
|
|
34
39
|
* 设置属性
|
|
35
40
|
* @param pos
|
|
@@ -45,16 +50,16 @@ export declare class GridNode extends ElementNode {
|
|
|
45
50
|
* @returns
|
|
46
51
|
*/
|
|
47
52
|
exportJSON(): SerializedGridNode;
|
|
48
|
-
/**
|
|
49
|
-
* 更新元素属性
|
|
50
|
-
* @param el
|
|
51
|
-
*/
|
|
52
|
-
updateElementAttr(el: HTMLElement): void;
|
|
53
53
|
/**
|
|
54
54
|
* 获取标识类
|
|
55
55
|
* @returns
|
|
56
56
|
*/
|
|
57
57
|
getMarkClassName(): string;
|
|
58
|
+
/**
|
|
59
|
+
* 更新元素属性
|
|
60
|
+
* @param el
|
|
61
|
+
*/
|
|
62
|
+
updateElementAttr(el: HTMLElement): void;
|
|
58
63
|
/**
|
|
59
64
|
* 导出DOM
|
|
60
65
|
* @returns
|
|
@@ -25,6 +25,11 @@ export declare class ImageTextGridNode extends GridNode {
|
|
|
25
25
|
static importJSON(serializedNode: SerializedImageTextGridNode): ImageTextGridNode;
|
|
26
26
|
static importDOM(): DOMConversionMap | null;
|
|
27
27
|
constructor(attrs: ImageTextGridNodeAttrType, key?: NodeKey);
|
|
28
|
+
/**
|
|
29
|
+
* 选中标题
|
|
30
|
+
* @returns
|
|
31
|
+
*/
|
|
32
|
+
getTitle(): string;
|
|
28
33
|
/**
|
|
29
34
|
* 设置属性
|
|
30
35
|
* @param pos
|
|
@@ -34,6 +34,11 @@ export declare class LayoutGridNode extends GridNode {
|
|
|
34
34
|
static importJSON(serializedNode: SerializedLayoutGridNode): LayoutGridNode;
|
|
35
35
|
static importDOM(): DOMConversionMap | null;
|
|
36
36
|
constructor(attrs: LayoutGridNodeAttrType, key?: NodeKey);
|
|
37
|
+
/**
|
|
38
|
+
* 选中标题
|
|
39
|
+
* @returns
|
|
40
|
+
*/
|
|
41
|
+
getTitle(): string;
|
|
37
42
|
/**
|
|
38
43
|
* 设置属性
|
|
39
44
|
* @param pos
|
|
@@ -29,6 +29,11 @@ export declare class ModuleGridNode extends GridNode {
|
|
|
29
29
|
static importJSON(serializedNode: SerializedModuleGridNode): ModuleGridNode;
|
|
30
30
|
static importDOM(): DOMConversionMap | null;
|
|
31
31
|
constructor(attrs: ModuleGridNodeAttrType, key?: NodeKey);
|
|
32
|
+
/**
|
|
33
|
+
* 选中标题
|
|
34
|
+
* @returns
|
|
35
|
+
*/
|
|
36
|
+
getTitle(): string;
|
|
32
37
|
/**
|
|
33
38
|
* 设置属性
|
|
34
39
|
* @param pos
|
|
@@ -27,6 +27,11 @@ export declare class TextGridNode extends GridNode {
|
|
|
27
27
|
static importJSON(serializedNode: SerializedTextGridNode): TextGridNode;
|
|
28
28
|
static importDOM(): DOMConversionMap | null;
|
|
29
29
|
constructor(attrs: TextGridNodeAttrType, key?: NodeKey);
|
|
30
|
+
/**
|
|
31
|
+
* 选中标题
|
|
32
|
+
* @returns
|
|
33
|
+
*/
|
|
34
|
+
getTitle(): string;
|
|
30
35
|
/**
|
|
31
36
|
* 设置属性
|
|
32
37
|
* @param pos
|
|
@@ -54,6 +54,11 @@ export declare class ModuleBlockNode extends DecoratorNode<Component | null> {
|
|
|
54
54
|
* @returns
|
|
55
55
|
*/
|
|
56
56
|
getTextContent(_includeInert?: boolean | undefined, _includeDirectionless?: false | undefined): string;
|
|
57
|
+
/**
|
|
58
|
+
* 选中标题
|
|
59
|
+
* @returns
|
|
60
|
+
*/
|
|
61
|
+
getTitle(): string;
|
|
57
62
|
/**
|
|
58
63
|
* 创建模块的el
|
|
59
64
|
* @returns
|
|
@@ -79,7 +84,6 @@ export declare class ModuleBlockNode extends DecoratorNode<Component | null> {
|
|
|
79
84
|
*/
|
|
80
85
|
updateDOM(prevNode: ModuleBlockNode, dom: HTMLElement, config: EditorConfig): boolean;
|
|
81
86
|
decorate(editor: LexicalEditor, config: EditorConfig): Component | null;
|
|
82
|
-
isEmpty(): boolean;
|
|
83
87
|
isIsolated(): boolean;
|
|
84
88
|
isInline(): boolean;
|
|
85
89
|
isKeyboardSelectable(): boolean;
|
|
@@ -29,12 +29,7 @@ export declare const unRegisterDocModule: (name: string) => void;
|
|
|
29
29
|
* @param name
|
|
30
30
|
* @returns
|
|
31
31
|
*/
|
|
32
|
-
export declare const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
* @param name
|
|
36
|
-
* @returns
|
|
37
|
-
*/
|
|
38
|
-
export declare const useModule: (name: string) => {
|
|
39
|
-
module: ModuleType;
|
|
32
|
+
export declare const useModule: () => {
|
|
33
|
+
Modules: ModuleType[];
|
|
34
|
+
findModuleByName: (name: string) => ModuleType;
|
|
40
35
|
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 模版类型
|
|
3
|
+
*/
|
|
4
|
+
export type TemplateType = {
|
|
5
|
+
name: string;
|
|
6
|
+
title: string;
|
|
7
|
+
cover: string;
|
|
8
|
+
template: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 模版定义
|
|
12
|
+
*/
|
|
13
|
+
export declare const Templates: TemplateType[];
|
|
14
|
+
/**
|
|
15
|
+
* 注册模版
|
|
16
|
+
* @param options
|
|
17
|
+
*/
|
|
18
|
+
export declare const registerDocTemplate: (options: TemplateType) => void;
|
|
19
|
+
/**
|
|
20
|
+
* 卸载模块
|
|
21
|
+
* @param name
|
|
22
|
+
*/
|
|
23
|
+
export declare const unRegisterDocTemplate: (name: string) => void;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param name
|
|
27
|
+
* @returns
|
|
28
|
+
*/
|
|
29
|
+
export declare const useTemplate: () => void;
|
|
30
|
+
/**
|
|
31
|
+
* 显示模块模版选择
|
|
32
|
+
* @returns
|
|
33
|
+
*/
|
|
34
|
+
export declare const showTemplateSelectDialog: () => Promise<string>;
|
|
@@ -5,5 +5,6 @@ import RichTextPlugin from "./RichTextPlugin/index.vue";
|
|
|
5
5
|
import ElementBlockSelectionPlugin from "./ElementBlockSelectionPlugin/index.vue";
|
|
6
6
|
import ModulePlugin from "./ModulePlugin/index.vue";
|
|
7
7
|
import GridPlugin from "./GridPlugin/index.vue";
|
|
8
|
+
import TemplatePlguin from "./TemplatePlugin/index.vue";
|
|
8
9
|
import Nodes from "./nodes";
|
|
9
|
-
export { ToolbarPlugin, RichTextPlugin, ModulePlugin, AutoLinkPlugin, ImagePlugin, ElementBlockSelectionPlugin, GridPlugin, Nodes };
|
|
10
|
+
export { ToolbarPlugin, RichTextPlugin, ModulePlugin, AutoLinkPlugin, ImagePlugin, ElementBlockSelectionPlugin, GridPlugin, TemplatePlguin, Nodes };
|
|
@@ -5,7 +5,7 @@ export declare const MKRichTextEditor: import("@maketribe/utils").SFCWithInstall
|
|
|
5
5
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6
6
|
__mkPropKey: true;
|
|
7
7
|
};
|
|
8
|
-
readonly inline: import("@maketribe/utils").PropFinalized<BooleanConstructor, unknown, unknown,
|
|
8
|
+
readonly inline: import("@maketribe/utils").PropFinalized<BooleanConstructor, unknown, unknown, false, false>;
|
|
9
9
|
readonly plugins: import("@maketribe/utils").PropFinalized<{
|
|
10
10
|
(arrayLength: number): string[];
|
|
11
11
|
(...items: string[]): string[];
|
|
@@ -33,7 +33,7 @@ export declare const MKRichTextEditor: import("@maketribe/utils").SFCWithInstall
|
|
|
33
33
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
34
34
|
__mkPropKey: true;
|
|
35
35
|
};
|
|
36
|
-
readonly inline: import("@maketribe/utils").PropFinalized<BooleanConstructor, unknown, unknown,
|
|
36
|
+
readonly inline: import("@maketribe/utils").PropFinalized<BooleanConstructor, unknown, unknown, false, false>;
|
|
37
37
|
readonly plugins: import("@maketribe/utils").PropFinalized<{
|
|
38
38
|
(arrayLength: number): string[];
|
|
39
39
|
(...items: string[]): string[];
|
|
@@ -6,7 +6,7 @@ export declare const richTextEditorProps: {
|
|
|
6
6
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
7
7
|
__mkPropKey: true;
|
|
8
8
|
};
|
|
9
|
-
readonly inline: import("@maketribe/utils").PropFinalized<BooleanConstructor, unknown, unknown,
|
|
9
|
+
readonly inline: import("@maketribe/utils").PropFinalized<BooleanConstructor, unknown, unknown, false, false>;
|
|
10
10
|
readonly plugins: import("@maketribe/utils").PropFinalized<{
|
|
11
11
|
(arrayLength: number): string[];
|
|
12
12
|
(...items: string[]): string[];
|
|
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
20
20
|
__mkPropKey: true;
|
|
21
21
|
};
|
|
22
|
-
readonly inline: import("@maketribe/utils").PropFinalized<BooleanConstructor, unknown, unknown,
|
|
22
|
+
readonly inline: import("@maketribe/utils").PropFinalized<BooleanConstructor, unknown, unknown, false, false>;
|
|
23
23
|
readonly plugins: import("@maketribe/utils").PropFinalized<{
|
|
24
24
|
(arrayLength: number): string[];
|
|
25
25
|
(...items: string[]): string[];
|
|
@@ -47,7 +47,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
47
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
48
48
|
__mkPropKey: true;
|
|
49
49
|
};
|
|
50
|
-
readonly inline: import("@maketribe/utils").PropFinalized<BooleanConstructor, unknown, unknown,
|
|
50
|
+
readonly inline: import("@maketribe/utils").PropFinalized<BooleanConstructor, unknown, unknown, false, false>;
|
|
51
51
|
readonly plugins: import("@maketribe/utils").PropFinalized<{
|
|
52
52
|
(arrayLength: number): string[];
|
|
53
53
|
(...items: string[]): string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maketribe/ms-app",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.33",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"vue-cropper": "^1.1.4",
|
|
54
54
|
"vue-router": "^4.2.4",
|
|
55
55
|
"@maketribe/dm": "^3.2.11",
|
|
56
|
-
"@maketribe/
|
|
56
|
+
"@maketribe/utils": "^3.2.1",
|
|
57
57
|
"@maketribe/locale": "^3.2.0",
|
|
58
|
-
"@maketribe/
|
|
58
|
+
"@maketribe/request": "^3.2.3"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/sortablejs": "^1.15.8"
|