123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- <!--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="scroll-container">
- <!-- 添加地址 -->
- <view wx:if="{{ goodsInfo.addresses.id }}" class="addBuyer">
- <view class="addBuyer-left">
- <view class="info selected">
- <view class="address">
- <image src="./images/icon-address.png" class="icon-man selected"></image>
- <text class="userName">{{ goodsInfo.addresses.name }}</text>
- <text>{{ goodsInfo.addresses.phoneNumber }}</text>
- </view>
- <view class="users">
- {{ goodsInfo.addresses.addressDetail }}
- </view>
- </view>
- </view>
- </view>
- <view wx:if="{{ hasInstrument }}" class="addBuyer">
- <view class="addBuyer-left">
- <view class="info selected" wx:if="{{ receiveAddress }}">
- <view class="address">
- <image src="./images/icon-address.png" class="icon-man {{ receiveAddress ? 'selected' : '' }}"></image>
- <text class="userName">{{ receiveAddressInfo.name }}</text>
- <text>{{ receiveAddressInfo.phoneNumber }}</text>
- </view>
- <view class="users">
- {{ receiveAddressInfo.addressDetail }}
- </view>
- </view>
- </view>
- </view>
- <view class="order-content">
- <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 class="goods-current-price">¥<text>{{item.salePrice}}</text></view>
- </view>
- <view class="goods-type">
- <view class="goods-card">{{ item.typeName }}</view>
- <block wx:if="{{ item.originalPrice > item.salePrice }}">
- <view class="goods-num">优惠前 ¥<text>{{ item.originalPrice }}</text></view>
- </block>
- </view>
- </view>
- </view>
- <view class="goodsInfos">
- <view class="qrcode-line"></view>
- <view class="goodsInfo-count">
- <view class="goods-price">
- <text class="before">共{{ goodsInfo.goods.length }}件,共减</text>
- <text class="stuff red">¥</text>
- <text class="priceZ">{{ goodsInfo.discountIntegerPart }}.{{ goodsInfo.discountDecimalPart }}</text>
- <!-- <text class="priceF">.{{ goodsInfo.decimalPart }}</text> -->
- <text class="afterTxt">应付:</text>
- <text class="stuff">¥</text>
- <text class="afterPrice">{{ goodsInfo.integerPart }}.{{ goodsInfo.decimalPart }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="buyUsers">
- <view class="users">
- <text class="username">{{ goodsInfo.beneficiary.name }}</text>{{ goodsInfo.beneficiary.phoneNumber }}
- </view>
- <view class="detail">{{goodsInfo.beneficiary.schoolInfo}}</view>
- <image class="buyuser_img" mode="widthFix" src="./images/buyuser.png"></image>
- </view>
- <view class="order-time">
- <template is="orderInfo" data="{{ goodsInfo }}"></template>
- </view>
- </view>
- </scroll-view>
- <!-- <view class="order-btn" wx:if="{{ goodsInfo.wechatStatus != 'WAIT_PAY' }}">
- <button type="primary" bind:tap="onSubmit">再来一单</button>
- </view> -->
- </view>
- <template name="orderInfo">
- <view class="order-item">
- <view class="title">订单编号</view>
- <view class="value">{{ goodsInfo.orderNo }}
- <view class="copy cell-line" 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>
- </template>
|