提交 600a805a 编写于 作者: guangjun.yang's avatar guangjun.yang

弹层的层级调整

上级 6ea483a9
...@@ -132,13 +132,13 @@ export default { ...@@ -132,13 +132,13 @@ export default {
background: #fff; background: #fff;
color: #333; color: #333;
position: relative; position: relative;
z-index: 100000000; z-index: 1000000010;
.nav-back { .nav-back {
display: inline-block; display: inline-block;
position: absolute; position: absolute;
left: 0px; left: 0px;
top: 0; top: 0;
z-index: 2010; z-index: 1000000011;
height: 25px; height: 25px;
width: 55px; width: 55px;
padding-left: 15px; padding-left: 15px;
...@@ -171,7 +171,7 @@ export default { ...@@ -171,7 +171,7 @@ export default {
position: relative; position: relative;
top: 10px; top: 10px;
left: 0; left: 0;
z-index: 2010; z-index: 1000000011;
display: inline-block; display: inline-block;
width: 100%; width: 100%;
height: 36px; height: 36px;
...@@ -195,7 +195,7 @@ export default { ...@@ -195,7 +195,7 @@ export default {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
z-index: 2010; z-index: 1000000011;
border-bottom: 0px solid #e7e7e7; border-bottom: 0px solid #e7e7e7;
background: #fff; background: #fff;
} }
......
<!-- 选择地区组件 --> <!-- 选择地区组件 -->
<template> <template>
<div class="select-wrapper"> <div class="select-wrapper" @touchmove.prevent.stop>
<div class="mask" @click="cancelSelect" @touchmove.prevent> <div class="mask" @click="cancelSelect" @touchmove.prevent.stop>
<div class="address-wrap" @click.stop> <div class="address-wrap" @click.stop @touchmove.prevent.stop>
<div class="tip-header"> <div class="tip-header">
<span class="cancel-btn" @click="cancelSelect">取消</span> <span class="cancel-btn" @click="cancelSelect">取消</span>
<h3>选择地区</h3> <h3>选择地区</h3>
...@@ -441,7 +441,7 @@ export default { ...@@ -441,7 +441,7 @@ export default {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
.mask { .mask {
position: fixed; position: fixed;
z-index: 1000000005; z-index: 1000000015;
top: 0; top: 0;
right: 0; right: 0;
left: 0; left: 0;
...@@ -458,7 +458,7 @@ export default { ...@@ -458,7 +458,7 @@ export default {
bottom: 0; bottom: 0;
left: 0; left: 0;
right: 0; right: 0;
z-index: 1000000006; z-index: 1000000016;
.tip-header { .tip-header {
position: relative; position: relative;
height: 58px; height: 58px;
......
<!-- 选择机构组件 --> <!-- 选择机构组件 -->
<template> <template>
<div class="select-wrapper"> <div class="select-wrapper" @touchmove.prevent.stop>
<div class="mask" @click="cancel" @touchmove.prevent> <div class="mask" @click="cancel" @touchmove.prevent.stop>
<div class="address-wrap" @click.stop> <div class="address-wrap" @click.stop @touchmove.prevent.stop>
<div class="tip-header"> <div class="tip-header">
<span class="cancel-btn" @click="cancel">取消</span> <span class="cancel-btn" @click="cancel">取消</span>
<h3>选择机构</h3> <h3>选择机构</h3>
......
<template> <template>
<section class="container"> <section ref="pageContainerRef" :class="{'height-100': isHeight100}" class="container" >
<CommonHeader :title="projectInfo.projectName | shortName"></CommonHeader> <CommonHeader :title="projectInfo.projectName | shortName"></CommonHeader>
<CommonAreaSelect <CommonAreaSelect
v-show="!isScroll" v-show="!isScroll"
...@@ -195,6 +195,7 @@ export default { ...@@ -195,6 +195,7 @@ export default {
}, },
data() { data() {
return { return {
isHeight100: true,
isScroll: false, isScroll: false,
isShowArea: false, isShowArea: false,
isShowOrg: false, isShowOrg: false,
...@@ -717,6 +718,9 @@ export default { ...@@ -717,6 +718,9 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.height-100 {
height: 375px;
}
.container { .container {
margin: 0 auto; margin: 0 auto;
font-size: 17px; font-size: 17px;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册