lzq пре 6 година
родитељ
комит
b0226b0219
2 измењених фајлова са 24 додато и 19 уклоњено
  1. 9 4
      src/components/ApplyForm.vue
  2. 15 15
      src/components/Contact.vue

+ 9 - 4
src/components/ApplyForm.vue

@@ -38,7 +38,7 @@
                         v-model="textarea">
               </el-input>
             </el-form-item>
-            <el-form-item label="所在地:" class="group-two">
+            <el-form-item label="所在地:" class="group-two contr">
               <el-select v-model="areaValue" clearable placeholder="所属国家" class="area-select" @change="disabled()">
                 <el-option
                   v-for="item in areas"
@@ -321,11 +321,11 @@ export default {
 }
 </script>
 
-<style scoped>
+<style>
   .apply-box {
+    &{
     background-color: #fff;
   }
-
   h2 {
     line-height: 80px;
     font-size: 24px;
@@ -417,7 +417,11 @@ export default {
     border-top-left-radius: 0;
     border-bottom-left-radius: 0;
   }
-
+  }
+  .contr{
+  .el-form-item__content{
+    display: flex;
+  }
   }
   .area-select {
     /*width: 165px;*/
@@ -444,4 +448,5 @@ export default {
     color: #3884d3;
     font-size: 14px;
   }
+  }
 </style>

+ 15 - 15
src/components/Contact.vue

@@ -24,22 +24,22 @@
 </template>
 
 <script>
-    export default {
-        name: "Contact",
-      data(){
-          return{
-            show:false
-          }
-      },
-      methods:{
-          overShow:function(){
-            this.show = true;
-          },
-        outHide:function(){
-            this.show = false
-        }
-      }
+export default {
+  name: 'Contact',
+  data () {
+    return {
+      show: false
     }
+  },
+  methods: {
+    overShow: function () {
+      this.show = true
+    },
+    outHide: function () {
+      this.show = false
+    }
+  }
+}
 </script>
 
 <style scoped>