0
0
Files
Babyclass/resources/views/layouts/footer.blade.php
2020-08-04 10:17:22 +08:00

46 lines
2.2 KiB
PHP

<footer class="row cn_footer">
<div class="@if( ($nav??'1') ==1) cn_current @endif cell" data-href="{{ route('index.index') }}">
<div class="cn_footer_i"><span class="cn_footer1"></span></div>
<div class="cn_footer_name">首页</div>
</div>
<div class="@if( ($nav??'1') ==3) cn_current @endif cell" data-href="{{ route('cart.index') }}">
<div class="cn_footer_i footer_center">
@if(Auth::user() && Auth::user()->cart_num == Params::get('lesson_num'))
<!--说明:注释部分为报课满时显示 替换 class="cn_footer5" -->
<span class="cn_footer5_full" style="width: 1.2rem;height: 1.7rem;position: absolute;left: calc(50% - .6rem);margin-top: .7rem"></span>
@else
<span class="cn_footer5" style="width: 1.2rem;height: 1.7rem;position: absolute;left: calc(50% - .6rem);margin-top: .7rem"></span>
@endif
</div>
<div class="cn_footer_name" style="position: absolute;bottom: .1rem;width: 30%;left: 35%;">{{ Auth::user()->cart_num??0 }}/{{ Params::get('lesson_num') }}</div>
</div>
<div class="@if( ($nav??'1') ==2) cn_current @endif cell" data-href="{{ route('user.index') }}">
<div class="cn_footer_i"><span class="cn_footer4"></span></div>
<div class="cn_footer_name">个人中心</div>
</div>
</footer>
<div class="j_share">
<div class="j_share_container">
<img id="shareimg" src="">
<div class="j_share_notice">长按图片保存到本地</div>
<i class="icon-remove-circle j_share_close"></i>
</div>
</div>
@if(url()->current()==route('index.index') && !empty($show_gift_url))
<!--提示有礼物要添加收货地址-->
<div class="notice_0416" id="notice_0416_show">
<div class="notice_0416_container">
<div class="notice_0416_img"><img src="/assets/home/img/q0010.jpg"></div>
<div class="notice_0416_text">您有礼物需要添加收货地址</div>
<div class="notice_0416_btn" data-href="{{$show_gift_url}}">去添加</div>
<i class="icon-remove-circle notice_0416_close" onclick="document.getElementById('notice_0416_show').style.display='none';"></i>
</div>
</div>
<!--end 提示有礼物要添加收货地址-->
@endif