guhongwei 5 лет назад
Родитель
Сommit
baceb2cea3
3 измененных файлов с 8 добавлено и 7 удалено
  1. 2 2
      src/store.js
  2. 0 1
      src/views/home/index.vue
  3. 6 4
      src/views/login/login.vue

+ 2 - 2
src/store.js

@@ -89,8 +89,8 @@ export default new Vuex.Store({
       if (type === 'list') {
         let { corpid, skip, limit } = data;
         result = await this.$axios.$get(`${api.corpSchInfo}`, { corpid: corpid }, { skip: skip, limit: limit, status: '已审核' });
-        let newArr = result.data.filter(fil => `${fil.schid}` !== `999991`);
-        result.data = newArr;
+        // let newArr = result.data.filter(fil => `${fil.schid}` !== `999991`);
+        // result.data = newArr;
       }
 
       return result;

+ 0 - 1
src/views/home/index.vue

@@ -178,7 +178,6 @@ export default {
       result = await this.stucorpOperation({ type: 'list', data: { corpid: this.user.corpid } });
       if (`${result.errcode}` === '0') {
         //给this=>vue的实例下在中的list属性,赋予result.data的值
-        console.log(result);
         this.$set(this, `totalGuanzhu`, result.total);
       } else {
         this.$message.error(result.errmsg ? result.errmsg : 'error');

+ 6 - 4
src/views/login/login.vue

@@ -1,7 +1,7 @@
 <template>
   <div id="firm">
     <el-row>
-      <el-col :span="24" class="firm" :style="'background: url(' + loginBei + ')center center;'">
+      <el-col :span="24" class="firm" :style="'background: url(' + loginBei + ')no-repeat center center;'">
         <el-col :span="24" class="firmTop">
           <div class="w_1200">
             <img :src="pic" />
@@ -224,7 +224,7 @@ export default {
   width: 100%;
   height: 100vh;
   background: #5dac81;
-  overflow: hidden;
+  background-size: cover;
 }
 .firmTop {
   width: 100%;
@@ -260,9 +260,11 @@ export default {
   color: #fff9;
 }
 .firmRight {
-  float: right;
+  width: 400px;
   padding: 30px 20px;
-  margin: 5% 50px;
+  position: absolute;
+  top: 15%;
+  right: 15%;
   border-radius: 8px;
   background: #fff;
   opacity: 0.9;