@@ -62,7 +62,8 @@ under the License.
6262 <div class =" demo-content" >
6363 <image src =" https://img.alicdn.com/tfs/TB1ojYvOXXXXXaOXFXXXXXXXXXX-180-41.png"
6464 class =" demo-image" ></image >
65- <text >与 Web App、HTML5 App 或 hybrid App 不同,您可以使用 Weex 构建一个真正的原生应用。更贴心的是你的代码只需使用 HTML、CSS、JavaScript 可以构建原生应用,上手非常简单。</text >
65+ <text >与 Web App、HTML5 App 或 hybrid App 不同,您可以使用 Weex 构建一个真正的原生应用。更贴心的是你的代码只需使用 HTML、CSS、JavaScript
66+ 可以构建原生应用,上手非常简单。</text >
6667 </div >
6768 </wxc-popup >
6869
@@ -75,6 +76,7 @@ under the License.
7576 :show =" isRightShow"
7677 pos =" right"
7778 ref =" wxcPopup"
79+ :overlay-cfg =" {'can-auto-close': false}"
7880 @wxcPopupOverlayClicked =" popupOverlayRightClick" >
7981 <div @click =" onHideClick"
8082 class =" btn blue hide-auto" >
@@ -183,47 +185,47 @@ under the License.
183185 isRightShow: false ,
184186 isAutoShow: false ,
185187 isTrue: true ,
186- height: 400
188+ height: 400 ,
187189 }),
188- created () {
190+ created () {
189191 setTitle (' Popup' );
190192 },
191193 methods: {
192- openBottomPopup () {
194+ openBottomPopup () {
193195 this .isBottomShow = true ;
194196 },
195- openTopPopup () {
197+ openTopPopup () {
196198 this .isTopShow = true ;
197199 },
198- openLeftPopup () {
200+ openLeftPopup () {
199201 this .isLeftShow = true ;
200202 },
201- openRightPopup () {
203+ openRightPopup () {
202204 this .isRightShow = true ;
203205 },
204- popupOverlayTopClick () {
206+ popupOverlayTopClick () {
205207 this .isTopShow = false ;
206208 },
207- popupOverlayBottomClick () {
209+ popupOverlayBottomClick () {
208210 this .isBottomShow = false ;
209211 },
210- popupOverlayLeftClick () {
212+ popupOverlayLeftClick () {
211213 this .isLeftShow = false ;
212214 },
213- popupOverlayRightClick () {
215+ popupOverlayRightClick () {
214216 this .isRightShow = false ;
215217 },
216218
217- popupOverlayAutoClick () {
219+ popupOverlayAutoClick () {
218220 this .isAutoShow = false ;
219221 },
220222
221- openAutoPopup () {
223+ openAutoPopup () {
222224 const height = this .height ;
223225 this .height = height === 400 ? 800 : 400 ;
224226 this .isAutoShow = true ;
225227 },
226- onHideClick () {
228+ onHideClick () {
227229 this .$refs .wxcPopup .hide ();
228230 }
229231 }
0 commit comments