/* parents/pages/home/home.wxss */ @import '../../../templates/footer/footer.wxss'; @import '../../../templates/loading/loading.wxss'; .bg { position: absolute; top: 0; left: 0; width: 100%; height: 348rpx; } .list { position: absolute; top: 0; left: 0; width: 100%; padding: 0 0 98rpx 0; } .li-header { padding: 20rpx 30rpx; display: flex; justify-content: space-between; align-items: center; margin-bottom: 190rpx; } .li-header-search { flex: 1; padding: 12rpx 20rpx 14rpx 20rpx; background:rgba(255,255,255,1); border-radius: 100rpx; text-align: center; margin: 0 20rpx; cursor: pointer; } .li-header-search-icon { width: 28rpx; height: 28rpx; margin-right: 14rpx; vertical-align: middle; } .li-header-search-text { font-size: 28rpx; color: #999; vertical-align: middle; } .li-header-address { width: 58rpx; height: 58rpx; background: rgba(0,0,0,.4); border-radius: 100rpx; cursor: pointer; display: flex; justify-content: center; align-items: center; } .li-header-address-icon { width: 30rpx; height: 34rpx; } .li-header-scan { width: 58rpx; height: 58rpx; background: rgba(0,0,0,.4); border-radius: 100rpx; cursor: pointer; display: flex; justify-content: center; align-items: center; } .li-header-scan-icon { width: 30rpx; height: 30rpx; } .li { margin: 20rpx; padding: 30rpx; background: rgba(255,255,255,1); border-radius: 18rpx; } .li-items { display: flex; justify-content: space-around; align-items: center; } .li-item { flex: 1; text-align: center; cursor: pointer; } .li-item-icon { width: 60rpx; height: 60rpx; } .li-item-text { font-size: 28rpx; color: #999; margin-top: 16rpx; } .li-label { margin: 0 auto 20rpx auto; font-size: 28rpx; color: #666; } .li-scroll { margin: 30rpx auto 10rpx auto; } .li-scroll-small { margin: 50rpx auto 10rpx auto; } .li-scroll-items, .li-scroll-items-small { display: flex; justify-content: flex-start; align-items: center; padding: 1rpx; } .li-scroll-item { margin-right: 28rpx; text-align: center; } .li-scroll-item-small { margin-right: 30rpx; text-align: center; } .li-scroll-item-image { width: 198rpx; height: 232rpx; box-shadow: 0rpx 0rpx 8rpx 0rpx rgba(204,204,204,1); border-radius: 6rpx; } .li-scroll-item-image-small { width: 140rpx; height: 162rpx; box-shadow: 0rpx 0rpx 8rpx 0rpx rgba(204,204,204,1); border-radius: 6rpx; } .li-scroll-item-text { max-width: 198rpx; font-size: 32rpx; color: #666; margin-top: 20rpx; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .li-scroll-item-text-small { max-width: 140rpx; font-size: 28rpx; color: #666; margin-top: 20rpx; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .li-scroll-item-text-red { font-size: 32rpx; color: #FF542B; margin-top: 10rpx; max-width: 198rpx; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .li-scroll-item-icon { width: 22rpx; height: 28rpx; margin-right: 10rpx; vertical-align: middle; } .li-scroll-item-text-red text { vertical-align: middle; } .li-footer { margin: 30rpx auto; text-align: center; } .li-footer-view { display: inline-block; background: rgba(255,128,168,1); border-radius: 100rpx; opacity: 0.8; padding: 14rpx 30rpx; cursor: pointer; } .li-footer-icon { width: 30rpx; height: 30rpx; margin-right: 14rpx; vertical-align: middle; } .li-footer-text { font-size: 28rpx; color: #fff; vertical-align: middle; } .book-box { margin-top: 30rpx; }