...
|
...
|
@@ -78,6 +78,8 @@ |
|
|
{include file="public/js" /}
|
|
|
<script>
|
|
|
$(".btn").click(function() {
|
|
|
$('.toast').text('正在努力生成中...')
|
|
|
$('.toast').show();
|
|
|
var user_id = "{$user.id}";
|
|
|
var type = $('.active').attr('data-type');
|
|
|
console.log(type);
|
...
|
...
|
@@ -86,6 +88,7 @@ |
|
|
type:"POST",
|
|
|
data:{'type':type,'user_id':user_id},
|
|
|
success:function(res){
|
|
|
$('.toast').hide()
|
|
|
if(res.code == 1){
|
|
|
$("#poster").attr('src',res.data.url);
|
|
|
$(".invite_modal").show();
|
...
|
...
|
|