<mobile-main frameStyle="{{frameStyle}}" bind:back="back">
    <view slot="info" class="container main">
        <view class="one">
            <form catchsubmit="onSubmit">
                <view class="content">
                    <view class="label">用户名</view>
                    <view class="value">{{form.name||'未知'}}</view>
                </view>
                <view class="content">
                    <view class="label">用户头像</view>
                    <view class="value">
                        <image class="img" src="{{form.icon&&form.icon.length>0?form.icon[0].url:''}}"></image>
                    </view>
                </view>
                <view class="content">
                    <view class="label">性别</view>
                    <view class="value">{{form.gender||'未知'}}</view>
                </view>
                <view class="content">
                    <view class="label">身份证</view>
                    <view class="value">{{form.card||'未知'}}</view>
                </view>
                <view class="content">
                    <view class="label">手机号</view>
                    <view class="value">{{form.phone||'未知'}}</view>
                </view>
                <view class="content">
                    <view class="label">邮箱</view>
                    <view class="value">{{form.email||'--'}}</view>
                </view>
            </form>
        </view>
    </view>
</mobile-main>