<navbar text="我的" background='#FD832D' color="white"></navbar>
<view style="height:{{navigationBarHeight}} "></view>
<view class="user">
  <view bindlongtap='showVersion' class='version'>
    <view wx:if="{{flag=='show'}}">版本号：{{appVersion}}</view>
    <view wx:if="{{flag=='hidden'}}"></view>
  </view>
  <view class="top" style='background:{{banneColor}}'>
    <!-- <view class='aboutUs' bindtap='gomallInfo' wx:if="{{aboutShow == true}}">
      <image class='aboutIcons' src="{{aboutUs}}" mode='widthFix'></image>
      <text>关于我们</text>
    </view> -->
  </view>
  <view class="top-content" wx:if="{{ifStoreApp!=1}}">
    <view class='user_title'>
      <view class="user-avatar" bindtap='gotoedit'>
        <!-- <open-data class="open" type="userAvatarUrl"></open-data> -->
        <image wx:if="{{userAvatarUrl.length>1}}" class="userAvatarUrl" bindtap="goSetAvatar" src="{{userAvatarUrl}}"></image>
        <image wx:else class="userAvatarUrl" bindtap="goSetAvatar" src="https://mmbiz.qpic.cn/mmbiz/icTdbqWNOwNRna42FI242Lcia07jQodd2FJGIYQfG0LAJGFxM4FbnQP6yfMxBgJ0F3YRqJCJ1aPAK2dQagdusBZg/0"></image>
      </view>
      <view class="user-name" bindtap='gotoedit'>
        <!-- <open-data class="name" type="userNickName"></open-data> -->
        <p class="name">{{userName}}</p>
        <!-- 会员等级 -->
        <!-- <view class=' usre_level'style='background:{{levelBg}}'>
          <text class='chengzhang '>{{levelName}}</text>
        </view> -->
      </view>
      <!--  -->
      <view class="user_phone" wx:if="{{curPhone}}" style="margin-top:20rpx;" bindtap='gotoPhoneInfo'>
        <!-- <text class="my">我的手机号：</text> -->
        <text class="chengzhang_h" style="color:#fff">{{curPhone}}</text>
        <text class="view" style='color:#993300'>[微信授权手机号]</text>
      </view>
      <view class="user_phone" wx:if="{{!curPhone}}" style="margin-top:20rpx;" bindtap='gotoPhoneInfo'>
        <text class="view" style='color:#993300'>获取微信授权手机号</text>
      </view>
      <!--  -->
      <view class="marketTitleBox">
        <view class="marketName">{{memberName}}</view>
        <view class="levelName">{{levelName}}</view>
        <navigator url="/pages/shareFriend/shareFriend" open-type="navigate">
          <view class="share">分享好友</view>
        </navigator>
      </view>
      <view class="user_growth_box">
        <navigator url="/pages/specialcourtesy/specialcourtesy">
          <image src="{{rqCode}}" class="RQcode"></image>
        </navigator>
        <view class="memberBox">
          <view class="memberCode">会员码：{{userId}}</view>
          <view class="user-phone" bindtap='gotograde'>
            <text class="my">我的成长值：{{score}}</text>
            <!-- <text class="chengzhang_h"></text> -->
            <text class="my my_line">|</text>
            <!-- <text class="my">更多成长值</text> -->
            <text class="view" style='color:{{view}}'>更多成长值</text>
          </view>
          <view class="integral">我的积分：{{credit}}</view>
        </view>
        <!-- <image src="{{memberLogo}}"  class="memberLogo"></image> -->
      </view>
    </view>
    <view class="user-btns">
      <!-- 我的订单 -->
      <navigator url="/pages/order/index/index?id=all">
        <view class="user-btn app-border-bottom">
          <view>
            <image class='icons' src="{{dingUrl}}" mode='widthFix'></image>我的订单
          </view>
        </view>
      </navigator>
      <!-- 我的券包 -->
      <navigator url="/pages/couponorder/index/index">
        <view class="user-btn app-border-bottom">
          <view>
            <image class='icons' src="{{quansUrl}}" mode='widthFix'></image>我的券包
          </view>
          <view>

          </view>
        </view>
      </navigator>
      <navigator url="/pages/cardorder/index/index">
        <view class="user-btn app-border-bottom">
          <view>
            <image class='icons' src="{{cardiconUrl}}" mode='widthFix'></image>我的卡包
          </view>
          <view>
          </view>
        </view>
      </navigator>
      <!-- 积分商城 -->
      <navigator url="/pages/integralmall/index">
        <view class="user-btn app-border-bottom">
          <view>
            <image class='icons' src="{{wmintegral}}" mode='widthFix'></image>积分商城
          </view>
        </view>
      </navigator>
    </view>
  </view>
  <view class='btns_bg'>
    <navigator url="/pages/bargain/bargain?from=myhtml" open-type="navigate">
      <view class="particulars_list">
        <view class="particulars_name">我的砍价</view>
        <view class="particulars_go">></view>
      </view>
    </navigator>
    <navigator url="/pages/spellGroup/spellGroup?from=myhtml" open-type="navigate">
      <view class="particulars_list">
        <view class="particulars_name">我的拼团</view>
        <view class="particulars_go">></view>
      </view>
    </navigator>
    <navigator url="/pages/user/myactivity/index" open-type="navigate">
      <view class="particulars_list">
        <view class="particulars_name">我的活动</view>
        <view class="particulars_go">></view>
      </view>
    </navigator>
    <navigator url="/pages3/setUserInfo/index" open-type="navigate">
      <view class="particulars_list">
        <view class="particulars_name">完善个人信息</view>
        <view class="particulars_go">></view>
      </view>
    </navigator>
    <navigator url="/pages/specialcourtesy/specialcourtesy">
      <view class="particulars_list">
        <view class="particulars_name">特享礼遇</view>
        <view class="particulars_go">></view>
      </view>
    </navigator>
    <navigator url="/pages/exchange/exchange" open-type="navigate">
      <view class="particulars_list">
        <view class="particulars_name">兑换</view>
        <view class="particulars_go">></view>
      </view>
    </navigator>
    <navigator url="/pages/questionnaire/questionnaireLsit/questionnaireLsit" open-type="navigate">
      <view class="particulars_list">
        <view class="particulars_name">问券调查</view>
        <view class="particulars_go">></view>
      </view>
    </navigator>
    <!-- <view bindtap="suerService">
        <view class="particulars_list">
          <view class="particulars_name">联系客服</view>
          <view class="particulars_go">></view>
        </view>
      </view> -->
    <navigator url="/pages/complaint/complaint" open-type="navigate">
      <view class="particulars_list">
        <view class="particulars_name">投诉建议</view>
        <view class="particulars_go">></view>
      </view>
    </navigator>
    <navigator wx:if="{{businessSwitch}}" url="{{goUrl}}">
      <view class="particulars_list">
        <view class="particulars_name">自助积分</view>
        <view class="particulars_go">></view>
      </view>
    </navigator>
    <navigator url="/pages/mallInfo/mallInfo" open-type="navigate">
      <view class="particulars_list">
        <view class="particulars_name">关于我们</view>
        <view class="particulars_go">></view>
      </view>
    </navigator>
  </view>
  <!-- <view class='btns_bg' wx:if="{{ifStoreApp!=1}}">
    <view class="user-btns"> -->
  <!-- 我的砍价 -->
  <!-- <navigator url="/pages/bargain/bargain?from=myhtml" open-type="navigate">
        <view class="user-btn app-border-bottom">
          <view>
            <image class='icons' src="{{wmbarginicon}}" mode='widthFix'></image>我的砍价</view>
        </view>
      </navigator> -->
  <!-- 我的拼团 -->
  <!-- <navigator url="/pages/spellGroup/spellGroup?from=myhtml" open-type="navigate">
        <view class="user-btn app-border-bottom">
          <view>
            <image class='icons' src="{{wmspellgroup}}" mode='widthFix'></image>我的拼团</view>
        </view>
      </navigator> -->
  <!-- 积分商城 -->
  <!-- <navigator url="/pages/integralmall/index">
        <view class="user-btn app-border-bottom">
          <view>
            <image class='icons' src="{{wmintegral}}" mode='widthFix'></image>积分商城</view>
        </view>
      </navigator> -->
  <!-- 当商场开启使用折扣按钮的时候， -->
  <!-- <navigator url="/pages/specialcourtesy/specialcourtesy">
        <view class="user-btn app-border-bottom">
          <view>
            <image class='icons' src="{{giftUrl}}" mode='widthFix'></image>特享礼遇</view>
        </view>
      </navigator> -->
  <!-- <navigator url="/pages/user/myactivity/index" open-type="navigate">
        <view class="user-btn app-border-bottom">
          <view>
            <image class='icons' src="{{myactivity}}" mode='widthFix'></image>我的活动</view>
        </view>
      </navigator> -->
  <!-- 兑换 -->
  <!-- <navigator url="/pages/exchange/exchange" open-type="navigate">
        <view class="user-btn app-border-bottom">
          <view>
            <image class='icons' src="{{duihuan}}" mode='widthFix'></image>兑换</view>
        </view>
      </navigator> -->
  <!-- 地图 -->
  <!-- <navigator url="/pages/marketAtlas/marketAtlas" open-type="navigate">
        <view class="user-btn app-border-bottom">
          <view>
            <image class='icons' src="{{shoppingAtlas}}" mode='widthFix'></image>商场地图</view>
        </view>
      </navigator> -->
  <!-- 分享好友 -->
  <!-- <navigator url="/pages/shareFriend/shareFriend" open-type="navigate">
        <view class="user-btn app-border-bottom">
          <view>
            <image class='icons' src="{{fenxiang}}" mode='widthFix'></image>分享好友</view>
        </view>
      </navigator>
    </view>
  </view> -->
  <!-- 小马快店样式 -->
  <!-- <view class="top-content" wx:if="{{ifStoreApp==1}}">
    <view class='user_title '>
      <view class="user-avatar" bindtap='gotoedit'>
        <open-data class="open" type="userAvatarUrl"></open-data>
      </view>
      <view class="user-name" bindtap='gotoedit'>
        <open-data class="name" type="userNickName"></open-data>
      </view> -->
  <!-- <view class="user-btns"> -->
  <!-- 我的订单 -->
  <!-- <navigator url="/pages/order/index/index?id=all">
          <view class="user-btn app-border-bottom">
            <view>
              <image class='icons' src="{{dingUrl}}" mode='widthFix'></image>我的订单</view>
          </view>
        </navigator> -->
  <!-- 我的券包 -->
  <!-- <navigator url="/pages/couponorder/index/index">
          <view class="user-btn app-border-bottom">
            <view>
              <image class='icons' src="{{quansUrl}}" mode='widthFix'></image>我的券包</view>
            <view>
              <text class="couponnum" wx:if="{{couponNum=='couponNum'}}"></text>
            </view>
          </view>
        </navigator> -->
  <!-- 我的砍价 -->
  <!-- <navigator url="/pages/bargain/bargain?from=myhtml" open-type="navigate">
          <view class="user-btn app-border-bottom">
            <view>
              <image class='icons' src="{{wmbarginicon}}" mode='widthFix'></image>我的砍价</view>
          </view>
        </navigator> -->
  <!-- 我的拼团 -->
  <!-- <navigator url="/pages/spellGroup/spellGroup?from=myhtml" open-type="navigate">
          <view class="user-btn app-border-bottom">
            <view>
              <image class='icons' src="{{wmspellgroup}}" mode='widthFix'></image>我的拼团</view>
          </view>
        </navigator>
      </view>
    </view>
  </view> -->

  <view class="margin"></view>
  <view class='of' wx:if="{{canIUse}}">
    <official-account class="gzh"></official-account>
  </view>
</view>