/* pages/home/customer/index.wxss */ /* 右侧定位 */ .list-bar{ display: flex; flex-direction: column; align-items: center; justify-content: flex-start; z-index: 19; position: absolute; right: 0; width: 60rpx; } .list-text{ font-size: 22rpx; } .list-alert{ position: absolute; z-index: 20; width: 160rpx; height: 160rpx; left: 50%; top: 50%; margin-left: -80rpx; margin-top: -80rpx; border-radius: 80rpx; text-align: center; line-height: 160rpx; font-size: 70rpx; color: #fff; background-color: rgba(0, 0, 0, 0.5); }