From 8d66ff34fae5b048a6b7923cc75d34f13a08be9d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 02 八月 2022 11:42:43 +0800 Subject: [PATCH] Merge branch 'develop' --- src/templates/sharecomponent/settingcomponent/settingform/index.scss | 146 +++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 143 insertions(+), 3 deletions(-) diff --git a/src/templates/sharecomponent/settingcomponent/settingform/index.scss b/src/templates/sharecomponent/settingcomponent/settingform/index.scss index b0ef298..516889d 100644 --- a/src/templates/sharecomponent/settingcomponent/settingform/index.scss +++ b/src/templates/sharecomponent/settingcomponent/settingform/index.scss @@ -1,4 +1,17 @@ .model-table-setting-form-box { + position: relative; + + >.ant-spin { + position: absolute; + top: 150px; + left: calc(50% - 16px); + } + .count-tip { + position: absolute; + top: 0px; + color: #1890ff; + font-size: 12px; + } .model-table-setting-form { .textarea { .ant-form-item-label { @@ -8,9 +21,10 @@ width: 83.33333333%; } } - .anticon-question-circle { - color: #c49f47; - margin-right: 3px; + .text-area { + .CodeMirror { + height: 150px; + } } } .operation-btn { @@ -22,4 +36,130 @@ td { word-break: break-all; } + .setting-custom-back { + position: absolute; + top: -20px; + left: -10px; + font-size: 16px; + z-index: 1; + cursor: pointer; + padding: 10px; + color: rgb(24, 144, 255); + } + .to-custom-script { + float: right; + color: #1890ff; + margin-right: 12px; + margin-top: 15px; + cursor: pointer; + border: 0; + box-shadow: unset; + } + .ant-tabs-nav-wrap { + text-align: center; + } + .full-scripts { + position: absolute; + right: 0px; + top: 18px; + font-size: 18px; + color: #1890ff; + } +} + +.model-custom-table-scripts-modal { + .ant-modal { + top: 30px; + .ant-modal-header { + padding: 10px 24px; + } + .ant-modal-footer { + display: none; + } + .ant-modal-close { + display: none; + } + .ant-modal-body { + padding: 0; + height: calc(100vh - 100px); + overflow: hidden; + display: flex; + + .script-table-wrap { + width: 240px; + overflow-y: auto; + overflow-x: hidden; + height: calc(100vh - 100px); + + .operation-btn { + display: inline-block; + font-size: 16px; + padding: 0 5px; + cursor: pointer; + margin-left: 5px; + } + + .script-item { + border-bottom: 1px solid #eeeeee; + padding: 15px 10px 5px; + } + .script-item.active { + background-color: #bae7ff; + } + .ant-typography { + margin-bottom: 5px; + } + } + + .script-table-wrap::-webkit-scrollbar { + width: 7px; + } + .script-table-wrap::-webkit-scrollbar-thumb { + border-radius: 5px; + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13); + background: rgba(0, 0, 0, 0.13); + } + .script-table-wrap::-webkit-scrollbar-track { + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); + border-radius: 3px; + border: 1px solid rgba(0, 0, 0, 0.07); + background: rgba(0, 0, 0, 0); + } + + .unfull-scripts { + position: absolute; + right: 20px; + z-index: 2; + top: 10px; + color: #1890ff; + width: 26px; + cursor: pointer; + padding: 5px; + } + + .script-button { + position: absolute; + top: 10px; + z-index: 1; + left: 240px; + .ant-btn { + height: 28px; + } + .mk-green { + margin-left: 0!important; + margin-right: 10px; + } + } + .code-mirror-wrap { + .CodeMirror { + height: calc(100vh - 100px); + border-radius: 0; + } + .code-mirror-area { + border-radius: 0; + width: calc(95vw - 240px); + } + } + } + } } \ No newline at end of file -- Gitblit v1.8.0