| | |
| | | <template> |
| | | <div> |
| | | <div class="bgImg"> |
| | | <div class="login_box"> |
| | | <div class="fs--40 fw-bold"> |
| | | <h1> |
| | | 射洪“两客一危”监管平台 |
| | | </h1> |
| | | </div> |
| | | <div class="mt--20 txt-center py--20 px--20 br--10 box-s1"> |
| | | <div class="mt--20 txt-center py--20 px--20"> |
| | | <div class="fs--20 fw-bold">登陆</div> |
| | | <div class="mt--20"> |
| | | <el-input class="w100" prefix-icon="el-icon-user" placeholder="账号" v-model="username" /> |
| | |
| | | }; |
| | | </script> |
| | | <style scoped lang="less"> |
| | | .bgImg { |
| | | background-image: url('../../assets/loginBG.png'); |
| | | background-size: cover; |
| | | background-position: center; |
| | | background-repeat: no-repeat; |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | |
| | | .login_box { |
| | | position: absolute; |
| | | top: 50%; |
| | | left: 50%; |
| | | transform: translate(-50%, -50%); |
| | | } |
| | | |
| | | .box-s1 { |
| | | background-color: #fff; |
| | | box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2); |
| | | border-radius: 10px; |
| | | padding: 20px; |
| | | } |
| | | |
| | | .code_box { |