<!--pages/return-fee/pages/return-fee/detail.wxml-->
<view class="container">
  <view class="header">
    <view class="cell">
      <text>入职企业：</text>
      <text>{{onboardingCompany}}</text>
    </view>
    <view class="cell">
      <text>入职日期：</text>
      <text>{{onboardingDate}}</text>
    </view>
    <view class="cell">
      <text>返费金额：</text>
      <text>{{agencyFee}}</text>
    </view>
  </view>

  <view class="button">
    <view class="" bindtap="question">我有疑问</view>
    <view class="" bindtap="showComfire">确认无误</view>
  </view>

</view>
<i-modal showCancel='{{false}}' visible='{{visible}}' okColor='#327AE1' bind:ok='phone' okText='好的'>
  <view class="content">如果您对入职奖励有疑问，请联系：400-692-0099</view>
</i-modal>

<i-modal visible='{{comfire}}' bind:click='comfire' actions='{{action}}'>
  <view class="content">您将确认入职奖励正确无误，预计在您确认3个工作日内我们会将奖励发放至您的银行账户中。</view>
</i-modal>

<view class="cover" wx:if='{{showIntegral}}'>
  <view class="cover-content">
    <image src="../../images/return-fee.png" class="fee-img"></image>
    <view class="fee-content">
      <view class="fee-content-body">
        <view class="">恭喜！小白给你送了{{integral}}积分！</view>
        <view>快去积分商城兑换好礼和活动吧！</view>
      </view>
      <view class="fee-button" bindtap="toIntegral">
        现在就去
      </view>

    </view>
  </view>
</view>