You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

131 lines
6.3 KiB

1 year ago
<!--pages/order/scene/index.wxml-->
<view class="{{product && product.isGroup==1?'group-order':''}}">
<title title="提交订单"></title>
<view class="box" style="padding: 42rpx 21rpx 45rpx 19rpx;display: flex;justify-content: space-between;align-items: center;">
<view style="width: 550rpx;">
<view style="font-weight: bold;font-size: 36rpx;color: #000000;margin-bottom: 27rpx;" class="textOver2">
{{product.product.title}}
</view>
<view style="font-weight: 500;font-size: 27rpx;color: #333;padding-left: 2rpx;">
场次: {{date.date}} {{date.week}} {{time.start_time}}
</view>
</view>
<!-- <view class="change-date" bindtap="changeDate" wx:if="{{ticket_type!= 2}}">
修改 >
</view> -->
</view>
<view class="box">
<view class="box-title">
<view class="textOver" style="flex:1;font-size:36rpx;font-weight: bold;">{{product && product.isGroup!=1?product.sku.sku_name:'预约人数'}}</view>
<view class="s-price">
{{product.sku.price/100}}
</view>
<image lazy-load wx:if="{{!kjId && !gp_id && type!='activity' && productNum==1}}" bindtap="minus" style="width: 46rpx;height: 46rpx;" src="https://static.ticket.sz-trip.com/uploads/20240725/d2dce6169a5e8332ccd54579afddf8bc.png" mode=""/>
<image lazy-load wx:if="{{!kjId && !gp_id && type!='activity' && productNum>1}}" bindtap="minus" style="width: 46rpx;height: 46rpx;" src="https://static.ticket.sz-trip.com/uploads/20240725/d8699afa39e73bcc7f50ed617c93bb54.png" mode=""/>
1 year ago
<view class="number-box">{{productNum}}</view>
<image lazy-load wx:if="{{!kjId && !gp_id && type!='activity'}}" bindtap="add" style="width: 46rpx;height: 46rpx;" src="https://static.ticket.sz-trip.com/uploads/20240725/cdb68a174f17b7036374580a8aa46641.png" mode=""/>
1 year ago
<!-- <view class="iconfont icon-add-select" wx:if="{{!kjId && !gp_id && type!='activity'}}" bindtap="add"></view> -->
</view>
<view class="text1">
<text wx:for="{{product.sku.display_tags}}">
{{item}}<text style="margin:0 8rpx;" wx:if="{{index+1<=product.sku.display_tags.length}}">|</text>
</text>
<text bindtap="showBookingInfo" wx:if="{{product.sku.sku_model.bookinfo}}">预订须知 ></text>
</view>
</view>
<contact wx:if="{{isLogin}}" type="{{type}}" bind:setLinkman="setLinkman" productNum="{{productNum}}" is_authentication="{{is_authentication}}" is_real_name="{{is_real_name}}"></contact>
<!-- <view class="box" style="margin-top: -30rpx;border-top: 1px solid #CCCCCC;" wx:if="{{is_authentication}}">
<view class="box-title">
<view style="flex-shrink:0">联系手机</view>
<input bindinput="phoneInput" type="number" value="{{phone}}" class="weui-input" placeholder="请输入手机号" />
</view>
</view> -->
<coupon bind:getNewCoupon = 'getNewCoupon' wx:if="{{!kjId && !gp_id && type!='activity' && product && product.isGroup!=1 && isCar=='single' && type!='museum' && showYhq}}" id="coupon"
3 months ago
money="{{singlePrice * productNum}}" sku="{{product.sku.id}}" couponFlag="{{couponFlag}}" maxCouponObject="{{maxCouponObject}}"></coupon>
<!-- 顺手购组件 -->
<smoothly-order
3 months ago
wx:if="{{product.product.id && !coupon.id}}"
3 months ago
id="smoothlyOrderComp"
productId="{{product.product.id}}"
bind:callOtherComp="callOtherCompMethod"
bind:updateTotalPrice="handleUpdateTotalPrice"
></smoothly-order>
1 year ago
3 months ago
<view style="{{type=='museum' || type=='activity'?'height:188rpx':'height:163rpx'}}"></view>
<!-- <view class="tishi" wx-if="{{coupon.id && smoothlyTotal > 0}}">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/thyh/user/tanhaos.png" mode="aspectFill"></image>
购买须知:使用优惠券的组合订单均不支持部分退款
</view> -->
1 year ago
<view class="fixed-bottom">
<view class="fixed-price-box" wx:if="{{kjId || prizeId}}"><text>合计:</text><text class="price">¥0</text></view>
<view class="fixed-price-box" wx:else><text>合计:</text>
<text class="price">¥{{price}}</text>
</view>
<view class="fixed-btn" bindtap="order">去支付</view>
</view>
<view class="mask" style="align-items:flex-end" wx:if="{{showMask}}">
<view class="mask-bg" bindtap="cancel"></view>
<view class="mask-content1">
<view class="dialog-top">
<view class="scene-title">{{product.product.title}}-{{product.sku.sku_name}}</view>
<view class="people-message">出行人信息</view>
<view style="max-height:430rpx;overflow: scroll;" wx:if="{{is_authentication=='1'}}">
<view class="people" wx:for="{{linkmanList}}">
<view class="flex">
<view>姓名:</view>
<view style="color: #333;">{{item.name}}</view>
</view>
<view class="flex" style="margin: 19.33rpx 0;">
<view>证件号:</view>
<view style="color: #333;">{{item.id_number}}</view>
</view>
<view class="flex">
<view>手机号:</view>
<view style="color: #333;">{{item.tel}}</view>
</view>
</view>
</view>
<view wx:else>
<view class="flex" style="margin: 10rpx 0 30rpx;">
<view>手机号:</view>
<view style="color: #333;">{{phone}}</view>
</view>
</view>
</view>
<view class="bottom-btn">
<view class="cancle" bindtap="cancel">取消</view>
<view class="confirm" bindtap="order">无问题,下一步</view>
</view>
</view>
</view>
<notice bookingInfo="{{bookingInfo}}" skuName="{{bookingInfoTitle}}" wx:if="{{bookingInfo}}" bind:close="closeMask">
</notice>
<!-- 日期弹框 -->
<view class="mask" wx:if="{{showDate}}">
<view class="mask-bg" bindtap="hideDate"></view>
<view class="mask-content2">
<view class="iconfont icon-close" bindtap="hideDate"></view>
<date wx:if="{{showDate2}}" bind:onChangeDate="changeDate" bind:onChangeTime="changeTime" product="{{product}}"></date>
<view class="bottom-box">
<view>
合计: <text class="totalPrice">{{price}}</text>
</view>
<view class="next" bindtap="changed" data-sku="{{sku}}" data-product="{{item}}">
<!-- <view class="next" bindtap="order" data-sku="{{sku}}" data-product="{{item}}"> -->
确定
</view>
</view>
</view>
</view>
</view>