<!-- 自定义头部 -->
<My_navBar></My_navBar>
<My_GeneralTemplate padBot="20rpx" NavHeight="{{NavHeight}}">
    <!-- 用户头部 -->
    <view class="user_header">
        <view class="user_header_msg">
            <!-- 头像 -->
            <view class="user_headPortrait">
                <image wx:if="{{userMessage.attinfos[0].fobsurl}}" src="{{userMessage.attinfos[0].fobsurl}}" mode="aspectFill"></image>
                <image wx:else src="/static/userImage.png" mode="aspectFit"></image>
            </view>
            <!-- 信息 -->
            <view class="user_message" bindtap="toUserCenter">
                <!-- 用户名 -->
                <view class="user_name u-line-1">
                    {{userMessage.fname}}<text>{{userMessage.frole}}</text>
                </view>
                <view class="user_nubmer">
                    {{userMessage.fphonenumber}}
                </view>
            </view>
            <!-- 箭头 -->
            <view class="user_arrows" bindtap="toUserCenter">
                <van-icon name="arrow" color="#333333" size="34rpx" />
            </view>
        </view>
        <view style="height: 2rpx; width: 100%; background-color: #979797; opacity: .3;"></view>
    </view>
    <!-- 宫格 -->
    <view class="grid_box">
        <van-grid border="{{false}}" bindtap="gridJumpPage">
            <van-grid-item wx:for="{{gridList}}" data-name="{{item.text}}" icon="{{item.icon}}" text="{{item.text}}" text-class="grid_text-class" />
        </van-grid>
    </view>
</My_GeneralTemplate>

<!-- 注销按钮 -->
<view class="logout">
    <van-button bindtap="userLogout" custom-class="custom-class" round size="normal" color="rgba(103, 207, 220, 0.15);">退出登录</van-button>
</view>