| | |
| | | <template> |
| | | <el-dialog |
| | | align-center |
| | | append-to-body |
| | | v-model="dialogFormVisible" |
| | | @close="closeDialog" |
| | | @open="openDialog" |
| | | class="fansdialog" |
| | | style="padding: 0; padding-bottom: 0px" |
| | | > |
| | | <div style="display: flex; justify-content: space-around"> |
| | | <div style="display: flex; justify-content: space-between"> |
| | | <el-image :src="dialogLeftImg" class="leftImg" /> |
| | | |
| | | <div class="logIn"> |
| | |
| | | <li |
| | | @click="signUpWay = 'authSignUp'" |
| | | :style="{ |
| | | color: signUpWay == 'authSignUp' ? '#144941' : '#545C63', |
| | | color: signUpWay == 'authSignUp' ? '#019E58' : '#545C63', |
| | | }" |
| | | style="font-weight: 700" |
| | | > |
| | | 手机号登录 |
| | | </li> |
| | | <li>|</li> |
| | | <li |
| | | @click="wechatLoginOpen" |
| | | :style="{ color: signUpWay == 'wechat' ? '#144941' : '#545C63' }" |
| | | :style="{ color: signUpWay == 'wechat' ? '#019E58' : '#545C63' }" |
| | | style="font-weight: 700" |
| | | > |
| | | 微信登录 |
| | | </li> |
| | |
| | | }) |
| | | } |
| | | |
| | | watchEffect(() => { |
| | | if (dialogFormVisible.value) { |
| | | } |
| | | }) |
| | | |
| | | //登录 |
| | | |
| | | const loginBtn = () => { |
| | |
| | | }) |
| | | } |
| | | } |
| | | router.go(0) |
| | | if (localStorage.getItem('loginBack')) { |
| | | window.location.href = localStorage.getItem('loginBack') |
| | | localStorage.removeItem('loginBack') |
| | | } else { |
| | | router.go(0) |
| | | } |
| | | }) |
| | | } |
| | | |
| | |
| | | } |
| | | .fansdialog { |
| | | width: 806px; |
| | | |
| | | padding: 0 !important; |
| | | margin: 0 !important; |
| | | .leftImg { |
| | | box-sizing: border-box; |
| | | width: 403px; |
| | | } |
| | | |
| | | .el-dialog__header { |
| | | padding: 0; |
| | | ::v-deep(.el-dialog__header) { |
| | | padding: 0 !important; |
| | | padding-bottom: 0 !important; |
| | | } |
| | | |
| | | .el-dialog__body { |
| | |
| | | height: 575px; |
| | | display: flex; |
| | | padding: 0 !important; |
| | | margin: 0 !important; |
| | | } |
| | | |
| | | .leftImg { |
| | |
| | | |
| | | .el-dialog__header { |
| | | padding: 0; |
| | | padding-bottom: 0 !important; |
| | | } |
| | | |
| | | .el-dialog__body { |
| | |
| | | |
| | | p span { |
| | | line-height: 24px; |
| | | } |
| | | |
| | | .el-dialog__header { |
| | | font-size: 18px; |
| | | color: #333; |
| | | } |
| | | |
| | | .el-dialog__body { |
| | |
| | | padding-top: 48px; |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: space-around; |
| | | justify-content: space-between; |
| | | |
| | | .signUpTitle { |
| | | width: 100%; |
| | |
| | | .selectPhone { |
| | | background: #fff; |
| | | } |
| | | |
| | | // .el-select { |
| | | // width: 100px; |
| | | // height: 30px; |
| | | // color: red; |
| | | // border: none !important; |
| | | |
| | | // /deep/ .select-trigger { |
| | | // height: 100%; |
| | | |
| | | // .el-input--suffix { |
| | | // height: 100%; |
| | | // background-color: #fff; |
| | | // } |
| | | // } |
| | | // } |
| | | </style> |