OrderPopup.wxml 3.32 KB
<view class="order-popup" wx:if="{{show}}" catchtouchmove="noScroll">
	<view class="order-popup-bg" bindtap="close" />
	<view class="order-popup-content">
    <view class="title" wx:if="{{orderType == 2}}">上传付款凭证</view>
		<view class="order-popup-close" bindtap="close">
			<image src="../images/order-close.png" />
		</view>
		<!-- 4s店 开始 -->
		<block wx:if="{{orderType == 2}}">
			<view class="input-item">
				<view class="input-box">
					<input
					       type="text"
                 class="input"
					       bindinput="input"
					       value="{{outTradeNo}}"
                 placeholder="输入交易流水号"
                 placeholder-class="outTradeNo_placeholder"
					       maxlength="100" />
				</view>
			</view>
      <view class="upload-content">
        <view class="title-text">上传图片</view>
        <view class="upload-box">
          <van-uploader
            file-list="{{ payVoucherList }}"
            max-count="9"
            deletable
            preview-size="160rpx"
            bind:after-read="upLoad"
            bind:delete="deletePayVoucher"
          >
          </van-uploader>
        </view>
      </view>
      
			<view class="btn" bindtap="confirm">确定</view>
		</block>
		<!-- 4s店 end -->
		<!-- POS机 开始 -->
		<block wx:elif="{{orderType == 3}}">
			<view class="price">
				<view class="unit">¥</view>
				{{price}}
			</view>
			<view class="qr-box">
				工单确认码
				<view class="qr">
					<image src="{{qr}}" />
				</view>
				<view class="tips">请使用POS机扫描此码,再向客户收款</view>
			</view>
		</block>
		<!-- POS机 end -->
		<!-- 微信 开始 -->
		<block wx:elif="{{orderType == 1}}">
			<view class="price">
				<view class="unit">¥</view>
				{{price}}
			</view>
			<view class="wx_title">微信收款码</view>
			<view class="wx_code_box">
				<view class="qr">
					<image src="{{wxqrcode}}" mode="widthFix" class="wx_qrcode" />
				</view>
				<view class="tips">微信扫码,向我付款</view>
			</view>
		</block>
		<!-- 微信 end -->
		<!-- 选择下单方式 开始 -->
		<block wx:elif="{{orderType == 4}}">
			<view class="title">请选择下单类型</view>
			<view class="order-type-box">
				<block wx:for="{{orderTypeList}}" wx:key="index">
					<view class="order-type text-center {{item.active?'active':''}}" bindtap="changeOrderSource" data-index="{{index}}">
						{{item.name}}
					</view>
					<view class="order-type-tips">{{item.tips}}</view>
				</block>
			</view>
			<view class="btn" bindtap="confirm">确定</view>
		</block>
		<!-- 选择下单方式 end -->
		<!-- 不升级 开始 -->
		<block wx:else>
			<view class="title">车主拒升理由</view>
			<view class="textarea">
				<gl-textarea
				             focus="{{focus}}"
				             value="{{textareaValue}}"
				             bindinput="blur"
				             bindblur="blur"
				             maxlength="100"
				             placeholder="请输入内容" />
			</view>
			<view class="shortcut-list">
				<block wx:for="{{shortcutList}}" wx:key="index">
					<view
					      class="shortcut"
					      bindtap="chooseShortcut"
					      data-item="{{item}}"
					      data-index="{{index}}">
						{{item.confValue}}
					</view>
				</block>
			</view>
			<view class="btn" bindtap="confirm">确定</view>
		</block>
		<!-- 不升级 end -->
	</view>
</view>