吉安感知网项目-前端
张含笑
2026-01-08 d22879178dfd4164cf41fc783fd376ce7b7528cd
feat:demo
2 files modified
16 ■■■■■ changed files
uniapps/work-app/src/pages/login/index.vue 11 ●●●●● patch | view | raw | blame | history
uniapps/work-app/src/pages/voiceCall/index.vue 5 ●●●●● patch | view | raw | blame | history
uniapps/work-app/src/pages/login/index.vue
@@ -27,6 +27,7 @@
        </checkbox-group>
        记住密码
      </label>
      <div>忘记密码?</div>
    </div>
    <button class="login-btn" :style="[inputStyle]" @tap="submit">登录</button>
@@ -133,9 +134,11 @@
    });
  } 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",
@@ -241,7 +244,7 @@
  .remember-password {
    display: flex;
    justify-content: flex-end;
    justify-content:space-between;
    align-items: center;
    margin-left: 62rpx;
    margin-right: 58rpx;
uniapps/work-app/src/pages/voiceCall/index.vue
@@ -1,5 +1,5 @@
<template>
  <div class="voiceCallContainer">
  <div class="voiceCallContainer" :style="{ paddingTop: topMargin + 'px' }">
    <!-- 顶部搜索栏 -->
    <div class="searchBar">
      <up-search placeholder="请输入关键字搜索"  :animation="true"   :show-action="false"></up-search>
@@ -36,7 +36,8 @@
</template>
<script setup>
import { ref, computed } from 'vue'
import { getStatusBarHeight } from '@/utils/common';
const topMargin = getStatusBarHeight()
// 搜索关键字
const searchKeyword = ref('')