1
0

提交代码

This commit is contained in:
2020-08-06 14:45:56 +08:00
commit 9d0d5f4be9
361 changed files with 36445 additions and 0 deletions

View File

@@ -0,0 +1,113 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>@yield('title', $app_title??config('app.name'))</title>
<link rel="stylesheet" href="{{ asset('assets/index/css/mzui.min.css') }}">
<link rel="stylesheet" href="{{ asset('assets/index/css/swiper.min.css') }}">
{{-- <link rel="stylesheet" href="{{ asset('assets/index/css/conciseui.css') }}"> --}}
<link rel="stylesheet" href="{{ asset('assets/index/css/style.css') }}?_{{time()}}">
<link rel="stylesheet" href="{{ asset('assets/index/css/PullToRefresh.min.css') }}">
@yield('css')
@yield('js')
</head>
<body>
@if (Auth::user() && empty(Auth::user()->info->subscribe_at) && !in_array(url()->current(),[route('register'),route('upgrade.agent'),route('upgrade.vip')]))
<div class="codeCont">
<div class="codeCont-img">
<img src="/assets/index/img/wechat_code.jpg" >
<span>请先扫码关注平台</span>
</div>
</div>
<div class="codeClose">
关闭
</div>
@endif
@section('footer')
@include('layouts.footer')
@show
@yield('pop')
@yield('content')
</body>
<script type="text/javascript" src="/assets/index/js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="/assets/index/js/mzui.min.js" ></script>
<script type="text/javascript" src="/assets/index/js/layer/layer.min.js" ></script>
<script type="text/javascript" src="/assets/index/js/swiper.min.js"></script>
<script type="text/javascript" src="/assets/index/js/cjango.js?v={{uniqid()}}"></script>
<script type="text/javascript">
function checkNumFoc(inp,next)
{
var $this=$(inp);
var str=$this.val();
if (str.length >= 5) {
str = str.substr(0, 4);
}
$this.val(str);
if(str.length==4 && next!=0){
$('.passdiv').find('input').eq(next).focus();
}
}
// 卡号绑定
$('.cardBtn').on('click', function() {
var top = $(window).scrollTop();
$('html').css({
'overflow': 'hidden',
'top': -top + 'px'
})
$('footer').css({
'display': 'flex'
})
$('.cardBuy').css({
'top': 'calc(50% - 110px)'
})
$('.cardBack').css({
'display': 'block'
})
$('.liangHaoBuy').css({
'bottom': '-100%'
})
})
$('.cardClose').on('click', function() {
$('html').css({
'overflow': 'auto',
'position': 'static'
})
$('html,body').scrollTop(top)
$('.cardBuy').css({
'top': '-100%'
})
$('.cardBack').css({
'display': 'none'
})
$('.liangHaoBuy').css({
'bottom': '-100%'
})
$('.liangHao-list').find('.liangHao-list-border').removeClass('liangHao-list-border');
})
//二维码弹出层
$('.codeClose').on('click', function() {
$('.codeCont').css({
'top': '-100%'
})
$('.codeClose').css({
'display': 'none'
})
})
</script>
@yield('script')
</html>

View File

@@ -0,0 +1,18 @@
<footer>
<a href="{{ route('index') }}" class="footer-item @if( ($nav??'1') ==1) tab-active @endif">
<img class="footer-icon" @if( ($nav??'1') ==1) src="/assets/index/img/icon/tabIcon_active_00.png" @else src="/assets/index/img/icon/tabIcon_00.png" @endif alt="footerIcon">
<p class="footer-text">会员商城</p>
</a>
<a href="{{ route('pick.index') }}" class="footer-item @if( ($nav??'1') ==2) tab-active @endif">
<img class="footer-icon" @if( ($nav??'1') ==2) src="/assets/index/img/icon/tabIcon_active_01.png" @else src="/assets/index/img/icon/tabIcon_01.png" @endif alt="footerIcon">
<p class="footer-text">提货商城</p>
</a>
<a href="{{ route('articles.index') }}" class="footer-item @if( ($nav??'1') ==3) tab-active @endif">
<img class="footer-icon" @if( ($nav??'1') ==3) src="/assets/index/img/icon/tabIcon_active_02.png" @else src="/assets/index/img/icon/tabIcon_02.png" @endif alt="footerIcon">
<p class="footer-text">教程资讯</p>
</a>
<a href="{{ route('user.index') }}" class="footer-item @if( ($nav??'1') ==4) tab-active @endif">
<img class="footer-icon" @if( ($nav??'1') ==4) src="/assets/index/img/icon/tabIcon_active_03.png" @else src="/assets/index/img/icon/tabIcon_03.png" @endif alt="footerIcon">
<p class="footer-text">个人中心</p>
</a>
</footer>