.detail-container { width: 100vw; height: 100vh; } .container { transition: all 0.3s; .hide { transform: translateX(-100%); } } .status-wrap { padding: 20rpx; background: #fff; border-top: 1px solid #f5f5f5; margin: 20rpx; border-radius: $ns-border-radius; .status-name { display: block; font-size: $ns-font-size-x-lg; line-height: 70rpx; height: 70rpx; } .refund-explain { border-top: 1px dashed #eee; padding-top: 20rpx; } } .refund-address-wrap { margin: 20rpx; background: #fff; padding: 20rpx; border-radius: $ns-border-radius; .copy { font-size: $ns-font-size-x-sm; display: inline-block; color: #666; background: #fff; line-height: 1; padding: 6rpx 10rpx; margin-left: 10rpx; border-radius: 4rpx; border: 1px solid #ddd; } } .history-wrap { margin: 20rpx; background: #fff; padding: 20rpx; display: flex; position: relative; border-radius: $ns-border-radius; view { flex: 1; } .icon-right { position: absolute; top: 50%; transform: translateY(-50%); color: #ddd; right: 20rpx; } } .refund-info { margin: 20rpx; background: #fff; border-radius: $ns-border-radius; .header { height: 90rpx; line-height: 90rpx; padding: 0 20rpx; } .body { padding-bottom: 20rpx; .goods-wrap { display: flex; position: relative; padding: 20rpx; background: #f5f5f5; &:last-of-type { margin-bottom: 0; } .goods-img { width: 180rpx; height: 180rpx; margin-right: 20rpx; image { width: 100%; height: 100%; } } .goods-info { flex: 1; position: relative; max-width: calc(100% - 200rpx); .goods-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.5; font-size: $ns-font-size-lg; } .goods-sub-section { padding-top: 20rpx; width: 100%; line-height: 1.3; display: flex; .refund-price { font-size: $ns-font-size-lg; } .unit { font-weight: normal; font-size: $ns-font-size-base; margin-right: 2rpx; } } } } .info { margin-top: 20rpx; .cell { height: 50rpx; line-height: 50rpx; padding: 0 20rpx; font-size: $ns-font-size-base; color: $ns-text-color-gray; } } } } .operation { position: fixed; z-index: 5; left: 0; bottom: 0; width: 100vw; height: 100rpx; background: #fff; box-shadow: 0 0px 10px rgba(0, 0, 0, 0.1); text-align: right; line-height: 100rpx; &.bottom-safe-area { padding-bottom: constant(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom); } .order-box-btn{ margin-right: $ns-margin; margin-left: 0; } .operation-btn { height: 70rpx; line-height: 70rpx; color: #fff; padding: 0 40rpx; display: inline-block; text-align: center; margin: 16rpx 20rpx 16rpx 0; border-radius: $border-radius; &.white { height: 68rpx; line-height: 68rpx; color: #333; border: 0.5px solid #999; background: #fff; } } } .form-wrap { background: #fff; .item { margin: 0 20rpx; display: flex; border-bottom: 1px solid #eee; &:last-child { border-bottom: none; } .label { width: 140rpx; line-height: 90rpx; } .cont { flex: 1; line-height: 90rpx; .input, .input-placeholder { height: 90rpx; line-height: 90rpx; font-size: $ns-font-size-lg; } .textarea { width: 100%; padding: 26rpx 0; line-height: 1.3; font-size: $ns-font-size-lg; } } } } .sub-btn { margin-top: 20rpx; } .record-wrap { padding: 0 20rpx; .record-item { display: flex; .cont { flex: 1; margin-top: 40rpx; box-shadow: 0 1.5px 3px 0 rgba(0, 0, 0, 0.06), 0 1.5px 3px 0 rgba(0, 0, 0, 0.08); border-radius: 20rpx; padding: 20rpx; .head { line-height: 1; .time { margin-left: 40rpx; color: #999; font-size: $ns-font-size-base; float: right; } } .body { padding-top: 20rpx; color: #999; } } &.buyer { .cont { margin-left: 10%; background: #fff; } } &.seller { .cont { margin-right: 10%; background: #ffe48c; } } } .empty-box{ height: 168rpx; } } .history-bottom { position: fixed; z-index: 5; left: 0; bottom: 0; width: 100vw; height: 100rpx; background: #fff; box-shadow: 0 0px 10px rgba(0, 0, 0, 0.1); text-align: right; display: flex; &.bottom-safe-area { padding-bottom: constant(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom); } view { flex: 1; text-align: center; line-height: 100rpx; &:first-child { border-right: 1px solid #eee; } .iconfont { font-weight: bold; margin-right: 10rpx; font-size: $ns-font-size-lg; line-height: 1; } } button { width: 50%; height: 100%; position: absolute; border: none; z-index: 1; padding: 0; margin: 0; background: none; &::after { border: none !important; } } }