ZZJ
2021-12-13 bc630b555653be1cb6eff37ab2da18cd31e8ef81
配置页
7 文件已重命名
1个文件已修改
17 ■■■■■ 已修改文件
public/images/loginImg/LOGO.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/loginImg/OS.png 补丁 | 查看 | 原始文档 | blame | 历史
public/images/loginImg/background.png 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/index/App.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/login/App.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/login/ParticleNetwork.vue 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/login/api.ts 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/login/main.ts 补丁 | 查看 | 原始文档 | blame | 历史
public/images/loginImg/LOGO.png

public/images/loginImg/OS.png

public/images/loginImg/background.png

src/pages/index/App.vue
@@ -51,7 +51,7 @@
} from "./api";
export default {
  created() {
  mounted() {
    this.getInitInfo();
  },
  data() {
@@ -78,7 +78,7 @@
      if (this.active == 2) {
        const data = this.$refs[`form${this.active}`].getFormData();
        await saveRegInfo(data);
        location.assign("/login");
        location.assign("/view/login");
        return;
      }
@@ -106,11 +106,14 @@
      if (res.data.initPwd && !res.data.initRegInfo) {
        const res1 = await getRegInfo();
        this.active = 1;
        this.$refs["carousel"].setActiveItem(1);
        console.log(res1);
        setTimeout(() => {
          this.$refs["carousel"].setActiveItem(1);
        }, 0);
      }
      if (res.data.initPwd && res.data.initRegInfo) {
        location.assign("/login");
        location.assign("/view/login");
        return;
      }
src/pages/login/App.vue
File was renamed from src/pages/loginPage/App.vue
@@ -64,7 +64,7 @@
    </div>
    <div class="left_footer">
      <img class="logo" src="/images/login/LOGO.png" alt="" />
      <img class="logo" src="/images/loginImg/LOGO.png" alt="" />
      <div class="web">www.smartai.com</div>
    </div>
@@ -73,7 +73,7 @@
      :style="{ background: backgroundColor }"
      :class="{ empty: !user.loginName && !user.password }"
    >
      <img class="logo" src="/images/login/OS.png" alt="" />
      <img class="logo" src="/images/loginImg/OS.png" alt="" />
      <el-form
        :model="user"
@@ -328,7 +328,7 @@
.login {
  height: 100%;
  position: relative;
  background-image: url("/images/login/背景图.png");
  background-image: url("/images/loginImg/background.png");
  .title {
    position: absolute;
src/pages/login/ParticleNetwork.vue
src/pages/login/api.ts
src/pages/login/main.ts