51 lines
3.2 KiB
HTML
51 lines
3.2 KiB
HTML
<div class="post-container">
|
|
<div loading-spinner></div>
|
|
<div class="blue-title">编辑资料</div>
|
|
<div class="blank-row mt10">
|
|
<div class="upload-input-container img-circle fl ml10 mt4">
|
|
<!--<input class="upload-input" accept="image/*" multiple="" type="file">-->
|
|
<!--<input class="upload-input" type="file" capture="camera" accept="image/*" load-head>-->
|
|
<img ng-src="{{replaceUrl(user.img_url)}}" width="30" class="fl img-circle" style="position:absolute;" />
|
|
</div>
|
|
<span class="fl ml25">{{user.login}}</span><span ng-click="unbind()" class="fr f13 mr10 c-blue">解除绑定</span><div class="cl"></div></div>
|
|
|
|
<form name="regFrm" novalidate>
|
|
|
|
<div class="course-list-row f13 c-grey3 mt10"><span class="fl ml15 c-grey3">姓名</span><input class="new-class-input ml25" ng-model="lastname" placeholder="请输入您的真实姓名" maxlength="30" /></div>
|
|
<div ng-show="lastname == '' " class="c-red f12 mt5 ml65">姓名不能为空</div>
|
|
<div class="course-list-row f13 c-grey3 mt10" style="height:auto;">
|
|
<div class="mt5" style="line-height:20px">
|
|
<span class="ml15 c-grey3">性别</span>
|
|
<span class="ml25">男</span>
|
|
<span class="login-box fr mr10 mt2" ng-click="sex=0" ng-class="['login-box', 'fr', 'mr10', 'img-circle', {'checked': sex==0}]"></span>
|
|
</div>
|
|
<div class="mb5 mt5" style="line-height:20px;">
|
|
<span class="ml15 c-grey3"></span>
|
|
<span class="ml55">女</span>
|
|
<span class="login-box fr mr10 mt2" ng-click="sex=1" ng-class="['login-box', 'fr', 'mr10', 'img-circle', {'checked': sex==1}]"></span>
|
|
</div>
|
|
</div>
|
|
|
|
<!--<div class="course-list-row f13 c-grey3 mt10">-->
|
|
<!--<span class="fl ml15 c-grey3">邮箱</span>-->
|
|
<!--<input class="new-class-input ml25" type="email" name="email" ng-model="mail" maxlength="60" disabled />-->
|
|
<!--</div>-->
|
|
<div ng-show="regFrm.$submitted || regFrm.email.$touched">
|
|
<span class="f12 c-red ml65" ng-show="regFrm.email.$error.required">电子邮箱地址不能为空</span>
|
|
<span class="f12 c-red ml65" ng-show="regFrm.email.$error.email">电子邮箱地址不合法</span>
|
|
</div>
|
|
<div ng-show="lastname == '' " class="f12 c-grey6 mt10 ml15">
|
|
<span class="f13 c-grey3">提示</span>
|
|
<ul class="mb15 mt5 ml10 new-tip">
|
|
<li><span class="project-intro-dot">•</span>您尚未完善您的基本资料,完善后可使用更多功能</li>
|
|
</ul>
|
|
</div>
|
|
<div class="bottom-tab-wrap mt10">
|
|
<a ng-click="cancel()" class="weixin-tab c-grey border-top">取消</a>
|
|
<a ng-click="confirm(regFrm)" ng-class="[{'btn-disabled':!regFrm.$valid} ]" class="weixin-tab link-blue2 border-top">确定</a>
|
|
</div>
|
|
</form>
|
|
|
|
<my-alert message="alertService_1.message" title="alertService_1.title" visible="alertService_1.visible" cb="alertService_1.cb"></my-alert>
|
|
<my-alert2 message="alertService_2.message" title="alertService_2.title" visible="alertService_2.visible" cb="alertService_2.cb"></my-alert2>
|
|
</div> |