Commit 2261c0a4 by 胡锦波

1. up

parent 8a4e70dc
<template> <template>
<el-dialog :visible.sync="value" :modal="false" :width="dialogWidth"> <div v-if="value" class="address-selector-dialog">
<div class="address-selector-container"> <div class="address-selector-container">
<div class="header"> <div class="header">
<div class="title">设置地址</div> <div class="title">设置地址</div>
...@@ -91,7 +91,8 @@ ...@@ -91,7 +91,8 @@
</el-button> </el-button>
</div> </div>
</div> </div>
</el-dialog> <div class="mask"></div>
</div>
</template> </template>
<script lang="ts"> <script lang="ts">
...@@ -228,16 +229,36 @@ ...@@ -228,16 +229,36 @@
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.address-selector-dialog {
position: fixed;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
left: 0px;
right: 0px;
z-index: 1111;
.mask {
position: absolute;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.3);
}
.address-selector-container { .address-selector-container {
position: absolute;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
width: 492px; width: 492px;
background: #ffffff; background: #ffffff;
// box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2); box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
border-radius: 6px; border-radius: 6px;
z-index: 1; z-index: 1;
// padding-top: 38px; padding-top: 38px;
// padding-left: 30px; padding-left: 30px;
// padding-right: 30px; padding-right: 30px;
// padding-bottom: 30px; padding-bottom: 30px;
// height: 580px; // height: 580px;
.header { .header {
...@@ -296,4 +317,5 @@ ...@@ -296,4 +317,5 @@
} }
} }
} }
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment