123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191 |
- <import src="/components/local/wxParse/wxParse.wxml" />
- <wxs module="tool" src="../../app.wxs" />
- <wxs src="./../../utils/wxsUtil.wxs" module="wxsUtil" />
- <view class="item margin item-radius">
- <view class="item-top flex-align-center ">
- <text class="flex1">{{store_name}}</text>
- </view>
- <view class="good-list">
- <!-- 商品详情支付 -->
- <view wx:if="{{isShow}}" class="item-content flex">
- <image class="img" src="{{projectData.banner_urls[0]}}"></image>
- <view class="content flex-column">
- <view class="content-text-box flex1">
- <text class="flex1">{{projectData.name}}</text>
- </view>
- <view class="project-num">x1</view>
- </view>
- </view>
- <!-- 购物车支付 -->
- <view wx:if="{{!isShow}}" class="item-content flex" wx:for="{{selectMakeupList}}" wx:key="id">
- <image class="img" src="{{item.cover_url}}"></image>
- <view class="content flex-column">
- <view class="content-text-box flex1">
- <text class="flex1">{{item.goods_name}}</text>
- </view>
- <view class="project-num">x{{item.num}}</view>
- </view>
- </view>
- </view>
- <!-- 购物车支付 -->
- <view class="item-bottom">
- <view class="item-total">共{{isShow?1:listNum}}件</view>
- <view class="item-price"><text class="price-size">¥</text>{{isShow?projectData.is_member==1?projectData.member_price:projectData.price:showMoneyGood}}</view>
- </view>
- </view>
- <!-- 新加购 -->
- <view class="addPuls" wx:if="{{exchangeCondition}}">
- <view class="top">
- <view class="title">
- 低价换购
- </view>
- <view class="type">
- +<text>99</text>元可换购{{exchangeCondition.time}}次
- </view>
- </view>
- <view class="center-item {{item.num>0?'activeExchange':''}}" wx:for="{{exchangeList.list}}" wx:key="index">
- <image src="{{item.cover_url}}"></image>
- <view class="center-right">
- <view class="item-name">{{item.project_name}}</view>
- <view class="item-select">
- <image bindtap="reduce" data-index="{{index}}" src="../../images/reduce.png"></image>
- <view class="num">{{item.num}}</view>
- <image bindtap="add" data-index="{{index}}" src="../../images/add.png"></image>
- </view>
- </view>
- </view>
- </view>
- <view class="margin order-sum item-radius">
- <view class="top">
- <view class="text flex" wx:if="{{source != 'secondaryCard'}}">
- <text class="flex1">商品总价</text>
- <!-- 购物车订单 -->
- <view class="right-500">
- <text>¥{{isShow?projectData.is_member==1?projectData.member_price:exchangeSelect?exchangePrice:projectData.price:exchangeSelect?exchangePrice:showMoneyGood}}</text>
- </view>
- </view>
- <!-- 折扣 -->
- <view class="text flex">
- <view class="coupon flex flex1 flex-align-center">
- <image class="order-coupon-icon" src="/images/display.png" />
- <text>折扣优惠</text>
- </view>
- <view class="flex-align-center right-500">
- <text style="color: #FF3007;" wx:if="{{discountList.discount_money>0}}">-{{discountSet}}</text>
- <text wx:else style="color: #bbb;">无折扣</text>
- </view>
- </view>
- <!-- 充值折扣权益 -->
- <view class="coup-box" wx:if="{{level!=0&&couponPrice==0}}">
- <view class="coup-box-title">权益折扣</view>
- <view class="spc-in">
- </view>
- <!-- <view class="color-price">-¥{{priceSet}}</view> -->
- <view class="coup-box-title">余额支付享受{{tolevel}}折优惠</view>
- </view>
- <!-- 优惠券 -->
- <view class="text flex" bindtap="onCouponOpen">
- <view class="coupon flex flex1 flex-align-center">
- <image class="order-coupon-icon" src="/images/icon_order_coupon.png" />
- <text>优惠券</text>
- </view>
- <view class="flex-align-center right-500">
- <text class="coupon-guide-tips" wx:if="{{couponList.length > 0 && selectCouponList.length==0}}">未选优惠券</text>
- <text style="color: #FF3007;" wx:elif="{{ couponList.length > 0 && selectCouponList.length!=0}}">-¥{{couponPrice}}</text>
- <text wx:else style="color: #bbb;">无可用</text>
- <image src="/images/my/right.png" style="width: 24rpx;height: 24rpx;"></image>
- </view>
- </view>
- </view>
- <view class="bottom flex-align-center">
- <text style="font-size: 28rpx;color: #999;">合计:</text>
- <!-- 购物车订单 -->
- <text class="total-price">¥{{selectCouponList!=''?selectCouponPrice:discountList.discount_money?discount_total:exchangeSelect?exchangePrice:showMoneyGood}}</text>
- </view>
- </view>
- <view style="height:170rpx;"></view>
- <!-- 提交订单 -->
- <view class="buy flex-align-center flex-justify-space-between" style="padding: 0 20rpx;">
- <view class="submitBtn" bindtap="onCardgoodsPay">
- 提交订单
- </view>
- </view>
- <!-- 优惠券 -->
- <wux-popup class="popup-radius" position="bottom" catchtouchmove="true" visible="{{ visible }}" bind:close="onClose">
- <view class="coupon-popup">
- <view class="top flex-align-center need-show-line">
- <text style="text-align: center;">我的优惠券</text>
- <image src="/images/icon_20.png" class="close-img" bindtap="onCancelCoupon" />
- </view>
- <scroll-view scroll-y>
- <view class="list">
- <coupon-item class="coupon-item" wx:for="{{ couponList }}" item="{{item}}" wx:key="index" data-index="{{index}}" source="checkbox" couponStatus="{{item.status}}" checkStatus="{{currentCoupon == index}}" bind:check="onCouponChange"></coupon-item>
- <view class="btm-text">--已经到底了--</view>
- </view>
- </scroll-view>
- <view class="coupon-popup-btm flex-center">
- <view class="coupon-popup-btm-btn flex-center" bindtap="onConfirmCoupon">确认</view>
- </view>
- </view>
- </wux-popup>
- <!-- 支付 -->
- <wux-popup class="popup-radius" position="bottom" catchtouchmove="true" visible="{{ payNow }}" bind:close="onClosePay">
- <view class="coupon-popup payType">
- <view class="top flex-align-center">
- <text style="text-align: center;"></text>
- <image src="/images/icon_20.png" class="close-img" bindtap="onClosePay" />
- </view>
- <!-- 购物车订单 -->
- <view class="moneyShow"><text>¥</text>{{selectCouponList!=''?selectCouponPrice:discountList.discount_money?discount_total:level&&pay_methon==2?levelPrice:exchangeSelect?exchangePrice:showMoneyGood}}</view>
- <view class="select-pay-methon" catchtap="pay_methonw">
- <image class="pay-img" src="/images/wx_pay.png"></image>
- <view class="pay-title">微信支付</view>
- <!-- <view class="pay-money"><text>¥</text>800</view> -->
- <image class="select-activity" src="{{pay_methon==1?'/images/icon_13.png':'/images/icon_12.png'}}"></image>
- </view>
- <view class="select-pay-methon" catchtap="pay_methonc" style="margin-bottom: 15rpx;">
- <image class="pay-img" src="/images/joli_pay.png"></image>
- <view class="pay-title">储值支付</view>
- <view class="pay-money"><text>¥</text>{{inserllAmount}}</view>
- <image class="select-activity" src="{{pay_methon==2?'/images/icon_13.png':'/images/icon_12.png'}}"></image>
- </view>
- <view wx:if="{{level!=0&&couponPrice==0}}" class="coup-box-title" style="text-align: left; margin-left: 90rpx;">权益优惠减¥{{toLevelPrice}}</view>
- <view class="coupon-popup-btm flex-center">
- <view class="coupon-popup-btm-btn flex-center" bindtap="payOrder">支付</view>
- </view>
- </view>
- </wux-popup>
- <!-- 加购弹窗 -->
- <wux-landscape wx:if="{{exchangeCondition}}" visible="{{ exchangePop }}" closable="{{ false }}" class="exchange-popup" catchtouchmove="true">
- <view class="use-popup">
- <view class="top">
- <view class="title">低价换购</view>
- <view class="type">+<text>99</text>元可换购{{exchangeCondition.time}}次</view>
- <image class="close" src="/images/icon_20.png" bindtap="onCloseLandscape"></image>
- </view>
- <view class="center">
- <view class="center-item {{item.num>0?'activeExchange':''}}" wx:for="{{exchangeList.list}}" wx:key="index">
- <image src="{{item.cover_url}}"></image>
- <view class="center-right">
- <view class="item-name">{{item.project_name}}</view>
- <view class="item-select">
- <image bindtap="reduce" data-index="{{index}}" src="../../images/reduce.png"></image>
- <view class="num">{{item.num}}</view>
- <image bindtap="add" data-index="{{index}}" src="../../images/add.png"></image>
- </view>
- </view>
- </view>
- </view>
- <view bindtap="onCloseLandscape" class="bottom">
- {{exchangeCountDown}}S后自动关闭
- </view>
- </view>
- </wux-landscape>
|