lrf402788946 5 лет назад
Родитель
Сommit
9d27cbc2f7
1 измененных файлов с 4 добавлено и 4 удалено
  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>