弹窗
Showing
2 changed files
with
3 additions
and
8 deletions
... | @@ -110,9 +110,7 @@ export default { | ... | @@ -110,9 +110,7 @@ export default { |
110 | transform: translate(-50%, -50%); | 110 | transform: translate(-50%, -50%); |
111 | border-radius: 10px; | 111 | border-radius: 10px; |
112 | } | 112 | } |
113 | .ls-head{ | 113 | |
114 | position: relative; | ||
115 | } | ||
116 | .ls-mask-window b { | 114 | .ls-mask-window b { |
117 | padding-left: 5px; | 115 | padding-left: 5px; |
118 | } | 116 | } |
... | @@ -127,20 +125,16 @@ export default { | ... | @@ -127,20 +125,16 @@ export default { |
127 | } | 125 | } |
128 | .ls-mask-content { | 126 | .ls-mask-content { |
129 | padding: 20px; | 127 | padding: 20px; |
130 | text-align: center; | ||
131 | position: absolute; | ||
132 | width: 100%; | 128 | width: 100%; |
133 | overflow: scroll; | 129 | overflow: scroll; |
130 | max-height: 500px; | ||
134 | } | 131 | } |
135 | 132 | ||
136 | .ls-mask-footer { | 133 | .ls-mask-footer { |
137 | height: 65px; | 134 | height: 65px; |
138 | display: flex; | 135 | display: flex; |
139 | justify-content: center; | 136 | justify-content: center; |
140 | position: absolute; | ||
141 | width: 100%; | 137 | width: 100%; |
142 | bottom: 0px; | ||
143 | right: 0px; | ||
144 | box-shadow: 0px 0px 2px 0px; | 138 | box-shadow: 0px 0px 2px 0px; |
145 | border-radius: 0 0 10px 10px; | 139 | border-radius: 0 0 10px 10px; |
146 | } | 140 | } | ... | ... |
... | @@ -9,6 +9,7 @@ | ... | @@ -9,6 +9,7 @@ |
9 | height:"", //弹窗的高度 | 9 | height:"", //弹窗的高度 |
10 | editItem: 'ywbl/dbx/aa', // 子组件的路径 相当于你平时img取的路径 | 10 | editItem: 'ywbl/dbx/aa', // 子组件的路径 相当于你平时img取的路径 |
11 | formData:this.formData, //父组件传给子组件的参数 | 11 | formData:this.formData, //父组件传给子组件的参数 |
12 | btnShow:false,//按钮显隐 false隐藏 true显示 | ||
12 | confirmText:"" // 确认按钮的文字 | 13 | confirmText:"" // 确认按钮的文字 |
13 | cancelText:"" //取消按钮的文字 | 14 | cancelText:"" //取消按钮的文字 |
14 | cancel: function () {}, //取消事件的回调 | 15 | cancel: function () {}, //取消事件的回调 | ... | ... |
-
Please register or sign in to post a comment