/**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; .iconClose { position: absolute; right: 40rpx; top: 40rpx; width: 32rpx; height: 32rpx; } .product-section { display: flex; padding: 0 40rpx; .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; flex-direction: column; align-items: flex-start; overflow: hidden; .price-s { display: flex; align-items: center; .priceImg{ margin-right: 8rpx; width: 96rpx; height: 40rpx; } .currentPrice { font-weight: bold; color: #000000; 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: 8rpx; font-weight: 400; font-size: 28rpx; color: #AAAAAA; text-decoration: line-through; } } .current-s { margin-top: 8rpx; font-weight: 400; font-size: 26rpx; color: #777777; line-height: 36rpx; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .discountCon{ margin-top: 16rpx; font-weight: 400; font-size: 24rpx; color: #FD4502; line-height: 32rpx; border-radius: 6rpx; border: 2rpx solid #FD4502; padding: 4rpx 8rpx; } } } .memberBox{ margin: 48rpx 40rpx; background: #F5F6F7; border-radius: 20rpx; border: 3rpx solid transparent; &.showMemberInfoTip{ border-color: #FD4502; } .memberCon{ padding: 24rpx; display: flex; justify-content: space-between; align-items: center; .memberImg{ width: 44rpx; height: 44rpx; } .info{ flex-grow: 1; margin-left: 16rpx; font-weight: 600; font-size: 28rpx; color: #131415; line-height: 40rpx; } .chevronImg{ flex-shrink: 0; width: 32rpx; height: 32rpx; } .memberInfoCon{ overflow: hidden; } .infoCon { display: flex; align-items: center; font-weight: 600; font-size: 28rpx; color: #131415; line-height: 40rpx; .tip { flex-shrink: 0; width: 44rpx; height: 44rpx; } .name{ margin-left: 16rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .phone { flex-shrink: 0; margin-left: 16rpx; } } .schoolInfoCon{ margin-top: 20rpx; display: flex; align-items: center; .schoolInfo{ margin-right: 8rpx; border-radius: 4rpx; border: 1.6rpx solid rgba(15,179,96,0.5); padding: 2rpx 6rpx; font-weight: 400; font-size: 20rpx; color: #0FB360; line-height: 32rpx; flex-shrink: 0; } .schoolInfoDes{ margin-right: 10rpx; font-weight: 400; font-size: 24rpx; color: #777777; line-height: 32rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } } } .btnSections { margin-top: 20rpx; padding: 0 40rpx; button { width: 100%; line-height: 88rpx; background: url("https://oss.dayaedu.com/ktyq/1738898417485.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 { padding: 0 40rpx; max-height: 578rpx; overflow-x: hidden; overflow-y: auto; &::-webkit-scrollbar { display: none; } .desc { margin-top: 48rpx; font-weight: 600; font-size: 28rpx; line-height: 40rpx; color: #131415; &:first-child{ margin-top: 0; } text{ color: #FD4502; } } .goodsList { display: flex; flex-wrap: wrap; &.instrumentsList{ .goodsItem{ padding: 10rpx 24rpx; } } .goodsItem { margin-right: 24rpx; margin-top: 24rpx; padding: 10rpx 30rpx; background: #F2F2F2; border-radius: 12rpx; font-weight: 400; font-size: 28rpx; color: #444444; line-height: 40rpx; position: relative; border:2.4rpx solid transparent; &.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: #E6FADB; font-weight: 600; color: #0AAF5F; border-color: #51BA35; border-radius: 12rpx; view{ background: #0AAF5F; } } .iconSale{ position: absolute; width: 56rpx; height: 28rpx; right: -14rpx; top: -14rpx; } } } } } } .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); } } }