Browse Source

修改跳转

lrf402788946 5 năm trước cách đây
mục cha
commit
729e41dab6
1 tập tin đã thay đổi với 7 bổ sung7 xóa
  1. 7 7
      src/pages/index/views/home.vue

+ 7 - 7
src/pages/index/views/home.vue

@@ -14,7 +14,7 @@
     <el-image style="width: 100%; height: 10rem" :src="url"></el-image>
     <el-row type="flex" align="middle" class="menu_list">
       <!-- drawerTalk = true" -->
-      <el-col :span="6" class="list_border" @click.native="toHtml('/talkList.html#/')">
+      <el-col :span="6" class="list_border" @click.native="toHtml('talkList.html#/')">
         <el-col :span="24"><div class="el-icon-school icon_zoom"></div></el-col>
         <el-col :span="24">
           <el-link type="info" :underline="false">宣讲会</el-link>
@@ -36,7 +36,7 @@
         </el-drawer> -->
       </el-col>
       <!-- drawerJobfair = true -->
-      <el-col :span="6" class="list_border" @click.native="toHtml('/jobfairList.html#/')">
+      <el-col :span="6" class="list_border" @click.native="toHtml('jobfairList.html#/')">
         <el-col :span="24"><div class="el-icon-s-custom icon_zoom"></div></el-col>
         <el-col :span="24">
           <el-link type="info" :underline="false">招聘会</el-link>
@@ -48,10 +48,10 @@
             </el-row>
           </template>
           <el-row class="drawer__row">
-            <el-col :span="24" @click.native="toHtml('/jobfairList.html#/?type=in')">
+            <el-col :span="24" @click.native="toHtml('jobfairList.html#/?type=in')">
               <el-button type="text">校内招聘会</el-button>
             </el-col>
-            <el-col :span="24" @click.native="toHtml('/jobfairList.html#/?type=out')">
+            <el-col :span="24" @click.native="toHtml('jobfairList.html#/?type=out')">
               <el-button type="text">校外招聘会</el-button>
             </el-col>
           </el-row>
@@ -59,7 +59,7 @@
       </el-col>
       <el-col :span="6" class="list_border">
         <el-col :span="24"><div class="el-icon-s-platform icon_zoom"></div></el-col>
-        <el-col :span="24"><el-link type="info" :underline="false" href="/jobinfoList.html">在线招聘</el-link></el-col>
+        <el-col :span="24"><el-link type="info" :underline="false" href="jobinfoList.html">在线招聘</el-link></el-col>
       </el-col>
       <el-col :span="6" class="list_border" @click.native="toHtml('', 'check')">
         <el-col :span="24"><div class="el-icon-user icon_zoom"></div></el-col>
@@ -158,9 +158,9 @@ export default {
       if (type) {
         let url = '';
         if (typeof this.user === 'object') {
-          this.user.corpid === undefined ? (url = '/student.html#/') : (url = 'http://hr.smart.jilinjobswx.cn/mobile');
+          this.user.corpid === undefined ? (url = 'student.html#/') : (url = 'http://hr.smart.jilinjobswx.cn/mobile');
         } else {
-          url = '/register.html#/';
+          url = 'register.html#/';
         }
         window.location.href = url;
       } else {