/* pages/user/order/list.wxss */ page { background: #f6f6f6; } .fixed-top { position: fixed; left: 0; right: 0; background: white; padding: 0 30rpx; padding-top: 20rpx; } .types { display: flex; align-items: center; line-height: 50rpx; height: 95rpx; color: #333; font-size: 26rpx; overflow-x: auto; } .type-item { position: relative; margin-right: 60rpx; flex-shrink: 0; } .type-item.active { color: #0B898E; font-weight: bold; } .type-item.active::after { display: block; font-size: 0; content: "1"; width: 30rpx; height: 4rpx; background: #0B898E; border-radius: 2rpx; left: 50%; position: absolute; margin-left: -15rpx; top: 100%; } .order-item { margin: 20rpx 30rpx; background: white; border-radius: 20rpx; } .order-top { display: flex; padding: 0 20rpx; height: 80rpx; align-items: center; border-bottom: 1rpx solid #d8d8d8; font-size: 26rpx; color: #888; justify-content: space-between; } .order-top .status { color: #D62828; } .order-info { display: flex; padding: 20rpx; justify-content: space-between; color: #333333; font-size: 26rpx; } .order-info image { flex-shrink: 0; width: 140rpx; height: 140rpx; border-radius: 10rpx; } .order-info .sku-title { flex: 1; margin: 0 20rpx; line-height: 40rpx; height: 80rpx; } .sku-tips { text-align: right; flex-shrink: 0; line-height: 40rpx; } .sku-tips .sku-price { /* margin-bottom: 10rpx; */ } .total { text-align: right; margin-right: 20rpx; } .total .all-price { font-size: 36rpx; font-weight: bold; } .btns { display: flex; justify-content: flex-end; padding: 20rpx; align-items: center; } .btn { width: 158rpx; line-height: 58rpx; background: #fff; border: 1rpx solid #D8D8D8; border-radius: 30rpx; text-align: center; font-size: 26rpx; margin-left: 20rpx; color: #333; } .active.btn { background: #FC9132; border-color: #FC9132; color: #fff; } .search-box { display: flex; margin: 0 30rpx; background: #EDEDED; line-height: 60rpx; border-radius: 30rpx; padding-left: 20rpx; font-size: 26rpx; align-items: center; justify-content: space-between; } .search-box .iconfont { color: #999999; font-size: 30rpx; flex-shrink: 0; } .search-box input { flex: 1; margin: 0 15rpx; } .search-box .search-btn { width: 110rpx; text-align: center; line-height: 40rpx; color: #0B898E; flex-shrink: 0; font-size: 26rpx; border-left: 1rpx solid #ccc; } .empty-box { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; font-size: 26rpx; color: #888; text-align: center; z-index: -1; } .empty-box image { width: 260rpx; display: block; margin-bottom: 20rpx; }