<!-- 头像 -->
<My_upload maxCount='1' accept='image' bind:uploadCallback='changeUserImage'>
    <navigator url="#" class="picture">
        <view class="label">头像</view>
        <view class="picture_right">
            <image class="user-img" src="{{attinfos[0].url||'/static/image/user.png'}}"></image>
            <van-icon size='30rpx' name="arrow" />
        </view>
    </navigator>
</My_upload>
<view style="height: 20rpx;" />
<My_form id='form1' fromList='{{fromList1}}' bindCompletedOrNot='form1CompletedOrNot' />
<van-cell-group wx:if="{{show}}">
    <van-field model:value="{{ password }}" required center clearable label="短信验证码" placeholder="请输入短信验证码" border="{{ false }}" use-button-slot>
        <van-button slot="button" size="small" color='var(--assist)' bindtap="startCountDown">
            {{countDown==0?'发送验证码':countDown+'s'}}
        </van-button>
    </van-field>
</van-cell-group>
<view style="width: 100%;text-align: center;">
    <van-button custom-class='save-but' disabled='{{disabled}}' loading="{{loading}}" loading-text="保存中..." color="var(--warning)" bindtap="submit">保存</van-button>
</view>