2016-09-07 14:19:07 +08:00
|
|
|
<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">-->
|
2016-09-08 08:46:29 +08:00
|
|
|
<!--<input class="upload-input" type="file" capture="camera" accept="image/*" load-head>-->
|
2016-09-07 15:32:48 +08:00
|
|
|
<img ng-src="{{replaceUrl(user.img_url)}}" width="30" class="fl img-circle" style="position:absolute;" />
|
2016-09-07 14:19:07 +08:00
|
|
|
</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>
|
2016-09-08 15:28:22 +08:00
|
|
|
<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>
|
2016-09-08 15:34:48 +08:00
|
|
|
<span class="login-box fr mr10 mt2" ng-click="sex=0" ng-class="['login-box', 'fr', 'mr10', 'img-circle', {'checked': sex==0}]"></span>
|
2016-09-08 15:28:22 +08:00
|
|
|
</div>
|
|
|
|
<div class="mb5 mt5" style="line-height:20px;">
|
|
|
|
<span class="ml15 c-grey3"></span>
|
|
|
|
<span class="ml55">女</span>
|
2016-09-08 15:34:48 +08:00
|
|
|
<span class="login-box fr mr10 mt2" ng-click="sex=1" ng-class="['login-box', 'fr', 'mr10', 'img-circle', {'checked': sex==1}]"></span>
|
2016-09-07 14:19:07 +08:00
|
|
|
</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" placeholder="请输入您的邮箱地址" maxlength="60" />
|
|
|
|
<div ng-show="regFrm.$submitted || regFrm.email.$touched">
|
2016-09-08 15:36:58 +08:00
|
|
|
<span class="f12 c-red fl ml15" ng-show="regFrm.email.$error.required">电子邮箱地址不能为空</span>
|
|
|
|
<span class="f12 c-red fl ml15" ng-show="regFrm.email.$error.email">电子邮箱地址不合法</span>
|
2016-09-07 14:19:07 +08:00
|
|
|
</div>
|
|
|
|
</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>
|