/* pages/select-goods/index.wxss */ .weui-navigation-bar { position: relative; z-index: 1; } .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: -120rpx; padding-top: 120rpx; flex: 1 auto; display: flex; flex-direction: column; overflow-y: auto; } .select-good-section { display: flex; // align-items: center; // margin-top: -100rpx; position: relative; z-index: 200; .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; line-height: 1.3; } .priceZ { font-size: 48rpx; line-height: 1; } .priceF { font-size: 32rpx; line-height: 1.2; } } .line { margin: 0 12rpx 8rpx; background-color: #AAAAAA; width: 2rpx; height: 20rpx; } .discountPrice { padding-bottom: 2rpx; font-size: 24rpx; color: #AAAAAA; line-height: 1.3; } } } // .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: #F8F8F8; border-radius: 12rpx; border: 4rpx solid #F8F8F8; 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; background: #fff; } &.nosale { background: rgba(248, 248, 248, 0.6); border-color: rgba(248, 248, 248, 0.6); color: rgba(19, 20, 21, 0.6); .infos { .price { color: rgba(254, 70, 0, 0.6) } } } .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; margin-left: -4rpx; } } .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; &:last-child { margin-bottom: 0; } &.selected { border: 4rpx solid #FE4600; } .checkbox { width: 32rpx; height: 32rpx; flex-shrink: 0; } .instrument-img { width: 104rpx; height: 104rpx; flex-shrink: 0; margin: 0 26rpx 0 26rpx; } .instrment-info { .name { font-weight: bold; font-size: 28rpx; color: #000; } .prices { display: flex; align-items: flex-end; padding-top: 4rpx; .currentPrice { font-weight: bold; color: #FE4600; font-family: DINAlternate, DINAlternate; display: flex; align-items: flex-end; .stuff { font-size: 28rpx; padding: 0 4rpx; line-height: 1.3; } .priceZ { font-size: 44rpx; line-height: 1; } .priceF { font-size: 28rpx; line-height: 1.3; } } .line { margin: 0 12rpx 8rpx; background-color: #AAAAAA; width: 2rpx; height: 20rpx; } .discountPrice { font-size: 24rpx; color: #AAAAAA; text { padding-right: 4rpx; font-weight: 400 !important; } // .showP { // font-weight: 600 !important; // padding-left: 4rpx; // } } } } } } .btnGroup { button { width: 100%; font-weight: 600; color: #FFFFFF; padding-top: 22rpx; padding-bottom: 22rpx; // line-height: 94rpx; flex: 1; background: linear-gradient(90deg, #544F4A 0%, #302F2B 100%); box-shadow: 0rpx 14rpx 14rpx 0rpx rgba(0, 0, 0, 0.18); border-radius: 36rpx !important; border: 8rpx solid #FFFFFF; font-size: 36rpx; box-sizing: border-box; } button[disabled] { opacity: 0.7; } .btn-prices { font-size: 32rpx; color: #FEFFCA; display: flex; align-items: flex-end; justify-content: center; line-height: 50rpx; .text { line-height: 1.3; } .stuff { font-size: 32rpx; padding-left: 8rpx; padding-right: 6rpx; line-height: 1.2; } .priceZ { font-size: 48rpx; line-height: 1; } .priceF { font-size: 32rpx; line-height: 1.3; } } } .popupBottom { box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(0, 0, 0, 0.25); padding: 24rpx 24rpx 50rpx; position: relative; top: 1; } .select-buyer { display: flex; justify-content: space-between; .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; } } .btn-add { display: inline-block; padding: 4rpx 28rpx; background: linear-gradient(270deg, #FF9501 0%, #FE4600 100%); border-radius: 26rpx; font-weight: 600; font-size: 24rpx; color: #FFFFFF; line-height: 36rpx; } &.selected { flex-direction: column; .users { position: relative; margin-top: 24rpx; display: flex; align-items: center; background: #F8F8F8; border-radius: 12rpx; border: 4rpx solid #FE4600; padding: 24rpx 30rpx 24rpx 30rpx; .checkbox { width: 32rpx; height: 32rpx; flex-shrink: 0; margin-right: 30rpx; } .user { .name { display: flex; align-items: center; padding-bottom: 8rpx; font-weight: 400; font-size: 32rpx; color: rgba(119, 119, 119, 1); text { font-weight: 600; font-size: 32rpx; color: #131415; line-height: 44rpx; max-width: 300rpx; overflow: hidden; display: inline-block; white-space: nowrap; text-overflow: ellipsis; padding-right: 6rpx; } } .detail { font-size: 26rpx; color: #777777; line-height: 36rpx; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; max-width: 560rpx; } } .icon-edit { position: absolute; top: 12rpx; right: 0; padding: 16rpx; width: 28rpx; height: 28rpx; } } } } .current-good { background: linear-gradient(180deg, rgba(254, 248, 241, 0.4) 0%, rgba(251, 233, 205, 0.4) 100%); border-radius: 10rpx; border: 2rpx solid rgba(251, 233, 206, 1); margin: 26rpx 0 16rpx; padding: 10rpx 22rpx; font-size: 24rpx; color: rgba(80, 47, 0, 1); .current-item-text { padding-bottom: 4rpx; } .discountPrice { padding-left: 6rpx; } text { color: rgba(254, 70, 0, 1); font-weight: bold; } } // }