File tree 2 files changed +12
-12
lines changed
tools/demo/example/half-screen-dialog
2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 20
20
.weui-half-screen-dialog {
21
21
transform : translateY (0% );
22
22
}
23
- }
23
+ }
24
+
25
+ .weui-half-screen-dialog__ft {
26
+ display : flex ;
27
+ }
Original file line number Diff line number Diff line change 12
12
<mp-halfScreenDialog show="{{typeF}}">
13
13
<view slot="title">测试标题A</view>
14
14
<view slot="desc">这是自定义描述区</view>
15
- <view slot="footer">
16
- <button type="default" class="weui-btn">按钮A</button>
17
- <button type="primary" class="weui-btn">按钮B</button>
18
- </view>
15
+ <button slot="footer" type="default" class="weui-btn">按钮A</button>
16
+ <button slot="footer" type="primary" class="weui-btn">按钮B</button>
19
17
</mp-halfScreenDialog>
20
18
<mp-halfScreenDialog show="{{typeT}}" closabled="{{false}}">
21
19
<view slot="title">测试标题A</view>
22
20
<view slot="desc">这是自定义描述区</view>
23
- <view slot="footer">
24
- <button type="default" class="weui-btn">按钮A</button>
25
- <button type="primary" class="weui-btn">按钮B</button>
26
- </view>
21
+ <button slot="footer" type="default" class="weui-btn">按钮A</button>
22
+ <button slot="footer" type="primary" class="weui-btn">按钮B</button>
27
23
</mp-halfScreenDialog>
28
- <mp-halfScreenDialog
24
+ <mp-halfScreenDialog
29
25
bindbuttontap="buttontap"
30
26
show="{{typeS}}"
31
- maskClosable="{{false}}"
32
- title="测试标题B"
27
+ maskClosable="{{false}}"
28
+ title="测试标题B"
33
29
subTitle="测试标题B的副标题"
34
30
desc="辅助描述内容,可根据实际需要安排"
35
31
tips="辅助提示内容,可根据实际需要安排"
You can’t perform that action at this time.
0 commit comments