<van-nav-bar
  title="个人中心"
  left-text=""
  right-text=""
  left-arrow
  bind:click-left="onClickLeft"
  bind:click-right="onClickRight"
  style=" position: fixed;left: 0;top: 0;width: 100%;z-index: 2;"
/>


<view style="margin-top: {{height}}px;">
    <view wx:if="{{uidFlag}}">
        <view class="content">
            <view class="userinfo-avatar" bindtap="bindViewTap">
                <open-data type="userAvatarUrl"></open-data>
            </view>
            <view class="content_right">
                <navigator>
                    <open-data type="userNickName"></open-data>
                </navigator>
                <view>{{phone}}</view>
            </view>
        </view>
    
        <view class="substance" bindtap="shoucang">
            <view style="display:flex">
                <image src="/pages/image/colleme.png" style="width:34rpx;height:34rpx;"></image>
                <view class="price">我的关注</view>
            </view>
            <view>
                <image src="/pages/image/right1.png" style="width:15rpx;height:28rpx"></image>
            </view>
        </view>
        <!-- <view class="substance" bindtap="pintuan">
            <view style="display:flex">
                <image src="/pages/image/Collage.png" style="width:34rpx;height:34rpx;"></image>
                <view class="price">我的订单</view>
            </view>
            <view>
                <image src="/pages/image/right1.png" style="width:15rpx;height:28rpx"></image>
            </view>
        </view> -->
       
        <view class="substance"  bindtap="tuiguang">
            <view style="display:flex">
                <image src="/pages/image/Bargain.png" style="width:34rpx;height:34rpx;"></image>
                <view class="price">我的推广</view>
            </view>
            <view>
                <image src="/pages/image/right1.png" style="width:15rpx;height:28rpx"></image>
            </view>
        </view>
    </view>

    <view class="content" wx:else>
        <image class="userinfo-avatar" src="../image/userimg.png" mode="widthFix"></image>
        <view class="content_right">
            <!-- <navigator url="/pages/login/login">点击登录</navigator> -->
            <button class="phone" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">点击登录</button>
            <view>登录获取更多信息~</view>
        </view>
    </view>
</view>
