Skip to content

Commit 8c62daa

Browse files
dpp0507007insummer
authored andcommitted
fix: 增加loading组件非全屏模式下的外部样式l-container-class(#640) (#642)
1 parent 1f49563 commit 8c62daa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/loading/index.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</block>
3636
</view>
3737
</view>
38-
<view wx:if="{{!fullScreen}}" style="position: relative">
38+
<view wx:if="{{!fullScreen}}" class="l-container-class" style="position: relative">
3939
<slot name="content"/>
4040
<view wx:if="{{show}}" class="inner-loading-container" style="background:{{bgColor}};opacity:{{opacity}};z-index:{{zIndex}}"></view>
4141
<view wx:if="{{show}}" class="l-class loading-icon-container" style="z-index:{{zIndex + 1}}">

examples/dist/loading/index.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</block>
3636
</view>
3737
</view>
38-
<view wx:if="{{!fullScreen}}" style="position: relative">
38+
<view wx:if="{{!fullScreen}}" class="l-container-class" style="position: relative">
3939
<slot name="content"/>
4040
<view wx:if="{{show}}" class="inner-loading-container" style="background:{{bgColor}};opacity:{{opacity}};z-index:{{zIndex}}"></view>
4141
<view wx:if="{{show}}" class="l-class loading-icon-container" style="z-index:{{zIndex + 1}}">

src/loading/index.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</block>
3636
</view>
3737
</view>
38-
<view wx:if="{{!fullScreen}}" style="position: relative">
38+
<view wx:if="{{!fullScreen}}" class="l-container-class" style="position: relative">
3939
<slot name="content"/>
4040
<view wx:if="{{show}}" class="inner-loading-container" style="background:{{bgColor}};opacity:{{opacity}};z-index:{{zIndex}}"></view>
4141
<view wx:if="{{show}}" class="l-class loading-icon-container" style="z-index:{{zIndex + 1}}">

0 commit comments

Comments
 (0)