<wxs module="filters" src="../../../../utils/filter.wxs"></wxs>
<form bindsubmit="submitForm">
    <view class="container">

        <!------立即购买-------->
        <block>
                <view class="use-item bfff bdr_t-14 mgt20">
                      <image class="dp" src='{{imgUrl}}/miniapp/images/goodscategory/new_store.png'> </image> <view>{{bn_pickname}}</view></view>
                <view class="order-detail">
                      <view class="goods-img" bindtap="go_to" data-url="/packageA/pages/serviceCard_pd/goodsInfo/goodsInfo?goods_id={{items.service_id}}&prom_type=6&prom_id={{bn_goods.prom_id}}">
                          <image class="wh100 bdr14" src="{{bn_goods.original_img}}" 
                            binderror='cart_set_err' data-err="bn_goods.original_img"></image>
                      </view>
                      <navigator class="order-cont" url="/packageA/pages/serviceCard_pd/goodsInfo/goodsInfo?goods_id={{items.service_id}}&prom_type=6&prom_id={{bn_goods.prom_id}}">
                            <view class="goods-name ellipsis-2">{{bn_goods.serviceName}}</view>
                             <!-----商品名称规格------>
                            <view class="order-num flex-space-between">
                                <view class="co-red">￥<text class="fs36">{{filters.toFix(bn_goods.shop_price,2)}}</text></view>
                                <view class="goods-num">x{{bn_goods.buynum}}</view>
                            </view>
                      </navigator>

                </view>

<!-- 保障服务 -->
<view class="bz_view22 flex bdt16 ai_c" wx:if="{{bconfig.service_bz}}">
          <image class="bzfu_img22" src="{{imgUrl}}/miniapp/images/bzfu_w.png"></image>
          <view class="flex f1 ai_c rel22" style="position: relative;" bindtap="{{showFold ? 'clickCollapse':''}}">
            <view class="bz-content22 showArea22 {{flag ? '':'ellipsis-1x'}}">{{bconfig.service_bz}}</view>
            <view class="bz-content22 hideArea22">{{bconfig.service_bz}}</view>
            <view class="cx-obtain-coupon22 wsize22 arrow22" wx:if="{{showFold}}">
              <text class="bg_jj22 {{flag ? 'up22':''}}"></text>
            </view>
          </view>
        </view>
                
     <view class="coupon-mes flex-vertical">
                    <view>留言</view>
                    <view class="leave-word">
                        <input placeholder-class="fs28" placeholder='给商家留言，最多100字'bindinput="keyUpChangeNum" disabled="{{disabled}}" class="word-box" maxlength="100" name="user_note"></input>
                        </view>
                </view>
                      

             

        

         <view class="information bdr14">
            <view class="item" wx:if="{{kt_type<3 || is_normal==1}}">
                <view>商品金额</view>
                <view class="co-red">￥ {{formData.all_price}}元</view>
            </view>

            <view class="item" wx:else>
                <view>定金金额</view>
                <view class="co-red">￥ {{formData.all_price}}元</view>
            </view>

        </view>


     <view class="btn-wrap">
			<view class="pay-amount">
					<view class="payable">应付金额：<text class="co-red">￥{{formData.order_amount}}</text></view>
			</view>
			<button class="tips-btn" formType="submit" id="submitOrder">提交订单</button>
     </view>
     
      </block>
 </view>
</form>

<warn id="warn"></warn>
