登录页背景自适应 登录框居中
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div :class="prefixCls" class="relative h-[100%]" :style="{ backgroundImage: 'url(' + localImage + ')' }">
|
||||
<div class="relative mx-auto h-full flex" style="float:left; margin-left: 200px;">
|
||||
<div :class="prefixCls" class="relative h-[100%]" :style="{ backgroundImage: 'url(' + localImage + ')' ,backgroundSize:'cover'}">
|
||||
<div class="relative mx-auto h-full flex" style=" margin: 0 auto;">
|
||||
<div
|
||||
class="relative flex-1 p-30px lt-sm:p-10px overflow-x-hidden overflow-y-auto"
|
||||
:class="`${prefixCls}__right`">
|
||||
@@ -137,8 +137,9 @@ $prefix-cls: #{$namespace}-login;
|
||||
|
||||
width: 1000px;
|
||||
position:absolute;
|
||||
left:790px;
|
||||
bottom:40px;
|
||||
left:50%;
|
||||
transform:translateX(-50%);
|
||||
bottom:20px;
|
||||
.module {
|
||||
border-radius: 4px;
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user