|
@@ -2,23 +2,27 @@
|
|
|
|
|
|
<view class="detail_top flex-column">
|
|
|
<!-- 待支付状态 -->
|
|
|
- <!-- <view class="detail_top flex-column">
|
|
|
- <view style="font-size: 32rpx;font-weight: 700;text-align: left;color: #000000;">待支付</view>
|
|
|
- <view style="margin-top: 15rpx;font-weight: 400;text-align: left;font-size: 32rpx;">剩余支付时间 00:44:51</view>
|
|
|
- <view class="order_goods_bottom" style="margin-top: 44rpx;">
|
|
|
+ <view class="detail_top flex-column">
|
|
|
+ <view style="font-size: 36rpx;font-weight: 700;text-align: left;color: #000000;">{{orderInfo.stateText}}</view>
|
|
|
+ <!-- <view style="margin-top: 15rpx;font-weight: 400;text-align: left;font-size: 32rpx;">剩余支付时间 00:44:51</view> -->
|
|
|
+ <view class="order_goods_bottom" style="margin-top: 44rpx;" wx:if="{{orderInfo.state ==1}}">
|
|
|
<view class="canel_order" catchtap="cancelOrder">取消订单</view>
|
|
|
- <view class="pay_order">立即支付</view>
|
|
|
+ <view class="pay_order" catchtap="handelToPay">立即支付</view>
|
|
|
</view>
|
|
|
- </view> -->
|
|
|
+
|
|
|
+ <view class="order_goods_bottom" style="margin-top: 44rpx;" wx:if="{{orderInfo.state ==2}}">
|
|
|
+ <view class="Request_a_refund" catchtap="goTorefund">申请退款</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<!-- 待备餐详情 -->
|
|
|
- <view class="detail_top flex-column">
|
|
|
+ <!-- <view class="detail_top flex-column">
|
|
|
<view style="font-size: 32rpx;font-weight: 700;text-align: left;color: #000000;">待备餐</view>
|
|
|
<view style="margin-top: 16rpx;font-weight: 700;text-align: left;font-size: 62rpx;">2105</view>
|
|
|
<view style="margin-top: 16rpx;font-weight: 400;text-align: left;font-size: 32rpx;">取单号</view>
|
|
|
<view class="order_goods_bottom">
|
|
|
<view class="Request_a_refund" catchtap="goTorefund">申请退款</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
|
|
|
|
|
|
</view>
|
|
@@ -26,8 +30,8 @@
|
|
|
|
|
|
<view class="detail_center">
|
|
|
<view class="detail_stroe flex-row">
|
|
|
- <view class="detail_stroe_name">上海浦东金高路店</view>
|
|
|
- <view style="margin-top: 22rpx;">
|
|
|
+ <view class="detail_stroe_name">{{orderInfo.storeName}}</view>
|
|
|
+ <view style="margin-top: 22rpx;" catchtap="callMobile" data-mobile="{{orderInfo.store.liaisonPhone}}">
|
|
|
<image style="width:65rpx;height:65rpx;margin-right: 24rpx;margin-top: 19rpx;" src="/images/groupmeallist/phone_icon.png"></image>
|
|
|
</view>
|
|
|
|
|
@@ -40,18 +44,19 @@
|
|
|
|
|
|
<view class="goods_detail flex-row">
|
|
|
<view class="flex-row">
|
|
|
- <view class="for_detail_good_title">清爽夏日套餐<span style="color:#AFD250;margin-left:10rpx;font-size:22rpx">x1</span> </view>
|
|
|
- <view style="font-size: 24rpx;font-weight: 400;text-align: center;color: #9b9b9b;margin-left: 14rpx;border-bottom: 1rpx #9B9B9B solid;"> {{cartSkuMapData[index].show == true ? '收起' : '详情'}}</view>
|
|
|
+ <view class="for_detail_good_title">{{item.productName}}<span style="color:#AFD250;margin-left:10rpx;font-size:22rpx">x{{item.num}}</span> </view>
|
|
|
+ <view style="font-size: 24rpx;font-weight: 400;text-align: center;color: #9b9b9b;margin-left: 14rpx;border-bottom: 1rpx #9B9B9B solid;" catchtap="changeCollapseOrDetail" data-idx="{{idx}}"> {{orderGoodList[idx].show == true ? '收起' : '详情'}}</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="for_detail_good_price">¥ 58.8</view>
|
|
|
+ <view class="for_detail_good_price">¥ {{item.allFee}}</view>
|
|
|
|
|
|
</view>
|
|
|
<!-- 套餐详情 -->
|
|
|
- <view class="combo_detail">
|
|
|
- 杨枝甘露清爽版
|
|
|
+ <view class="combo_detail {{orderGoodList[idx].show != true ?'hide':''}}">
|
|
|
+ <!-- 杨枝甘露清爽版
|
|
|
<span style="font-size: 20rpx;">(大杯/常温/标准糖)</span>
|
|
|
- <span style="color:#AFD250;margin-left:10rpx;font-size:22rpx">x1</span>
|
|
|
+ <span style="color:#AFD250;margin-left:10rpx;font-size:22rpx">x1</span> -->
|
|
|
+ {{item.skuText}}
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
@@ -60,7 +65,7 @@
|
|
|
|
|
|
</view>
|
|
|
|
|
|
- <view catchtap="handleFlodExtend">
|
|
|
+ <view catchtap="handleFlodExtend" wx:if="{{orderGoodList.length >3}}">
|
|
|
|
|
|
<block wx:if="{{showAllSku}}">
|
|
|
<view class="exten-flod"> 收起
|
|
@@ -69,7 +74,7 @@
|
|
|
|
|
|
</block>
|
|
|
<block wx:else>
|
|
|
- <view class="exten-flod">查看全部(5)
|
|
|
+ <view class="exten-flod">查看全部({{orderGoodList.length}})
|
|
|
<image style="width:19rpx;height:10rpx;" src="/images/groupmeallist/bottom_icom.png" />
|
|
|
</view>
|
|
|
|
|
@@ -84,15 +89,17 @@
|
|
|
<view style="font-size: 28rpx;font-weight: 400;text-align: left;color: #000000;margin-left: 13rpx;">优惠券</view>
|
|
|
</view>
|
|
|
|
|
|
- <view style="font-size: 28rpx;font-weight: 400;text-align: left;color: #d65065;margin-right: 31rpx;">-¥4</view>
|
|
|
+ <view style="font-size: 28rpx;font-weight: 400;text-align: left;color: #d65065;margin-right: 31rpx;" wx:if="{{orderInfo.couponDiscount.discountPrice>0}}">¥-{{orderInfo.couponDiscount.discountPriceY}}</view>
|
|
|
+ <view style="font-size: 28rpx;font-weight: 400;text-align: left;color: #d65065;margin-right: 31rpx;" class="discount_pay_top_right" wx:else="">¥0</view>
|
|
|
</view>
|
|
|
|
|
|
<view style="width: 93%; border-bottom: 1px #e2e2e2 solid; margin: auto;margin-top: 13rpx;"></view>
|
|
|
|
|
|
<view class="all_price flex-row">
|
|
|
- <view>已优惠 <sapn style="font-size: 28rpx;font-weight: 400;text-align: left;color: #d65065;margin-right: 31rpx;">-¥4</sapn>
|
|
|
+ <view> <span wx:if="{{orderInfo.couponDiscount.discountPrice>0}}">已优惠</span>
|
|
|
+ <sapn style="font-size: 28rpx;font-weight: 400;text-align: left;color: #d65065;margin-right: 31rpx;" wx:if="{{orderInfo.couponDiscount.discountPrice>0}}">¥-{{orderInfo.couponDiscount.discountPriceY}}</sapn>
|
|
|
合计 ¥
|
|
|
- <sapn style="font-size: 38rpx;font-weight: 400;text-align: left;color: #000000;margin-right: 22rpx;">11</sapn>
|
|
|
+ <sapn style="font-size: 38rpx;font-weight: 400;text-align: left;color: #000000;margin-right: 22rpx;">{{orderInfo.totalOriPriceY}}</sapn>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
@@ -100,18 +107,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
<view class="store_information flex-column" style=" margin-top: 33rpx;">
|
|
|
<view class="store_information_top">门店信息</view>
|
|
|
<!-- <view style="width: 93%; border-bottom: 1px #e2e2e2 solid; margin: auto;margin-top: 24rpx;"></view> -->
|
|
|
<view class="orderSn flex-row">
|
|
|
<view style="font-size: 28rpx; font-weight: 400;text-align: left;color: #939393;margin-top:23rpx;margin-left:22rpx">门店名称</view>
|
|
|
- <view style="font-size: 28rpx;font-weight: 400;text-align: left;color: #232323;margin-right: 27rpx;margin-top: 21rpx;">上海浦东金高路店</view>
|
|
|
+ <view style="font-size: 28rpx;font-weight: 400;text-align: left;color: #232323;margin-right: 27rpx;margin-top: 21rpx;">{{orderInfo.storeName}}</view>
|
|
|
</view>
|
|
|
<view class="flex-row" style="justify-content: space-between;margin-top: 5rpx;">
|
|
|
<view style="font-size: 28rpx; font-weight: 400;text-align: left;color: #939393;margin-top:23rpx;margin-left:22rpx">门店地址</view>
|
|
|
<view style="margin-top: 26rpx;">
|
|
|
- <span style="margin-right: 7rpx;font-size: 28rpx;font-weight: 400;text-align: left;color: #232323;margin-right: 26rpx;">高行镇金高路1128号</span>
|
|
|
+ <span style="margin-right: 7rpx;font-size: 28rpx;font-weight: 400;text-align: left;color: #232323;margin-right: 26rpx;">{{orderInfo.store.address}}</span>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
@@ -119,14 +126,14 @@
|
|
|
<view style="font-size: 28rpx; font-weight: 400;text-align: left;color: #939393;margin-top:23rpx;margin-left:22rpx">联系方式</view>
|
|
|
<view style="margin-top: 26rpx;">
|
|
|
|
|
|
- <view class="flex-row">
|
|
|
- <span style="margin-right: 7rpx;font-size: 28rpx;font-weight: 400;text-align: left;color: #232323;">186-2100-3075</span>
|
|
|
+ <view class="flex-row" style="margin-right: 26rpx;">
|
|
|
+ <span style="font-size: 28rpx;font-weight: 400;text-align: left;color: #232323;">{{orderInfo.store.liaisonPhone}}</span>
|
|
|
|
|
|
- <view style="height: 19rpx; border-left: 1px #e2e2e2 solid; margin: auto;margin-left: 25rpx;margin-right: 15rpx;"></view>
|
|
|
- <span class="copy_button" style="color: #AFD250;">
|
|
|
+ <!-- <view style="height: 19rpx; border-left: 1px #e2e2e2 solid; margin: auto;margin-left: 25rpx;margin-right: 15rpx;"></view>
|
|
|
+ <span class="copy_button" style="color: #AFD250;" >
|
|
|
<image style="width: 25rpx;height: 27rpx;margin-top: 5rpx;" src="/images/groupmeallist/phone_icon.png"></image>
|
|
|
联系商家
|
|
|
- </span>
|
|
|
+ </span> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -137,7 +144,9 @@
|
|
|
<!-- -->
|
|
|
<view class="way flex-row">
|
|
|
<view style="font-size: 28rpx;font-weight: 700;text-align: left;color: #000000;margin-left: 29rpx;">用餐方式</view>
|
|
|
- <view style="font-size: 28rpx;font-weight: 400;text-align: left;color: #000000;margin-right: 23rpx;">门店自取</view>
|
|
|
+ <view style="font-size: 28rpx;font-weight: 400;text-align: left;color: #000000;margin-right: 23rpx;" wx:if="{{orderInfo.dinnerType==1}}">门店自取</view>
|
|
|
+ <view style="font-size: 28rpx;font-weight: 400;text-align: left;color: #000000;margin-right: 23rpx;" wx:if="{{orderInfo.dinnerType==2}}">外送到家</view>
|
|
|
+
|
|
|
</view>
|
|
|
|
|
|
|
|
@@ -147,21 +156,22 @@
|
|
|
<view class="orderSn flex-row">
|
|
|
<view style="font-size: 28rpx; font-weight: 400;text-align: left;color: #939393;margin-top:23rpx;margin-left:22rpx">订单编号</view>
|
|
|
<view style="margin-top: 26rpx;">
|
|
|
- <span style="margin-right: 7rpx;font-size: 28rpx;font-weight: 400;text-align: left;color: #232323;">D4816460408184929451</span>
|
|
|
- <span class="copy_button" style=" margin-top: 26.5rpx;">复制</span>
|
|
|
+ <span style="margin-right: 7rpx;font-size: 28rpx;font-weight: 400;text-align: left;color: #232323;">{{orderSn}}</span>
|
|
|
+ <span class="copy_button" style=" margin-top: 26.5rpx;" catchtap="copywxtap">复制</span>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="flex-row" style="justify-content: space-between;margin-top: 35rpx;">
|
|
|
<view style="font-size: 28rpx; font-weight: 400;text-align: left;color: #939393;margin-top:23rpx;margin-left:22rpx">下单时间</view>
|
|
|
<view style="margin-top: 26rpx;">
|
|
|
- <span style="margin-right: 7rpx;font-size: 28rpx;font-weight: 400;text-align: left;color: #232323;margin-right: 26rpx;">2022-05-09 11:58:30</span>
|
|
|
+ <span style="margin-right: 7rpx;font-size: 28rpx;font-weight: 400;text-align: left;color: #232323;margin-right: 26rpx;">{{orderInfo.createTime}}</span>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
<view class="flex-row" style="justify-content: space-between;margin-top: 25rpx; height: 37rpx;">
|
|
|
<view style="font-size: 28rpx; font-weight: 400;text-align: left;color: #939393;margin-top:23rpx;margin-left:22rpx">备注信息</view>
|
|
|
<view style="margin-top: 26rpx;">
|
|
|
- <span style="margin-right: 7rpx;font-size: 28rpx;font-weight: 400;text-align: left;color: #232323;margin-right: 26rpx;">无</span>
|
|
|
+ <span style="margin-right: 7rpx;font-size: 28rpx;font-weight: 400;text-align: left;color: #232323;margin-right: 26rpx;" wx:if=" {{orderInfo.remark != ''}}">{{orderInfo.remark}}</span>
|
|
|
+ <span style="margin-right: 7rpx;font-size: 28rpx;font-weight: 400;text-align: left;color: #232323;margin-right: 26rpx;" wx:if=" {{orderInfo.remark == ''}}">无</span>
|
|
|
</view>
|
|
|
|
|
|
</view>
|