✨(component): 修复骨架屏文档
This commit is contained in:
parent
892e61d3f5
commit
990bd4971c
@ -55,6 +55,7 @@ const changeLocales = (lang: string, locales: any, merge: boolean) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const changeTheme = (theme: string) => {
|
const changeTheme = (theme: string) => {
|
||||||
|
|
||||||
const defaultPartial: Partial<Theme> = {
|
const defaultPartial: Partial<Theme> = {
|
||||||
mode: 1,
|
mode: 1,
|
||||||
brightness: 100,
|
brightness: 100,
|
||||||
@ -70,6 +71,7 @@ const changeTheme = (theme: string) => {
|
|||||||
disableStyleSheetsProxy: false,
|
disableStyleSheetsProxy: false,
|
||||||
ignoreInlineStyle: ignoreInlineStyle,
|
ignoreInlineStyle: ignoreInlineStyle,
|
||||||
};
|
};
|
||||||
|
|
||||||
Object.assign(defaultPartial, props.darkPartial);
|
Object.assign(defaultPartial, props.darkPartial);
|
||||||
if (theme === "dark") {
|
if (theme === "dark") {
|
||||||
if (window) {
|
if (window) {
|
||||||
|
@ -58,8 +58,8 @@ export default {
|
|||||||
<lay-skeleton-item type="p" style="width: 240px"/>
|
<lay-skeleton-item type="p" style="width: 240px"/>
|
||||||
</template>
|
</template>
|
||||||
<div class="img-content">
|
<div class="img-content">
|
||||||
<img src="https://portrait.gitee.com/uploads/avatars/user/2813/8441097_shaynas_1610801433.png" />
|
<img src="https://portrait.gitee.com/uploads/avatars/user/1611/4835367_Jmysy_1578975358.png" />
|
||||||
<p style="margin-top: 18px">layui-vue 发展史....</p>
|
<p style="margin-top: 18px">一套开源免费且受众广泛的 Web UI 组件库</p>
|
||||||
</div>
|
</div>
|
||||||
</lay-skeleton>
|
</lay-skeleton>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user