|
|
@ -26,7 +26,10 @@ |
|
|
|
slot="cover" |
|
|
|
slot="cover" |
|
|
|
> --> |
|
|
|
> --> |
|
|
|
<div class="theme-thumb"> |
|
|
|
<div class="theme-thumb"> |
|
|
|
<img :alt="item.name" :src="item.screenshots"> |
|
|
|
<img |
|
|
|
|
|
|
|
:alt="item.name" |
|
|
|
|
|
|
|
:src="item.screenshots" |
|
|
|
|
|
|
|
> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<template |
|
|
|
<template |
|
|
|
class="ant-card-actions" |
|
|
|
class="ant-card-actions" |
|
|
@ -194,12 +197,6 @@ |
|
|
|
>{{ option.label }}</a-select-option> |
|
|
|
>{{ option.label }}</a-select-option> |
|
|
|
</a-select> |
|
|
|
</a-select> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
<a-form-item> |
|
|
|
|
|
|
|
<a-button |
|
|
|
|
|
|
|
type="primary" |
|
|
|
|
|
|
|
@click="handleSaveSettings" |
|
|
|
|
|
|
|
>保存</a-button> |
|
|
|
|
|
|
|
</a-form-item> |
|
|
|
|
|
|
|
</a-form> |
|
|
|
</a-form> |
|
|
|
</a-tab-pane> |
|
|
|
</a-tab-pane> |
|
|
|
</a-tabs> |
|
|
|
</a-tabs> |
|
|
@ -207,6 +204,20 @@ |
|
|
|
</a-skeleton> |
|
|
|
</a-skeleton> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
</a-row> |
|
|
|
</a-row> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer-tool-bar :style="{ width: isSideMenu() && isDesktop() ? `calc(100% - ${sidebarOpened ? 256 : 80}px)` : '100%'}"> |
|
|
|
|
|
|
|
<a-button |
|
|
|
|
|
|
|
type="primary" |
|
|
|
|
|
|
|
@click="handleSaveSettings" |
|
|
|
|
|
|
|
>保存</a-button> |
|
|
|
|
|
|
|
<a-button |
|
|
|
|
|
|
|
type="dashed" |
|
|
|
|
|
|
|
@click="handleShowAttachDrawer" |
|
|
|
|
|
|
|
style="margin-left: 8px;" |
|
|
|
|
|
|
|
>附件库</a-button> |
|
|
|
|
|
|
|
</footer-tool-bar> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<AttachmentDrawer v-model="attachmentDrawerVisible" /> |
|
|
|
</a-drawer> |
|
|
|
</a-drawer> |
|
|
|
<div class="upload-button"> |
|
|
|
<div class="upload-button"> |
|
|
|
<a-button |
|
|
|
<a-button |
|
|
@ -265,9 +276,17 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
<script> |
|
|
|
|
|
|
|
import AttachmentDrawer from '../attachment/components/AttachmentDrawer' |
|
|
|
|
|
|
|
import FooterToolBar from '@/components/FooterToolbar' |
|
|
|
|
|
|
|
import { mixin, mixinDevice } from '@/utils/mixin.js' |
|
|
|
import themeApi from '@/api/theme' |
|
|
|
import themeApi from '@/api/theme' |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
|
|
|
|
components: { |
|
|
|
|
|
|
|
AttachmentDrawer, |
|
|
|
|
|
|
|
FooterToolBar |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
mixins: [mixin, mixinDevice], |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
|
optionLoading: true, |
|
|
|
optionLoading: true, |
|
|
@ -278,6 +297,7 @@ export default { |
|
|
|
sm: { span: 24 }, |
|
|
|
sm: { span: 24 }, |
|
|
|
xs: { span: 24 } |
|
|
|
xs: { span: 24 } |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
attachmentDrawerVisible: false, |
|
|
|
themes: [], |
|
|
|
themes: [], |
|
|
|
visible: false, |
|
|
|
visible: false, |
|
|
|
themeConfiguration: null, |
|
|
|
themeConfiguration: null, |
|
|
@ -349,6 +369,9 @@ export default { |
|
|
|
handleShowUploadModal() { |
|
|
|
handleShowUploadModal() { |
|
|
|
this.uploadVisible = true |
|
|
|
this.uploadVisible = true |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
handleShowAttachDrawer() { |
|
|
|
|
|
|
|
this.attachmentDrawerVisible = true |
|
|
|
|
|
|
|
}, |
|
|
|
handleChange(info) { |
|
|
|
handleChange(info) { |
|
|
|
const status = info.file.status |
|
|
|
const status = info.file.status |
|
|
|
if (status === 'done') { |
|
|
|
if (status === 'done') { |
|
|
|