diff --git a/src/App.vue b/src/App.vue index 39ae6cc..e034b4c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -114,4 +114,27 @@ input[type="number"] { font-style: normal; font-display: swap; } + +.no-scrollbar { + scrollbar-width: none; + /* 隐藏滚动条 */ + + &::-webkit-scrollbar { + width: 0; + background-color: transparent; + } + + &::-webkit-scrollbar-thumb { + background-color: transparent; + } + + &::-webkit-scrollbar-track { + background-color: transparent; + } + + &::-webkit-scrollbar { + display: none; + /* 隐藏 Chrome 浏览器的滚动条 */ + } +} diff --git a/src/views/apartmentDetail.vue b/src/views/apartmentDetail.vue index 0529382..c12074c 100644 --- a/src/views/apartmentDetail.vue +++ b/src/views/apartmentDetail.vue @@ -21,15 +21,16 @@