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