| | |
| | | </checkbox-group> |
| | | 记住密码 |
| | | </label> |
| | | <div>忘记密码?</div> |
| | | </div> |
| | | |
| | | <button class="login-btn" :style="[inputStyle]" @tap="submit">登录</button> |
| | |
| | | }); |
| | | } catch (error) { |
| | | const errorMsg = |
| | | error.data?.error_description !== "Bad credentials" |
| | | ? error.data?.error_description |
| | | : "登录失败,请重试"; |
| | | error.data?.msg |
| | | ? error.data.msg |
| | | : (error.data?.error_description && error.data.error_description !== "Bad credentials") |
| | | ? error.data.error_description |
| | | : "登录失败,请重试"; |
| | | uni.showToast({ |
| | | title: errorMsg, |
| | | icon: "none", |
| | |
| | | |
| | | .remember-password { |
| | | display: flex; |
| | | justify-content: flex-end; |
| | | justify-content:space-between; |
| | | align-items: center; |
| | | margin-left: 62rpx; |
| | | margin-right: 58rpx; |
| | |
| | | <template> |
| | | <div class="voiceCallContainer"> |
| | | <div class="voiceCallContainer" :style="{ paddingTop: topMargin + 'px' }"> |
| | | <!-- 顶部搜索栏 --> |
| | | <div class="searchBar"> |
| | | <up-search placeholder="请输入关键字搜索" :animation="true" :show-action="false"></up-search> |
| | |
| | | </template> |
| | | |
| | | <script setup> |
| | | import { ref, computed } from 'vue' |
| | | import { getStatusBarHeight } from '@/utils/common'; |
| | | const topMargin = getStatusBarHeight() |
| | | |
| | | // 搜索关键字 |
| | | const searchKeyword = ref('') |