123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225 |
- /* pages/orders/orders.wxss */
- page {
- 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 30rpx 16rpx;
- >view {
- font-size: 32rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 500;
- color: rgba(0, 0, 0, 0.4);
- &.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: 88rpx;
- }
- .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;
- .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: 28rpx;
- text-overflow: ellipsis;
- max-width: 310rpx;
- }
- .goods-price {
- flex-shrink: 0;
- font-family: DINAlternate, DINAlternate;
- font-weight: bold;
- font-size: 28rpx;
- color: #131415;
- line-height: 48rpx;
- }
- }
- .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: 28rpx;
- 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;
- }
- }
- 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;
- }
- }
- }
- .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;
- }
- }
|