Skip to content

Commit e501bc6

Browse files
author
二一
authored
fix:修复action-sheet中大小超出的问题 (#692)
1 parent 967f120 commit e501bc6

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

dist/action-sheet/index.wxss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.l-action-sheet{background:#f7f7f7}.l-item-button{height:88rpx;line-height:88rpx;text-align:center;background:#fff;border-bottom:2rpx solid #f3f3f3;font-size:28rpx;color:#45526b;display:flex;align-items:center;justify-content:center;width:100%}.l-cancel{margin-top:12rpx}.l-cancel-x .l-item-button{padding-bottom:44rpx}.l-image-button>text{margin-left:20rpx}.list-hover{opacity:.8}
1+
.l-action-sheet{background:#f7f7f7}.l-item-button{height:88rpx;line-height:88rpx;text-align:center;background:#fff;border-bottom:2rpx solid #f3f3f3;font-size:28rpx;color:#45526b;display:flex;align-items:center;justify-content:center;width:100%;overflow:hidden}.l-cancel{margin-top:12rpx}.l-cancel-x .l-item-button{padding-bottom:44rpx}.l-image-button>text{margin-left:20rpx}.list-hover{opacity:.8}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.l-action-sheet{background:#f7f7f7}.l-item-button{height:88rpx;line-height:88rpx;text-align:center;background:#fff;border-bottom:2rpx solid #f3f3f3;font-size:28rpx;color:#45526b;display:flex;align-items:center;justify-content:center;width:100%}.l-cancel{margin-top:12rpx}.l-cancel-x .l-item-button{padding-bottom:44rpx}.l-image-button>text{margin-left:20rpx}.list-hover{opacity:.8}
1+
.l-action-sheet{background:#f7f7f7}.l-item-button{height:88rpx;line-height:88rpx;text-align:center;background:#fff;border-bottom:2rpx solid #f3f3f3;font-size:28rpx;color:#45526b;display:flex;align-items:center;justify-content:center;width:100%;overflow:hidden}.l-cancel{margin-top:12rpx}.l-cancel-x .l-item-button{padding-bottom:44rpx}.l-image-button>text{margin-left:20rpx}.list-hover{opacity:.8}

examples/pages/components/response/pages/action-sheet/index.js

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,20 @@ Page({
66
*/
77
data: {
88
show:false,
9-
shareList: [{
10-
name: '保存海报分享',
11-
image:'/images/response/picture.png',
12-
imageStyle:'width:40rpx;height:40rpx;',
13-
color:'#3683D6'
14-
},
9+
shareList: [
1510
{
1611
name: '转发给好友',
1712
icon: 'share',
13+
iconSize: '26',
1814
color:'#F4516C'
19-
}
15+
},
16+
{
17+
name: '保存海报分享',
18+
image: '/images/response/picture.png',
19+
20+
imageStyle: 'width:40rpx;height:40rpx;',
21+
color: '#3683D6'
22+
},
2023
],
2124

2225
itemList: [{

src/action-sheet/index.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
align-items: center;
1515
justify-content: center;
1616
width: 100%;
17+
overflow: hidden;
1718
}
1819

1920
.l-cancel {

0 commit comments

Comments
 (0)