|
|
@@ -254,10 +254,12 @@ var app = new Vue({
|
|
|
var _this = this;
|
|
|
_this.timeId = setInterval(function(){
|
|
|
_this.time--;
|
|
|
- _this.timeText = _this.time+'s';
|
|
|
+ // _this.timeText = _this.time+'s';
|
|
|
+ $("#btnSendCode").val(_this.time+'s')
|
|
|
if(_this.time<=0){
|
|
|
_this.time = 60;
|
|
|
- _this.timeText = '获取验证码';
|
|
|
+ //_this.timeText = '获取验证码';
|
|
|
+ $("#btnSendCode").val('获取验证码')
|
|
|
_this.submitting.sendcode = false;
|
|
|
clearInterval(_this.timeId)
|
|
|
}
|
|
|
@@ -390,7 +392,6 @@ var app = new Vue({
|
|
|
|
|
|
setTimeout(function(){
|
|
|
if(rate>0){
|
|
|
- console.log('放大:'+rate)
|
|
|
$image.cropper('zoom', rate);
|
|
|
}
|
|
|
var cropHeight = $(".cropper-view-box img").height();
|
|
|
@@ -597,7 +598,7 @@ var app = new Vue({
|
|
|
params.home_address = $("#home_address").val();
|
|
|
params.married = $("#married").attr('data-code');
|
|
|
params.sex = $("#sex").attr('data-code');
|
|
|
- console.log(params);
|
|
|
+ //console.log(params);
|
|
|
// alert(JSON.stringify(_this.params));
|
|
|
if(_this.file == '' || _this.file == null){
|
|
|
$.toast("请上传真实头像", 'text');
|