安瑾然
2023-03-03 74bf1bbdcc099280b53e900adf67670ed7e3dd8f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<wxs src="../wxs/utils.wxs" module="utils" />
<wxs src="./index.wxs" module="computed" />
 
<import src="./popup.wxml" />
 
<van-overlay
  wx:if="{{ overlay }}"
  show="{{ show }}"
  z-index="{{ zIndex }}"
  custom-style="{{ overlayStyle }}"
  duration="{{ duration }}"
  bind:click="onClickOverlay"
  lock-scroll="{{ lockScroll }}"
  root-portal="{{ rootPortal }}"
/>
 
<root-portal wx:if="{{ rootPortal }}">
  <include src="./popup.wxml" />
</root-portal>
 
 <include wx:else src="./popup.wxml" />