...
|
...
|
@@ -70,7 +70,7 @@ |
|
|
<div class="invite_modal"></div>
|
|
|
<div class="invite_qr_code">
|
|
|
<div class="invite_code">
|
|
|
<!-- <img src="img/sun_28@3x.png" alt="" id="tuli"> -->
|
|
|
<img src="__CDN__/assets/advertising/img/sun_28@3x.png" alt="" id="tuli">
|
|
|
</div>
|
|
|
<div class="invite_btn">长按图片分享好友</div>
|
|
|
</div>
|
...
|
...
|
@@ -78,8 +78,6 @@ |
|
|
{include file="public/js" /}
|
|
|
<script>
|
|
|
$(".btn").click(function() {
|
|
|
// $(".invite_modal").show();
|
|
|
// $(".invite_qr_code").show();
|
|
|
var user_id = "{$user.id}";
|
|
|
var type = $('.active').attr('data-type');
|
|
|
console.log(type);
|
...
|
...
|
@@ -89,7 +87,9 @@ |
|
|
data:{'type':type,'user_id':user_id},
|
|
|
success:function(res){
|
|
|
if(res.code == 1){
|
|
|
|
|
|
$(".invite_code").attr('src',res.data.url);
|
|
|
$(".invite_modal").show();
|
|
|
$(".invite_qr_code").show();
|
|
|
}else{
|
|
|
toast(res.msg);
|
|
|
}
|
...
|
...
|
|