<!--pages/Add/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!='undefined'?paramData.levelName:''}}</text>
          </view>
          <view>
            <text>手机号码:</text>
            <text>{{paramData.phone}}</text>
          </view>
        </view>
        <view class='phoneDes' tt:if="{{!phoneIf}}">会员未授权手机号，请用户先去授权手机号！</view>
        <view class='butBox'>
          <button id='1' bindtap='gotoScore' tt:if="{{phoneIf}}" style='{{"width:"+(userData.is_admin==1?"":"690rpx")}}'>新增积分</button>
          <button id='2' bindtap='gotoScore' tt:if="{{phoneIf&&userData.is_admin=='1'}}">消费积分</button>
        </view>
      </view>
    </view>
  </view>
  