<!--pages/exchange/index.wxml-->
<view>
    <view class='exchange'>
      <image class='img' src='./../../static/images/bannerbg.png' mode="widthFix"></image>
      <view class='exchangeBox'>
        <view class='section'>
          <view>
            <text>会员姓名(昵称):</text>
            <text>{{paramData.name!='undefined'?paramData.name:paramData.nickName!='undefined'?paramData.nickName:''}}</text>
          </view>
          <view>
            <text>会员等级:</text>
            <text>{{paramData.levelName}}</text>
          </view>
          <view>
            <text>手机号码:</text>
            <text>{{paramData.phone}}</text>
          </view>
        </view>
        <view >
          <view class='footer' bindtap='toDetail'>
            <text>消费积分</text>
            <input placeholder='请输入' type='number' bindinput="getPrice"></input>
          </view>
          <view class='footer footerYt' bindtap='toDetail'>
            <text>消费用途</text>
            <input placeholder='请输入'  bindinput="getThoroughfare"></input>
          </view>
          <button bindtap='{{submitAble?"submitForm":""}}'>提交</button>
        </view>
      </view>
    </view>
  </view>