/* pages/orders/orders.wxss */ .container { height: 100vh; display: flex; flex-direction: column; background: #F5F6F7; } .container { display: flex; flex-direction: column; } .record-content { display: flex; flex-direction: column; width: 100%; flex: 1; overflow-y: auto; } .record-tab { display: flex; align-items: center; justify-content: space-between; padding: 28rpx 24rpx 16rpx; >view { font-size: 32rpx; font-family: PingFangSC-Regular, PingFang SC; font-weight: 500; color: rgba(0, 0, 0, 0.4); padding: 0 34rpx; &.active { font-size: 32rpx; font-family: PingFangSC-Semibold, PingFang SC; font-weight: 600; color: #131415; position: relative; z-index: 2; &::before { content: ""; position: absolute; left: 50%; margin-left: -24rpx; bottom: -8rpx; z-index: -1; width: 48rpx; height: 8rpx; background: linear-gradient( 90deg, #FF3C3C 0%, rgba(255,118,155,0.5) 100%); border-radius: 72rpx 72rpx 0rpx 0rpx; } } } } .record-list { flex: 1; overflow-y: scroll; box-sizing: border-box; } .list-item-group { padding-bottom: 24rpx; } .list-item { background: #FFFFFF; border-radius: 20rpx; margin: 24rpx 26rpx 0; padding: 28rpx 24rpx 32rpx; .item-top { display: flex; justify-content: space-between; font-size: 28rpx; line-height: 48rpx; padding-bottom: 24rpx; .item-mid { color: #131415; } > text { color: #777777; } .red { color: #FE2451; } } .item-content { display: flex; &+.item-content { padding-top: 40rpx; } .goods-icon { width: 160rpx; height: 160rpx; margin-right: 24rpx; flex-shrink: 0; border-radius: 6px; overflow: hidden; } .goods-desc { flex: 1 auto; display: flex; flex-direction: column; } .goodsInfo { display: flex; justify-content: space-between; padding-top: 4rpx; .goods-name { flex: 1 auto; white-space: nowrap; overflow: hidden; font-weight: 600; font-size: 30rpx; color: #131415; line-height: 50rpx; text-overflow: ellipsis; max-width: 280rpx; } .goods-price { flex-shrink: 0; font-family: DINAlternate, DINAlternate; font-weight: bold; font-size: 28rpx; color: #131415; line-height: 48rpx; text { font-size: 32rpx; padding-left: 4rpx; } } } .goods-type { display: flex; justify-content: space-between; align-items: center; padding-top: 12rpx; .goods-card { background: #FEEDF0; border-radius: 6rpx; font-size: 26rpx; color: #FE2451; line-height: 40rpx; padding: 0 12rpx; } .goods-num { font-size: 26rpx; color: #777777; line-height: 36rpx; } } } .item-footer { padding-top: 24rpx; display: flex; justify-content: space-between; align-items: center; .order-price { // font-weight: 600; // font-size: 28rpx; // color: #131415; // line-height: 48rpx; // .price-first { // font-weight: bold; // color: #FE2451; // font-size: 28rpx; // } // .price { // font-family: DINAlternate, DINAlternate; // font-weight: bold; // font-size: 36rpx; // color: #FE2451; // line-height: 48rpx; // } display: flex; align-items: flex-end; .desc { font-size: 24rpx; color: #999; line-height: 40rpx; flex-shrink: 0; } .currentPrice { font-weight: bold; color: #FE2451; font-family: DINAlternate, DINAlternate; display: flex; // align-items: flex-end; .stuff { font-size: 28rpx; padding: 2rpx 4rpx 0; } .priceZ { font-size: 40rpx; line-height: 1; } .priceF { font-size: 32rpx; } } .line { margin: 0 12rpx 8rpx; background-color: #D2D2D2; width: 2rpx; height: 20rpx; } .discountPrice { padding-bottom: 2rpx; font-size: 24rpx; color: #FE2451; } } button { margin: 0; border-radius: 36rpx; background-color: #FFFFFF; border: 2rpx solid #DCDCDC; font-weight: 500; font-size: 28rpx; color: #333333; width: auto; padding: 14rpx 32rpx; line-height: 40rpx; } .sure { background: #FE2451; border-color: #FE2451; color: #FFFFFF; } } } .bottom-section { // position: fixed; // bottom: 0; // left: 0; width: 100%; background-color: #FFFFFF; box-shadow: inset 0rpx 2rpx 0rpx 0rpx #F0F0F0; padding: 20rpx 32rpx 58rpx 32rpx; display: flex; align-items: center; box-sizing: border-box; justify-content: space-around; .orders { display: flex; align-items: center; margin-right: 40rpx; padding: 8rpx 0 16rpx; &.active { text { color: #131415; } } image { width: 44rpx; height: 44rpx; } text { padding-left: 16rpx; font-weight: 500; font-size: 28rpx; color: #AAAAAA; line-height: 44rpx; text-align: center; } } .btnSection { flex: 1 auto; 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; &[disabled][type=primary] { opacity: 0.7; } } } } .empty-box { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -80%); font-size: 32rpx; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #999999; image { width: 436rpx; height: 364rpx; } .empty-text { font-size: 28rpx; color: #777777; line-height: 40rpx; text-align: center; padding-top: 24rpx; } }