소스 검색

火苗儿校企跳转展示登录注册页

Xiao_123 1 개월 전
부모
커밋
47a682ec33
5개의 변경된 파일6개의 추가작업 그리고 13개의 파일을 삭제
  1. 1 1
      src/layout/personal/navBar.vue
  2. 1 1
      src/layout/teacher/navBar.vue
  3. 1 1
      src/router/modules/remaining.js
  4. 2 9
      src/views/login/flameLogin.vue
  5. 1 1
      src/views/register/schoolInReview.vue

+ 1 - 1
src/layout/personal/navBar.vue

@@ -192,7 +192,7 @@ const navList = ref([
   { title: '门墩儿招聘', path: '/recruit/personal/recommend', dealActive: true },
   { title: '门墩儿猎头', path: '/headhunting' },
   { title: '门墩儿商城', path: '/pointsExchange', isEdit: true },
-  { title: '火苗儿校企', path: '/flame' },
+  { title: '火苗儿校企', path: '/flameLogin' },
   { title: '了解门墩儿', path: '/about' }
 ])
 

+ 1 - 1
src/layout/teacher/navBar.vue

@@ -68,7 +68,7 @@ const handleLogoClick = () => { window.open('/recruitHome') } // 点击logo
 // 退出登录
 const handleLogout = async () => {
   await userStore.userLogout(1)
-  router.push({ path: '/flame' })
+  router.push({ path: '/flameLogin' })
 }
 
 const menuList = ref([

+ 1 - 1
src/router/modules/remaining.js

@@ -22,7 +22,7 @@ const remainingRouter = [
     name: 'flameLogin',
     meta: {
       hidden: true,
-      title: '老师登录/注册'
+      title: '火苗儿校企'
     }
   },
   {

+ 2 - 9
src/views/login/flameLogin.vue

@@ -39,9 +39,6 @@
           </div>
         </div>
       </div>
-      <div class="aboutBox">
-        <about :showBanner="false"></about>
-      </div>
     </div>
     <navBar :showLoginBtn="false" class="navBar"></navBar>
   </div>
@@ -183,9 +180,9 @@ const windowOpen = (url) => {
   align-items: center;
   justify-content: center;
   width: 100%;
-  height: 78vh;
+  height: 100vh;
   // height: calc(100vh - 50px);
-  margin-top: 50px;
+  // margin-top: 50px;
 }
 .login-change {
   position: absolute;
@@ -224,10 +221,6 @@ const windowOpen = (url) => {
   color: var(--v-primary-base); 
 }
 
-.aboutBox {
-  width: 100%;
-  background-color: #fff;
-}
 .carousel {
   :deep(.v-window) {
     height: 392px !important;

+ 1 - 1
src/views/register/schoolInReview.vue

@@ -67,7 +67,7 @@ onMounted(async () => {
 // 回到火苗儿校企页面
 const handleBackToFlame = async () => {
   await userStore.userLogout(1)
-  router.push('/flame')
+  router.push('/flameLogin')
 }
 
 // 重新提交