app.wxss 1.12 KB
/**app.wxss**/
page {
    height: 100%;
    background: #D7E5FA;
    background-image: url(https://gallery.xwenliang.cn/miniprogram/2025-11-13-ea3e6a30ac.jpg);
    background-position: top center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.container-custom {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow-x: hidden;
    background-repeat: no-repeat;
}

.container-default {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container-default-box {
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 0 8px;
}

/* 全局安全区域样式类 */
.safe-area-top {
    padding-top: constant(safe-area-inset-top);
    padding-top: env(safe-area-inset-top);
}

.safe-area-bottom {
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
}

::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    color: transparent;
}