浏览代码

静态页面

xcx 4 年前
父节点
当前提交
e7c2a4de38
共有 2 个文件被更改,包括 12 次插入8 次删除
  1. 3
    3
      src/components/common/MapSearch/index.vue
  2. 9
    5
      src/components/common/MapSearch/page.scss

+ 3
- 3
src/components/common/MapSearch/index.vue 查看文件

11
       <div id="BaiDuMap"></div>
11
       <div id="BaiDuMap"></div>
12
     </div>
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
     </div>
17
     </div>
18
   </div>
18
   </div>
19
 </template>
19
 </template>

+ 9
- 5
src/components/common/MapSearch/page.scss 查看文件

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