<My_GeneralTemplate>
    <view style="padding: 0 30rpx 20rpx;">
        <My_GreyRectangleForm title="账号名称" required>
            <van-field autosize model:value="{{ fname }}" data-name="fname" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.fname}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
        </My_GreyRectangleForm>

        <My_GreyRectangleForm title="身份/职位" required>
            <van-field autosize model:value="{{ frole }}" data-name="frole" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.frole}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
        </My_GreyRectangleForm>

        <My_GreyRectangleForm title="手机号码" required>
            <van-field autosize model:value="{{ fphonenumber }}" data-name="fphonenumber" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.fphonenumber}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
        </My_GreyRectangleForm>

        <My_GreyRectangleForm title="权限设置">
        </My_GreyRectangleForm>

        <My_GreyRectangleForm title="是否启用">
            <van-switch style="position: absolute; margin-left: -110rpx; margin-top: 10rpx;" checked="{{ checked }}" bind:change="onChange" />
        </My_GreyRectangleForm>

    </view>
</My_GeneralTemplate>

<!-- 提交按钮 -->
<view class="submit_but">
    <van-button bindtap="submit" custom-class="custom-class" round color="linear-gradient(180deg, #82E0E9 0%, #4BBECF 100%);">保存</van-button>
</view>