123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218 |
- <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>
- <!-- 低价换购 -->
- <wxs src='../../utils/wxsUtil.wxs' module="wxs"></wxs>
- <view class="exchange-details" wx:if="{{exchangeList.length!=0}}">
- <view class="exchange-details-title">低价换购</view>
- <view class="exchange-box {{item.type==1?'':isDirectOrder?exchangeInfo.category_plus_id==0||exchangeInfo.surplus_price!=0?'exchange-condition':'':exchangeInfo.surplus_price!=0&&exchangeInfo.category_plus_id!=0?'exchange-condition':''}}" wx:for="{{exchangeList}}" wx:key="index">
- <view class="exchange-box-image">
- <view class="exchange-condition-image" wx:if="{{item.type==1?'':isDirectOrder?exchangeInfo.category_plus_id==0||exchangeInfo.surplus_price!=0?'true':'':exchangeInfo.surplus_price!=0&&exchangeInfo.category_plus_id!=0}}"></view>
- <image src="{{item.cover_url}}"></image>
- </view>
- <view class="exchange-info">
- <view>
- <view class="exchange-info-title">
- {{item.project_name}}
- </view>
- <view class="exchange-info-bottom">
- <view class="exchange-info-price">
- <view class="exchange-info-price">¥<text class="price__big">{{wxs.formatValue(item.price, 'split')[0]}}</text>.<text class="price__small">{{wxs.formatValue(item.price, 'split')[1]}}</text></view>
- </view>
- </view>
- </view>
- <view style="margin-top: 40rpx;">
- <image style="margin: 0;" class="select-activity" data-index="{{index}}" bindtap="{{item.type==1?'selectExchange':isDirectOrder?exchangeInfo.category_plus_id==0||exchangeInfo.surplus_price!=0?'':'selectExchange':exchangeInfo.surplus_price!=0&&exchangeInfo.category_plus_id!=0?'':'selectExchange'}}" src="{{item.status?'/images/icon_13.png':'/images/icon_12.png'}}"></image>
- <!-- selectExchange -->
- </view>
- </view>
- <view class="exchange-tip" wx:if="{{item.type==1?'':isDirectOrder?exchangeInfo.category_plus_id==0||exchangeInfo.surplus_price!=0?'true':'':exchangeInfo.surplus_price!=0&&exchangeInfo.category_plus_id!=0}}">
- 再购买<text>{{exchangeInfo.surplus_price}}元</text>{{exchangeInfo.category_name}}产品可低价换购此项目
- </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}}">
- <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">¥{{discountList.discount_money?discount_total:activity_level?activity_discount: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>{{discountList.discount_money?discount_total:activity_level?activity_discount:level?pay_methon==2?levelPrice:exchangeSelect?exchangePrice:selectCouponPrice:exchangeSelect?exchangePrice:selectCouponPrice}}</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}}" 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>
- <!-- 指引 -->
- <!-- <view class="list_first_to" catchtouchmove="noneEnoughPeople" hidden="{{inFirstIn?false:true}}">
- <view wx:if="{{detail.id || detail.project_id}}" class="item itemInNeeds current{{current}}">
- <view class="item-top flex-align-center onIndex111 opc">
- <text class="flex1 ellipsis"></text>
- </view>
- <view>
- <view class="item-content flex opcBack">
- <image class="img" src="{{detail.banner_urls.length > 0 ? detail.banner_urls[0] : '' || deviceData.cover_url}}"></image>
- <view class="content flex-column">
- <view class="content-text-box flex1">
- <text style="color:#999;">{{source == 'cardgoods' ? '可用店铺:' : '预约店铺:'}}</text>
- <text class="flex1 ellipsis">{{deviceData.store_name || detail.store_name}}</text>
- </view>
- <view class="content-text-box flex1">
- <text style="color:#999;">{{source == 'cardgoods' ? '可用时间:' : '使用时间:'}}</text>
- <text class="flex1 ellipsis" wx:if="{{detail.take_out_time_max}}">{{detail.take_out_time_max}}之前</text>
- <text class="flex1 ellipsis" wx:else>{{tool.replaceStr(timeData.order_day)}} {{tool.replaceStr(timeData.order_time)}}</text>
- </view>
- <view class="content-text-box flex1" wx:if="{{deviceData.device_name}}">
- <text style="color:#999;">使用设备:</text>
- <text class="flex1 ellipsis">{{deviceData.device_name}}</text>
- </view>
- <view class="content-text-box flex1" wx:else></view>
- </view>
- </view>
- </view>
- <view class="item-btn flex-align-center onIndex111 opc">
- <text style="font-size: 28rpx;color: #999;">{{source == 'cardgoods' ? '购买费用:' : '预约费用:'}}</text>
- <text style="font-size: 36rpx;font-family: PingFang-SC-Medium, PingFang-SC;font-weight: 500;margin-right:24rpx;">¥{{moneyData.projectWithGoodsPrice}}</text>
- </view>
- </view>
- <view class="list_top_show">
- <image class="list_top_img" src="/images/white_on.png"></image>
- <view class="list_top_content">
- <view class="first_and_title"><text>第一步:</text>核对您预约的项目和店铺</view>
- </view>
- </view>
- <view class="KnowBtn" catchtap="knowSubmit">我知道了</view>
- </view> -->
|