<view>
  <view class='mine'>
    <image class='img' src='../../assets/images/bannerbg.png' mode="widthFix"></image>
    <!-- bindtap='toDetail' -->
    <view class='header'>
      <view>
        <image src='{{userInfo.merchant_img_url}}' mode='{{widthFix}}'></image>
      </view>
      <view>
        <text>{{userInfo.mall_name}}({{userInfo.merchant_name}})</text>
        <text>{{userInfo.phone}}</text>
      </view>
      <!-- <image class='imgs' src='../../assets/images/jian.png' mode="widthFix"></image> -->
    </view>
    <!-- <view class="withdrawBox" tt:if="{{cashOutSupport==1}}">
        
        <view class="textBox">
          <view class="balanceTitle">账户余额</view>
          <view class="hint">(提现失败，在48小时回退余额)</view>
        </view>
        <view class="balanceNum">￥{{cashOutNumber/100}}</view>
        <view class="operationNum">当日还可提现次数：{{withdrawNun}}</view>
        <button class="operationBut" bindtap="withdraw" tt:if="{{withdrawNun>0}}">提现到零钱</button>
        <button class="noOperationBut" tt:if="{{withdrawNun<=0}}">提现次数已耗尽</button>
      </view> -->
    <view class='section'>
      <!-- <navigator url='/pages/withdrawRecord/withdrawRecord' open-type='navigate' hover-class='none' tt:if="{{cashOutSupport==1}}">
          <view>
            <text>提现记录</text>
             <image class='imgs' src='../../assets/images/jian.png' mode="widthFix"></image>
          </view>
        </navigator> -->
      <navigator url='/pages/forgetpwd/forgetpwd?flags=reset' open-type='navigate' hover-class='none'>
        <view>
          <text>修改密码</text>
          <image class='imgs' src='../../assets/images/jian.png' mode="widthFix"></image>
        </view>
      </navigator>

      <navigator url='/pages/orderUrl/orderUrl' open-type='navigate' hover-class='none'
        tt:if="{{userInfo.user_is_admin==1}}">
        <view>
          <text>导出核销记录</text>
          <image class='imgs' src='../../assets/images/jian.png' mode="widthFix"></image>
        </view>
      </navigator>
      <!-- <view bindtap="mode"  data-type="{{1}}">
          <text>导出交易订单记录</text>
          <image class='imgs' src='../../assets/images/jian.png' mode="widthFix"></image>
        </view> -->

      <view bindtap="goWebView" tt:if="{{userInfo.user_is_admin}}" data-type="{{1}}">
        <text>开通收款账户</text>
        <text>点击复制链接</text>
      </view>

      <view bindtap="goWebView" tt:if="{{userInfo.user_is_admin}}" data-type="{{2}}">
        <text>账户余额</text>
        <text>点击复制链接</text>
      </view>

      <!-- <navigator url='/pages/accountManagement/index?merchant_id={{userInfo.merchant_id}}&merchant_name={{userInfo.merchant_name}}&phone={{userInfo.phone}}' open-type='navigate' hover-class='none'>
          <view>
            <text>收款账户管理</text>
            <text tt:if="{{!isSet}}">未添加</text>
            <text tt:if="{{isSet}}">{{receiverType==3?receiverComments:receiverAccount}}</text>
            <image class='imgs' src='../../assets/images/jian.png' mode="widthFix"></image>
          </view>
        </navigator>
        <navigator url='/pages/couponRecord/index' open-type='navigate' hover-class='none'>
          <view>
            <text>我的赠券</text>
             <image class='imgs' src='../../assets/images/jian.png' mode="widthFix"></image>
          </view>
        </navigator>
        <navigator url='/pages/memberlist/index' open-type='navigate' hover-class='none'>
          <view>
            <text>会员列表</text>
             <image class='imgs' src='../../assets/images/jian.png' mode="widthFix"></image>
          </view>
        </navigator> -->

      <navigator url='/pages/creditOperate/index' open-type='navigate' hover-class='none'>
        <view>
          <text>积分操作记录</text>
          <image class='imgs' src='../../assets/images/jian.png' mode="widthFix"></image>
        </view>
      </navigator>



      <view bindtap='phone' data-phone='{{userInfo.service_phone}}'>
        <text>客服电话</text>
        <text>{{userInfo.service_phone}}</text>
      </view>
    </view>
    <view bindlongtap='showVersion' class='version'>
      <!-- <view tt:if="{{flag=='show'}}">版本号：{{appVersion}}</view> -->
      <view tt:if="{{flag=='hidden'}}"></view>
    </view>
    <button class='exit' bindtap='toExit' hover-class='active'>退出登录</button>
  </view>
</view>