.container { display: flex; flex-direction: column; /* min-height: 100vh; */ background-color: #ffffff; } .searchBox { display: flex; align-items: center; /* position: absolute; */ left: 0; z-index: 2; } .searchBox_add { margin: 10rpx 20rpx; display: flex; align-items: center; } .top-image{ width: 50rpx; height: 50rpx; } .emptyCommunity { font-size: 28rpx; color: #222222; width: auto; height: 44rpx; padding: 5rpx 15rpx; border-radius: 100rpx 100rpx 100rpx 100rpx; display: flex; align-items: center; justify-content: center; } /* 背景图片区域 */ .bg-image-container { position: relative; width: 100%; height: 500rpx; overflow: hidden; } .bg-image { width: 100%; height: 100%; } .search-box { position: absolute; bottom: 50rpx; left: 50%; transform: translateX(-50%); width: 80%; height: 70rpx; background-color: rgba(255, 255, 255, 0.9); border-radius: 10rpx; display: flex; align-items: center; justify-content: center; } .search-placeholder { font-size: 26rpx; color: #999999; } /* 工单台区域 */ .work-order-section { display: grid; grid-template-columns: repeat(3, 1fr); /* 创建3列等宽的网格 */ } .work-order-card { width: 246rpx; height: 200rpx; background-color: #ffffff; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1rpx solid #f7f7f7; } .work-order-icon { width: 100rpx; height: 100rpx; display: flex; align-items: center; justify-content: center; margin-bottom: 10rpx; } .work-order-icon .iconfont { color: #ffffff; margin: 0; } .work-order-text { font-size: 26rpx; color: #333333; font-weight: bold; } /* 适配不同屏幕尺寸 */ @media screen and (min-width: 768px) { .container { max-width: 768px; margin: 0 auto; } } .walletBox { flex: 1; background: linear-gradient(to right, #fbf1db, #f4d7b3); border-radius: 25rpx; padding: 30rpx; margin: 20rpx; } .walletBox_top { font-size: 32rpx; color: #222222; font-weight: 600; padding-bottom: 20rpx; position: relative; } .walletBox_content{ display: flex; justify-content: space-between; } .walletBox_item{ /* margin: 20rpx 30rpx; */ width: 25%; display: block; text-align: center; font-size: 35rpx; } .walletBox_item_text{ color: #8d5017; text-align: center; font-size: 28rpx; margin-top: 10rpx; }