/* component/select-district/select-district.wxss */ .cover { height: 100%; width: 100%; background: #fff; padding-bottom: 120rpx; box-sizing: border-box; } .district { height: 100%; width: 100%; position: relative; display: flex; flex-direction: column; } .district-title { font-size: 38rpx; color: #31364c; padding: 15rpx 30rpx; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; border-bottom: 1rpx solid #eaebee; } .district-title-img { width: 35rpx; height: 35rpx; } .district-content { width: 100%; display: flex; } .province, .city, .area { flex: 1; height: calc(100vh - 220rpx); display: flex; flex-direction: column; overflow-y: scroll; } .province-item { width: 250rpx; height: 88rpx; /* padding: 30rpx 0; */ flex-shrink: 0; font-size: 28rpx; color: #31364c; background: #f8f8f8; display: flex; align-items: center; justify-content: center; } .province-action { background: #fff; color: #31364c; } .city { border-right: 1rpx solid #eaebee; } .city-item, .area-item { width: 250rpx; height: 88rpx; /* padding: 0 5rpx; */ flex-shrink: 0; font-size: 28rpx; color: #888a8e; display: flex; align-items: center; justify-content: center; } .city-action, .area-action { color: #31364c; } .btn { width: 750rpx; height: 128rpx; background: #fff; position: absolute; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; } .button { width: 690rpx; height: 88rpx; font-size: 34rpx; color: #fff; text-align: center; line-height: 88rpx; background: linear-gradient(135deg, rgba(85, 104, 240, 1) 0%, rgba(130, 59, 255, 1) 100%); border-radius: 10rpx; } .safe-area { padding-bottom: constant(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom); }