/**app.wxss**/ page, .container { width: 100%; height: 100%; position: relative; overflow: hidden; background: #f8f8f8; } .SubContainer{ width: 100%; position: relative; overflow: hidden; } .flex-h { display: flex; display: -webkit-flex; flex-direction: row; } .flex-v { display: flex; display: -webkit-flex; flex-direction: column; } .flex-item { flex: 1; } .centerLabel { display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); } .cover{ width: 100%; height: 100%; object-fit: cover; } .contain{ width: 100%; height: 100%; object-fit: contain; } .MainPage{ width: 100%; height: 100%; position: relative; overflow-y: scroll; -webkit-overflow-scrolling: touch; transform: translateZ(0); -webkit-transform: translateZ(0); } view::-webkit-scrollbar{ color: transparent; font-size: 0; display: none; opacity: 0; } .isNull { width: 100%; text-align: center; overflow: hidden; } .isNull text { display: inline-block; font-size: 24rpx; color: #666; line-height: 40rpx; }