Ver código fonte

静态页面

xcx 4 anos atrás
pai
commit
e7c2a4de38

+ 3
- 3
src/components/common/MapSearch/index.vue Ver arquivo

@@ -11,9 +11,9 @@
11 11
       <div id="BaiDuMap"></div>
12 12
     </div>
13 13
 
14
-    <div class="Bottom flex-h">
15
-      <a class="flex-item" @click="$emit('Close')">取消</a>
16
-      <a class="flex-item" @click="SureAddress">确定</a>
14
+    <div class="Bottom">
15
+      <a @click="SureAddress">确定</a>
16
+      <a @click="$emit('Close')">取消</a>
17 17
     </div>
18 18
   </div>
19 19
 </template>

+ 9
- 5
src/components/common/MapSearch/page.scss Ver arquivo

@@ -49,19 +49,23 @@
49 49
     }
50 50
   }
51 51
   > .Bottom {
52
-    width: 100%;
52
+    width: 0.6rem;
53 53
     position: absolute;
54
-    left: 0;
55
-    bottom: 0;
54
+    right: 0;
55
+    bottom: 1rem;
56 56
     z-index: 2;
57
+    opacity: 0.7;
57 58
     > a {
58 59
       text-align: center;
59 60
       font-size: 0.14rem;
60
-      line-height: 0.4rem;
61
+      line-height: 0.6rem;
61 62
       background: #ccc;
62 63
       color: #fff;
63
-      &:last-child {
64
+      display: block;
65
+      border-radius: 0 0 0 0.08rem;
66
+      &:first-child {
64 67
         background: #ff5200;
68
+        border-radius: 0.08rem 0 0 0;
65 69
       }
66 70
     }
67 71
   }