/**index.less**/ page { height: 100vh; display: flex; flex-direction: column; background: #F5F6F7; } .scrollarea { flex: 1; overflow-y: hidden; } .container { position: relative; .slider-count { position: absolute; top: 678rpx; right: 0; background: rgba(0, 0, 0, 0.4); border-radius: 200rpx 0rpx 0rpx 200rpx; font-weight: 600; font-size: 28rpx; color: #FFFFFF; line-height: 40rpx; text-align: center; padding: 4rpx 20rpx 4rpx 28rpx; z-index: 1; } swiper { height: 750rpx; } .swiper-item { width: 100%; height: 100%; image { width: 100%; height: 100%; } } .demo-text-1 { background-color: red; } .demo-text-2 { background-color: black; } .demo-text-3 { background-color: gray; } } .goodsIntro { background: #FFFFFF; // border-radius: 20rpx; overflow: hidden; // margin: 16rpx 0 0; .title { font-weight: 600; font-size: 32rpx; color: #131415; line-height: 44rpx; padding: 28rpx 24rpx; display: flex; align-items: center; justify-content: center; .before, .after { content: ''; width: 68rpx; height: 2rpx; border-radius: 2rpx; opacity: 0.3; display: inline-block; } .before { background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000000 100%); margin-right: 24rpx; } .after { background: linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, #000000 100%); margin-left: 24rpx; } } .quick-btn { padding: 0 20rpx 30rpx; font-size: 28rpx; color: #999999; line-height: 40rpx; display: flex; view { padding: 8rpx 24rpx; margin-right: 12rpx; } .active { background: #FFDF9E; border-radius: 28rpx; font-weight: 600; color: #131415; } } .images { font-size: 0; image { display: block; width: 100%; } } } .bottom-sectionBox { position: fixed; display: flex; flex-direction: column; .orders { width: 148rpx; height: 150rpx; background: url("https://oss.dayaedu.com/ktyq/1739521394910.png") no-repeat; background-size: 100% 100%; } .btnSection { margin-top: 20rpx; width: 148rpx; height: 150rpx; background: url("https://oss.dayaedu.com/ktyq/1739521376993.png") no-repeat; background-size: 100% 100%; } } .hide { display: none !important; } // 'demo-text-1', 'demo-text-2', 'demo-text-3' .popup-section { .popup-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.6); z-index: 9; } .popup-container { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; width: 100%; background: #FFFFFF; border-radius: 32rpx 32rpx 0rpx 0rpx; padding: 40rpx 0 56rpx; box-sizing: border-box; .topTit { font-weight: 600; font-size: 36rpx; color: #131415; line-height: 50rpx; text-align: center; } .iconClose { position: absolute; right: 40rpx; top: 50rpx; width: 32rpx; height: 32rpx; } .product-section { display: flex; padding: 0 26rpx; .product-img { width: 160rpx; height: 160rpx; flex-shrink: 0; margin-right: 24rpx; border-radius: 6px; overflow: hidden; image { width: 100%; height: 100%; } } .product-left { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; .price-s { display: flex; align-items: center; .priceImg { margin-right: 8rpx; width: 96rpx; height: 40rpx; } .currentPrice { font-weight: bold; color: #FE462E; font-family: DINAlternate, DINAlternate; line-height: 1; .stuff { font-size: 32rpx; } .numberDisplay--integer { line-height: 60rpx; font-size: 52rpx; } .numberDisplay--decimal { font-size: 32rpx; } } .originPrice { margin-left: 12rpx; font-weight: 400; font-size: 24rpx; color: #AAAAAA; } } .current-s { margin-top: 16rpx; font-weight: 400; font-size: 28rpx; color: #777777; line-height: 40rpx; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .discountCon { margin-top: 10rpx; font-weight: 400; font-size: 24rpx; color: #FD4502; line-height: 32rpx; border-radius: 6rpx; border: 2rpx solid #FD4502; padding: 4rpx 8rpx; } } } .memberBox { margin: 40rpx 26rpx 48rpx; background: #F5F6F7; border-radius: 20rpx; border: 3rpx solid transparent; &.showMemberInfoTip { border-color: #FD4502; } .memberCon { padding: 24rpx; display: flex; justify-content: space-between; position: relative; .memberImg { margin-top: 4rpx; width: 28rpx; height: 32rpx; flex-shrink: 0; } .infoBox { margin-left: 12rpx; display: flex; flex-direction: column; flex-grow: 1; margin-right: 42rpx; overflow: hidden; .topInfo { font-weight: 600; font-size: 28rpx; color: #131415; line-height: 40rpx; } .info { margin-top: 14rpx; font-weight: 400; font-size: 24rpx; color: rgba(19, 20, 21, 0.4); line-height: 34rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .infoCon { display: flex; align-items: center; .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .phone { flex-shrink: 0; margin-left: 16rpx; } } } .chevronImg { position: absolute; right: 24rpx; top: 50%; transform: translateY(-50%); width: 32rpx; height: 32rpx; } } } .btnSections { margin-top: 20rpx; padding: 0 32rpx; button { width: 100%; line-height: 84rpx; background: url("https://oss.dayaedu.com/ktyq/1739528494657.png") no-repeat; background-size: 100% 100%; font-weight: 500; font-size: 32rpx; color: #FFFFFF; padding-top: 0; padding-bottom: 0; border-radius: 78rpx; &[disabled][type=primary] { color: #fff; opacity: 0.7; } } } .goodsInfo { margin-top: 48rpx; padding: 0 26rpx; max-height: 578rpx; overflow-x: hidden; overflow-y: auto; &::-webkit-scrollbar { display: none; } .desc { margin-top: 48rpx; font-weight: 400; font-size: 26rpx; color: #777777; line-height: 36rpx; &:first-child { margin-top: 0; } } .goodsList { display: flex; flex-wrap: wrap; &.lastGoodsList{ padding-bottom: 72rpx; } &.instrumentsList { .goodsItem { padding: 10rpx 24rpx; } } .goodsItem { margin-right: 24rpx; margin-top: 24rpx; padding: 12rpx 50rpx; border-radius: 34rpx; font-weight: 400; font-size: 26rpx; color: #444444; line-height: 36rpx; position: relative; border: 2.4rpx solid #DCDCDC; &.instrumentsGoodsItem { display: flex; align-items: center; view { margin: 0 16rpx; width: 2rpx; height: 32rpx; background: rgba(0, 0, 0, 0.3); } } &.nosale { color: #BBBBBB; } &.selected { background: rgba(255, 240, 238, 0.5); color: #FE462E; border-color: rgba(254, 70, 46, 0.5); } .iconSale { position: absolute; width: 56rpx; height: 28rpx; right: -12rpx; top: -12rpx; } } } } } } .memberPopup { z-index: 10; .popup-mask { z-index: 11; } .popup-container { z-index: 11; .memberListCon { margin-top: 40rpx; overflow: hidden; max-height: 500rpx; min-height: 400rpx; .memberInfo { display: flex; justify-content: space-between; align-items: center; background: #F6F6F6; border-radius: 20rpx; padding: 24rpx 18rpx 32rpx 24rpx; margin: 0 26rpx 24rpx; border: 3rpx solid transparent; &.active { background: linear-gradient( 315deg, #FFEEE9 0%, #FFF6EC 100%); border-color: rgba(255,170,157,0.56); } &:last-child { margin-bottom: 40rpx; } .radioImg { flex-shrink: 0; width: 30rpx; height: 30rpx; } .infoConBox { margin: 0 10rpx 0 24rpx; flex-grow: 1; overflow: hidden; .infoCon { display: flex; align-items: center; font-weight: 600; font-size: 28rpx; color: #131415; line-height: 40rpx; .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .phone { flex-shrink: 0; margin-left: 16rpx; } } .schoolInfoCon { margin-top: 14rpx; line-height: 1; .schoolInfoDes { font-weight: 400; font-size: 24rpx; color: rgba(19, 20, 21, 0.4); line-height: 32rpx; word-break: break-all; } } } .operate { width: 62rpx; height: 62rpx; display: flex; justify-content: center; align-items: center; flex-shrink: 0; image { width: 34rpx; height: 34rpx; } } } } .btnSections { margin-top: 20rpx; padding: 0 32rpx; button { width: 100%; line-height: 84rpx; background: url("https://oss.dayaedu.com/ktyq/1739528494657.png") no-repeat; background-size: 100% 100%; font-weight: 500; font-size: 32rpx; color: #FFFFFF; padding-top: 0; padding-bottom: 0; border-radius: 78rpx; &[disabled][type=primary] { color: #fff; opacity: 0.7; } } } } } .showMoreContainer { position: fixed; bottom: 0; width: 100%; left: 0; right: 0; height: 378rpx; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%); display: flex; justify-content: center; align-items: flex-end; pointer-events: none; .iconUpScroll { width: 80rpx; height: 80rpx; margin-bottom: 60rpx; animation: breathe 2s infinite cubic-bezier(0, 0.21, 0, 0.88); // transition: all cubic-bezier(0, 0.21, 0, 0.88); } @keyframes breathe { 0% { opacity: 1; transform: translateY(0rpx); } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-50rpx); } } }