|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
- <view>
|
|
|
+ <view class="detail">
|
|
|
<u-navbar title="订单详情" :border="true" :placeholder="true" :autoBack="true" bgColor="#fff" />
|
|
|
- <view class="detail">
|
|
|
+ <!-- <view class="detail">
|
|
|
<view class="detail-state">
|
|
|
<view class="detail-state-title">
|
|
|
<text>订单状态:</text>
|
|
@@ -69,95 +69,99 @@
|
|
|
<view style="width: 150rpx;display: inline-block;">留言:</view>
|
|
|
<view style="display: inline-block;width: 524rpx;vertical-align: top;">{{info.memo}}</view>
|
|
|
</view>
|
|
|
-
|
|
|
- <!-- <view class="detail-info" v-if="(status.value == 2 || status.value == 4) && deliverList.length > 1">
|
|
|
- <view class="detail-info-title">发货信息</view>
|
|
|
- <view class="detail-info-content border" v-for="(item, index) in deliverList" :key="index">
|
|
|
- <view class="detail-info-content-desc">
|
|
|
- <view>配送方式:</view>
|
|
|
- <view>{{ item.companyName ? "快递发货" : "无需物流" }}</view>
|
|
|
- </view>
|
|
|
- <view class="detail-info-content-desc" v-if="item.companyName">
|
|
|
- <view>快递公司:</view>
|
|
|
- <view>{{ item.companyName || '-' }}</view>
|
|
|
- </view>
|
|
|
- <view class="detail-info-content-desc" v-if="item.deliveryFlowId">
|
|
|
- <view>物流单号:</view>
|
|
|
- <view class="copy" @click="copyDeliveryFlowId(item.deliveryFlowId)">复制</view>
|
|
|
- <view>{{ item.deliveryFlowId || '-' }}</view>
|
|
|
- </view>
|
|
|
- <view class="detail-info-content-desc">
|
|
|
- <view>发货时间:</view>
|
|
|
- <view>{{ $parseTime(item.deliveryTime) }}</view>
|
|
|
- </view>
|
|
|
- <view class="detail-info-content-deliver">
|
|
|
- <view class="flex detail-info-content-deliver__detail" v-for="(items, indexs) in item.items"
|
|
|
- :key="indexs">
|
|
|
- <view class="detail-info-content-deliver__detail__left">
|
|
|
- <view class="img">
|
|
|
- <image class="img" :src="items.picUrl" mode="aspectFill">
|
|
|
- </image>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="detail-info-content-deliver__detail__right">
|
|
|
- <view class="title">{{ items.title }}</view>
|
|
|
- <view class="flex num">
|
|
|
- <view class="sku" v-if="!items.properties"></view>
|
|
|
- <view class="sku" v-if="items.properties">规格:{{ items.properties }}</view>
|
|
|
- <view class="">数量:{{ items.goodsNum }}</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
+ <!-- 订单状态 -->
|
|
|
+ <view class="status">
|
|
|
+ <image src="../../packageGoods/static/ordr/bg.png" mode="scaleToFill"></image>
|
|
|
+ <view class="status-info">
|
|
|
+ <image src="../../packageGoods/static/ordr/car.png" mode=""></image>
|
|
|
+ <view class="status-info-contet">
|
|
|
+ <view class="status-info-contet-txt" :class="{'status-info-contet-one': status.value != 2 }">{{ status.desc }}</view>
|
|
|
+ <view class="status-info-contet-time" v-if="status.value == 2">还剩 {{ autoConfirmTime || "--" }} 自动确认</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- -->
|
|
|
- <!-- <view class="detail-info" v-if="(status.value == 2 || status.value == 4) && deliverList.length == 1">
|
|
|
- <view class="detail-info-title">发货信息</view>
|
|
|
- <view class="detail-info-content" v-for="(item, index) in deliverList" :key="index">
|
|
|
- <view class="detail-info-content-desc">
|
|
|
- <view>配送方式:</view>
|
|
|
- <view>{{ item.companyName ? "快递发货" : "无需物流" }}</view>
|
|
|
- </view>
|
|
|
- <view class="detail-info-content-desc" v-if="item.companyName">
|
|
|
- <view>快递公司:</view>
|
|
|
- <view>{{ item.companyName || '-' }}</view>
|
|
|
- </view>
|
|
|
- <view class="detail-info-content-desc" v-if="item.deliveryFlowId">
|
|
|
- <view>物流单号:</view>
|
|
|
- <view class="copy" @click="copyDeliveryFlowId(item.deliveryFlowId)">复制</view>
|
|
|
- <view>{{ item.deliveryFlowId || '-' }}</view>
|
|
|
- </view>
|
|
|
- <view class="detail-info-content-desc">
|
|
|
- <view>发货时间:</view>
|
|
|
- <view>{{ $parseTime(item.deliveryTime) }}</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
</view>
|
|
|
-
|
|
|
- <view class="footer-fixed" v-if="status.value == 2 || status.value == 3">
|
|
|
- <view class="flex btn">
|
|
|
- <view class="btn-right">
|
|
|
- <text class="logistics" @click="getLogistics">查看物流</text>
|
|
|
- </view>
|
|
|
- <view class="btn-right">
|
|
|
- <text class="confirm" @click="confirmOne" v-if="status.value == 2">确认收货</text>
|
|
|
+
|
|
|
+ <!-- 地址 -->
|
|
|
+ <view class="address">
|
|
|
+ <view class="address-content">
|
|
|
+ <image src="../static/ordr/addr.png" mode="scaleToFill"></image>
|
|
|
+ <view class="address-content-txt">
|
|
|
+ <view class="name">{{ info.receiver }} <text> {{ info.tel }}</text></view>
|
|
|
+ <view class="city ells">{{ info.province }} {{ info.city }} {{ info.area }} {{ info.address }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
- <view class="footer-fixed" v-if="status.value == 0">
|
|
|
- <view class="flex btn">
|
|
|
- <view class="btn-right">
|
|
|
- <text class="logisticsCancel" @click="cancelOrder">取消订单</text>
|
|
|
- </view>
|
|
|
- <view class="btn-right">
|
|
|
- <text class="confirmPay" @click="payOrder">去支付</text>
|
|
|
+
|
|
|
+ <!-- 商品 -->
|
|
|
+ <view class="goods">
|
|
|
+ <view class="goods-title">商品信息</view>
|
|
|
+ <view class="goods-item" v-for="(item, index) in list" :key="index">
|
|
|
+ <image :src="item.picUrl" mode="aspectFit"></image>
|
|
|
+ <view class="info">
|
|
|
+ <view class="info-title ells">{{ item.title }}</view>
|
|
|
+ <view class="info-num flex">
|
|
|
+ <view class="info-num-sku">规格:{{ item.properties || '-' }}</view>
|
|
|
+ <view class="info-num-goods">共{{ item.goodsNum }}件</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <!-- 运费 -->
|
|
|
+ <view class="goods-freight">
|
|
|
+ <view class="freight-title">运费</view>
|
|
|
+ <view class="freight-price">¥{{ $numberFormat(info.freightAmt) }}</view>
|
|
|
+ </view>
|
|
|
+ <!-- 总价 -->
|
|
|
+ <view class="goods-total flex">
|
|
|
+ <view class="goods-total-price">应付:<text>¥{{ $numberFormat(info.payAmt) }}</text></view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <!-- 订单信息 -->
|
|
|
+ <view class="order">
|
|
|
+ <view class="order-title">订单信息</view>
|
|
|
+ <view class="order-item flex">
|
|
|
+ <view class="order-item-title">订单编号</view>
|
|
|
+ <view class="order-item-content flex" @click="copyOrderId" v-if="status.value == 2 || status.value == 4">{{ info.orderId }}<text>复制</text></view>
|
|
|
+ <view class="order-item-content flex" v-else>{{ info.orderId }}</view>
|
|
|
+ </view>
|
|
|
+ <view class="order-item flex">
|
|
|
+ <view class="order-item-title">下单时间</view>
|
|
|
+ <view class="order-item-content">{{ $parseTime(info.createdTime) }}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <!-- 发货信息 -->
|
|
|
+ <view class="order">
|
|
|
+ <view class="order-title">发货信息</view>
|
|
|
+ <view class="order-item flex">
|
|
|
+ <view class="order-item-title">配送方式</view>
|
|
|
+ <view class="order-item-content">无需物流</view>
|
|
|
+ </view>
|
|
|
+ <view class="order-item flex">
|
|
|
+ <view class="order-item-title">发货时间</view>
|
|
|
+ <view class="order-item-content">{{ $parseTime(info.createdTime) }}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <!-- 留言 -->
|
|
|
+ <view class="order" v-if="info.memo != ''">
|
|
|
+ <view class="order-title">留言</view>
|
|
|
+ <view class="order-item flex">
|
|
|
+ <view></view>
|
|
|
+ <view class="order-item-content">{{ info.memo }}</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
|
|
|
+ <!-- 操作按钮 -->
|
|
|
+ <view class="footer-fixed" v-if="status.value == 2 || status.value == 3">
|
|
|
+ <view class="btn flex">
|
|
|
+ <view class="btn-item flex logistics" v-if="status.value == 2 || status.value == 3" @click="getLogistics"><text>查看物流</text></view>
|
|
|
+ <view class="btn-item flex pay" v-if="status.value == 2" @click="confirmOne"><text>确认收货</text></view>
|
|
|
+ <view class="btn-item flex cancel" v-if="status.value == 0" @click="cancelOrder"><text>取消订单</text></view>
|
|
|
+ <view class="btn-item flex pay"v-if="status.value == 0" @click="payOrder"><text>去支付</text></view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -327,310 +331,287 @@
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
-
|
|
|
<style lang="scss" scoped>
|
|
|
- .footer-fixed {
|
|
|
- position: fixed;
|
|
|
- bottom: var(--window-bottom);
|
|
|
- left: 0;
|
|
|
- right: 0;
|
|
|
- z-index: 11;
|
|
|
- box-shadow: 0 -4rpx 40rpx 0 rgba(151, 151, 151, 0.24);
|
|
|
- background: #fff;
|
|
|
-
|
|
|
- // 设置ios刘海屏底部横线安全区域
|
|
|
- padding-bottom: constant(safe-area-inset-bottom);
|
|
|
- padding-bottom: env(safe-area-inset-bottom);
|
|
|
-
|
|
|
- .btn {
|
|
|
- justify-content: flex-end;
|
|
|
- padding: 20rpx 40rpx;
|
|
|
-
|
|
|
- &-right {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: right;
|
|
|
-
|
|
|
- .value {
|
|
|
- color: $uni-text-color;
|
|
|
- }
|
|
|
-
|
|
|
- @mixin btn {
|
|
|
- width: 160rpx;
|
|
|
- height: 60rpx;
|
|
|
+ .detail {
|
|
|
+ padding-bottom: 100rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ // 订单状态
|
|
|
+ .status {
|
|
|
+ position: relative;
|
|
|
+ height: 216rpx;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+
|
|
|
+ &-info {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ display: flex;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ padding: 56rpx 0 0 34rpx;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 74rpx;
|
|
|
+ height: 62rpx;
|
|
|
+ margin: 18rpx 22rpx 0 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ &-contet {
|
|
|
+ &-txt {
|
|
|
+ font-size: 38rpx;
|
|
|
+ font-weight: 800;
|
|
|
+ color: #FFFFFF;
|
|
|
line-height: 60rpx;
|
|
|
- border-radius: 8rpx;
|
|
|
- text-align: center;
|
|
|
- margin-left: 20rpx;
|
|
|
}
|
|
|
-
|
|
|
- .logistics {
|
|
|
- @include btn border: 1px solid #bbbbbb;
|
|
|
- color: #414141;
|
|
|
- }
|
|
|
-
|
|
|
- .logisticsCancel {
|
|
|
- @include btn border: 2rpx solid #666;
|
|
|
+
|
|
|
+ &-one {
|
|
|
+ margin-top: 18rpx;
|
|
|
+ height: 62rpx;
|
|
|
+ line-height: 62rpx;
|
|
|
}
|
|
|
-
|
|
|
- .confirm {
|
|
|
- @include btn border: 2rpx solid rgba(236, 112, 9, 100);
|
|
|
- color: rgba(236, 112, 9, 100);
|
|
|
- }
|
|
|
-
|
|
|
- .confirmPay {
|
|
|
- @include btn background-color: $uni-bg-color;
|
|
|
- border: 2rpx solid $uni-bg-color;
|
|
|
+
|
|
|
+ &-time {
|
|
|
+ font-size: 30rpx;
|
|
|
+ font-weight: 500;
|
|
|
color: #FFFFFF;
|
|
|
+ line-height: 44rpx;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
-
|
|
|
-<style lang="scss" scoped>
|
|
|
- .freight {
|
|
|
- margin-bottom: 20rpx;
|
|
|
+
|
|
|
+ // 地址
|
|
|
+ .address {
|
|
|
+ position: relative;
|
|
|
+ margin-top: -34rpx;
|
|
|
background-color: #fff;
|
|
|
- // justify-content: space-between;
|
|
|
- padding: 20rpx 28rpx;
|
|
|
- }
|
|
|
-
|
|
|
- .detail {
|
|
|
- margin: 10rpx;
|
|
|
- padding-bottom: 160rpx;
|
|
|
-
|
|
|
- &-state {
|
|
|
- padding: 28rpx;
|
|
|
- margin-bottom: 20rpx;
|
|
|
- background-color: #FFFFFF;
|
|
|
-
|
|
|
- &-title {
|
|
|
- line-height: 40rpx;
|
|
|
- font-weight: bold;
|
|
|
- display: inline-block;
|
|
|
+ border-radius: 34rpx 34rpx 0 0;
|
|
|
+ z-index: 10;
|
|
|
+ padding-top: 34rpx;
|
|
|
+ margin-bottom: 22rpx;
|
|
|
+
|
|
|
+ &-content {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ border-top: 1px dashed rgb(254, 143, 62);
|
|
|
+ padding: 18rpx 0 36rpx 34rpx;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 30rpx;
|
|
|
+ height: 38rpx;
|
|
|
+ margin-right: 34rpx;
|
|
|
}
|
|
|
-
|
|
|
- &-time {
|
|
|
- line-height: 40rpx;
|
|
|
- color: #b1b1b1;
|
|
|
- float: right;
|
|
|
+
|
|
|
+ &-txt {
|
|
|
+ flex: 1;
|
|
|
+
|
|
|
+ .name {
|
|
|
+ font-size: 30rpx;
|
|
|
+ line-height: 30rpx;
|
|
|
+ margin-bottom: 20rpx;
|
|
|
+
|
|
|
+ text {
|
|
|
+ padding: 0 8rpx;
|
|
|
+ font-size: 26rpx;
|
|
|
+ color: #414141;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .city {
|
|
|
+ color: #999999;
|
|
|
+ line-height: 28rpx;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- &-info {
|
|
|
+ }
|
|
|
+
|
|
|
+ // 商品
|
|
|
+ .goods {
|
|
|
+ padding: 34rpx;
|
|
|
+ background-color: #fff;
|
|
|
+ margin-bottom: 22rpx;
|
|
|
+
|
|
|
+ &-title {
|
|
|
+ font-size: 30rpx;
|
|
|
+ line-height: 30rpx;
|
|
|
+ margin-bottom: 22rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ // 商品列表
|
|
|
+ &-item{
|
|
|
+ display: flex;
|
|
|
+ padding: 34rpx 32rpx 34rpx 22rpx;
|
|
|
+ box-shadow: 0px 0px 8px 0px rgba(26, 35, 113, 0.08);
|
|
|
+ border-radius: 4rpx;
|
|
|
margin-bottom: 20rpx;
|
|
|
- padding: 20rpx 28rpx;
|
|
|
- background-color: #FFFFFF;
|
|
|
-
|
|
|
- &-title {
|
|
|
- line-height: 40rpx;
|
|
|
- font-weight: bold;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 176rpx;
|
|
|
+ height: 176rpx;
|
|
|
+ border-radius: 12rpx;
|
|
|
+ margin-right: 22rpx;
|
|
|
}
|
|
|
-
|
|
|
- &-content {
|
|
|
-
|
|
|
- &-goods {
|
|
|
-
|
|
|
- &__detail {
|
|
|
- padding: 20rpx 0;
|
|
|
- justify-content: space-between;
|
|
|
- border-bottom: 1px solid rgba(236, 236, 236, 100);
|
|
|
-
|
|
|
- &__left {
|
|
|
- display: flex;
|
|
|
- height: 170rpx;
|
|
|
-
|
|
|
- .img {
|
|
|
-
|
|
|
- image {
|
|
|
- width: 170rpx;
|
|
|
- height: 170rpx;
|
|
|
- margin-right: 20rpx;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &__right {
|
|
|
- flex: 1;
|
|
|
- display: flex;
|
|
|
- height: 170rpx;
|
|
|
- flex-direction: column;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: flex-start;
|
|
|
- font-size: 30rpx;
|
|
|
-
|
|
|
- .title {
|
|
|
- font-weight: bold;
|
|
|
- }
|
|
|
-
|
|
|
- .sku {
|
|
|
- color: #8C8C8C;
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- &__detail:last-child {
|
|
|
- border: none;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &-money {
|
|
|
- margin-top: 40rpx;
|
|
|
-
|
|
|
- &__item {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
- line-height: 40rpx;
|
|
|
- margin-bottom: 24rpx;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &-toatl {
|
|
|
- padding-top: 24rpx;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: flex-end;
|
|
|
+
|
|
|
+ .info {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: space-between;
|
|
|
+ flex: 1;
|
|
|
+ padding: 8rpx 0;
|
|
|
+
|
|
|
+ &-title {
|
|
|
font-weight: bold;
|
|
|
- }
|
|
|
-
|
|
|
- &-desc {
|
|
|
- position: relative;
|
|
|
- display: flex;
|
|
|
line-height: 40rpx;
|
|
|
- margin-top: 20rpx;
|
|
|
- margin-bottom: 24rpx;
|
|
|
-
|
|
|
- view:first-child {
|
|
|
- width: 150rpx;
|
|
|
- }
|
|
|
-
|
|
|
- view:last-child {
|
|
|
- width: calc(100% - 150rpx)
|
|
|
- }
|
|
|
-
|
|
|
- .copy {
|
|
|
- position: absolute;
|
|
|
- right: 0;
|
|
|
- top: -6rpx;
|
|
|
- width: 136rpx;
|
|
|
- height: 52rpx;
|
|
|
- line-height: 52rpx;
|
|
|
- text-align: center;
|
|
|
- color: rgba(149, 149, 149, 100);
|
|
|
- border: 1px solid rgba(187, 187, 187, 100);
|
|
|
- border-radius: 10rpx;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &-desc:last-child {
|
|
|
- margin-bottom: 0;
|
|
|
}
|
|
|
-
|
|
|
- &-deliver {
|
|
|
- &__detail {
|
|
|
- padding: 20rpx 0;
|
|
|
- justify-content: space-between;
|
|
|
- border-bottom: 1px solid rgba(236, 236, 236, 100);
|
|
|
-
|
|
|
- &__left {
|
|
|
- display: flex;
|
|
|
- height: 170rpx;
|
|
|
-
|
|
|
- .img {
|
|
|
-
|
|
|
- image {
|
|
|
- width: 170rpx;
|
|
|
- height: 170rpx;
|
|
|
- margin-right: 20rpx;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &__right {
|
|
|
- flex: 1;
|
|
|
- display: flex;
|
|
|
- height: 170rpx;
|
|
|
- flex-direction: column;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: flex-end;
|
|
|
-
|
|
|
- .num {
|
|
|
- width: 100%;
|
|
|
- justify-content: space-between;
|
|
|
-
|
|
|
- .sku {
|
|
|
- color: #8C8C8C;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
+
|
|
|
+ &-num {
|
|
|
+ justify-content: space-between;
|
|
|
+
|
|
|
+ &-sku {
|
|
|
+ color: #666666;
|
|
|
+ font-size: 26rpx;
|
|
|
}
|
|
|
-
|
|
|
- &__detail:last-child {
|
|
|
- border: none;
|
|
|
+
|
|
|
+ &-goods {
|
|
|
+ color: #666666;
|
|
|
+ font-size: 26rpx;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- .border {
|
|
|
- border-bottom: 1px solid rgba(236, 236, 236, 100);
|
|
|
+ }
|
|
|
+
|
|
|
+ &-item:last-child {
|
|
|
+ margin-bottom: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ // 运费
|
|
|
+ &-freight {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ padding-bottom: 18rpx;
|
|
|
+ border-bottom: 1px solid #eee;
|
|
|
+ margin-bottom: 20rpx;
|
|
|
+
|
|
|
+ &-title {
|
|
|
+ line-height: 28rpx;
|
|
|
+ color: #999;
|
|
|
}
|
|
|
-
|
|
|
- .border:last-child {
|
|
|
- border: none;
|
|
|
+
|
|
|
+ &-price {
|
|
|
+ line-height: 28rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 总价
|
|
|
+ &-total {
|
|
|
+ justify-content: flex-end;
|
|
|
+
|
|
|
+ &-price {
|
|
|
+ font-size: 30rpx;
|
|
|
+ color: #F24E4E;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
-
|
|
|
- .detail-btn {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: flex-end;
|
|
|
+
|
|
|
+ // 订单信息
|
|
|
+ .order {
|
|
|
+ padding: 34rpx;
|
|
|
+ background-color: #fff;
|
|
|
+ margin-bottom: 22rpx;
|
|
|
+
|
|
|
+ &-title {
|
|
|
+ font-size: 30rpx;
|
|
|
+ line-height: 30rpx;
|
|
|
+ margin-bottom: 22rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ &-item {
|
|
|
+ justify-content: space-between;
|
|
|
+ margin-bottom: 28rpx;
|
|
|
+
|
|
|
+ &-title {
|
|
|
+ color: #999999;
|
|
|
+ line-height: 28rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ &-content {
|
|
|
+
|
|
|
+ text {
|
|
|
+ height: 30rpx;
|
|
|
+ margin-left: 8rpx;
|
|
|
+ text-align: center;
|
|
|
+ border-radius: 12rpx;
|
|
|
+ font-size: 24rpx;
|
|
|
+ line-height: 24rpx;
|
|
|
+ display: inline-block;
|
|
|
+ padding: 0 6rpx;
|
|
|
+ background-color: rgba(153, 153, 153, .1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &-item:last-child {
|
|
|
+ margin-bottom: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 操作按钮
|
|
|
+ .footer-fixed {
|
|
|
position: fixed;
|
|
|
bottom: var(--window-bottom);
|
|
|
left: 0;
|
|
|
right: 0;
|
|
|
- // min-height: 120rpx;
|
|
|
z-index: 11;
|
|
|
box-shadow: 0 -4rpx 40rpx 0 rgba(151, 151, 151, 0.24);
|
|
|
background: #fff;
|
|
|
- // margin-bottom: 40rpx;
|
|
|
-
|
|
|
// 设置ios刘海屏底部横线安全区域
|
|
|
padding-bottom: constant(safe-area-inset-bottom);
|
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
|
- box-shadow: 0 -5rpx 5rpx #ececec;
|
|
|
- padding: 20rpx 20rpx;
|
|
|
-
|
|
|
- text {
|
|
|
-
|
|
|
- display: block;
|
|
|
- box-sizing: border-box;
|
|
|
- margin: 0 0 0 40rpx;
|
|
|
- width: 160rpx;
|
|
|
- height: 60rpx;
|
|
|
- line-height: 60rpx;
|
|
|
- text-align: center;
|
|
|
- font-size: 24rpx;
|
|
|
- border-radius: 8rpx;
|
|
|
- border: none;
|
|
|
- }
|
|
|
-
|
|
|
- text:first-child {
|
|
|
- background-color: #fff;
|
|
|
- line-height: 56rpx;
|
|
|
- border: 2rpx solid $uni-bg-color;
|
|
|
- }
|
|
|
-
|
|
|
- text:last-child {
|
|
|
- background-color: $uni-bg-color;
|
|
|
- color: #FFFFFF;
|
|
|
+
|
|
|
+ .btn {
|
|
|
+ justify-content: flex-end;
|
|
|
+ padding: 20rpx 34rpx;
|
|
|
+
|
|
|
+ &-item {
|
|
|
+ width: 200rpx;
|
|
|
+ height: 66rpx;
|
|
|
+ font-size: 30rpx;
|
|
|
+ border-radius: 33rpx;
|
|
|
+ margin-left: 44rpx;
|
|
|
+
|
|
|
+ text {
|
|
|
+ line-height: 30rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .logistics {
|
|
|
+ border: 1px solid #F9822C;
|
|
|
+ color: #F9822C;
|
|
|
+ }
|
|
|
+
|
|
|
+ .detail {
|
|
|
+ background-color: rgb(249, 130, 44);
|
|
|
+ color: #FFFFFF;
|
|
|
+ }
|
|
|
+
|
|
|
+ .cancel {
|
|
|
+ border: 1px solid #c4c6c9;
|
|
|
+ color: #c4c6c9;
|
|
|
+ }
|
|
|
+
|
|
|
+ .pay {
|
|
|
+ background-color: #5ac725;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+
|
|
|
+ &-item:first-child {
|
|
|
+ margin-left: 0;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</style>
|