fixing bug
This commit is contained in:
@@ -236,6 +236,13 @@ export default {
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
/*坑:解决iphoneX等大屏手机底部小黑条挡住tab的解决方法:安全区域距离底部边界距离env() 跟 constant() 需要同时存在,而且顺序不能换。*/
|
||||
/* #ifdef H5 */
|
||||
body {
|
||||
padding-bottom: constant(safe-area-inset-bottom);/* 兼容 iOS < 11.2 */
|
||||
padding-bottom: env(safe-area-inset-bottom); /* 兼容 iOS >= 11.2 */
|
||||
}
|
||||
/* #endif */
|
||||
.merchant {
|
||||
// min-height: 100vh;
|
||||
background-color: #ECECEC;
|
||||
|
||||
Reference in New Issue
Block a user