123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242 |
- /* pages/orders/orders.wxss */
- page {
- height: 100vh;
- display: flex;
- flex-direction: column;
- background: #F4F4F4;
- }
- .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: -17rpx;
- bottom: -12rpx;
- z-index: -1;
- width: 34rpx;
- height: 4rpx;
- background: #534E49;
- }
- }
- }
- }
- .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: 24rpx 24rpx 20rpx;
- .item-top {
- display: flex;
- justify-content: space-between;
- font-weight: 600;
- font-size: 30rpx;
- line-height: 48rpx;
- padding-bottom: 24rpx;
- border-bottom: 1px solid #F2F2F2;
- margin-bottom: 24rpx;
-
- .item-mid {
- color: #131415;
- font-size: 28rpx;
- color: #999999;
- font-weight: 400;
- }
- > text {
- color: #777777;
- }
- .red {
- color: #DDA64C;
- }
- }
- .item-content {
- display: flex;
- .goods-icon {
- width: 140rpx;
- height: 140rpx;
- 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: 320rpx;
- }
- .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;
- .innerGroup {
- display: flex;
- position: relative;
- }
- .innerFree {
- margin-left: 8rpx;
- font-size: 24rpx;
- color: #FF0047;
- line-height: 34rpx;
- border-radius: 4rpx;
- border: 2rpx solid rgba(255,0,71,0.25);
- padding: 2rpx 8rpx;
- // text {
- // // font-weight: bold;
- // }
- }
- .goods-card {
- background: #FDF2E2;
- border-radius: 6rpx;
- font-size: 26rpx;
- color: #A76D1C;
- line-height: 36rpx;
- padding: 2rpx 12rpx 0;
- }
- .goods-num {
- font-size: 28rpx;
- color: #777777;
- line-height: 36rpx;
- }
- }
- }
- .item-footer {
- padding-top: 18rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- .order-price {
- font-weight: 600;
- font-size: 28rpx;
- color: #131415;
- line-height: 48rpx;
- .price {
- font-family: DINAlternate, DINAlternate;
- font-weight: bold;
- font-size: 28rpx;
- color: #FE2451;
- line-height: 48rpx;
- }
- }
- button {
- margin: 0;
- border-radius: 76rpx;
- background-color: #FFFFFF;
- border: 2rpx solid #DCDCDC;
- font-weight: 500;
- font-size: 28rpx;
- color: #333333;
- width: auto;
- padding: 10rpx 22rpx;
- line-height: 40rpx;
- }
- .sure {
- background: linear-gradient( 90deg, #544F4A 0%, #302F2B 100%);
- border-radius: 76rpx;
- border: none;
- color: #FBEAC9;
- }
- }
- }
- .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: 408rpx;
- height: 204rpx;
- }
- .empty-text {
- font-size: 28rpx;
- color: #777777;
- line-height: 40rpx;
- text-align: center;
- padding-top: 36rpx;
- }
- }
|