| | |
| | | <view class="logo-content align-center justify-center flex"> |
| | | <image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix"> |
| | | </image> |
| | | <text class="title">若依移动端登录</text> |
| | | <text class="title">民航调度系统</text> |
| | | </view> |
| | | <view class="login-form-content"> |
| | | <view class="input-item flex align-center"> |
| | |
| | | <text class="wechat-text">微信一键登录</text> |
| | | </view> |
| | | </view> |
| | | <view class="reg text-center" v-if="register"> |
| | | <text class="text-grey1">没有账号?</text> |
| | | <text @click="handleUserRegister" class="text-blue">立即注册</text> |
| | | </view> |
| | | |
| | | <view class="xieyi text-center"> |
| | | <text class="text-grey1">登录即代表同意</text> |
| | | <text @click="handleUserAgrement" class="text-blue">《用户协议》</text> |
| | | <text @click="handlePrivacy" class="text-blue">《隐私协议》</text> |
| | | <text @click.stop="handleUserAgrement" class="text-blue agreement-link">《用户协议》</text> |
| | | <text class="text-grey1">和</text> |
| | | <text @click.stop="handlePrivacy" class="text-blue agreement-link">《隐私协议》</text> |
| | | </view> |
| | | </view> |
| | | </scroll-view> |
| | |
| | | register: false, |
| | | globalConfig: getApp().globalData.config, |
| | | loginForm: { |
| | | username: "admin", |
| | | password: "admin123", |
| | | username: "", |
| | | password: "", |
| | | code: "", |
| | | uuid: '' |
| | | } |
| | |
| | | }, |
| | | // 隐私协议 |
| | | handlePrivacy() { |
| | | let site = this.globalConfig.appInfo.agreements[0] |
| | | this.$tab.navigateTo(`/pages/common/webview/index?title=${site.title}&url=${site.url}`) |
| | | this.$tab.navigateTo('/pages/mine/privacy-policy/index') |
| | | }, |
| | | // 用户协议 |
| | | handleUserAgrement() { |
| | | let site = this.globalConfig.appInfo.agreements[1] |
| | | this.$tab.navigateTo(`/pages/common/webview/index?title=${site.title}&url=${site.url}`) |
| | | this.$tab.navigateTo('/pages/mine/user-agreement/index') |
| | | }, |
| | | // 获取图形验证码 |
| | | getCode() { |
| | |
| | | } |
| | | } |
| | | |
| | | .reg, .xieyi { |
| | | .reg { |
| | | margin: 20rpx 0; |
| | | |
| | | .text-grey1 { |
| | |
| | | color: #007AFF; |
| | | } |
| | | } |
| | | |
| | | .xieyi { |
| | | margin: 50rpx 0 30rpx 0; |
| | | padding: 20rpx 0; |
| | | line-height: 2; |
| | | |
| | | .text-grey1 { |
| | | color: #888; |
| | | font-size: 24rpx; |
| | | } |
| | | |
| | | .agreement-link { |
| | | color: #007AFF; |
| | | font-size: 24rpx; |
| | | padding: 10rpx 8rpx; |
| | | margin: 0 5rpx; |
| | | display: inline-block; |
| | | position: relative; |
| | | z-index: 10; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </style> |