<!--packageA/mycomponent/sweep_buy_goods/sweep_buy_goods.wxml-->

<view class="header">
  <view class="header-wrapper">
    <view class="logo">
      <image src="{{details.thumb}}" />
    </view>
    <view class="name">{{details.title}}</view>
  </view>
</view>

<view class="inputs">
  <view class="text">付款金额</view>
  <view class="price-wrapper">
    <view class="company">￥</view>
    <view class="price" wx:if="{{passValueArr.length>0}}">{{money}}</view>
    <!-- <view class="price" wx:if="{{passValueArr.length>0}}">
      <text wx:for="{{passValueArr}}" class="{{(index+1)==cursorIndex ? 'cursor' : ''}}">{{item}}</text>
    </view> -->
    <view class="price notText" wx:else>{{money}}</view>
  </view>
</view>

<view class="goods-details">
  <view class="details-title">
    <view class="line dr"></view>
    <text>收款码详情</text>
    <view class="line dl"></view>
  </view>
  <view class="wrapper" wx:if="{{details.content}}">
    <mp-html content="{{details.content}}"></mp-html>
  </view>
  <view style="text-align: center;" wx:else>暂无详情</view>
</view>


<view class="fixed-qrcode" bindtap="openService">
  <icon class="iconfont icon-fontclass-yunkefu"></icon>
</view>

<view class="fixed-topping" wx:if="{{hoet}}" bindtap="setTopping">
  <icon class="iconfont icon-fontclass-zhiding"></icon>
</view>

<connect-customer-service show="{{ showServicePopup }}" customer_open="{{cservice.customer_open}}" tel="{{ cservice.service_mobile }}" qrcode="{{ cservice.service_QRcode }}" online="{{cservice.cservice}}" zIndex="{{1000}}"></connect-customer-service>

<view class="fixed-bottom">
  <numberkeyboard show="{{keyBoardShow}}" amountModel="{{true}}" complate-class="numberCloseWrapper" complate-text-class="{{details.status==1 ? 'numberCloseText' : 'numberCloseText-disabled'}}" close-btn-class="numberDeleteWrapper" theme="custom" maxlength="{{8}}" bind:input="handkeyboardinput" numberKeyBoardCloseFn="{{numberKeyBoardClose}}" closeButtonText="付款"></numberkeyboard>
</view>