xiaoe_mp_npm 1.0.10 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,20 +12,22 @@
12
12
  z-index="{{zIndex}}"
13
13
  catchtap="stopEvent"
14
14
  >
15
- <view class="popup-header" wx:if="{{ hasHeader }}" style="{{popupHeaderStyle}}">
16
- <slot name="header"></slot>
15
+ <view style="{{customBoxStyle}}">
16
+ <slot name="custom"></slot>
17
17
  </view>
18
18
  <view
19
- class="popup-cont"
20
- style="{{popPosition == 'right' ? '-webkit-overflow-scrolling:auto;overflow:auto;' : ''}} {{hasBottom ? 'height: calc(100% - 25.6vmin);' : '' }} {{contentStyle}}"
19
+ class="popup-header"
20
+ wx:if="{{ hasHeader }}"
21
+ style="{{popupHeaderStyle}}"
21
22
  >
23
+ <slot name="header"></slot>
24
+ </view>
25
+ <view class="popup-cont" style="{{popPosition == 'right' ? '-webkit-overflow-scrolling:auto;overflow:auto;' : ''}} {{hasBottom ? 'height: calc(100% - 25.6vmin);' : '' }} {{contentStyle}}">
22
26
  <slot name="content"></slot>
23
27
  </view>
24
28
  <view class="popup-bottom" wx:if="{{ hasBottom }}">
25
29
  <slot name="bottom"></slot>
26
30
  </view>
27
- <view style="{{customBoxStyle}}">
28
- <slot name="custom"></slot>
29
- </view>
30
31
  </van-popup>
31
32
  </view>
33
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xiaoe_mp_npm",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "",
5
5
  "main": "miniprogram_dist/index.js",
6
6
  "scripts": {
@@ -12,20 +12,22 @@
12
12
  z-index="{{zIndex}}"
13
13
  catchtap="stopEvent"
14
14
  >
15
- <view class="popup-header" wx:if="{{ hasHeader }}" style="{{popupHeaderStyle}}">
16
- <slot name="header"></slot>
15
+ <view style="{{customBoxStyle}}">
16
+ <slot name="custom"></slot>
17
17
  </view>
18
18
  <view
19
- class="popup-cont"
20
- style="{{popPosition == 'right' ? '-webkit-overflow-scrolling:auto;overflow:auto;' : ''}} {{hasBottom ? 'height: calc(100% - 25.6vmin);' : '' }} {{contentStyle}}"
19
+ class="popup-header"
20
+ wx:if="{{ hasHeader }}"
21
+ style="{{popupHeaderStyle}}"
21
22
  >
23
+ <slot name="header"></slot>
24
+ </view>
25
+ <view class="popup-cont" style="{{popPosition == 'right' ? '-webkit-overflow-scrolling:auto;overflow:auto;' : ''}} {{hasBottom ? 'height: calc(100% - 25.6vmin);' : '' }} {{contentStyle}}">
22
26
  <slot name="content"></slot>
23
27
  </view>
24
28
  <view class="popup-bottom" wx:if="{{ hasBottom }}">
25
29
  <slot name="bottom"></slot>
26
30
  </view>
27
- <view style="{{customBoxStyle}}">
28
- <slot name="custom"></slot>
29
- </view>
30
31
  </van-popup>
31
32
  </view>
33
+