File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 content : ' ' ;
2828 background-color : @active-color ;
2929 border-color : @active-color ;
30+ }
31+
32+ // 解决全屏幕机型底部适配问题
33+ .safe-area-inset-bottom () {
34+ padding-bottom : constant(safe- area- inset- bottom) !important ; /* 兼容 iOS < 11.2 */
35+ padding-bottom : env(safe- area- inset- bottom) !important ; /* 兼容 iOS >= 11.2 */
3036}
Original file line number Diff line number Diff line change 2323 </mounth>
2424 </scroll-view>
2525 <view>
26- <l-button type="default" size="long" bind:lintap="onClickConfirm" bg-color="{{ color }}">{{confirmText}}</l-button>
26+ <l-button type="default" l-class="bottom-button" size="long" bind:lintap="onClickConfirm" bg-color="{{ color }}">{{confirmText}}</l-button>
2727 </view>
2828 </view>
2929</template>
Original file line number Diff line number Diff line change 1+ @import " ../../config/styles/_theme.less" ;
2+ @import " ../../config/styles/_mixins.less" ;
3+
14.calendar-container {
25 display : flex ;
36 height : 1000 rpx;
2225// color: #555;
2326// border-top-left-radius: 12rpx;
2427// border-top-right-radius: 12rpx;
25- // }
28+ // }
29+
30+ .bottom-button {
31+ padding : 0 !important ;
32+ .safe-area-inset-bottom ();
33+ box-sizing : content-box !important ;
34+ }
You can’t perform that action at this time.
0 commit comments