/* pages/select-goods/index.wxss */ .container { position: relative; height: 100vh; width: 100%; background: #F5F6F7; display: flex; flex-direction: column; } .top-bar { position: absolute; top: 0; left: 0; right: 0; height: 376rpx; background: linear-gradient(180deg, #FDEC00 0%, #FAD400 100%); width: 100%; } .section-block { position: relative; z-index: 1; background: #FFFFFF; border-radius: 32rpx 32rpx 0rpx 0rpx; margin-top: 100rpx; flex: 1 auto; display: flex; flex-direction: column; } .select-good-section { display: flex; // align-items: center; margin-top: -100rpx; .select-good-img { width: 222rpx; height: 222rpx; padding-left: 10rpx; image { width: 100%; height: 100%; } } .good-info { position: relative; flex: 1; .img_back { position: absolute; bottom: 42rpx; right: 4rpx; padding: 20rpx; width: 32rpx; height: 20rpx; } } .good-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 400rpx; font-weight: 600; font-size: 32rpx; color: #000000; line-height: 44rpx; padding-top: 42rpx; } .good-price { display: flex; align-items: flex-end; // line-height: 70rpx; padding-top: 36rpx; .desc { font-size: 28rpx; color: #777; line-height: 40rpx; flex-shrink: 0; } .currentPrice { font-weight: bold; color: #FE4600; font-family: DINAlternate, DINAlternate; display: flex; align-items: flex-end; .stuff { font-size: 32rpx; padding: 0 4rpx; } .priceZ { font-size: 48rpx; line-height: 1; } .priceF { font-size: 32rpx; } } .line { margin: 0 12rpx 8rpx; background-color: #AAAAAA; width: 2rpx; height: 20rpx; } .discountPrice { padding-bottom: 2rpx; font-size: 24rpx; color: #AAAAAA; } } } // .goods-section { // display: flex; // flex-direction: column; // flex: 1 auto; .popup-container { width: 100%; background: #FFFFFF; box-sizing: border-box; width: 100%; flex: 1; overflow-y: auto; // max-height: 86vh; // .popup-scroll { // overflow-x: hidden; // overflow-y: scroll; // border-radius: 32rpx 32rpx 0rpx 0rpx; // flex: 1 auto; // } .top-vip-img { width: 100%; } .goodsInfo { padding: 0 24rpx 40rpx; } } .product-section { display: flex; padding-bottom: 60rpx; .product-img { width: 160rpx; height: 160rpx; flex-shrink: 0; margin-right: 32rpx; border-radius: 6px; overflow: hidden; image { width: 100%; height: 100%; } } .product-left { display: flex; align-items: flex-start; .currentPrice { font-weight: bold; color: #FE2451; font-family: DINAlternate, DINAlternate; .stuff { padding-right: 2rpx; font-size: 36rpx; } .priceZ { font-size: 60rpx; } .priceF { font-size: 36rpx; } } .originPrice { padding-left: 16rpx; font-size: 32rpx; color: #AAAAAA; line-height: 44rpx; text-decoration: line-through; padding-top: 32rpx; } } } .goodsInfo { flex-direction: column; align-items: flex-start; padding-bottom: 90rpx; .desc { font-weight: 600; font-size: 30rpx; color: #000000; line-height: 40rpx; display: flex; align-items: center; .iconBefore { width: 18rpx; height: 28rpx; margin-right: 8rpx; } text { padding-left: 8rpx; font-size: 28rpx; color: #AAAAAA; line-height: 40rpx; } } .tips { padding-top: 8rpx; padding-bottom: 24rpx; font-size: 24rpx; color: rgba(0, 0, 0, 0.5); line-height: 34rpx; } .goodsList { display: flex; align-items: center; flex-wrap: wrap; } .goodsItem { background: rgba(255, 255, 255, 0.7); border-radius: 12rpx; border: 4rpx solid rgba(255, 255, 255, 0.7); padding: 10rpx; margin-right: 16rpx; font-weight: 600; font-size: 24rpx; color: #131415; position: relative; margin-top: 24rpx; display: flex; align-items: center; &.selected { border: 4rpx solid #FE4600; } &.nosale { background: #F4F4F5; color: #B1B1B1; } .goodImg { flex-shrink: 1; width: 64rpx; height: 64rpx; margin-right: 10rpx; } .infos { .name { line-height: 28rpx; } .price { font-family: DINAlternate, DINAlternate; font-weight: bold; font-size: 24rpx; color: #FE4600; } } .nosale { position: absolute; top: -20rpx; right: -16rpx; width: 56rpx; height: 28rpx; display: block; z-index: 1; } } .instrument-item { padding: 12rpx 30rpx; display: flex; align-items: center; background: #F8F8F8; border-radius: 12rpx; border: 4rpx solid #f8f8f8; margin-bottom: 24rpx; &.selected { border: 4rpx solid #FE4600; } .checkbox { width: 32rpx; height: 32rpx; flex-shrink: 0; } .instrument-img { width: 104rpx; height: 104rpx; flex-shrink: 0; margin: 0 6rpx 0 26rpx; } .instrment-info { .prices { display: flex; align-items: flex-end; .currentPrice { font-weight: bold; color: #FE4600; font-family: DINAlternate, DINAlternate; display: flex; align-items: flex-end; .stuff { font-size: 32rpx; padding: 0 4rpx; } .priceZ { font-size: 48rpx; line-height: 1; } .priceF { font-size: 32rpx; } } .line { margin: 0 12rpx 8rpx; background-color: #AAAAAA; width: 2rpx; height: 20rpx; } .discountPrice { padding-bottom: 2rpx; font-size: 24rpx; color: #AAAAAA; } } } } } button { width: 100%; line-height: 88rpx; background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%); border-radius: 44rpx; font-weight: 500; font-size: 32rpx; color: #FFFFFF; padding-top: 0; padding-bottom: 0; } // }