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,71 +229,92 @@ ...@@ -228,71 +229,92 @@
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.address-selector-container { .address-selector-dialog {
width: 492px; position: fixed;
background: #ffffff; width: 100%;
// box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2); height: 100%;
border-radius: 6px; top: 0px;
z-index: 1; left: 0px;
// padding-top: 38px; left: 0px;
// padding-left: 30px; right: 0px;
// padding-right: 30px; z-index: 1111;
// padding-bottom: 30px;
// height: 580px;
.header { .mask {
margin-bottom: 25px; position: absolute;
border-bottom: 1px solid #f1f1f1; width: 100%;
padding-bottom: 10px; height: 100%;
background-color: rgba(0, 0, 0, 0.3);
}
.address-selector-container {
position: absolute;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
width: 492px;
background: #ffffff;
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
border-radius: 6px;
z-index: 1;
padding-top: 38px;
padding-left: 30px;
padding-right: 30px;
padding-bottom: 30px;
// height: 580px;
font-size: 18px; .header {
color: #333333; margin-bottom: 25px;
line-height: 25px; border-bottom: 1px solid #f1f1f1;
padding-bottom: 10px;
i {
position: absolute;
font-size: 18px; font-size: 18px;
top: 20px; color: #333333;
right: 20px; line-height: 25px;
color: rgba(153, 153, 153, 1);
cursor: pointer; i {
position: absolute;
font-size: 18px;
top: 20px;
right: 20px;
color: rgba(153, 153, 153, 1);
cursor: pointer;
}
} }
}
.form-item { .form-item {
margin-bottom: 25px; margin-bottom: 25px;
.item-label { .item-label {
font-size: 14px; font-size: 14px;
color: #333333; color: #333333;
line-height: 20px; line-height: 20px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.item-value { .item-value {
/deep/ input { /deep/ input {
height: 38px; height: 38px;
}
} }
} }
}
.default-box { .default-box {
cursor: pointer; cursor: pointer;
.default-tip { .default-tip {
margin-left: 8px; margin-left: 8px;
user-select: none; user-select: none;
position: relative; position: relative;
top: -1px; top: -1px;
}
} }
}
.footer { .footer {
margin-top: 48px; margin-top: 48px;
/deep/ button { /deep/ button {
min-width: 96px; min-width: 96px;
font-size: 14px; font-size: 14px;
}
} }
} }
} }
......
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