<view class='page'>
  <view class='page__bd'>
    <view wx:if="{{isLogin==false}}" class='mine1'>
      <view class='mine1_text'>登录行程助理账号后，您可查看对应信息</view>
      <navigator class='mine1_btn' open-type="navigate" url="/pages/login/login">立即登录</navigator>
    </view>
    <!-- 个人信息 -->
    <view wx:else class='mine2'>
      <view class='mine2_info clearfix'>
        <view class="boxF">
            <view class="boxS">
                <view class="boxT" wx:if="{{!custormInfo.photo}}" style="background-image: url(http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190628030353039.png);"></view>
                <view wx:else class="boxT" style="background-image: url({{custormInfo.photo}});"></view>
            </view>
        </view>
        <view class='inf-box'>
          <view class='top'>
            <view class='name'>{{custormInfo.name}}</view>
            <view class='grade'><text>V{{custormInfo.vipRate}}</text></view>
            <view class='progress-box'>
              <view class='progress-box-line' style='width: {{progress}}%'></view>
            </view>
            <view class='text'>成长值</view>
          </view>
          <view class='addr'>
            <view class='addr-left'>
              <image src='../../images/menber/fangzi.png'></image>
              <text>{{custormInfo.customerName}}</text>
            </view>
            <view>
              <image src='../../images/menber/phone.png'></image>
              <text>{{custormInfo.mobile}}</text>
            </view>
          </view>
          <view class='kefu'>
            <text>客服经理({{custormInfo.managers[0].emName}}：{{custormInfo.managers[0].mobile}})</text>
          </view>
        </view>
        <view class='jiaoyi-box'>
          <view class='jiaoyi-box-left'>
            <view class='price'>￥ <text>{{custormInfo.monthTradeMoney}}</text></view>
            <view class='jiaoti-tit'>本月交易额</view>
          </view>
          <view class='jiaoyi-box-right'>
            <view class='price'>￥ <text>{{custormInfo.sumTradeMoney}}</text></view>
            <view class='jiaoti-tit'>累计交易额</view>
          </view>
        </view>
      </view>
    </view>
    <!-- 订单菜单 个人菜单-->
    <view class='bottom-box'>      
      <view class='order-menu'>
        <view class='order-menu-tit'>
          <view>我的近期订单</view>
          <view class='_more'>
            <form bindsubmit="formSubmit" report-submit> 
               <button hover-class="btn-hover" form-type="submit" data-index="0" data-url="/pages/member/orderCenter/orderCenter">
                全部订单>>
              </button>  
            </form>
          </view>
        </view>
        <view class="tablist">
          <view>
            <form bindsubmit="formSubmit" report-submit> 
               <button hover-class="btn-hover" form-type="submit" data-index="1" data-url="/pages/member/orderCenter/orderCenter?index=1">
                <image mode="aspectFit" src="../../images/menber/order-icon-tuan.png"></image>
                <view class='order-type-name'>跟团游</view>
              </button>  
            </form>
          </view>
          <view>
            <form bindsubmit="formSubmit" report-submit> 
               <button hover-class="btn-hover" form-type="submit" data-index="2" data-url="/pages/member/orderCenter/orderCenter?index=2">
                <image mode="aspectFit" src="../../images/menber/order-icon-zi.png"></image>
                <view class='order-type-name'>自由行</view>
              </button>  
            </form>
          </view>
          <view>
            <form bindsubmit="formSubmit" report-submit> 
               <button hover-class="btn-hover" form-type="submit" data-index="3" data-url="/pages/member/orderCenter/orderCenter?index=3">
                  <image mode="aspectFit" src="../../images/menber/order-icon-dang.png"></image>
                  <view class='order-type-name'>当地游</view>
              </button>  
            </form>
          </view>
           <view>
            <form bindsubmit="formSubmit" report-submit> 
               <button hover-class="btn-hover" form-type="submit" data-index="4" data-url="/pages/member/orderCenter/orderCenter?index=4">
                <image mode="aspectFit" src="../../images/menber/order-icon-ji.png"></image>
                <view class='order-type-name'>机票</view>
              </button>  
            </form>
          </view>
          <view>
            <form bindsubmit="formSubmit" report-submit> 
               <button hover-class="btn-hover" form-type="submit" data-index="5" data-url="/pages/member/orderCenter/orderCenter?index=5">
                <image mode="aspectFit" src="../../images/menber/order-icon-gai.png"></image>
                <view class='order-type-name'>签证</view>
              </button>  
            </form>
          </view>
        </view>
      </view>
      <view class='order-menu order-menu2'>
        <view class='order-menu-tit'>
          <view>个人菜单</view>
        </view>
        <view class="tablist">
          <view>
            <form bindsubmit="formSubmit" report-submit> 
               <button hover-class="btn-hover" form-type="submit" data-url="/pages/member/memberCenter/memberCenter?progress={{progress}}&gap={{gap}}&vip={{custormInfo.vipRate}}&nextExp={{nextExp}}">
                <image mode="aspectFit" src="../../images/menber/menu-hui.png"></image>
                <view class='order-type-name'>会员中心</view>
              </button>  
            </form>
          </view>
          <view>
            <form bindsubmit="formSubmit" report-submit> 
               <button hover-class="btn-hover" form-type="submit" data-url="/pages/freeTravel/free">
                <image mode="aspectFit" src="../../images/menber/menu-ding.png"></image>
                <view class='order-type-name'>定制游</view>
              </button>  
            </form>
          </view>
          <view>
            <form bindsubmit="formSubmit" report-submit> 
               <button hover-class="btn-hover" form-type="submit" data-url="/pages/member/memberInfo/memberInfo">
                <image mode="aspectFit" src="../../images/menber/menu-ge.png"></image>
                <view class='order-type-name'>个人信息</view>
              </button>  
            </form>
          </view>
           <view>
             <form bindsubmit="formSubmit" report-submit> 
               <button hover-class="btn-hover" form-type="submit" data-url="/pages/Ticket/Ticket">
                <image mode="aspectFit" src="../../images/menber/menu-ji.png"></image>
                <view class='order-type-name'>我的积分</view>
              </button>  
            </form>
          </view>
          <view>
            <form bindsubmit="formSubmit" report-submit> 
               <button hover-class="btn-hover" form-type="submit" data-url="/pages/member/Coupon/Coupon">
                <image mode="aspectFit" src="../../images/menber/menu-you.png"></image>
                <view class='order-type-name'>我的优惠券</view>
              </button>  
            </form>
          </view>
          <view>
            <form bindsubmit="formSubmit" report-submit> 
               <button hover-class="btn-hover" form-type="submit" data-url="/pages/member/investigation/investigation">
                <image mode="aspectFit" src="../../images/menber/menu-you.png"></image>
                <view class='order-type-name'>旅客调查</view>
              </button>  
            </form>
          </view>
        </view>
      </view> 
    </view>
  </view>
</view>