<view class="BoxBg">
    <navbar back home  text="订单详情" background='#fff' color="#000"></navbar>
    <view style="height:{{navigationBarHeight}} "></view>
    
    <view class="ifPay" tt:if="{{detailObj.orderStatus==1}}">
        <image class='yueImg' src='../../assets/itemImg/succ.png' mode='widthFix'></image>
        <view class="statusPayText">支付成功</view>
    </view>
    <view class="hie" tt:elss></view>
    <view class="commodityBox">
        <view class="commodityTitle">{{detailObj.title}}</view>
        <view class="imgNanText">
            <!-- <view class="commodityImgBox"></view> -->
            <image class='commodityImgBox' src='{{detailObj.coverImg}}' mode='widthFix'></image>
            <view class="commodityData">
                <view class="commodityName">{{createDate}}</view>
            </view>
        </view>
    </view>

    <view class="orderBox" tt:if="{{detailObj.orderStatus==1}}" bindtap="powerDrawer" data-couponOrderStatus="{{detailObj.couponOrderStatus}}" data-title="{{detailObj.title}}" data-subtitle="{{detailObj.subTitle}}" data-remark="{{detailObj.remark}}" data-quancode="{{detailObj.couponOrderId}}"
    data-validstatus="{{detailObj.validStatus}}">
        <view class="rqBox">
            <view class="text">兑换码：</view>
            <view class="rqCode">{{detailObj.couponOrderId}}</view>
            <image class="goQr" src="../../assets/itemImg/chevron.png" mode='widthFix'></image>
            <image class="rqImg" src="../../assets/itemImg/spcode.png" mode='widthFix'></image>
        </view>
    </view>
    <view class="orderNumBox">
        <view class="orderNum">
            <view class="numText">订单编号：</view>
            <view class="num">{{detailObj.orderNumber}}</view>
        </view>
    </view>
    <view class="orderNumBox1">
        <view class="orderNum">
            <view class="numText">实付金额：</view>
            <view class="money">{{detailObj.payment/100}}元</view>
            <view class="moneyiIcn">¥</view>
        </view>
    </view>
    <!-- <view class="orderNumBox1">
        <view class="shop">适用门店</view>
        <view class="shopbox">
            <view class="shopImg"></view>
            <view class="shopDetailsBox">
                <view class="shopName">百利</view>
                <view class="floor">A座一层--A2827</view>
            </view>
            <view class="phoneImg"></view>
        </view>
    </view> -->
    
    <store merchantVoObj="{{detailObj.merchantVoList[0]}}"></store>
    <view class="payBtn" tt:if="{{detailObj.orderStatus==0&&detailObj.salePrice!=0}}" bindtap="gotopay">立即支付</view>
</view>
