123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- <!--pages/orders/order-detail.wxml-->
- <view class="container">
- <navigation-bar title="核对订单"></navigation-bar>
- <scroll-view class="record-list" type="list" scroll-y>
- <!-- <view class="order-status">
- <view class="status">
- <image src="{{ statusList[status].logo }}"></image>
- <text>{{ statusList[status].title }}</text>
- </view>
- <view class="tips">{{ statusList[status].content }}</view>
- </view> -->
- <!-- 添加权益人 -->
- <view class="addBuyer" bind:tap="onSelectAddress" wx:if="{{ hasInstrument }}">
- <image src="./images/address-top.png" mode="widthFix" class="addressTop"></image>
- <view class="addBuyer-left">
- <image src="./images/icon-address.png" class="icon-man"></image>
- <view class="info" wx:if="{{ receiveAddress }}">
- <view class="users">
- {{ receiveAddressInfo.addressDetail }}
- </view>
- <view class="address">
- <text>{{ receiveAddressInfo.name }}</text>
- <text>{{ receiveAddressInfo.phoneNumber }}</text>
- </view>
- </view>
- <view class="info" wx:else>
- <view class="users">
- 新建收货地址
- </view>
- <view class="address">请填写您的收货地址与信息</view>
- </view>
- </view>
- <image src="./images/icon-arrow-right.png" class="arrow-right"></image>
- </view>
- <view class="order-content">
- <view class="item-content" wx:for="{{ goodsInfo.goodsList }}" wx:key="index">
- <image class='goods-icon' src="{{ item.pic }}" mode="" />
- <view class="goods-desc">
- <view class="goodsInfo">
- <view class="goods-name">{{ item.name }}</view>
- <view class="goods-current-price">¥<text>{{ item.integerPart }}.{{ item.decimalPart }}</text></view>
- </view>
- <view class="goods-type">
- <view>
- <text class="goods-card" wx:if="{{ item.typePeriod }}">{{ item.typePeriod }}</text>
- </view>
- <view class="goods-num">x 1</view>
- </view>
- </view>
- </view>
- <view class="goodsInfos">
- <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.allOriginPrice > goodsInfo.allSalePrice }}">
- <text class="title">惊喜优惠</text>
- <!-- <view class="calc-price">-¥ {{ goodsInfo.allDiscountPrice }}</view> -->
- <view class="goods-price calc-price">
- <text class="stuff">¥</text>
- <text class="priceZ">{{ goodsInfo.discountIntegerPart }}</text>
- <text class="priceF">.{{ goodsInfo.discountDecimalPart }}</text>
- </view>
- </view>
- <view class="qrcode-line"></view>
- <view class="goodsInfo-count">
- <view class="goods-price">
- <text class="before">共{{ goodsInfo.goodsList.length }}件:</text>
- <text class="stuff">¥</text>
- <text class="priceZ">{{ goodsInfo.integerPart }}</text>
- <text class="priceF">.{{ goodsInfo.decimalPart }}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="wechat-section">
- <view class="wechat-left">
- <image src="./images/icon-wechat.png"></image>
- 微信支付
- </view>
- <image src="./images/icon-checkbox.png" class="checkbox"></image>
- </view>
- <!-- <view class="order-time">
- <view class="order-item">
- <view class="title">订单号</view>
- <view class="value">2133442226668</view>
- </view>
- <view class="order-item">
- <view class="title">下单时间</view>
- <view class="value">2023-07-12 18:12:45</view>
- </view>
- </view> -->
- </scroll-view>
- <view class="order-btn">
- <view class="more">
- <view class="price-section">
- <view class="price">
- <view class="desc">共计</view>
- <view class="currentPrice">
- <text class="stuff">¥</text>
- <text class="priceZ">{{ goodsInfo.integerPart }}</text>
- <text class="priceF">.{{ goodsInfo.decimalPart }}</text>
- </view>
- <text class="line"></text>
- <text class="discountPrice">优惠 ¥{{ goodsInfo.allDiscountPrice }}</text>
- </view>
- </view>
- <button type="primary" bind:tap="onSubmit">{{ goodsInfo.orderNo ? '继续支付' : '提交' }}</button>
- </view>
- </view>
- <van-popup show="{{ addressShow }}" safe-area-inset-bottom="{{false}}" lock-scroll="{{true}}" bind:close="onCloseAddress" position="bottom" round z-index="101" bind:after-leave="onAddressAfterLeave">
- <view class="addressContainer" wx:if="{{ !addressAfterLeave }}">
- <image src="./images/icon-close1.png" class="icon-close" bind:tap="onCloseAddress" />
- <view class="pop-address-title">
- {{ id ? '修改收货地址' : '新建收货地址' }}
- </view>
- <van-cell-group border="{{ false }}" class="cell-group">
- <van-field model:value="{{ name }}" label="收货人" placeholder="请填写收货人姓名" placeholder-style="color: #bbb" />
- <van-field model:value="{{ phoneNumber }}" label="电话号码" type="number" placeholder-style="color: #bbb" placeholder="请输入手机号码" maxlength="11" />
- <van-field value="{{ provinceName ? provinceName + '/' + cityName + '/' + regionName : '' }}" label="选择地区" placeholder-style="color: #bbb" placeholder="请选择省/市/区" readonly is-link bind:tap="onShowAreaList" />
- <van-field model:value="{{ detailAddress }}" label="详细地址" type="textarea" placeholder-style="color: #bbb" placeholder="请填写小区/楼号/单元/门牌号" input-class="textarea" autosize />
- </van-cell-group>
- <view class="pop-btn-group">
- <button class="submit-btn" bind:tap="onOperationAddress">确认</button>
- </view>
- </view>
- </van-popup>
- <!-- 地区 -->
- <van-popup round="{{true}}" lock-scroll="{{true}}" z-index="{{103}}" show="{{showArea}}" position="bottom" safe-area-inset-bottom="{{false}}" bind:close="onCloseAreaList">
- <van-area id='area1' areaList="{{areaList}}" visible-item-count="9" item-height="46" value="{{ regionCode }}" bind:cancel="onCloseAreaList" bind:confirm="submitArea" />
- </van-popup>
- <!-- <service popShow="{{ showService }}" bind:changePop="changePop"></service> -->
- </view>
|