xing.li 3 anni fa
parent
commit
44a754206e

+ 1 - 1
public/index.html

@@ -5,7 +5,7 @@
   <meta charset="utf-8">
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
   <meta name="viewport" content="width=device-width,initial-scale=1.0">
-  <link rel="icon" href="<%= BASE_URL %>favico.png">
+  <link rel="icon" href="<%= BASE_URL %>favicon.png">
 
   <script
     src="//g.alicdn.com/fdilab/lib3rd/viewport-units-buggyfill/0.6.2/??viewport-units-buggyfill.hacks.min.js,viewport-units-buggyfill.min.js">

+ 6 - 2
src/App.vue

@@ -13,7 +13,10 @@
               <!-- 大屏幕下的样式  width>=1200px -->
               <div class="visible-lg">
                 <!--  菜单栏 -->
-                <div class="col-lg-12 nav-link">
+
+                <div class="col-lg-12 nav-link flex-row">
+                  <img src="./assets/image/img/logo.png" alt=""  class="navbar-brand logo">
+                  <div>
                   <router-link class="navbar-brand" to="/index" tag="a" >
                     <span>首</span>
                     <span>页</span>
@@ -46,11 +49,12 @@
                   <span class="navbar-brand" style="margin-right: 155px">
 
                    <a :href="'tel:400-878-124'">
-                     <img src="./assets/image/img/mobile.png" alt style="height: 34px;width: 34px"/>
+                     <img src="./assets/image/img/tel.png" alt style="height: 34px;width: 34px"/>
                    </a>
                     <span style="margin-left: 14px;width: 160px;text-align: center;color: #E84E47;font-size: 24px">400-878-124</span>
 
                   </span>
+                  </div>
                 </div>
 
               </div>

+ 1 - 0
src/assets/css/contact.scss

@@ -35,6 +35,7 @@
   height: 100px;
 }
 .msg-text{
+  margin-top: 32px;
   font-size: 20px;
   font-weight: 500;
   color: #000000;

+ 5 - 2
src/assets/css/index-banner.scss

@@ -23,10 +23,13 @@
     height: 100px;
     display: flex;
     flex-flow: row nowrap;
-    justify-content: flex-end;
+    //justify-content: flex-end;
     align-items: center;
   }
-
+  .logo{
+    width: 126px;
+    height: 73px!important;
+  }
   /* 分辨率大于1200的样式 */
   .nav-lg {
     background-color: #FFFFFF;

+ 6 - 0
src/main.js

@@ -11,6 +11,7 @@ import { Button, Card,Drawer,Cascader } from 'element-ui';
 import 'element-ui/lib/theme-chalk/index.css';
 import router from './router'
 
+
 Vue.use(Button);
 Vue.use(Card);
 Vue.use(Drawer);
@@ -41,6 +42,11 @@ router.beforeEach((to, from, next) => {
   next()
 })
 
+router.afterEach((to,from,next)=>{
+  window.scrollTo(0,0)
+
+})
+
 
 axios.defaults.baseURL='/website-api';
 new Vue({

+ 16 - 0
src/views/recruit.vue

@@ -156,6 +156,15 @@
           <div>联系电话: 021-67675666</div>
           <div>联系邮箱: gxm@pocc.co</div>
         </div>
+
+        <el-pagination
+            @size-change="handleSizeChange"
+            @current-change="handleCurrentChange"
+            :current-page.sync="currentPage3"
+            :page-size="100"
+            layout="prev, pager, next, jumper"
+            :total="1000">
+        </el-pagination>
       </div>
 
 
@@ -170,6 +179,7 @@ export default {
   data() {
     return {
       showInfo:false,
+      currentPage3:1
     }
   },
   created() {
@@ -186,6 +196,12 @@ export default {
     },
     goToList(){
       this.showInfo = false;
+    },
+    handleSizeChange(val) {
+      console.log(`每页 ${val} 条`);
+    },
+    handleCurrentChange(val) {
+      console.log(`当前页: ${val}`);
     }
   },
   destroyed() {