Procházet zdrojové kódy

上线及bug处修改

lrf402788946 před 5 roky
rodič
revize
5df461a5eb

+ 2 - 1
.env

@@ -1 +1,2 @@
-VUE_APP_AXIOS_BASE_URL = /api
+VUE_APP_AXIOS_BASE_URL = /api
+VUE_APP_ROUTER="/mobile"

+ 1 - 1
src/layout/detail-layout.vue

@@ -18,7 +18,7 @@
       <slot name="mainInfo"></slot>
     </el-row>
     <el-row>
-      qrcode,之后应该做组件
+      <!-- qrcode,之后应该做组件 -->
     </el-row>
     <el-row>
       <slot name="footer"></slot>

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

@@ -1,6 +1,6 @@
 <template>
   <div id="home">
-    <nut-navbar>
+    <!-- <nut-navbar>
       &nbsp;
       <template v-slot:left>
         关闭
@@ -9,7 +9,7 @@
       <template v-slot:more-icon>
         &nbsp;
       </template>
-    </nut-navbar>
+    </nut-navbar> -->
     <el-image style="width: 100%; height: 10rem" :src="url"></el-image>
     <el-row type="flex" align="middle" class="menu_list">
       <!-- drawerTalk = true" -->

+ 1 - 1
src/pages/jobfair/views/detail.vue

@@ -64,7 +64,7 @@
         <template v-slot:footer>
           <el-row class="jobfairFooter">
             <el-col :span="24">
-              <el-button type="primary" style="width:95%;" @click="getTicket()">领取门票</el-button>
+              <el-button type="primary" style="width:100%;" @click="getTicket()">领取门票</el-button>
             </el-col>
           </el-row>
         </template>

+ 3 - 3
src/pages/student/views/resume/main-exp.vue

@@ -169,7 +169,7 @@
                 <span>{{ info.content }}</span>
               </el-col>
             </el-col>
-            <el-col :span="24" class="zidingyi">
+            <!-- <el-col :span="24" class="zidingyi">
               <el-col :span="2" class="zidingyiLeft">
                 <el-col :span="24" class="zidingyiLeftSpan">
                   <span></span>
@@ -186,7 +186,7 @@
                   </el-tag>
                 </el-col>
               </el-col>
-            </el-col>
+            </el-col> -->
           </el-col>
         </el-col>
         <el-col :span="24" class="itemSpace">
@@ -628,7 +628,7 @@ export default {
     skillPro(data) {
       let arr = [];
       if (data) {
-        arr = data.split(',');
+        arr = data.split(';');
       }
       return arr;
     },

+ 1 - 1
src/pages/student/views/resume/self-intro.vue

@@ -13,7 +13,7 @@
     </el-row>
     <el-row class="jobInput" style="border-bottom: none;">
       <el-col :span="24" class="expItem">
-        <span style="padding-top: 1px;"> 专业技能 <span style="color:#F56C6C">(多个技能用号分隔) </span> </span>
+        <span style="padding-top: 1px;"> 专业技能 <span style="color:#F56C6C">(多个技能用号分隔) </span> </span>
       </el-col>
       <el-col :span="24" style="padding-top: 10px;">
         <el-input type="textarea" :autosize="{ minRows: 3, maxRows: 4 }" placeholder="请输入内容" v-model="form.skill"> </el-input>

+ 1 - 1
src/pages/talk/views/detail.vue

@@ -43,7 +43,7 @@
       <template v-slot:footer>
         <el-row class="jobfairFooter">
           <el-col :span="24">
-            <el-button type="primary" style="width:95%;" @click="getTicket()">领取门票</el-button>
+            <el-button type="primary" style="width:100%;" @click="getTicket()">领取门票</el-button>
           </el-col>
         </el-row>
       </template>

+ 1 - 1
vue.config.js

@@ -1,7 +1,7 @@
 const path = require('path');
 
 module.exports = {
-  publicPath: './',
+  publicPath: process.env.NODE_ENV === 'development' ? './' : process.env.VUE_APP_ROUTER,
   pages: {
     index: 'src/pages/index/main.js',
     jobfairList: 'src/pages/jobfairList/main.js',