wuhongyu %!s(int64=5) %!d(string=hai) anos
pai
achega
5f47740384
Modificáronse 3 ficheiros con 40 adicións e 28 borrados
  1. 12 1
      src/components/parts/chat.vue
  2. 3 2
      src/views/direct.vue
  3. 25 25
      src/views/service/index.vue

+ 12 - 1
src/components/parts/chat.vue

@@ -16,7 +16,7 @@
       </ul>
       </ul>
       <div class="input">
       <div class="input">
         <input v-model="text" />
         <input v-model="text" />
-        <button type="button" @click="send">发送</button>
+        <button type="button" @click="send" class="anniu">发送</button>
       </div>
       </div>
     </div>
     </div>
   </div>
   </div>
@@ -206,4 +206,15 @@ export default {
   margin: 0;
   margin: 0;
   padding: 0;
   padding: 0;
 }
 }
+
+.anniu {
+  float: left;
+  background: #ff8500;
+  color: #fff;
+  height: 34px;
+  width: 21%;
+  max-width: 109px;
+  margin: 20px 0 0 0;
+  border-radius: 5px;
+}
 </style>
 </style>

+ 3 - 2
src/views/direct.vue

@@ -418,7 +418,8 @@ export default {
 <style lang="less" scoped>
 <style lang="less" scoped>
 .w_1200 {
 .w_1200 {
   margin: 0 auto;
   margin: 0 auto;
-  width: 1200px;
+  width: 1200px
+  ;
 }
 }
 
 
 .livetop {
 .livetop {
@@ -720,7 +721,7 @@ p {
   float: left;
   float: left;
   width: 100%;
   width: 100%;
   border-bottom: 1px dashed #ff8500;
   border-bottom: 1px dashed #ff8500;
-  padding: 9px 0;
+     padding: 20px 0;
 }
 }
 
 
 .jiabin .jiabinlist ul li:last-child {
 .jiabin .jiabinlist ul li:last-child {

+ 25 - 25
src/views/service/index.vue

@@ -4,26 +4,28 @@
       <div class="w_1200">
       <div class="w_1200">
         <div class="servicemain">
         <div class="servicemain">
           <div class="serviceOne">
           <div class="serviceOne">
-            <div class="infoleft">
-              <div class="lefttop"><span class="title"> |</span> 政务公开</div>
-              <ul>
-                <li v-for="(item, index) in zhengwuList" :key="index">
-                  <a href="">
-                    <el-image :src="item.pic"></el-image>
-                  </a>
-                </li>
-              </ul>
-            </div>
-            <div class="inforight">
-              <div class="lefttop"><span class="title"> |</span> 常用服务</div>
-              <ul>
-                <li v-for="(item, index) in serviceList" :key="index">
-                  <a href="">
-                    <el-image :src="item.pic"></el-image>
-                  </a>
-                </li>
-              </ul>
-            </div>
+            <el-col :span="24">
+              <el-col :span="12" class="infoleft">
+                <el-col class="lefttop" :span="24"><span class="title"> |</span> 政务公开</el-col>
+                <ul>
+                  <li v-for="(item, index) in zhengwuList" :key="index">
+                    <a href="">
+                      <el-image :src="item.pic"></el-image>
+                    </a>
+                  </li>
+                </ul>
+              </el-col>
+              <el-col :span="12" class="inforight">
+                <div class="lefttop"><span class="title"> |</span> 常用服务</div>
+                <ul>
+                  <li v-for="(item, index) in serviceList" :key="index">
+                    <a href="">
+                      <el-image :src="item.pic"></el-image>
+                    </a>
+                  </li>
+                </ul>
+              </el-col>
+            </el-col>
             <div class="infocontext">
             <div class="infocontext">
               <div class="contexttop"><span class="title"> |</span> 公众参与</div>
               <div class="contexttop"><span class="title"> |</span> 公众参与</div>
               <ul>
               <ul>
@@ -137,7 +139,7 @@ export default {
 <style lang="less" scoped>
 <style lang="less" scoped>
 .w_1200 {
 .w_1200 {
   margin: 0 auto;
   margin: 0 auto;
-  width: 1200px;
+  width: 80%;
   min-height: 600px;
   min-height: 600px;
 }
 }
 .serviceOne {
 .serviceOne {
@@ -146,14 +148,12 @@ export default {
 .infoleft {
 .infoleft {
   height: 320px;
   height: 320px;
   box-shadow: 0 0 10px #2d64b3;
   box-shadow: 0 0 10px #2d64b3;
-  width: 590px;
-  float: left;
+  width:50%;
 }
 }
 .inforight {
 .inforight {
   height: 320px;
   height: 320px;
   box-shadow: 0 0 10px #2d64b3;
   box-shadow: 0 0 10px #2d64b3;
-  width: 590px;
-  float: left;
+  width:49%;
   margin: 0 0 0 15px;
   margin: 0 0 0 15px;
 }
 }
 .lefttop {
 .lefttop {