first
This commit is contained in:
49
resources/views/articles/show.blade.php
Normal file
49
resources/views/articles/show.blade.php
Normal file
@@ -0,0 +1,49 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', $article->title)
|
||||
|
||||
|
||||
@section('content')
|
||||
<!-- 详情 -->
|
||||
<div class="details">
|
||||
<div class="contant">
|
||||
<div class="page-left">
|
||||
<div class="pagelist">
|
||||
<h1>{{ $parent->title }}</h1>
|
||||
<ul class="listbox">
|
||||
@if ($parent->children->isNotEmpty())
|
||||
@foreach ($parent->children as $children)
|
||||
<li @if($category->id==$children->id) class="active" @endif>
|
||||
<a href="{{ $children->link }}">{{ $children->title }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="page-right">
|
||||
<div class="pagelujing">
|
||||
<div class="name">{{ $category->title }}</div>
|
||||
<span>
|
||||
您当前所在位置:<a href="/">首页</a> >
|
||||
@if ($category->id!=$parent->id)
|
||||
<a href="{{ $parent->link }}">{{ $parent->title }}</a> >
|
||||
@endif
|
||||
<a href="{{ $category->link }}">{{ $category->title }}</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="news-txt ny mg-t-b">
|
||||
<div class="biaoti">{{ $article->title }}</div>
|
||||
<div class="sshuomign"><span>发布时间:{{ $article->created_at->format('Y-m-d') }}</span></div>
|
||||
<div class="article_txt">
|
||||
{{-- @if ($article->cover)--}}
|
||||
{{-- <img src="{{ $article->cover_path }}">--}}
|
||||
{{-- @endif--}}
|
||||
{!! $article->content !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end 详情 -->
|
||||
@endsection
|
||||
56
resources/views/category/list.blade.php
Normal file
56
resources/views/category/list.blade.php
Normal file
@@ -0,0 +1,56 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', $category->title)
|
||||
|
||||
@section('content')
|
||||
<!-- 详情 -->
|
||||
<div class="details">
|
||||
<div class="contant">
|
||||
<div class="page-left">
|
||||
<div class="pagelist">
|
||||
<h1>{{ $parent->title }}</h1>
|
||||
<ul class="listbox">
|
||||
@if ($parent->children->isNotEmpty())
|
||||
@foreach ($parent->children as $children)
|
||||
<li @if($category->id==$children->id) class="active" @endif>
|
||||
<a href="{{ $children->link }}">{{ $children->title }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="page-right">
|
||||
<div class="pagelujing">
|
||||
<div class="name">{{ $category->title }}</div>
|
||||
<span>
|
||||
您当前所在位置:<a href="/">首页</a> >
|
||||
@if ($category->id!=$parent->id)
|
||||
<a href="{{ $parent->link }}">{{ $parent->title }}</a> >
|
||||
@endif
|
||||
<a href="{{ $category->link }}">{{ $category->title }}</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="news-txt ny mg-t-b">
|
||||
<div class="news-con">
|
||||
<ul class="newslist ny">
|
||||
@if ($articles->isNotEmpty())
|
||||
@foreach ($articles as $article)
|
||||
<li>
|
||||
<a href="{{ $article->link }}">{{ $article->title }}</a><span>{{ $article->created_at->format('m-d') }}</span>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
<div class="tcdPageCode">
|
||||
@if ($articles->isNotEmpty())
|
||||
{{ $articles->links('layouts.pagination') }}
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end 详情 -->
|
||||
@endsection
|
||||
56
resources/views/category/show.blade.php
Normal file
56
resources/views/category/show.blade.php
Normal file
@@ -0,0 +1,56 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', $category->title)
|
||||
|
||||
@section('content')
|
||||
<!-- 详情 -->
|
||||
<div class="details">
|
||||
<div class="contant">
|
||||
<div class="page-left">
|
||||
<div class="pagelist">
|
||||
<h1>{{ $parent->title }}</h1>
|
||||
<ul class="listbox">
|
||||
@if ($parent->children->isNotEmpty())
|
||||
@foreach ($parent->children as $children)
|
||||
<li @if($category->id==$children->id) class="active" @endif>
|
||||
<a href="{{ $children->link }}">{{ $children->title }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="page-right">
|
||||
<div class="pagelujing">
|
||||
<div class="name">{{ $category->title }}</div>
|
||||
<span>
|
||||
您当前所在位置:<a href="/">首页</a> >
|
||||
@if ($category->id!=$parent->id)
|
||||
<a href="{{ $parent->link }}">{{ $parent->title }}</a> >
|
||||
@endif
|
||||
<a href="{{ $category->link }}">{{ $category->title }}</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="news-txt ny mg-t-b">
|
||||
<div class="news-con">
|
||||
<ul class="newslist ny">
|
||||
@if ($articles->isNotEmpty())
|
||||
@foreach ($articles as $article)
|
||||
<li>
|
||||
<a href="{{ $article->link }}">{{ $article->title }}</a><span>{{ $article->created_at->format('m-d') }}</span>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
<div class="tcdPageCode">
|
||||
@if ($articles->isNotEmpty())
|
||||
{{ $articles->links('layouts.pagination') }}
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end 详情 -->
|
||||
@endsection
|
||||
347
resources/views/index/index.blade.php
Normal file
347
resources/views/index/index.blade.php
Normal file
@@ -0,0 +1,347 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', '首页')
|
||||
|
||||
@section('content')
|
||||
|
||||
<!-- 第一模板 -->
|
||||
<div class="idxOne ce-morgin-tb">
|
||||
<div class="contant idxOneCont">
|
||||
<div class="contant-left">
|
||||
<div class="idxTitle">
|
||||
<div class="idxTitle-name">
|
||||
{{ getOneCategory(7,'title') }}
|
||||
<span>/ {{ getOneCategory(7,'description') }}</span>
|
||||
</div>
|
||||
<div class="idxTitle-more" data-href="{{ getOneCategory(7,'link') }}">
|
||||
查看更多<img src="images/idxRow.png">
|
||||
</div>
|
||||
</div>
|
||||
<div class="oneCont-top">
|
||||
@if (getArticlesBYCate(7,5)->isNotEmpty())
|
||||
<div class="ce-img oneCont-top-img">
|
||||
<span style="background-image: url({{ getArticlesBYCate(7,5)->first()->cover_path }});"></span>
|
||||
</div>
|
||||
<div class="oneCont-top-cont">
|
||||
<div class="ce-nowrap oneCont-top-title">
|
||||
{{ getArticlesBYCate(7,5)->first()->title }}
|
||||
</div>
|
||||
<div class="ce-nowrap-multi oneCont-top-text">
|
||||
{{ getArticlesBYCate(7,5)->first()->description }}
|
||||
</div>
|
||||
<div class="oneCont-top-time">
|
||||
<span>{{ getArticlesBYCate(7,5)->first()->created_at->format('Y-m-d') }}</span>
|
||||
<div class="oneCont-top-more" data-href="{{ getArticlesBYCate(7,5)->first()->link }}">
|
||||
查看更多<img src="/assets/index/images/idxRow_color.png"></div>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="oneCont-ul">
|
||||
@foreach (getArticlesBYCate(7,5) as $article)
|
||||
<li data-href="{{ $article->link }}">
|
||||
<p class="ce-nowrap">{{ $article->title }}</p>
|
||||
<span>{{ $article->created_at->format('Y-m-d') }}</span>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="contant-right">
|
||||
<div class="idxTitle">
|
||||
<div class="idxTitle-name">
|
||||
通知公告
|
||||
</div>
|
||||
<div class="idxTitle-more" data-href="">查看更多<img src="images/idxRow.png"></div>
|
||||
</div>
|
||||
<ul class="contant-right-list">
|
||||
<li data-href="">
|
||||
<p class="ce-nowrap">掀民法典学习热潮 强加党建引领 推进各项工作不断向前</p>
|
||||
<span>2017-09-16</span>
|
||||
</li>
|
||||
<li data-href="">
|
||||
<p class="ce-nowrap">掀民法典学习热潮 强加党建引领 推进各项工作不断向前</p>
|
||||
<span>2017-09-16</span>
|
||||
</li>
|
||||
<li data-href="">
|
||||
<p class="ce-nowrap">掀民法典学习热潮 强加党建引领 推进各项工作不断向前</p>
|
||||
<span>2017-09-16</span>
|
||||
</li>
|
||||
<li data-href="">
|
||||
<p class="ce-nowrap">掀民法典学习热潮 强加党建引领 推进各项工作不断向前</p>
|
||||
<span>2017-09-16</span>
|
||||
</li>
|
||||
<li data-href="">
|
||||
<p class="ce-nowrap">掀民法典学习热潮 强加党建引领 推进各项工作不断向前</p>
|
||||
<span>2017-09-16</span>
|
||||
</li>
|
||||
<li data-href="">
|
||||
<p class="ce-nowrap">掀民法典学习热潮 强加党建引领 推进各项工作不断向前</p>
|
||||
<span>2017-09-16</span>
|
||||
</li>
|
||||
<li data-href="">
|
||||
<p class="ce-nowrap">掀民法典学习热潮 强加党建引领 推进各项工作不断向前</p>
|
||||
<span>2017-09-16</span>
|
||||
</li>
|
||||
<li data-href="">
|
||||
<p class="ce-nowrap">掀民法典学习热潮 强加党建引领 推进各项工作不断向前</p>
|
||||
<span>2017-09-16</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end 第一模板 -->
|
||||
|
||||
<!-- 第二模板 -->
|
||||
<div class="idxTwo ce-morgin-tb">
|
||||
<div class="contant">
|
||||
<div class="idxTitle">
|
||||
<div class="idxTitle-name">
|
||||
科研进展<span>/ Scientific research achievements</span>
|
||||
</div>
|
||||
<div class="idxTitle-more" data-href="">查看更多<img src="images/idxRow.png"></div>
|
||||
</div>
|
||||
<ul class="newTwo-list">
|
||||
<li data-href="">
|
||||
<div class="ce-img newTwo-list-img">
|
||||
<span style="background-image: url(/assets/index/images/img.png);"></span>
|
||||
</div>
|
||||
<div class="newTwo-list-cont">
|
||||
<div class="ce-nowrap newTwo-list-title">广州能源所参加国家重点研发计划项目课题“梯次利用动力电池</div>
|
||||
<div class="ce-nowrap newTwo-list-text">2020-08-03</div>
|
||||
</div>
|
||||
</li>
|
||||
<li data-href="">
|
||||
<div class="ce-img newTwo-list-img">
|
||||
<span style="background-image: url(/assets/index/images/img.png);"></span>
|
||||
</div>
|
||||
<div class="newTwo-list-cont">
|
||||
<div class="ce-nowrap newTwo-list-title">广州能源所参加国家重点研发计划项目课题“梯次利用动力电池</div>
|
||||
<div class="ce-nowrap newTwo-list-text">2020-08-03</div>
|
||||
</div>
|
||||
</li>
|
||||
<li data-href="">
|
||||
<div class="ce-img newTwo-list-img">
|
||||
<span style="background-image: url(/assets/index/images/img.png);"></span>
|
||||
</div>
|
||||
<div class="newTwo-list-cont">
|
||||
<div class="ce-nowrap newTwo-list-title">广州能源所参加国家重点研发计划项目课题“梯次利用动力电池</div>
|
||||
<div class="ce-nowrap newTwo-list-text">2020-08-03</div>
|
||||
</div>
|
||||
</li>
|
||||
<li data-href="">
|
||||
<div class="ce-img newTwo-list-img">
|
||||
<span style="background-image: url(/assets/index/images/img.png);"></span>
|
||||
</div>
|
||||
<div class="newTwo-list-cont">
|
||||
<div class="ce-nowrap newTwo-list-title">广州能源所参加国家重点研发计划项目课题“梯次利用动力电池</div>
|
||||
<div class="ce-nowrap newTwo-list-text">2020-08-03</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end 第二模板 -->
|
||||
|
||||
<!-- 第三模板 -->
|
||||
<div class="idxThree">
|
||||
<div class="contant">
|
||||
<div class="threeCont">
|
||||
<div class="idxThree-title">
|
||||
<div class="idxThree-title-name">
|
||||
<div class="idxThree-title-icon">
|
||||
<img src="images/title_icon_00.png">
|
||||
获奖
|
||||
</div>
|
||||
</div>
|
||||
<div class="idxThree-title-more" data-href="">
|
||||
更多 +
|
||||
</div>
|
||||
</div>
|
||||
<div class="threeCont-top" data-href="">
|
||||
<div class="ce-img threeCont-top-img">
|
||||
<span style="background-image: url(/assets/index/images/img.png);"></span>
|
||||
</div>
|
||||
<div class="threeCont-top-cont">
|
||||
<div class="ce-nowrap threeCont-top-title">国家及省部级奖励</div>
|
||||
<div class="ce-nowrap-multi threeCont-top-text">
|
||||
LZS3型小流域水文自动测报系统 1982年 黑龙江省科技进步黑龙江省科技进步二等奖小流域水文自动测报系统1985年国家科技进步三等奖ZT-1型酒心糖生
|
||||
危险天气预报系统
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="threeCont-list">
|
||||
<li data-href="">
|
||||
<p>熔融沉积式工业3D打印机及其颗粒高分子复合材料的示范应用</p>
|
||||
<span>2017-09-20</span>
|
||||
</li>
|
||||
<li data-href="">
|
||||
<p>熔融沉积式工业3D打印机及其颗粒高分子复合材料的示范应用</p>
|
||||
<span>2017-09-20</span>
|
||||
</li>
|
||||
<li data-href="">
|
||||
<p>熔融沉积式工业3D打印机及其颗粒高分子复合材料的示范应用</p>
|
||||
<span>2017-09-20</span>
|
||||
</li>
|
||||
<li data-href="">
|
||||
<p>熔融沉积式工业3D打印机及其颗粒高分子复合材料的示范应用</p>
|
||||
<span>2017-09-20</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="threeCont">
|
||||
<div class="idxThree-title">
|
||||
<div class="idxThree-title-name">
|
||||
<div class="idxThree-title-icon">
|
||||
<img src="images/title_icon_01.png">
|
||||
成果专利
|
||||
</div>
|
||||
</div>
|
||||
<div class="idxThree-title-more" data-href="">
|
||||
更多 +
|
||||
</div>
|
||||
</div>
|
||||
<div class="threeCont-top" data-href="">
|
||||
<div class="ce-img threeCont-top-img">
|
||||
<span style="background-image: url(/assets/index/images/img.png);"></span>
|
||||
</div>
|
||||
<div class="threeCont-top-cont">
|
||||
<div class="ce-nowrap threeCont-top-title">国家及省部级奖励</div>
|
||||
<div class="ce-nowrap-multi threeCont-top-text">
|
||||
LZS3型小流域水文自动测报系统 1982年 黑龙江省科技进步黑龙江省科技进步二等奖小流域水文自动测报系统1985年国家科技进步三等奖ZT-1型酒心糖生...
|
||||
危险天气预报系统 1987年 空军科技进步三等奖
|
||||
YFW烟叶发酵控制系统
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="threeCont-list">
|
||||
<li data-href="">
|
||||
<p>熔融沉积式工业3D打印机及其颗粒高分子复合材料的示范应用</p>
|
||||
<span>2017-09-20</span>
|
||||
</li>
|
||||
<li data-href="">
|
||||
<p>熔融沉积式工业3D打印机及其颗粒高分子复合材料的示范应用</p>
|
||||
<span>2017-09-20</span>
|
||||
</li>
|
||||
<li data-href="">
|
||||
<p>熔融沉积式工业3D打印机及其颗粒高分子复合材料的示范应用</p>
|
||||
<span>2017-09-20</span>
|
||||
</li>
|
||||
<li data-href="">
|
||||
<p>熔融沉积式工业3D打印机及其颗粒高分子复合材料的示范应用</p>
|
||||
<span>2017-09-20</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end 第三模板 -->
|
||||
|
||||
<!-- 第四模板 -->
|
||||
<div class="idxFour ce-morgin-tb">
|
||||
<div class="contant">
|
||||
<div class="idxTitle">
|
||||
<div class="idxTitle-name">
|
||||
党建园地<span>/ Party building garden</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="idxFourSwiper">
|
||||
<!-- Swiper -->
|
||||
<div class="swiper-container idxFour-container">
|
||||
<div class="swiper-wrapper">
|
||||
<div class="swiper-slide idxFour-slide">
|
||||
<div class="ce-img idxFour-img">
|
||||
<span style="background-image: url(/assets/index/images/banner.png);"></span>
|
||||
</div>
|
||||
<div class="idxFour-cont">
|
||||
<div class="ce-nowrap idxFour-title">
|
||||
新型煤化工五路径:谁能走得更远?
|
||||
</div>
|
||||
<div class="ce-nowrap-multi idxFour-text">
|
||||
位于青岛市黄岛西海岸新区。占地面积3000亩,总建筑面积为320万平米,其中地上面积为250万平,共分为六个地块。能源方案涵盖天然气锅炉、海水源、空气源、蓄能技术等等多能源复合式供应方式。
|
||||
</div>
|
||||
<div class="idxFour-more" data-href="">
|
||||
查看详情
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swiper-slide idxFour-slide">
|
||||
<div class="ce-img idxFour-img">
|
||||
<span style="background-image: url(/assets/index/images/img.png);"></span>
|
||||
</div>
|
||||
<div class="idxFour-cont">
|
||||
<div class="ce-nowrap idxFour-title">
|
||||
新型煤化工五路径:谁能走得更远?
|
||||
</div>
|
||||
<div class="ce-nowrap-multi idxFour-text">
|
||||
位于青岛市黄岛西海岸新区。占地面积3000亩,总建筑面积为320万平米,其中地上面积为250万平,共分为六个地块。能源方案涵盖天然气锅炉、海水源、空气源、蓄能技术等等多能源复合式供应方式。
|
||||
</div>
|
||||
<div class="idxFour-more" data-href="">
|
||||
查看详情
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swiper-slide idxFour-slide">
|
||||
<div class="ce-img idxFour-img">
|
||||
<span style="background-image: url(/assets/index/images/img.png);"></span>
|
||||
</div>
|
||||
<div class="idxFour-cont">
|
||||
<div class="ce-nowrap idxFour-title">
|
||||
新型煤化工五路径:谁能走得更远?
|
||||
</div>
|
||||
<div class="ce-nowrap-multi idxFour-text">
|
||||
位于青岛市黄岛西海岸新区。占地面积3000亩,总建筑面积为320万平米,其中地上面积为250万平,共分为六个地块。能源方案涵盖天然气锅炉、海水源、空气源、蓄能技术等等多能源复合式供应方式。
|
||||
</div>
|
||||
<div class="idxFour-more" data-href="">
|
||||
查看详情
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swiper-slide idxFour-slide">
|
||||
<div class="ce-img idxFour-img">
|
||||
<span style="background-image: url(/assets/index/images/img.png);"></span>
|
||||
</div>
|
||||
<div class="idxFour-cont">
|
||||
<div class="ce-nowrap idxFour-title">
|
||||
新型煤化工五路径:谁能走得更远?
|
||||
</div>
|
||||
<div class="ce-nowrap-multi idxFour-text">
|
||||
位于青岛市黄岛西海岸新区。占地面积3000亩,总建筑面积为320万平米,其中地上面积为250万平,共分为六个地块。能源方案涵盖天然气锅炉、海水源、空气源、蓄能技术等等多能源复合式供应方式。
|
||||
</div>
|
||||
<div class="idxFour-more" data-href="">
|
||||
查看详情
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Add Arrows -->
|
||||
<div class="idxFour-Arrows">
|
||||
<div class="swiper-button-next">></div>
|
||||
<div class="swiper-button-prev"><</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end 第四模板 -->
|
||||
|
||||
@endsection
|
||||
|
||||
@push('script')
|
||||
<script>
|
||||
// banner轮播
|
||||
var banner = new Swiper('.idxBanner', {
|
||||
pagination: '.swiper-pagination-white'
|
||||
});
|
||||
|
||||
// 轮播
|
||||
var idxFour = new Swiper('.idxFour-container', {
|
||||
nextButton: '.swiper-button-next',
|
||||
prevButton: '.swiper-button-prev',
|
||||
slidesPerView: 3,
|
||||
paginationClickable: true,
|
||||
spaceBetween: 30,
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
82
resources/views/layouts/app.blade.php
Normal file
82
resources/views/layouts/app.blade.php
Normal file
@@ -0,0 +1,82 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
|
||||
<title>{{ config('app.name', '') }} </title>
|
||||
<link rel="stylesheet" href="{{ asset('assets/index/css/swiper.min.css') }}" type="text/css"/>
|
||||
<link rel="stylesheet" href="{{ asset('assets/index/css/style.css') }}" type="text/css"/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- 头部 -->
|
||||
<div class="idxTop-back">
|
||||
<div class="contant">
|
||||
<div class="idxTop">
|
||||
<img class="idxLogo" src="/assets/index/images/nys_banner.png">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end 头部 -->
|
||||
|
||||
<!-- 导航 -->
|
||||
<div class="idxNav-back">
|
||||
<div class="contant">
|
||||
<ul class="idxNav">
|
||||
<li @if (!isset($parent)) class="active" @endif data-href="/"><span>首页</span></li>
|
||||
|
||||
@foreach ($all_categorys as $cate)
|
||||
<li data-href="{{ $cate->link }}" @if (isset($parent) && $cate->id==$parent->id) class="active" @endif>
|
||||
<span>{{ $cate->title }}</span>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 导航 -->
|
||||
|
||||
@section('content')
|
||||
@show
|
||||
|
||||
<!-- 友情链接 -->
|
||||
<div class="idxLink ce-morgin-tb">
|
||||
<div class="contant">
|
||||
<div class="idxTitle">
|
||||
<div class="idxTitle-name">
|
||||
友情链接<span>/ Links</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="line"></div>
|
||||
<ul class="idxLink-ul">
|
||||
@if ($links->isNotEmpty())
|
||||
@foreach ($links as $link)
|
||||
<li data-href="{{ $link->url }}">{{ $link->title}}</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end 友情链接 -->
|
||||
|
||||
<!-- 尾部 -->
|
||||
<footer class="idxFooter">
|
||||
<div class="contant">
|
||||
<div class="idxFooter-text">
|
||||
<span>版权所有:黑龙江省科学院自动化研究所</span>
|
||||
<span>黑ICP备11004102号</span>
|
||||
</div>
|
||||
<div class="idxFooter-img">
|
||||
<img src="/assets/index/images/idxFooter_img.png">
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<!-- end 尾部 -->
|
||||
|
||||
</body>
|
||||
|
||||
<script src="{{ asset('assets/index/js/jquery-1.8.2.min.js') }}" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="{{ asset('assets/index/js/plugin.js') }}" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="{{ asset('assets/index/js/swiper.min.js') }}" type="text/javascript" charset="utf-8"></script>
|
||||
@stack('script')
|
||||
|
||||
|
||||
</html>
|
||||
32
resources/views/layouts/pagination.blade.php
Normal file
32
resources/views/layouts/pagination.blade.php
Normal file
@@ -0,0 +1,32 @@
|
||||
@if ($paginator->hasPages())
|
||||
<div class="pages">
|
||||
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<span class="disabled">上一页</span>
|
||||
@else
|
||||
<a href="{{ $paginator->previousPageUrl() }}">上一页</a>
|
||||
@endif
|
||||
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<span class="current">{{ $page }}</span>
|
||||
@else
|
||||
<a href="{{ $url }}">{{ $page }}</a>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<a href="{{ $paginator->nextPageUrl() }}">下一页</a>
|
||||
@else
|
||||
<span class="disabled">下一页</span>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
46
resources/views/vendor/pagination/bootstrap-4.blade.php
vendored
Normal file
46
resources/views/vendor/pagination/bootstrap-4.blade.php
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
@if ($paginator->hasPages())
|
||||
<nav>
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="page-item disabled" aria-disabled="true" aria-label="@lang('pagination.previous')">
|
||||
<span class="page-link" aria-hidden="true">‹</span>
|
||||
</li>
|
||||
@else
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev" aria-label="@lang('pagination.previous')">‹</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- "Three Dots" Separator --}}
|
||||
@if (is_string($element))
|
||||
<li class="page-item disabled" aria-disabled="true"><span class="page-link">{{ $element }}</span></li>
|
||||
@endif
|
||||
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<li class="page-item active" aria-current="page"><span class="page-link">{{ $page }}</span></li>
|
||||
@else
|
||||
<li class="page-item"><a class="page-link" href="{{ $url }}">{{ $page }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next" aria-label="@lang('pagination.next')">›</a>
|
||||
</li>
|
||||
@else
|
||||
<li class="page-item disabled" aria-disabled="true" aria-label="@lang('pagination.next')">
|
||||
<span class="page-link" aria-hidden="true">›</span>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</nav>
|
||||
@endif
|
||||
30
resources/views/vendor/pagination/customize.blade.php
vendored
Normal file
30
resources/views/vendor/pagination/customize.blade.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
@if ($paginator->hasPages())
|
||||
<ul>
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="thisclass">首页</li>
|
||||
@else
|
||||
<li><a href="{{ $paginator->previousPageUrl() }}">上一页</a></li>
|
||||
@endif
|
||||
@foreach ($elements as $element)
|
||||
{{-- "Three Dots" Separator --}}
|
||||
@if (is_string($element))
|
||||
<li class="thisclass">{{ $element }}</li>
|
||||
@endif
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<li class="thisclass">{{ $page }}</li>
|
||||
@else
|
||||
<li><a href="{{ $url }}">{{ $page }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
@if ($paginator->hasMorePages())
|
||||
<li><a href="{{ $paginator->nextPageUrl() }}">下一页</a></li>
|
||||
@else
|
||||
<li><i class="fa fa-arrow-right"></i></li>
|
||||
@endif
|
||||
</ul>
|
||||
@endif
|
||||
46
resources/views/vendor/pagination/default.blade.php
vendored
Normal file
46
resources/views/vendor/pagination/default.blade.php
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
@if ($paginator->hasPages())
|
||||
<nav>
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="disabled" aria-disabled="true" aria-label="@lang('pagination.previous')">
|
||||
<span aria-hidden="true">‹</span>
|
||||
</li>
|
||||
@else
|
||||
<li>
|
||||
<a href="{{ $paginator->previousPageUrl() }}" rel="prev" aria-label="@lang('pagination.previous')">‹</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- "Three Dots" Separator --}}
|
||||
@if (is_string($element))
|
||||
<li class="disabled" aria-disabled="true"><span>{{ $element }}</span></li>
|
||||
@endif
|
||||
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<li class="active" aria-current="page"><span>{{ $page }}</span></li>
|
||||
@else
|
||||
<li><a href="{{ $url }}">{{ $page }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li>
|
||||
<a href="{{ $paginator->nextPageUrl() }}" rel="next" aria-label="@lang('pagination.next')">›</a>
|
||||
</li>
|
||||
@else
|
||||
<li class="disabled" aria-disabled="true" aria-label="@lang('pagination.next')">
|
||||
<span aria-hidden="true">›</span>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</nav>
|
||||
@endif
|
||||
36
resources/views/vendor/pagination/semantic-ui.blade.php
vendored
Normal file
36
resources/views/vendor/pagination/semantic-ui.blade.php
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
@if ($paginator->hasPages())
|
||||
<div class="ui pagination menu" role="navigation">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<a class="icon item disabled" aria-disabled="true" aria-label="@lang('pagination.previous')"> <i class="left chevron icon"></i> </a>
|
||||
@else
|
||||
<a class="icon item" href="{{ $paginator->previousPageUrl() }}" rel="prev" aria-label="@lang('pagination.previous')"> <i class="left chevron icon"></i> </a>
|
||||
@endif
|
||||
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- "Three Dots" Separator --}}
|
||||
@if (is_string($element))
|
||||
<a class="icon item disabled" aria-disabled="true">{{ $element }}</a>
|
||||
@endif
|
||||
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<a class="item active" href="{{ $url }}" aria-current="page">{{ $page }}</a>
|
||||
@else
|
||||
<a class="item" href="{{ $url }}">{{ $page }}</a>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<a class="icon item" href="{{ $paginator->nextPageUrl() }}" rel="next" aria-label="@lang('pagination.next')"> <i class="right chevron icon"></i> </a>
|
||||
@else
|
||||
<a class="icon item disabled" aria-disabled="true" aria-label="@lang('pagination.next')"> <i class="right chevron icon"></i> </a>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
27
resources/views/vendor/pagination/simple-bootstrap-4.blade.php
vendored
Normal file
27
resources/views/vendor/pagination/simple-bootstrap-4.blade.php
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
@if ($paginator->hasPages())
|
||||
<nav>
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="page-item disabled" aria-disabled="true">
|
||||
<span class="page-link">@lang('pagination.previous')</span>
|
||||
</li>
|
||||
@else
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev">@lang('pagination.previous')</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next">@lang('pagination.next')</a>
|
||||
</li>
|
||||
@else
|
||||
<li class="page-item disabled" aria-disabled="true">
|
||||
<span class="page-link">@lang('pagination.next')</span>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</nav>
|
||||
@endif
|
||||
19
resources/views/vendor/pagination/simple-default.blade.php
vendored
Normal file
19
resources/views/vendor/pagination/simple-default.blade.php
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
@if ($paginator->hasPages())
|
||||
<nav>
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="disabled" aria-disabled="true"><span>@lang('pagination.previous')</span></li>
|
||||
@else
|
||||
<li><a href="{{ $paginator->previousPageUrl() }}" rel="prev">@lang('pagination.previous')</a></li>
|
||||
@endif
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li><a href="{{ $paginator->nextPageUrl() }}" rel="next">@lang('pagination.next')</a></li>
|
||||
@else
|
||||
<li class="disabled" aria-disabled="true"><span>@lang('pagination.next')</span></li>
|
||||
@endif
|
||||
</ul>
|
||||
</nav>
|
||||
@endif
|
||||
25
resources/views/vendor/pagination/simple-tailwind.blade.php
vendored
Normal file
25
resources/views/vendor/pagination/simple-tailwind.blade.php
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
@if ($paginator->hasPages())
|
||||
<nav role="navigation" aria-label="Pagination Navigation" class="flex justify-between">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<span class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5 rounded-md">
|
||||
{!! __('pagination.previous') !!}
|
||||
</span>
|
||||
@else
|
||||
<a href="{{ $paginator->previousPageUrl() }}" rel="prev" class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
|
||||
{!! __('pagination.previous') !!}
|
||||
</a>
|
||||
@endif
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<a href="{{ $paginator->nextPageUrl() }}" rel="next" class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
|
||||
{!! __('pagination.next') !!}
|
||||
</a>
|
||||
@else
|
||||
<span class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5 rounded-md">
|
||||
{!! __('pagination.next') !!}
|
||||
</span>
|
||||
@endif
|
||||
</nav>
|
||||
@endif
|
||||
102
resources/views/vendor/pagination/tailwind.blade.php
vendored
Normal file
102
resources/views/vendor/pagination/tailwind.blade.php
vendored
Normal file
@@ -0,0 +1,102 @@
|
||||
@if ($paginator->hasPages())
|
||||
<nav role="navigation" aria-label="Pagination Navigation" class="flex items-center justify-between">
|
||||
<div class="flex justify-between flex-1 sm:hidden">
|
||||
@if ($paginator->onFirstPage())
|
||||
<span class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5 rounded-md">
|
||||
{!! __('pagination.previous') !!}
|
||||
</span>
|
||||
@else
|
||||
<a href="{{ $paginator->previousPageUrl() }}" class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
|
||||
{!! __('pagination.previous') !!}
|
||||
</a>
|
||||
@endif
|
||||
|
||||
@if ($paginator->hasMorePages())
|
||||
<a href="{{ $paginator->nextPageUrl() }}" class="relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 rounded-md hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
|
||||
{!! __('pagination.next') !!}
|
||||
</a>
|
||||
@else
|
||||
<span class="relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5 rounded-md">
|
||||
{!! __('pagination.next') !!}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between">
|
||||
<div>
|
||||
<p class="text-sm text-gray-700 leading-5">
|
||||
{!! __('Showing') !!}
|
||||
<span class="font-medium">{{ $paginator->firstItem() }}</span>
|
||||
{!! __('to') !!}
|
||||
<span class="font-medium">{{ $paginator->lastItem() }}</span>
|
||||
{!! __('of') !!}
|
||||
<span class="font-medium">{{ $paginator->total() }}</span>
|
||||
{!! __('results') !!}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<span class="relative z-0 inline-flex shadow-sm">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<span aria-disabled="true" aria-label="{{ __('pagination.previous') }}">
|
||||
<span class="relative inline-flex items-center px-2 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default rounded-l-md leading-5" aria-hidden="true">
|
||||
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
|
||||
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
@else
|
||||
<a href="{{ $paginator->previousPageUrl() }}" rel="prev" class="relative inline-flex items-center px-2 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-l-md leading-5 hover:text-gray-400 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-500 transition ease-in-out duration-150" aria-label="{{ __('pagination.previous') }}">
|
||||
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
|
||||
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
</a>
|
||||
@endif
|
||||
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- "Three Dots" Separator --}}
|
||||
@if (is_string($element))
|
||||
<span aria-disabled="true">
|
||||
<span class="relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-700 bg-white border border-gray-300 cursor-default leading-5">{{ $element }}</span>
|
||||
</span>
|
||||
@endif
|
||||
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<span aria-current="page">
|
||||
<span class="relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default leading-5">{{ $page }}</span>
|
||||
</span>
|
||||
@else
|
||||
<a href="{{ $url }}" class="relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-700 bg-white border border-gray-300 leading-5 hover:text-gray-500 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150" aria-label="{{ __('pagination.goto_page', ['page' => $page]) }}">
|
||||
{{ $page }}
|
||||
</a>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<a href="{{ $paginator->nextPageUrl() }}" rel="next" class="relative inline-flex items-center px-2 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-r-md leading-5 hover:text-gray-400 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-500 transition ease-in-out duration-150" aria-label="{{ __('pagination.next') }}">
|
||||
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
|
||||
<path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
</a>
|
||||
@else
|
||||
<span aria-disabled="true" aria-label="{{ __('pagination.next') }}">
|
||||
<span class="relative inline-flex items-center px-2 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border border-gray-300 cursor-default rounded-r-md leading-5" aria-hidden="true">
|
||||
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
|
||||
<path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
@endif
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
@endif
|
||||
7
resources/views/vendor/ueditor/assets.blade.php
vendored
Normal file
7
resources/views/vendor/ueditor/assets.blade.php
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<!-- 配置文件 -->
|
||||
<script type="text/javascript" src="{{ asset('vendor/ueditor/ueditor.config.js') }}"></script>
|
||||
<!-- 编辑器源码文件 -->
|
||||
<script type="text/javascript" src="{{ asset('vendor/ueditor/ueditor.all.js') }}"></script>
|
||||
<script>
|
||||
window.UEDITOR_CONFIG.serverUrl = '{{ config('ueditor.route.name') }}'
|
||||
</script>
|
||||
100
resources/views/welcome.blade.php
Normal file
100
resources/views/welcome.blade.php
Normal file
@@ -0,0 +1,100 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>Laravel</title>
|
||||
|
||||
<!-- Fonts -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet">
|
||||
|
||||
<!-- Styles -->
|
||||
<style>
|
||||
html, body {
|
||||
background-color: #fff;
|
||||
color: #636b6f;
|
||||
font-family: 'Nunito', sans-serif;
|
||||
font-weight: 200;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.full-height {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.flex-center {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.position-ref {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.top-right {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 18px;
|
||||
}
|
||||
|
||||
.content {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 84px;
|
||||
}
|
||||
|
||||
.links > a {
|
||||
color: #636b6f;
|
||||
padding: 0 25px;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
letter-spacing: .1rem;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.m-b-md {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="flex-center position-ref full-height">
|
||||
@if (Route::has('login'))
|
||||
<div class="top-right links">
|
||||
@auth
|
||||
<a href="{{ url('/home') }}">Home</a>
|
||||
@else
|
||||
<a href="{{ route('login') }}">Login</a>
|
||||
|
||||
@if (Route::has('register'))
|
||||
<a href="{{ route('register') }}">Register</a>
|
||||
@endif
|
||||
@endauth
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="content">
|
||||
<div class="title m-b-md">
|
||||
Laravel
|
||||
</div>
|
||||
|
||||
<div class="links">
|
||||
<a href="https://laravel.com/docs">Docs</a>
|
||||
<a href="https://laracasts.com">Laracasts</a>
|
||||
<a href="https://laravel-news.com">News</a>
|
||||
<a href="https://blog.laravel.com">Blog</a>
|
||||
<a href="https://nova.laravel.com">Nova</a>
|
||||
<a href="https://forge.laravel.com">Forge</a>
|
||||
<a href="https://vapor.laravel.com">Vapor</a>
|
||||
<a href="https://github.com/laravel/laravel">GitHub</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user