zs пре 1 година
родитељ
комит
90388461b4
1 измењених фајлова са 35 додато и 35 уклоњено
  1. 35 35
      src/views/home/index.vue

+ 35 - 35
src/views/home/index.vue

@@ -13,6 +13,41 @@
           </div>
         </el-col>
         <div class="w_1200">
+          <el-col :span="24" class="one">
+            <el-col :span="24" class="one_1">
+              <el-col :span="12" class="left">汇聚各种行业政策法规</el-col>
+              <el-col :span="12" class="right" @click="selectMenu('news')">查看更多新闻</el-col>
+            </el-col>
+            <el-col :span="24" class="one_5">
+              <el-col :span="3" class="left">
+                <el-image class="image" :src="news" fit="fill" />
+              </el-col>
+              <el-col :span="21" class="right">
+                <el-col
+                  :span="12"
+                  class="list"
+                  v-for="(item, index) in newsList"
+                  :key="index"
+                  @click="toView(item, '3')"
+                >
+                  <el-col :span="4" class="left">
+                    <div class="year" v-if="item.time">{{ moment(item.time).format('YYYY') }}</div>
+                    <div class="date" v-if="item.time">{{ moment(item.time).format('MM-DD') }}</div>
+                  </el-col>
+                  <el-col :span="20" class="right">
+                    <el-col :span="24" class="name textOver">
+                      <el-tooltip effect="dark" :content="item.title" placement="top">
+                        {{ item.title || '暂无标题' }}
+                      </el-tooltip>
+                    </el-col>
+                    <el-col :span="24" class="content">
+                      <div v-html="item.content"></div>
+                    </el-col>
+                  </el-col>
+                </el-col>
+              </el-col>
+            </el-col>
+          </el-col>
           <el-col :span="24" class="one">
             <el-col :span="24" class="one_1">
               <el-col :span="12" class="left">汇聚科技创新的创新赛道</el-col>
@@ -178,41 +213,6 @@
               </el-col>
             </el-col>
           </el-col>
-          <el-col :span="24" class="one">
-            <el-col :span="24" class="one_1">
-              <el-col :span="12" class="left">汇聚各种行业政策法规</el-col>
-              <el-col :span="12" class="right" @click="selectMenu('news')">查看更多新闻</el-col>
-            </el-col>
-            <el-col :span="24" class="one_5">
-              <el-col :span="3" class="left">
-                <el-image class="image" :src="news" fit="fill" />
-              </el-col>
-              <el-col :span="21" class="right">
-                <el-col
-                  :span="12"
-                  class="list"
-                  v-for="(item, index) in newsList"
-                  :key="index"
-                  @click="toView(item, '3')"
-                >
-                  <el-col :span="4" class="left">
-                    <div class="year" v-if="item.time">{{ moment(item.time).format('YYYY') }}</div>
-                    <div class="date" v-if="item.time">{{ moment(item.time).format('MM-DD') }}</div>
-                  </el-col>
-                  <el-col :span="20" class="right">
-                    <el-col :span="24" class="name textOver">
-                      <el-tooltip effect="dark" :content="item.title" placement="top">
-                        {{ item.title || '暂无标题' }}
-                      </el-tooltip>
-                    </el-col>
-                    <el-col :span="24" class="content">
-                      <div v-html="item.content"></div>
-                    </el-col>
-                  </el-col>
-                </el-col>
-              </el-col>
-            </el-col>
-          </el-col>
         </div>
       </el-col>
     </el-row>