email-success.js
437 Bytes
/**
* 找回密码-邮箱找回成功
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
let $ = require('yoho-jquery');
let $resend = $('#resend');
let tip = require('plugin/tip');
let showTip = tip.show;
$resend.on('touchstart', function(e) {
e.preventDefault();
$.ajax({
url: $resend.data('url'),
type: 'GET',
success: function(data) {
showTip(data.message);
}
});
});