123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201 |
- <!-- 积分商品提交订单页面 -->
- <!--pages/integralSubmitOrder/integralSubmitOrder.wxml-->
- <view class='container'>
- <view class='submit-order'>
- <!-- 收货地址 -->
- <view class='delivery-addr ' bindtap='toAddrListPage'>
- <view class='addr-bg ' wx:if="{{!userAddr}}">
- <view class='add-addr'>
- <view class='plus-sign-img'>
- <image src='../../../images/icon/plus-sign.png'></image>
- </view>
- <text>新增收货地址</text>
- </view>
- <view class='arrow empty'></view>
- </view>
- <view class='addr-bg whole' wx:if="{{userAddr}}">
- <view class='addr-icon'>
- <image src='../../../images/icon/addr.png'></image>
- </view>
- <view class='user-info'>
- <text class='item'>{{userAddr.receiver}}</text>
- <text class='item'>{{userAddr.mobile}}</text>
- </view>
- <view class='addr'>{{userAddr.province}}{{userAddr.city}}{{userAddr.area}}{{userAddr.addr}}</view>
- <view class='arrow'></view>
- </view>
- </view>
- <!-- <view class="shop-item" wx:for="{{shopCartOrders}}" wx:for-item="shopCart"> -->
- <!-- 店铺信息 -->
- <!-- <view class="shop-box">
- <view class="shop-icon">
- <image src="../../images/icon/shop.png"></image>
- </view>
- <view class="shop-name">{{shopCart.shopName}}</view>
- </view> -->
- <!-- /店铺信息 -->
- <!-- 店铺商品明细 -->
- <view class='prod-item'>
- <!-- <block wx:for="{{shopCart.shopCartItemDiscounts}}" wx:for-item="shopCartItem"> -->
- <!-- <block wx:for="{{productItemDto}}" wx:key=''> -->
- <view class="item-box">
-
- <!-- 商品信息 -->
- <view class='item-cont'>
- <view class='prod-pic'>
- <image src='{{productItemDto.pic}}'></image>
- </view>
- <view class='prod-info'>
- <view class='prodname'>
- {{productItemDto.prodName}}
- </view>
- <view class='prod-info-cont'>{{productItemDto.skuName}}</view>
- <view class="show-price">
- <view class='price-nums'>
- <text class='prodprice' wx:if="{{productItemDto.price}}"><text class='symbol'>¥</text>
- <text class='big-num' wx:if="{{productItemDto.price}}">{{wxs.parsePrice(productItemDto.price)[0]}}</text>
- <text class='small-num' wx:if="{{productItemDto.price}}">.{{wxs.parsePrice(productItemDto.price)[1]}}</text>
- <text class='small-num' decode="{{true}}" wx:if="{{productItemDto.price}}"> + </text>
- </text>
- <text class="prodcount">x{{productItemDto.prodCount}} </text>
- </view>
- <!-- 积分 -->
- <view class="integral-num">
- <text decode="{{true}}"> {{productItemDto.scorePrice}} 积分</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- </block> -->
- <!-- </block> -->
- <!-- <view class='total-num'>
- <text class="prodcount">共{{totalCount}}件商品</text>
- <view class='prodprice'>合计:
- <text class='symbol'>¥</text>
- <text class='big-num'>{{wxs.parsePrice(total)[0]}}</text>
- <text class='small-num'>.{{wxs.parsePrice(total)[1]}}</text>
- </view>
- </view> -->
- </view>
- <!-- /店铺商品明细 -->
- <!-- 店铺优惠券和买家留言 -->
- <view class='order-msg'>
- <view class='msg-item'>
- <!-- <view class='item coupon' bindtap='showCouponPopup' data-index="{{index}}">
- <text class='item-tit'>优惠券:</text>
- <text class='coupon-btn' wx:if="{{shopCart.showCoupons.totalLength==0}}">暂无可用</text>
- <text class='coupon-btn' wx:else>{{shopCart.showCoupons.totalLength}}张可用</text>
- <text class="coupon-amount" wx:if="{{shopCart.showCoupons.couponAmount>0}}">-{{wxs.toPrice(shopCart.showCoupons.couponAmount)}}</text>
- <text class='arrow'></text>
- </view> -->
- <view class='item'>
- <text>买家备注:</text>
- <input placeholder='选填,给商家留言' value="{{remarks}}" data-index="{{index}}" bindinput="onRemarkIpt"></input>
- </view>
- </view>
- </view>
- <!-- /店铺优惠券和买家留言 -->
- <!-- </view> -->
-
- <!-- 总金额计算 -->
- <view class='order-msg'>
- <view class='msg-item'>
- <!-- 商品总额 -->
- <view class='item'>
- <view class='item-tit'>商品总额:</view>
- <view class='item-txt price'>
- <text class='symbol'>¥</text>
- <text class='big-num'>{{wxs.parsePrice(total)[0]}}</text>
- <text class='small-num'>.{{wxs.parsePrice(total)[1]}}</text>
- </view>
- </view>
- <!-- 运费 -->
- <view class='item'>
- <view class='item-tit'>运费:</view>
- <view class='item-txt price'>
- <text class='symbol'>¥</text>
- <text class='big-num'>{{wxs.parsePrice(transfee)[0]}}</text>
- <text class='small-num'>.{{wxs.parsePrice(transfee)[1]}}</text>
- </view>
- </view>
- <!-- 优惠金额 -->
- <view class='item'>
- <view class='item-tit'>优惠金额:</view>
- <view class='item-txt price'>
- <text class='symbol'>-¥</text>
- <text class='big-num'>{{wxs.parsePrice(orderReduce)[0]}}</text>
- <text class='small-num'>.{{wxs.parsePrice(orderReduce)[1]}}</text>
- </view>
- </view>
- <!-- <view class='item payment'>
- <view class='item-txt price'>
- 小计:
- <text class='symbol'>¥</text>
- <text class='big-num'>{{wxs.parsePrice(actualTotal)[0]}}</text>
- <text class='small-num'>.{{wxs.parsePrice(actualTotal)[1]}}</text>
- </view>
- </view> -->
- </view>
- </view>
- <!-- /总金额计算 -->
- </view>
- <!-- 底部栏 -->
- <view class='submit-order-footer'>
- <view class='sub-order'>
- <view class='item-txt'>
- 合计:
- <view class='price'>
- <text class='symbol' wx:if="{{actualTotal}}">¥</text>
- <text class='big-num' wx:if="{{actualTotal}}">{{wxs.parsePrice(actualTotal)[0]}}</text>
- <text class='small-num' wx:if="{{actualTotal}}">.{{wxs.parsePrice(actualTotal)[1]}}</text>
- <text class='small-num' decode="{{true}}" wx:if="{{actualTotal}}"> + </text>
- </view>
- <!-- 积分 -->
- <view class="integral-num">
- <text decode="{{true}}">{{scorePrice}} 积分</text>
- </view>
- </view>
- </view>
- <view class='footer-box' bindtap='toPay'>
- 提交订单
- </view>
- </view>
- </view>
- <!-- 选择优惠券弹窗 -->
- <!-- <view class="popup-hide" wx:if="{{popupShow}}">
- <view class="popup-box">
- <view class="popup-tit">
- <text>优惠券</text>
- <text class="close" bindtap='closePopup'></text>
- </view>
- <view class="coupon-tabs">
- <view class="coupon-tab {{couponSts==1?'on':''}}" bindtap='changeCouponSts' data-sts='1'>可用优惠券({{coupons.canUseCoupons.length}})</view>
- <view class="coupon-tab {{couponSts==2?'on':''}}" bindtap='changeCouponSts' data-sts='2'>不可用优惠券({{coupons.unCanUseCoupons.length}})</view>
- </view>
- <view class='popup-cnt'>
- <block wx:for="{{coupons.canUseCoupons}}" wx:if="{{couponSts == 1}}" wx:key="couponId">
- <coupon item="{{item}}" order="{{true}}" bind:checkCoupon="checkCoupon" canUse="{{true}}"></coupon>
- </block>
- <block wx:for="{{coupons.unCanUseCoupons}}" wx:if="{{couponSts == 2}}" wx:key="couponId">
- <coupon item="{{item}}" order="{{true}}" canUse="{{false}}"></coupon>
- </block>
- <view class="botm-empty" wx:if="{{couponSts==1 && !coupons.canUseCoupons.length}}">这里还没有优惠券,快去领券吧~</view>
- <view class="botm-empty" wx:if="{{couponSts==2 && !coupons.canUseCoupons.length}}">暂无相关优惠券</view>
- </view>
- <view class="coupon-ok" wx:if="{{couponSts==1}}">
- <text bindtap='choosedCoupon'>确定</text>
- </view>
- </view>
- </view> -->
- <wxs module="wxs" src="../../../wxs/number.wxs" />
|