You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
1.7 KiB
84 lines
1.7 KiB
/**app.wxss**/
|
|
/* 隐藏全局滚动条 - 全面覆盖 */
|
|
::-webkit-scrollbar,
|
|
*::-webkit-scrollbar {
|
|
display: none !important;
|
|
width: 0 !important;
|
|
height: 0 !important;
|
|
color: transparent !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
/* 隐藏所有可滚动元素的滚动条 */
|
|
page,
|
|
view,
|
|
scroll-view,
|
|
textarea,
|
|
picker-view,
|
|
::-webkit-scrollbar-track,
|
|
::-webkit-scrollbar-thumb,
|
|
::-webkit-scrollbar-button,
|
|
::-webkit-scrollbar-corner {
|
|
-webkit-overflow-scrolling: touch;
|
|
overflow-scrolling: touch;
|
|
scrollbar-width: none !important;
|
|
-ms-overflow-style: none !important;
|
|
-webkit-scrollbar: none !important;
|
|
}
|
|
|
|
/* 确保页面级滚动条隐藏 */
|
|
page {
|
|
overflow: auto !important;
|
|
scrollbar-width: none !important;
|
|
-ms-overflow-style: none !important;
|
|
}
|
|
|
|
/* 针对iOS设备的特殊处理 */
|
|
@media screen and (max-width: 768px) {
|
|
::-webkit-scrollbar {
|
|
display: none !important;
|
|
}
|
|
}
|
|
.container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
.btn {
|
|
width: 80%;
|
|
padding: 15rpx 0;
|
|
margin: 20rpx 0;
|
|
border-radius: 10rpx;
|
|
font-size: 32rpx;
|
|
}
|
|
|
|
.card {
|
|
width: 90%;
|
|
padding: 30rpx;
|
|
margin: 20rpx 0;
|
|
background-color: #fff;
|
|
border-radius: 10rpx;
|
|
box-shadow: 0 2rpx 10rpx rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.title {
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.input {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
padding: 20rpx;
|
|
margin: 15rpx 0;
|
|
border: 1px solid #eee;
|
|
border-radius: 5rpx;
|
|
font-size: 28rpx;
|
|
box-sizing: border-box;
|
|
}
|