mirror of https://github.com/halo-dev/halo-admin
主题设置页面加载效果
parent
5c2c9e05b4
commit
327ce1c017
|
@ -36,14 +36,17 @@
|
||||||
>
|
>
|
||||||
<a-row :gutter="12" type="flex">
|
<a-row :gutter="12" type="flex">
|
||||||
<a-col :xl="12" :lg="12" :md="12" :sm="24" :xs="24">
|
<a-col :xl="12" :lg="12" :md="12" :sm="24" :xs="24">
|
||||||
|
<a-skeleton active :loading="optionLoading" :paragraph="{rows: 10}">
|
||||||
<img
|
<img
|
||||||
v-if="themeProperty"
|
v-if="themeProperty"
|
||||||
:alt="themeProperty.name"
|
:alt="themeProperty.name"
|
||||||
:src="themeProperty.screenshots"
|
:src="themeProperty.screenshots"
|
||||||
width="100%"
|
width="100%"
|
||||||
>
|
>
|
||||||
|
</a-skeleton>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :xl="12" :lg="12" :md="12" :sm="24" :xs="24">
|
<a-col :xl="12" :lg="12" :md="12" :sm="24" :xs="24">
|
||||||
|
<a-skeleton active :loading="optionLoading" :paragraph="{rows: 20}">
|
||||||
<a-tabs defaultActiveKey="0">
|
<a-tabs defaultActiveKey="0">
|
||||||
<a-tab-pane
|
<a-tab-pane
|
||||||
v-for="(group, index) in themeConfiguration"
|
v-for="(group, index) in themeConfiguration"
|
||||||
|
@ -110,7 +113,8 @@
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
</a-tabs>
|
</a-tabs>
|
||||||
</a-col>
|
<a-skeleton :loading="optionLoading">
|
||||||
|
</a-skeleton></a-skeleton></a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-drawer>
|
</a-drawer>
|
||||||
</page-view>
|
</page-view>
|
||||||
|
@ -127,6 +131,7 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
optionLoading: true,
|
||||||
wrapperCol: {
|
wrapperCol: {
|
||||||
xl: { span: 12 },
|
xl: { span: 12 },
|
||||||
lg: { span: 12 },
|
lg: { span: 12 },
|
||||||
|
@ -163,6 +168,7 @@ export default {
|
||||||
that.loadSettings()
|
that.loadSettings()
|
||||||
that.getThemeProperty(themeId)
|
that.getThemeProperty(themeId)
|
||||||
})
|
})
|
||||||
|
that.optionLoading = false
|
||||||
}, 500)
|
}, 500)
|
||||||
},
|
},
|
||||||
activeTheme(theme) {
|
activeTheme(theme) {
|
||||||
|
@ -196,6 +202,7 @@ export default {
|
||||||
this.visible = false
|
this.visible = false
|
||||||
this.themeConfiguration = {}
|
this.themeConfiguration = {}
|
||||||
this.themeProperty = {}
|
this.themeProperty = {}
|
||||||
|
this.optionLoading = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue