123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- <!--pages/orders/order-detail.wxml-->
- <view class="container">
- <navigation-bar title="{{ statusList[status].title }}"></navigation-bar>
- <scroll-view class="record-list" type="list" scroll-y>
- <!-- <view class="order-status" wx:if="{{statusList[status]}}">
- <view class="status">
- <image src="{{ statusList[status].logo }}"></image>
- <text>{{ statusList[status].title }}</text>
- </view>
- <view class="tips" wx:if="{{ statusList[status].content }}">{{ statusList[status].content }}</view>
- </view> -->
- <view class="goods-content" wx:if="{{ goodsInfo.goods && goodsInfo.goods.length > 0 }}">
- <view class="item-content" wx:for="{{ goodsInfo.goods }}" wx:key="index">
- <image class='goods-icon' src="{{item.goodsUrl}}" mode="" />
- <view class="goods-desc">
- <view class="goodsInfo">
- <view class="goods-name">{{ item.goodsName }}</view>
- </view>
- <view class="goods-type">
- <view class="goods-price">
- <text class="stuff">¥</text>
- <text class="priceZ">{{ item.integerPart }}</text>
- <text class="priceF">.{{ item.decimalPart }}</text>
- </view>
- <view class="origin-price">|日常价 ¥ {{item.originalPrice}}</view>
- </view>
- </view>
- </view>
- <view class="goodsInfos">
- <view class="qrcode-line"></view>
- <view class="goodsInfo-item">
- <text class="title">合计</text>
- <view class="goods-price">
- <text class="stuff">¥</text>
- <text class="priceZ">{{ goodsInfo.integerPart }}</text>
- <text class="priceF">.{{ goodsInfo.decimalPart }}</text>
- </view>
- </view>
- <view class="goodsInfo-item" wx:if="{{ goodsInfo.originalPrice > goodsInfo.paymentCashAmount }}">
- <text class="title">已省</text>
- <view class="calc-price">¥{{ goodsInfo.allDiscountPrice }}</view>
- </view>
- </view>
- </view>
- <view class="select-section select-address" wx:if="{{ goodsInfo.addresses.id }}" wx:key="receiveAddress">
- <view class="address-info">
- <view class="address-text">
- {{ goodsInfo.addresses.addressDetail }}
- </view>
- <view class="address-user">
- <text>{{ goodsInfo.addresses.name }}</text>
- <text>{{ goodsInfo.addresses.phoneNumber }}</text>
- </view>
- </view>
- </view>
- <view class="select-section select-buy-user" wx:if="{{ goodsInfo.beneficiary.id }}" wx:key="userBeneficiaryId">
- <view class="title">
- <view class="name">购买人信息</view>
- </view>
- <view class="user-list">
- <view class="user-item">
- <view class="left-label">学生姓名</view>
- <view class="right-value">{{ goodsInfo.beneficiary.name }}</view>
- </view>
- <view class="user-item">
- <view class="left-label">联系方式</view>
- <view class="right-value">{{ goodsInfo.beneficiary.phoneNumber }}</view>
- </view>
- <view class="user-item">
- <view class="left-label">学校信息</view>
- <view class="right-value">{{ goodsInfo.beneficiary.schoolInfo }}</view>
- </view>
- </view>
- </view>
- <view class="order-time">
- <view class="order-item">
- <view class="title">订单编号</view>
- <view class="value">
- {{ goodsInfo.orderNo }}
- <view class="copy" bind:tap="onCopy" data-orderno="{{goodsInfo.orderNo}}">复制</view>
- </view>
- </view>
- <view class="order-item">
- <view class="title">下单时间</view>
- <view class="value">{{ goodsInfo.createTime }}</view>
- </view>
- </view>
- <!-- <view class="order-content" wx:if="{{ (goodsInfo.wechatStatus == 'PAID' || goodsInfo.wechatStatus == 'WAIT_USE') && showCanvas }}">
- <view class="qrcode-text" wx:if="{{goodsInfo.wechatStatus == 'WAIT_USE'}}"><text>扫描二维码</text>或<text>点击激活按钮</text>使用<block wx:if="{{ goodsInfo.giftStatus === 'WAIT_GIFT' }}">
- ,<text class="free">当天激活</text><text class="free blod">赠{{ goodsInfo.giftLongTime }}</text>
- </block>
- </view>
- <view class="qrcode-text used" wx:else>
- <view>下载<text>「音乐数字课堂」</text>APP,畅享音乐之旅</view>
- <view class="downloadApp" bind:tap="onDownloadApp">下载APP</view>
- </view>
- <view class="qrcode-line"></view>
- <view class="qrcode-section">
- <view class="qrcode-block">
- <view class="left-text">{{goodsInfo.wechatStatus == 'WAIT_USE' ? '待使用' : '已使用'}}</view>
- <view class="qrCodeSection">
- <view class="qrcode-wrap {{goodsInfo.wechatStatus == 'WAIT_USE' ? '' : 'used'}}">
- <image src="{{canvasImg}}" mode="scaleToFill" class='my_draw_canvas' style="opacity: {{ goodsInfo.wechatStatus == 'PAID' ? 0.5 : 1 }};" show-menu-by-longpress="true"></image>
- <view class="loader" wx:if="{{!canvasImg}}"></view>
- </view>
- <view class="qrcode-btn--section" wx:if="{{goodsInfo.wechatStatus == 'WAIT_USE'}}">
- <button class="download" disabled="{{ !canvasImg ? true : false }}" bind:tap="onDownload">下载二维码</button>
- <button class="submit" disabled="{{ !canvasImg ? true : false }}" bind:tap="onActivation" data-code="{{ goodsInfo.code }}">立即激活</button>
- </view>
- </view>
- </view>
- </view>
- <view class="download-task" wx:if="{{ goodsInfo.wechatStatus == 'WAIT_USE' }}">
- <image mode="widthFix" src="https://oss.dayaedu.com/ktyq/1733725573779.png"></image>
- </view>
- </view> -->
- <!-- <view class="order-time" wx:if="{{ goodsInfo.wechatStatus == 'REFUNDED' || goodsInfo.wechatStatus == 'REFUNDING' }}">
- <view class="order-item">
- <view class="title">{{ goodsInfo.wechatStatus == 'REFUNDED' ? '退款时间' : '申请退款时间' }}</view>
- <view class="value">{{ goodsInfo.refundTime || '' }}</view>
- </view>
- <view class="order-item">
- <view class="title">退款金额</view>
- <view class="value">¥{{ goodsInfo.refundAmount }}</view>
- </view>
- <view class="order-item" wx:if="{{goodsInfo.wechatStatus != 'REFUNDING'}}">
- <view class="title">退款路径</view>
- <view class="value">{{ goodsInfo.refundStyleStr }}</view>
- </view>
- </view> -->
- <view class="scroll-brank"></view>
- </scroll-view>
- <!-- <canvas class='my_draw_canvas only_canvas' data-type="image" canvas-id='canvasCode' id="canvasCode"></canvas> -->
- <!-- <view class="order-btn" wx:if="{{ goodsInfo.wechatStatus != 'WAIT_PAY' }}">
- <block wx:if="{{ goodsInfo.wechatStatus == 'WAIT_USE' }}">
- <button type="primary" class="refoundWaiteUse" bind:tap="useRefound">申请退款</button>
- <button type="primary" bind:tap="onSubmit">再次购买</button>
- </block>
- <block wx:else>
- <button type="primary" bind:tap="cancelRefound" wx:if="{{ goodsInfo.wechatStatus == 'REFUNDING' }}" disabled="{{cancelRefoundStatus}}">取消退款</button>
- <button type="primary" wx:else bind:tap="onSubmit">再次购买</button>
- </block>
- </view> -->
- <!-- 客服 -->
- <service wx:if="{{serviceShow}}"></service>
- <!-- 退费 -->
- <!-- <apply-refound refoundStatus="{{ refoundStatus }}" goodsInfo="{{goodsInfo}}" bind:changeRefoundStatus="changeRefoundStatus" bind:onConfirm="onRefoundComfirm"></apply-refound> -->
- </view>
|