| | |
| | | <view class="page"> |
| | | <view class="glow glow-top"></view><view class="glow glow-left"></view><view class="glow glow-right"></view> |
| | | <view class="safe-space"></view> |
| | | <view v-if="canGoBack" class="back" @tap="goBack"><text>‹</text></view> |
| | | <view class="back" @tap="goBack"><text>‹</text></view> |
| | | |
| | | <view class="main-content"> |
| | | <view class="hero-row"> |
| | |
| | | import { developmentLoginBypassEnabled } from '../../config/api.uts' |
| | | |
| | | const agreed = ref(false) |
| | | const canGoBack = ref(false) |
| | | const isLoggingIn = ref(false) |
| | | const redirectUrl = ref('') |
| | | onLoad((options: any) => { |
| | | canGoBack.value = getCurrentPages().length > 1 |
| | | if (options != null && options['redirect'] != null) { const value = decodeURIComponent(options['redirect'] as string); if (value.indexOf('/pages/') == 0 && value.indexOf('//') == -1) redirectUrl.value = value } |
| | | if (developmentLoginBypassEnabled) { |
| | | isLoggingIn.value = true |