| | |
| | | <div class="login-text-small">WELCOME TO LOGIN</div> |
| | | <div class="item"> |
| | | <div class="input-icon el-icon-user"></div> |
| | | <input |
| | | type="text" |
| | | v-focus |
| | | v-model="userInfo.userName" |
| | | placeholder="请è¾å
¥è´¦å·" |
| | | /> |
| | | <input type="text" v-focus v-model="userInfo.userName" placeholder="请è¾å
¥è´¦å·" /> |
| | | </div> |
| | | <div class="item"> |
| | | <div class="input-icon el-icon-lock"></div> |
| | | <input |
| | | type="password" |
| | | v-focus |
| | | v-model="userInfo.password" |
| | | placeholder="请è¾å
¥å¯ç " |
| | | /> |
| | | <input type="password" v-focus v-model="userInfo.password" placeholder="请è¾å
¥å¯ç " /> |
| | | </div> |
| | | |
| | | <div class="item station-select-item"> |
| | | <div class="input-icon el-icon-lock"></div> |
| | | <el-select |
| | | v-model="stationValue" |
| | | placeholder="éæ©ç«å°" |
| | | class="station-select" |
| | | @change="handleStationChange" |
| | | > |
| | | <el-option |
| | | v-for="item in stationOptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | /> |
| | | <el-select v-model="stationValue" placeholder="éæ©ç«å°" class="station-select" @change="handleStationChange"> |
| | | <el-option v-for="item in stationOptions" :key="item.value" :label="item.label" :value="item.value" /> |
| | | </el-select> |
| | | </div> |
| | | |
| | | |
| | | <div class="item"> |
| | | <div class="input-icon el-icon-mobile"></div> |
| | | <input |
| | | v-focus |
| | | type="text" |
| | | v-model="userInfo.verificationCode" |
| | | placeholder="è¾å
¥éªè¯ç " |
| | | /> |
| | | <input v-focus type="text" v-model="userInfo.verificationCode" placeholder="è¾å
¥éªè¯ç " /> |
| | | <div class="code" @click="getVierificationCode"> |
| | | <img v-show="codeImgSrc != ''" :src="codeImgSrc" /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="loging-btn"> |
| | | <el-button |
| | | size="large" |
| | | :loading="loading" |
| | | color="#3a6cd1" |
| | | :dark="true" |
| | | @click="login" |
| | | long |
| | | > |
| | | <el-button size="large" :loading="loading" color="#3a6cd1" :dark="true" @click="login" long> |
| | | <span v-if="!loading">ç»å½</span> |
| | | <span v-else>æ£å¨ç»å½...</span> |
| | | </el-button> |
| | |
| | | const codeImgSrc = ref(""); |
| | | const value = ref(""); |
| | | const userInfo = reactive({ |
| | | userName: "", |
| | | password: "", |
| | | verificationCode: "", |
| | | userName: "admin", |
| | | password: "123456", |
| | | verificationCode: "1234", |
| | | UUID: undefined, |
| | | }); |
| | | const stationValue = ref(""); |
| | |
| | | background: transparent; |
| | | |
| | | // ç§»é¤ææhoverãfocusææ |
| | | &:hover, &:focus, &.is-focus { |
| | | &:hover, |
| | | &:focus, |
| | | &.is-focus { |
| | | box-shadow: none !important; |
| | | outline: none !important; |
| | | border: none !important; |
| | |
| | | } |
| | | |
| | | // ç§»é¤æ´ä¸ªç»ä»¶ä¸çä»»ä½hoveråfocusæ ·å¼ |
| | | &:hover, &:focus, &.is-focus { |
| | | &:hover, |
| | | &:focus, |
| | | &.is-focus { |
| | | :deep(.el-input__wrapper) { |
| | | box-shadow: none !important; |
| | | outline: none !important; |
| | |
| | | |
| | | // ç§»é¤ææinputçfocusåhoveræ ·å¼ |
| | | input { |
| | | &:hover, &:focus { |
| | | |
| | | &:hover, |
| | | &:focus { |
| | | border: none !important; |
| | | outline: none !important; |
| | | box-shadow: none !important; |
| | |
| | | |
| | | <style lang="less" scoped> |
| | | @media screen and (max-width: 700px) { |
| | | |
| | | .login-bg, |
| | | .account-info, |
| | | .app-link, |