作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

商户申请

... ... @@ -6,11 +6,11 @@
<!--<script type="text/javascript" src="https://3gimg.qq.com/lightmap/components/geolocation/geolocation.min.js"></script>-->
<!--<script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.15&key=867fb2a2b26d2cdb011c580fd4770a22"></script>-->
<script>
function toast(msg='提示框'){
function toast(msg='提示框',time=2000){
$('.toast').text(msg)
$('.toast').show();
setTimeout(function(){
$('.toast').hide();
},2000);
},time);
}
</script>
\ No newline at end of file
... ...
... ... @@ -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();
... ...