修改样式
This commit is contained in:
parent
b6d32d892e
commit
09f1f81a05
150
index.html
150
index.html
|
@ -25,157 +25,7 @@
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
<div id="app">
|
<div id="app">
|
||||||
<style>
|
|
||||||
html[data-theme='dark'] .app-loading {
|
|
||||||
background-color: #2c344a;
|
|
||||||
}
|
|
||||||
|
|
||||||
html[data-theme='dark'] .app-loading .app-loading-title {
|
|
||||||
color: rgba(255, 255, 255, 0.85);
|
|
||||||
}
|
|
||||||
|
|
||||||
.app-loading {
|
|
||||||
display: flex;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
flex-direction: column;
|
|
||||||
background-color: #f4f7f9;
|
|
||||||
}
|
|
||||||
|
|
||||||
.app-loading .app-loading-wrap {
|
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
left: 50%;
|
|
||||||
display: flex;
|
|
||||||
-webkit-transform: translate3d(-50%, -50%, 0);
|
|
||||||
transform: translate3d(-50%, -50%, 0);
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
.app-loading .dots {
|
|
||||||
display: flex;
|
|
||||||
padding: 98px;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.app-loading .app-loading-title {
|
|
||||||
display: flex;
|
|
||||||
margin-top: 10px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
font-size: 30px;
|
|
||||||
color: rgba(0, 0, 0, 0.85);
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.app-loading .app-loading-logo {
|
|
||||||
display: block;
|
|
||||||
width: 90px;
|
|
||||||
margin: 0 auto;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dot {
|
|
||||||
position: relative;
|
|
||||||
display: inline-block;
|
|
||||||
width: 48px;
|
|
||||||
height: 48px;
|
|
||||||
margin-top: 30px;
|
|
||||||
font-size: 32px;
|
|
||||||
transform: rotate(45deg);
|
|
||||||
box-sizing: border-box;
|
|
||||||
animation: antRotate 1.2s infinite linear;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dot i {
|
|
||||||
position: absolute;
|
|
||||||
display: block;
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
background-color: #0065cc;
|
|
||||||
border-radius: 100%;
|
|
||||||
opacity: 0.3;
|
|
||||||
transform: scale(0.75);
|
|
||||||
animation: antSpinMove 1s infinite linear alternate;
|
|
||||||
transform-origin: 50% 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dot i:nth-child(1) {
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dot i:nth-child(2) {
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
-webkit-animation-delay: 0.4s;
|
|
||||||
animation-delay: 0.4s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dot i:nth-child(3) {
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
-webkit-animation-delay: 0.8s;
|
|
||||||
animation-delay: 0.8s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dot i:nth-child(4) {
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
-webkit-animation-delay: 1.2s;
|
|
||||||
animation-delay: 1.2s;
|
|
||||||
}
|
|
||||||
@keyframes antRotate {
|
|
||||||
to {
|
|
||||||
-webkit-transform: rotate(405deg);
|
|
||||||
transform: rotate(405deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@-webkit-keyframes antRotate {
|
|
||||||
to {
|
|
||||||
-webkit-transform: rotate(405deg);
|
|
||||||
transform: rotate(405deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@keyframes antSpinMove {
|
|
||||||
to {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@-webkit-keyframes antSpinMove {
|
|
||||||
to {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<div class="app-loading">
|
|
||||||
<div class="app-loading-wrap">
|
|
||||||
<img src="<%= basePublicPath %>/resource/img/logo.png" class="app-loading-logo" alt="Logo" />
|
|
||||||
<div class="app-loading-title"><%= title %></div>
|
|
||||||
<div class="app-loading-dots">
|
|
||||||
<span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<script type="module" src="/src/main.ts"></script>
|
<script type="module" src="/src/main.ts"></script>
|
||||||
<script src="/static/tums-player/tums-player.umd.min.js"></script>
|
|
||||||
<!-- 百度统计 -->
|
|
||||||
<script>
|
|
||||||
var _hmt = _hmt || [];
|
|
||||||
(function () {
|
|
||||||
var hm = document.createElement('script');
|
|
||||||
hm.src = 'https://hm.baidu.com/hm.js?0febd9e3cacb3f627ddac64d52caac39';
|
|
||||||
var s = document.getElementsByTagName('script')[0];
|
|
||||||
s.parentNode.insertBefore(hm, s);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
<!-- 腾讯地图 -->
|
|
||||||
<script src="https://map.qq.com/api/gljs?v=1.exp&key=2E6BZ-ZC3E3-BMX3D-OWFUI-FLY2F-MLFFJ"></script>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* @Description: logo component
|
* @Description: logo component
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
<div class="anticon" :class="getAppLogoClass" @click="goHome" style="background: #e3f6fc;text-align: center;">
|
<div class="anticon" :class="getAppLogoClass" @click="goHome" style="background: #ceeef7;text-align: center;">
|
||||||
<img src="../../../assets/images/logo.png" />
|
<img src="../../../assets/images/logo.png" />
|
||||||
<div class="ml-2 truncate md:opacity-100" :class="getTitleClass" v-show="showTitle">
|
<div class="ml-2 truncate md:opacity-100" :class="getTitleClass" v-show="showTitle">
|
||||||
{{ shortTitle }}
|
{{ shortTitle }}
|
||||||
|
@ -92,7 +92,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.advisoryClass{
|
|
||||||
background-image: url(/@/assets/images/bj.png);
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -28,7 +28,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-drawer-body {
|
.ant-drawer-body {
|
||||||
background: url(../resource/img/modalback.png);
|
// background: url(../resource/img/modalback.png);
|
||||||
|
|
||||||
|
background: linear-gradient(135deg, #f6faff 0%, #f1f7ff 100%);
|
||||||
}
|
}
|
||||||
.ant-modal {
|
.ant-modal {
|
||||||
width: 520px;
|
width: 520px;
|
||||||
|
@ -50,9 +52,11 @@
|
||||||
|
|
||||||
.ant-modal-body {
|
.ant-modal-body {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: url(../resource/img/modalback.png);
|
|
||||||
background-repeat: no-repeat;
|
background: linear-gradient(135deg, #f6faff 0%, #f1f7ff 100%);
|
||||||
background-size: cover;
|
// background: url(../resource/img/modalback.png);
|
||||||
|
// background-repeat: no-repeat;
|
||||||
|
// background-size: cover;
|
||||||
|
|
||||||
> .scrollbar > .scrollbar__bar.is-horizontal {
|
> .scrollbar > .scrollbar__bar.is-horizontal {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
@ -273,7 +273,7 @@
|
||||||
...unref(getProps),
|
...unref(getProps),
|
||||||
...unref(getHeaderProps),
|
...unref(getHeaderProps),
|
||||||
scroll: unref(getScrollRef),
|
scroll: unref(getScrollRef),
|
||||||
loading: unref(getLoading),
|
loading: false,
|
||||||
tableLayout: 'fixed',
|
tableLayout: 'fixed',
|
||||||
rowSelection: unref(getRowSelectionRef),
|
rowSelection: unref(getRowSelectionRef),
|
||||||
rowKey: unref(getRowKey),
|
rowKey: unref(getRowKey),
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
/>
|
/>
|
||||||
<LayoutBreadcrumb v-if="getShowContent && getShowBread" :theme="getHeaderTheme" />
|
<LayoutBreadcrumb v-if="getShowContent && getShowBread" :theme="getHeaderTheme" />
|
||||||
<!-- 欢迎语 -->
|
<!-- 欢迎语 -->
|
||||||
<span v-if="getShowContent && getShowBreadTitle && !getIsMobile" style="background: #e3f6fc !important;" :class="[prefixCls, `${prefixCls}--${getHeaderTheme}`,'headerIntroductionClass']"> {{t('layout.header.welcomeIn')}} {{ title }} </span>
|
<span v-if="getShowContent && getShowBreadTitle && !getIsMobile" style="background: #ceeef7 !important;" :class="[prefixCls, `${prefixCls}--${getHeaderTheme}`,'headerIntroductionClass']"> {{t('layout.header.welcomeIn')}} {{ title }} </span>
|
||||||
</div>
|
</div>
|
||||||
<!-- left end -->
|
<!-- left end -->
|
||||||
|
|
||||||
|
@ -265,5 +265,6 @@
|
||||||
background-image: url('../resource/img/bj.png') !important;
|
background-image: url('../resource/img/bj.png') !important;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 100% auto;
|
background-size: 100% auto;
|
||||||
|
background-color: #e5f5f9 !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -68,7 +68,7 @@ async function bootstrap(props?: MainAppProps) {
|
||||||
registerGlobComp(app);
|
registerGlobComp(app);
|
||||||
|
|
||||||
//CAS单点登录
|
//CAS单点登录
|
||||||
await useSso().ssoLogin();
|
// await useSso().ssoLogin();
|
||||||
|
|
||||||
// 配置路由
|
// 配置路由
|
||||||
setupRouter(app);
|
setupRouter(app);
|
||||||
|
@ -83,10 +83,10 @@ async function bootstrap(props?: MainAppProps) {
|
||||||
setupErrorHandle(app);
|
setupErrorHandle(app);
|
||||||
|
|
||||||
// 注册第三方组件
|
// 注册第三方组件
|
||||||
await registerThirdComp(app);
|
// await registerThirdComp(app);
|
||||||
|
|
||||||
// 当路由准备好时再执行挂载( https://next.router.vuejs.org/api/#isready)
|
// 当路由准备好时再执行挂载( https://next.router.vuejs.org/api/#isready)
|
||||||
await router.isReady();
|
// await router.isReady();
|
||||||
|
|
||||||
// 挂载应用
|
// 挂载应用
|
||||||
app.mount(getMountContainer(props), true);
|
app.mount(getMountContainer(props), true);
|
||||||
|
|
Loading…
Reference in New Issue