lrf402788946 hace 5 años
padre
commit
9d27cbc2f7
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      src/views/list/list.vue

+ 4 - 4
src/views/list/list.vue

@@ -11,13 +11,13 @@
           <native></native>
         </div>
       </el-col>
-      <el-col :span="24" :class="type ?'main__needLeft':'main'">
+      <el-col :span="24" :class="!type ?'main__needLeft':'main'">
         <div class="w_1200">
-          <el-col :span="6" class="mainLeft" v-if="type">
+          <el-col :span="6" class="mainLeft" v-if="!type">
             <mainLeft></mainLeft>
           </el-col>
-          <el-col :span="17" :class="type ? 'needLeft__right':'mainRight'">
-            <mainRight :mainRightList="mainRightList" :total="total" v-if="type"></mainRight>
+          <el-col :span="17" :class="!type ? 'needLeft__right':'mainRight'">
+            <mainRight :mainRightList="mainRightList" :total="total" v-if="!type"></mainRight>
             <noLeft v-else :mainRightList="mainRightList"></noLeft>
           </el-col>
         </div>