...
|
...
|
@@ -4,6 +4,10 @@ require('common'); |
|
|
|
|
|
let tip = require('plugin/tip');
|
|
|
|
|
|
$('.invite-reg-page').css('min-height', function() {
|
|
|
return $(window).height();
|
|
|
});
|
|
|
|
|
|
// 埋点
|
|
|
function point(type, trend) {
|
|
|
let pointJosn = {
|
...
|
...
|
@@ -33,6 +37,12 @@ $('.set').click(function() { |
|
|
success: function(result) {
|
|
|
tip.show(result.message);
|
|
|
point(1, $('.command-textarea').val());
|
|
|
|
|
|
if (result.code === 200) {
|
|
|
setTimeout(function() {
|
|
|
location.href = window.cookie('refer');
|
|
|
}, 500);
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
});
|
...
|
...
|
|