From a751e547d67c4f8e2c6fddf958c1559f792515bd Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期五, 27 六月 2025 16:11:50 +0800 Subject: [PATCH] 添加工作流 --- src/components/layouts/UserLayout.vue | 71 ++++++++++++++++++++--------------- 1 files changed, 40 insertions(+), 31 deletions(-) diff --git a/src/components/layouts/UserLayout.vue b/src/components/layouts/UserLayout.vue index c0d5e6a..0bd8d97 100644 --- a/src/components/layouts/UserLayout.vue +++ b/src/components/layouts/UserLayout.vue @@ -1,25 +1,25 @@ <template> <div id="userLayout" :class="['user-layout-wrapper', device]"> <div class="container"> - <div class="top"> - <div class="header"> - <a href="/"> - <img src="~@/assets/lxzn.png" class="logo" alt="logo"> - <span class="title">缁熻鍒嗘瀽</span> - </a> - </div> - <!--<div class="desc">--> - <!--Jeecg Boot 鏄腑鍥芥渶鍏峰奖鍝嶅姏鐨� 浼佷笟绾� 浣庝唬鐮佸钩鍙�--> - <!--</div>--> - </div> + <!--<div class="top">--> + <!--<div class="header">--> + <!--<a href="/">--> + <!--<img src="~@/assets/lxzn_white.png" class="logo" alt="logo">--> + <!--<span class="title">MDC鏅烘収杞﹂棿</span>--> + <!--</a>--> + <!--</div>--> + <!--<!–<div class="desc">–>--> + <!--<!–Jeecg Boot 鏄腑鍥芥渶鍏峰奖鍝嶅姏鐨� 浼佷笟绾� 浣庝唬鐮佸钩鍙�–>--> + <!--<!–</div>–>--> + <!--</div>--> <route-view></route-view> <div class="footer"> <!--<div class="links">--> - <!--<a href="http://doc.jeecg.com" target="_blank">甯姪</a>--> - <!--<a href="https://github.com/zhangdaiscott/jeecg-boot" target="_blank">闅愮</a>--> - <!--<a href="https://github.com/zhangdaiscott/jeecg-boot/blob/master/LICENSE" target="_blank">鏉℃</a>--> + <!--<a href="http://doc.jeecg.com" target="_blank">甯姪</a>--> + <!--<a href="https://github.com/zhangdaiscott/jeecg-boot" target="_blank">闅愮</a>--> + <!--<a href="https://github.com/zhangdaiscott/jeecg-boot/blob/master/LICENSE" target="_blank">鏉℃</a>--> <!--</div>--> <div class="copyright"> <!--Copyright © 2019 <a href="http://www.jeecg.com" target="_blank">JEECG寮�婧愮ぞ鍖�</a> 鍑哄搧--> @@ -31,22 +31,22 @@ </template> <script> - import RouteView from "@/components/layouts/RouteView" + import RouteView from '@/components/layouts/RouteView' import { mixinDevice } from '@/utils/mixin.js' export default { - name: "UserLayout", + name: 'UserLayout', components: { RouteView }, mixins: [mixinDevice], - data () { + data() { return {} }, - mounted () { + mounted() { document.body.classList.add('userLayout') }, - beforeDestroy () { + beforeDestroy() { document.body.classList.remove('userLayout') - }, + } } </script> @@ -66,9 +66,9 @@ .container { width: 100%; min-height: 100%; - background: #f0f2f5 url(~@/assets/background.svg) no-repeat 50%; + background: #f0f2f5 url(~@/assets/login.jpg) no-repeat 50%; background-size: 100%; - padding: 110px 0 144px; + /*padding: 110px 0 144px;*/ position: relative; a { @@ -77,6 +77,9 @@ .top { text-align: center; + position: absolute; + top: 50px; + left: 50px; .header { height: 44px; @@ -95,13 +98,13 @@ .logo { height: 44px; vertical-align: top; - margin-right: 16px; + margin-right: 10px; border-style: none; } .title { - font-size: 33px; - color: rgba(0, 0, 0, .85); + font-size: 30px; + color: #fff; font-family: "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-weight: 600; position: relative; @@ -117,17 +120,23 @@ } .main { - min-width: 260px; - width: 368px; - margin: 0 auto; + background-color: #fff; + width: 57%; + max-width: 2000px; + overflow: auto; + min-width: 800px; + max-height: 75%; + border-radius: 10px; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); } .footer { position: absolute; width: 100%; bottom: 0; - padding: 0 16px; - margin: 48px 0 24px; text-align: center; .links { @@ -142,7 +151,7 @@ } } .copyright { - color: rgba(0, 0, 0, 0.45); + color: #fff; font-size: 14px; } } -- Gitblit v1.9.3