Compare commits

..

4 Commits

235 changed files with 97 additions and 205 deletions

View File

@ -144,13 +144,12 @@ class Article extends Base
{
$cateIds[] = $article['category_id'];
$currentCateId = input('param.source', 0);
$categoryList = Category::getChildrenByParentId($topCategory['id']);
if($currentCateId == $topCategory['id']) {
$categoryList = Category::getChildrenByParentId($topCategory['id']);
foreach ($categoryList as $cate) {
$cateIds[] = $cate['id'];
}
}
$this->data['categoryChildren'] = $categoryList;
$this->data['prev'] = MArticle::getPrevArticleByIdAndCategories($article['id'], $cateIds, true, $article['sort'], true);
$this->data['next'] = MArticle::getNextArticleByIdAndCategories($article['id'], $cateIds, true, $article['sort'], true);
$this->data['currentCateId'] = $currentCateId;

View File

@ -16,12 +16,19 @@ class Index extends Base
$this->data['blocks'] = $blocks;
// 轮播图
$this->data['slides'] = Slide::getList();
// 营销网络栏目ID
// 网络营销栏目ID
$this->data['marketingCId'] = Category::$CIdList['marketing'];
// 关联产品分类
$productsCenterCId = Category::$CIdList['products'];
$this->data['productsCenter'] = Category::getById($productsCenterCId);
$this->data['products'] = Category::getChildrenByParentId($productsCenterCId);
// 关联产品中心
$productsCId = Category::$CIdList['products'];
$productChildren = Category::getChildrenByParentId($productsCId);
$productsCIds[] = $productsCId;
foreach ($productChildren as $cate) {
$productsCIds[] = $cate['id'];
}
$this->data['products'] = [
'category' => Category::getById($productsCId),
'items' => Article::getListByCategoryIds($productsCIds, 4, '', [], 1, ['create_time'=>'desc'])
];
// 关联新闻
$this->data['newsCenter'] = Category::getById(Category::$CIdList['news']);
$newsCIdList = [Category::$CIdList['news_children']['enterprise'], Category::$CIdList['news_children']['industry']];

View File

@ -17,9 +17,6 @@ class Upload extends BaseController
public function __construct()
{
ini_set("memory_limit",-1);
set_time_limit(30); // 默认限制30秒
$system = System::getSystem();
if (!empty($system)) {
$this->isCompress = $system['compress']??true;
@ -101,9 +98,7 @@ class Upload extends BaseController
}
return $this->json(0, 'ok', $return);
}else{
var_dump('xxximg');
$errorMsg = Lang::get($this->validate->getError());
var_dump('xxximg2');
return $this->json(1, $errorMsg);
}
}
@ -111,6 +106,7 @@ class Upload extends BaseController
//富文本编辑器商城图片
public function wangImage()
{
$imageArr = request()->file('wang_img'); // 该方式前端js上传方法中字段名称必须以数组形式传参 如 wang_img[] = 值
$errno = 0;
$data = [];

View File

@ -14,7 +14,7 @@ class Image extends File
public static function resize($src)
{
$max = 1920;
$realPath = app()->getRootPath() . 'public/' . ltrim($src,'/');
$realPath = app()->getRootPath() . 'wwwroot/' . ltrim($src,'/');
if(is_file($realPath)){
$img = TImage::open($realPath);
list($img_w,$img_h) = $img->size();
@ -34,7 +34,7 @@ class Image extends File
$rootPath = app()->getRootPath();
if(!empty($src)){
$system = System::getSystem();
$realPath = $rootPath . 'public/' . ltrim($src, '/');
$realPath = $rootPath . 'wwwroot/' . ltrim($src, '/');
if(is_file($realPath)){
if($system['is_mark']){
$mark = $rootPath . ltrim($system['mark_img'], '/');
@ -73,7 +73,7 @@ class Image extends File
public static function delImg($src)
{
if(!empty(trim($src))){
$realPath = app()->getRootPath() . 'public/' . ltrim($src, '/');
$realPath = app()->getRootPath() . 'wwwroot/' . ltrim($src, '/');
if (file_exists($realPath)) {
$info = pathinfo($realPath);
$source = $info['dirname'] . DIRECTORY_SEPARATOR . $info['filename'] . '*.' . $info['extension'];
@ -100,7 +100,7 @@ class Image extends File
return '';
}
$rootPath = app()->getRootPath();
$realPath = $rootPath . 'public/' . ltrim($src, '/');
$realPath = $rootPath . 'wwwroot/' . ltrim($src, '/');
$realPath = str_replace('\\', '/', $realPath);
if(!file_exists($realPath)){
return '';
@ -120,7 +120,7 @@ class Image extends File
return $src;
}
$thumbName = $info['dirname']. DIRECTORY_SEPARATOR .$info['filename'].'_'.$width.'_'.$height.'.'.$info['extension'];
$realThumbName = $rootPath . 'public/' . ltrim($thumbName, '/');
$realThumbName = $rootPath . 'wwwroot/' . ltrim($thumbName, '/');
$realThumbName = str_replace('\\', '/', $realThumbName);
if(!file_exists($realThumbName)){
$image = TImage::open($realPath);

View File

@ -22,13 +22,13 @@ return [
// 数据库类型
'type' => Env::get('database.type', 'mysql'),
// 服务器地址
'hostname' => Env::get('database.hostname', '211.149.245.223'),
'hostname' => Env::get('database.hostname', '127.0.0.1'),
// 数据库名
'database' => Env::get('database.database', 'cy_scdxtc_cn'),
'database' => Env::get('database.database', ''),
// 用户名
'username' => Env::get('database.username', 'cy_scdxtc_cn'),
'username' => Env::get('database.username', 'root'),
// 密码
'password' => Env::get('database.password', 'kid3nrMxFaKafKEf'),
'password' => Env::get('database.password', ''),
// 端口
'hostport' => Env::get('database.hostport', '3306'),
// 数据库连接参数
@ -36,7 +36,7 @@ return [
// 数据库编码默认采用utf8
'charset' => Env::get('database.charset', 'utf8'),
// 数据库表前缀
'prefix' => Env::get('database.prefix', 'bee_'),
'prefix' => Env::get('database.prefix', ''),
// 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
'deploy' => 0,

View File

@ -11,7 +11,7 @@ return [
// 磁盘类型
'type' => 'local',
// 磁盘路径
'root' => app()->getRootPath() . 'public/storage',
'root' => app()->getRootPath() . 'storage',
// 磁盘路径对应的外部URL路径
'url' => '/storage',
// 可见性
@ -21,7 +21,7 @@ return [
// 磁盘类型
'type' => 'local',
// 磁盘路径
'root' => app()->getRootPath() . 'public/storage/videos',
'root' => app()->getRootPath() . 'storage/videos',
// 磁盘路径对应的外部URL路径
'url' => '/storage/videos',
// 可见性
@ -31,7 +31,7 @@ return [
// 磁盘类型
'type' => 'local',
// 磁盘路径
'root' => app()->getRootPath() . 'public/storage/backup',
'root' => app()->getRootPath() . 'storage/backup',
// 磁盘路径对应的外部URL路径
'url' => '/storage/backup',
// 可见性

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -15,7 +15,7 @@ namespace think;
header("Access-Control-Allow-Origin:*");
header('Access-Control-Allow-Methods:POST');
header('Access-Control-Allow-Headers:x-requested-with, content-type');
require dirname(__DIR__) . '/vendor/autoload.php';
require __DIR__ . '/vendor/autoload.php';
// 执行HTTP应用并响应
$http = (new App())->http;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

View File

@ -59,7 +59,7 @@ input,select,textarea{outline:medium none; resize: none;}
.nav ul li:hover span a::before{ opacity: 1; width: 100%;}
/*二级控制*/
.nav ul li .nav-second{ width: 100%; position: absolute; left: 50%; top: 100%; background: #00418f; opacity: 0; transform: translate(-50%,0); transition: all .6s;}
.nav ul li .nav-second a{ width: 100%; float: left; color: #fff; text-align: center; height: 0; font-size: 0.9rem;}
.nav ul li .nav-second a{ width: 100%; float: left; color: #fff; text-align: center; height: 0; font-size: 1rem;}
.nav ul li .nav-second a:hover{ color: #F9BE3E;}
/*三级级控制*/
.nav ul li .nav-second .nav-three{ width: 100%; position: relative; display: block; float: left;}
@ -91,7 +91,7 @@ input,select,textarea{outline:medium none; resize: none;}
.all-center-box{ width: 100%; float: left;}
.head-box{ position: absolute; left: 0; top:4rem; z-index: 99; color: #fff; transition: all .6s;}
.head-box{ position: absolute; left: 0; top:8rem; z-index: 99; color: #fff; transition: all .6s;}
.head-box .w-1500{ transition: all .6s;}
.head-box .center-block{ background: #00418f; box-shadow: 0 0 0.625rem rgba(0,0,0,0.1);}
.head-box .center-block .logo{ width: 14.375rem; height: 5.9375rem; text-align: center; background: #fff;}
@ -101,7 +101,7 @@ input,select,textarea{outline:medium none; resize: none;}
.head-box .center-block .language a.active{ font-weight: bold; color: #F9BE3E;}
.head-box .center-block .language a:hover{ color: #F9BE3E;}
.head-box.active{ position: fixed; top: 0;}
/* .head-box.active .w-1500{ width: 100%;} */
.head-box.active .w-1500{ width: 100%;}
.banner-box{ height: 100vh;}
@ -132,11 +132,11 @@ input,select,textarea{outline:medium none; resize: none;}
.home-box1 .center-block .box-info::after{ content: ''; width: 100%; height: 100%; position: absolute; left: 0; top: 0; background: #fff; transition: all .6s;}
.home-box1 .center-block .box-info::before{ content: ''; width: 2px; height: 56px; background: #ACACAC; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 2;}
.home-box1 .center-block .box-info .box1{ width: 100%; position: absolute; left: 0; top: 8vh; z-index: 3; text-align: center; color: #444;}
.home-box1 .center-block .box-info .box1 span{ display: block; font-size: 1.625rem; color: #666;}
.home-box1 .center-block .box-info .box1 p{ font-size: 1.375rem; margin-top: 0.5rem; color: #808080;}
.home-box1 .center-block .box-info .box1 span{ display: block; font-size: 1.625rem;}
.home-box1 .center-block .box-info .box1 p{ font-size: 1.375rem; margin-top: 0.5rem;}
.home-box1 .center-block .box-info .box2{ width: 100%; position: absolute; left: 0; bottom: 6vh; z-index: 3; padding: 0 2.5rem;}
.home-box1 .center-block .box-info .box2 a{ position: absolute; left: 2.5rem; bottom: 0; opacity: 0; color: #fff;}
.home-box1 .center-block .box-info .box2 i{ width: 100%; float: right; display: block; font-size: 2.1875rem; line-height: 2.1875rem; transition: all .6s; text-align: center; color: #808080;}
.home-box1 .center-block .box-info .box2 i{ width: 100%; float: right; display: block; font-size: 2.1875rem; line-height: 2.1875rem; transition: all .6s; text-align: center; color: #444;}
.home-box1 .center-block li.active{ width: 50%;}
.home-box1 .center-block li.active .box-info::after{ opacity: 0;}
@ -173,36 +173,25 @@ input,select,textarea{outline:medium none; resize: none;}
.foot-box .lower-box .ewm img{ width: 134px;}
.foot-box .lower-box .ewm p{ margin-top: 0.3125rem;}
.page-banner{ height: 100vh; position: relative; background-position: center; background-size: cover; position: relative; z-index: 2;}
.page-banner{ height: 40.625rem; position: relative; background-position: center; background-size: cover; position: relative; z-index: 2;}
.page-banner .info{ width: 100%; position: absolute; left: 0; bottom: 2.5rem; color: #fff; padding-bottom: ;}
.page-banner .info strong{ font-size: 3.125rem; text-shadow: 0 0 5px rgba(0,0,0,0.5);}
.page-banner .info p{ font-size: 1.875rem; text-shadow: 0 0 5px rgba(0,0,0,0.5);}
.page-banner .info .w-1200{ position: relative;}
.page-banner .info .w-1200::after{ content: ''; width: 5rem; height: 6.5625rem; background: url(../image/icon_jt2.png) no-repeat center #fff; background-size: 2.125rem; box-shadow: 0 0 5px rgba(0,0,0,0.3); position: absolute; left: 0; top: 100%; margin-top: 0.9375rem;}
.pt118{
padding-top: 120px;
}
.all-title-box2 span{ display: block; font-size: 2.7rem;}
.all-title-box2 p{ font-size: 1.125rem; color: #666; margin-top: 0.1875rem;}
.disFlex{display: flex;justify-content: space-between}
.about-box1{ height: 100vh; position: relative;}
.about-box1::after{ content: ''; width: 100%; height: 30vh; background: url(../image/ab1_bg.jpg) no-repeat center; position: absolute; left: 0; bottom: 0; z-index: -1;}
.about-box1 .pull-left{ width: 42%; overflow: hidden;}
.about-box1 .pull-left .imgH{
width: 100%;
}
.about-box1 .disFlex{
align-items: flex-end;
}
.about-box1 .pull-left{ width: 42%;}
.about-box1 .pull-right{ width: 55%;}
.about-box1 .pull-right .box-info{ font-size: 16px; color: #999; line-height: 1.6; margin-top: 1.25rem;}
.about-box1 .pull-right .box-info{ font-size: 0.875rem; color: #999; line-height: 1.6; margin-top: 1.25rem;}
.about-box2{ padding: 6rem 0;}
#about3{
padding-top: 2.5rem;
}
.about-box2{ padding: 5rem 0;}
.about-box2 .top-box .all-title-box2{ padding-right: 1.25rem;}
.about-box2 .top-box .all-title-box2 span,.about-box2 .top-box .all-title-box2 p{ white-space: nowrap;}
.about-box2 .top-box .all-title-box2 span{ white-space: nowrap;}
.about-box2 .top-box .fr{ width: 100%; text-align: right; border-bottom: 2px solid #cbcbcb;}
.about-box2 .top-box .fr span{ display: inline-block; margin-left: 6.25rem; font-size: 1.5625rem; font-weight: bold; color: #555; cursor: pointer; line-height: 3.75rem; border-bottom: 3px solid #fff; transition: all .6s;}
.about-box2 .top-box .fr span.active,.about-box2 .top-box .fr span:hover{ border-color: #f8bc38;}
@ -213,23 +202,15 @@ input,select,textarea{outline:medium none; resize: none;}
.about-box2 .lower-box .pull-right{ width: 38%; height: 41.875rem; overflow: auto; position: absolute; right: 0; top: 0;}
.about-box2 .lower-box .pull-right ul li{ width: 100%; float: left; font-size: 16px; color: #888; margin-bottom: 25px; cursor: pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; position: relative; transition: all .6s;}
.about-box2 .lower-box .pull-right ul li::after{ content: ''; width: 0; height: 1px; background: #003486; position: absolute; left: 0; top: 50%; transition: all .6s;}
.about-box2 .lower-box .pull-right ul li:hover,.about-box2 .lower-box .pull-right ul li.active{ padding-left: 2.9rem; color: #003486; font-weight: bold;}
.about-box2 .lower-box .pull-right ul li:hover,.about-box2 .lower-box .pull-right ul li.active{ padding-left: 2.9rem; color: #003486;}
.about-box2 .lower-box .pull-right ul li:hover::after,.about-box2 .lower-box .pull-right ul li.active::after{ width: 2.625rem;}
.about-box2 .lower-box .pull-right::-webkit-scrollbar{ width: 22px; background: #F8F9FB;}
.about-box2 .lower-box .pull-right::-webkit-scrollbar-thumb{ background: #CECECE;}
.about-box2 .lower-box .pull-right::-webkit-scrollbar-button:single-button:start{ height: 22px; background: url(../image/ico_jt1_u.png) no-repeat center; background-size: 60%; cursor: pointer;}
.about-box2 .lower-box .pull-right::-webkit-scrollbar-button:single-button:end{ height: 22px; background: url(../image/ico_jt1_d.png) no-repeat center; background-size: 60%; cursor: pointer;}
.about-box2 .lower-box .pull-right::-webkit-scrollbar-button:hover{ background-color: #ddd !important;}
.about-box2 .lower-box .pull-right::-webkit-scrollbar-button:active{ background-color: #d2d2d2 !important;}
.about-box3{ padding: 3.75rem 0; background: #F5F5F5;}
.about-box3 .box-info{ margin-top: -5rem;}
.swiper-btn .swiper-button-next,.swiper-btn .swiper-button-prev{ outline: none;}
.about-box4{ padding: 5.75rem 0;}
.about-box4{ padding: 3.75rem 0;}
.about-box4 .top-box{ text-align: center; margin-top: 6.25rem; position: relative;}
.about-box4 .top-box::after{ content: ''; width: 100%; height: 1px; background: #B3B3B3; position: absolute; left: 0; bottom: 0.95rem;}
.about-box4 .top-box .swiper-container .swiper-slide{ color: #B3B3B3; font-size: 1.4rem; cursor: pointer; font-weight: bold;}
@ -252,16 +233,16 @@ input,select,textarea{outline:medium none; resize: none;}
.about-box4 .lower-box .lower-box-item{margin-bottom: 20px;}
.about-box4 .lower-box .lower-box-item:last-child{margin-bottom: 0px;}
.about-box5{ padding: 5.75rem 0;}
.about-box5{ padding: 3.75rem 0;}
.about-box5 .video-box{ height: 65vh; min-height: 40.625rem; position: relative; background: #000000;}
.about-box5 .video-box video{ width: 100%; height: 100%;}
.about-box5 .video-box i{ width: 100%; height: 100%; background-size: cover; background-position: center; position: absolute; left: 0; top: 0; z-index: 2; cursor: pointer;}
.about-box5 .video-box i::after{ content: ''; width: 100%; height: 100%; background: url(../image/icon_play.png) no-repeat center rgba(0,0,0,0.1); position: absolute; left: 0; top: 0; background-size: 9.375rem;}
.service-box1{ padding: 6rem 0 7rem;}
.service-box1{ padding: 10rem 0 0;}
.service-box1 .box-info{ padding: 2.5rem 0 3rem;}
.service-box2{ background-color: #f5f5f5;}
.service-box3{ padding: 6rem 0;}
.service-box3{ padding: 10rem 0;}
.service-box3 .box-info{ background: url(../image/ser3_bg.png) no-repeat left bottom;}
.service-box3 .box-info .pull-right{ width: 67%; margin-top: -5rem; position: relative;}
.service-box3 .box-info .pull-right ul li{ padding-top: 13.75rem; position: relative;}
@ -277,7 +258,7 @@ input,select,textarea{outline:medium none; resize: none;}
.service-box3 .box-info .pull-right::after{ content: ''; width: 3.125rem; height: 3.125rem; border-bottom: 0.25rem solid #ccc; border-right: 0.25rem solid #ccc; position: absolute; right: 0; bottom: 0;}
*/
.marketing-box1{ padding: 6rem 0 2rem;height: 100vh;box-sizing: border-box}
.marketing-box1{ padding: 10rem 0 0;}
.marketing-box1 .box-info{ padding-bottom: 4.5rem;}
.marketing-box1 .box-info .pull-left{ background: url(../image/icon_1.png) no-repeat 0 0; background-size: 1.4375rem; padding:0.3rem 0 0 2.5rem;}
.marketing-box1 .box-info .pull-left span{ display: block; color: #222;}
@ -339,7 +320,7 @@ input,select,textarea{outline:medium none; resize: none;}
.news-info .lower-box a:hover{ color: #578df3;}
.news-info .lower-box a.btns{ display: inline-block; background: #00418f; color: #fff; padding: 0 3.15rem; line-height: 24px; font-size: 0.8rem; margin-top: 2rem;}
.contact-box1{ padding: 6rem 0 3.75rem;}
.contact-box1{ padding: 10rem 0 3.75rem;}
.contact-box1 .between-top{ padding-bottom: 7rem;}
.contact-box1 .between-top .box-info{ width: 21rem;}
.contact-box1 .between-top .box-info p{ margin-top: 3.4375rem; font-size: 0.875rem; line-height: 1.6;}
@ -348,7 +329,7 @@ input,select,textarea{outline:medium none; resize: none;}
.contact-box1 .between-top .ewm{ text-align: center; font-size: 0.875rem;}
.contact-box1 .between-top .column-between:first-child img{ width: 13.125rem;}
.contact-box2 .all-title-box2{ border-top: 2px solid #A8A8A8; padding-top: 6rem;}
.contact-box2 .all-title-box2{ border-top: 2px solid #A8A8A8; padding-top: 3rem;}
.contact-box2 .marketing-box2 .center-block ul li{ transition: none;}
.contact-box2 .marketing-box2 .center-block ul li .top-box .pull-left i{ width: 10rem; font-size: 1.25rem;}
.contact-box2 .marketing-box2 .center-block ul li .lower-box{ display: flex !important; height: 11rem !important; overflow: hidden;}
@ -356,7 +337,7 @@ input,select,textarea{outline:medium none; resize: none;}
.contact-box2 .marketing-box2 .center-block ul li .lower-box .pull-right{ width: 85%; font-size: 0.875rem; color: #777; line-height: 1.8;}
.contact-box2 .marketing-box2 .center-block ul li .lower-box .pull-right strong{ color: #222;}
.contact-box2 .marketing-box2 .center-block ul li.active .lower-box{ height: auto !important;}
.contact-box2 .marketing-box2 .center-block ul li.active{ border-color: #fff;}
.contact-box2 .marketing-box2 .center-block ul li.active{ border: none;}
.marketing-box2 .center-block ul li.active .lower-box{ display: block;}
.contact-box3{ background: #F5F5F5; padding: 6rem 0;}
@ -394,29 +375,6 @@ input,select,textarea{outline:medium none; resize: none;}
.search-form-box .layui-form .layui-btn{ width: 30%;}
.layui-form-select dl dd.layui-this{ background: #1E9FFF;}
.honor-tc{ width: 100%; height: 100%; position: fixed; left: 0; top: 0; z-index: 999; background: rgba(0,0,0,0.5); display: none;}
.honor-tc .center-center{ width: 100%; height: 100%; padding: 20px;}
.honor-tc i{ width: 35px; height: 35px; background: url(../image/icon_close.png) no-repeat center rgba(255,255,255,0.9); background-size: 15px; border-radius: 100%; position: absolute; right: 15px; top: 15px;}
.product-title-box{ display: flex; background: #ddd;}
.product-title-box .product-item{ width: 100%; float: left; text-align: center; font-size: 1.125rem; position: relative; line-height: 3.125rem;}
.product-title-box .product-item:first-child::after{ display: none;}
.product-title-box .product-item a{ width: 100%; float: left; position: relative;}
.product-title-box .product-item.active{ background: #578df3;}
.product-title-box .product-item.active a{ color: #fff;}
.product-title-box .product-item.active a::after,.product-title-box .product-item a:hover::after{ width: 100%;}
/* 小于等于多少高度的样式 */
@ -455,7 +413,7 @@ input,select,textarea{outline:medium none; resize: none;}
.nav ul li span a{ display: inline-block; line-height: 35px; float: none; margin: auto; font-size: 14px; padding: 0; color: #333;}
.nav ul li span a::before{ display: none;}
.nav ul li span.active a::after{ content: ''; width: 13px; height: 97%; background: url(../image/icon_jt1.png) no-repeat center; background-size: 100%; position: absolute; right: -20px; top: 1px; pointer-events: none;}
.nav ul li span.cur a i{ width: 10px; height: 100%; position: absolute; left: 100%; top: 0; background: url(../image/icon_jt1.png) no-repeat right; background-size: 100%; margin-left: 10px;}
.nav ul li span.cur a{ background: url(../image/icon_jt1.png) no-repeat right; background-size: 10px; padding:0 17px;}
.nav ul li .nav-second{ position: relative; top: 0; width: 100%; overflow: initial; display: block; float: left;}
.nav ul li .nav-second a{ min-width: 100%; margin: 0; font-size: 12px;}
.nav ul li:hover span a{ color: #00418f !important;}
@ -521,8 +479,6 @@ input,select,textarea{outline:medium none; resize: none;}
.about-box2 .lower-box .pull-right ul li{ margin-bottom: 0.9375rem;}
.about-box2 .lower-box .div-phone .swiper-slide{ text-align: center;}
.about-box2 .lower-box .div-phone .swiper-slide span{ width: 100%; display: block; height: 243px; overflow: hidden;}
.about-box2 .lower-box .div-phone .swiper-slide img{ width: 100%;}
.about-box2 .lower-box .div-phone .swiper-slide p{ margin-top: 12px; font-size: 14px;}
.about-box3{ padding: 1.5625rem 0;}
@ -556,25 +512,22 @@ input,select,textarea{outline:medium none; resize: none;}
.marketing-box2 .center-block ul li{ margin-top: 1rem; padding: 0 1rem;}
.marketing-box2 .center-block ul li .top-box{ padding: 1rem 0;}
.marketing-box2 .center-block ul li .top-box .pull-left i{ width: 3rem;}
.marketing-box2 .center-block ul li .lower-box{ padding: 0 0 15px; overflow: auto;}
.marketing-box2 .center-block ul li .lower-box{ padding: 0; overflow: auto;}
.marketing-box2 .center-block ul li .lower-box table{ display: none;}
.marketing-box2 .center-block ul li .lower-box table td,.marketing-box2 .center-block ul li .lower-box table th{ white-space: nowrap; padding: 1rem;}
.marketing-box2 .center-block ul li .lower-box .div-phone{ max-height: 861px; overflow: auto;}
.marketing-box2 .center-block ul li .lower-box .div-phone .center-block:first-child{ margin-top: 0;}
.marketing-box2 .center-block ul li .lower-box .div-phone .center-block{border: 1px solid #d9d9d9;margin-top: 15px;padding: 10px;border-radius: 5px;}
.marketing-box2 .center-block ul li .lower-box .div-phone .center-block div{border-top: 1px solid #ccc;padding: 10px;}
.marketing-box2 .center-block ul li .lower-box .div-phone .center-block div:first-child{ border-width: 0;}
.marketing-box2 .center-block ul li .lower-box .div-phone .center-block{ border-top: 1px solid #d9d9d9; padding-bottom: 10px;}
.marketing-box2 .center-block ul li .lower-box .div-phone .center-block div{ margin-top: 10px;}
.marketing-box2 .center-block ul li .lower-box .div-phone .center-block div span{ display: block; font-weight: bold; font-size: 14px;}
.news-box1{ padding: 2rem 0;}
.news-box1 .center-block ul li a{ margin-top: 1.5rem; padding: 1rem;}
.news-box1 .center-block ul li a .pull-left{ display: none;}
.news-box1 .center-block ul li a .pull-right{ width: 100%;}
.news-box1 .center-block ul li a .pull-right .imgs{ width: 45%;}
.news-box1 .center-block ul li a .pull-right .info{ width: 55%; padding: 0 0 0 10px;}
.news-box1 .center-block ul li a .pull-right .imgs{ width: 100%; height: 22rem;}
.news-box1 .center-block ul li a .pull-right .info{ width: 100%; padding: 10px 0 0;}
.news-box1 .center-block ul li a .pull-right .info em{ display: block; font-style: initial; margin-top: 0.8rem;}
.news-box1 .center-block ul li a .pull-right .info p{ margin: 0.8rem 0; height: auto; max-height: 38px; font-size: 12px; -webkit-line-clamp:2;}
.news-box1 .center-block ul li a .pull-right .info p{ margin: 0.8rem 0; height: 55px; font-size: 12px;}
.news-box3{ padding: 2rem 0;}
.news-box3 .w-1200{ display: block;}
@ -617,7 +570,7 @@ input,select,textarea{outline:medium none; resize: none;}
.pageing li a, .pageing li span{ font-size: 12px; margin: 2px; padding: 3px 10px;}
.product-title-box .product-item{ line-height: 3rem; font-size: 12px;}
}
@media screen and (max-width:768px){

View File

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

View File

Before

Width:  |  Height:  |  Size: 248 KiB

After

Width:  |  Height:  |  Size: 248 KiB

View File

Before

Width:  |  Height:  |  Size: 499 KiB

After

Width:  |  Height:  |  Size: 499 KiB

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 258 KiB

After

Width:  |  Height:  |  Size: 258 KiB

View File

Before

Width:  |  Height:  |  Size: 571 B

After

Width:  |  Height:  |  Size: 571 B

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 425 B

After

Width:  |  Height:  |  Size: 425 B

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

Before

Width:  |  Height:  |  Size: 157 KiB

After

Width:  |  Height:  |  Size: 157 KiB

View File

Before

Width:  |  Height:  |  Size: 248 KiB

After

Width:  |  Height:  |  Size: 248 KiB

View File

Before

Width:  |  Height:  |  Size: 483 KiB

After

Width:  |  Height:  |  Size: 483 KiB

View File

Before

Width:  |  Height:  |  Size: 628 KiB

After

Width:  |  Height:  |  Size: 628 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 92 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

Before

Width:  |  Height:  |  Size: 230 KiB

After

Width:  |  Height:  |  Size: 230 KiB

View File

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 84 KiB

View File

Before

Width:  |  Height:  |  Size: 173 KiB

After

Width:  |  Height:  |  Size: 173 KiB

View File

Before

Width:  |  Height:  |  Size: 139 KiB

After

Width:  |  Height:  |  Size: 139 KiB

View File

Before

Width:  |  Height:  |  Size: 117 KiB

After

Width:  |  Height:  |  Size: 117 KiB

View File

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 74 KiB

View File

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 92 KiB

View File

@ -10,11 +10,11 @@ layui.use(['layer', 'form', 'element'], function(){
});
$(window).scroll(function(event) {
if ($(window).scrollTop() > 0) {
$('.head-box').addClass('active');
} else {
$('.head-box').removeClass('active');
}
// if ($(window).scrollTop() > 0) {
// $('.head-box').addClass('active');
// } else {
// $('.head-box').removeClass('active');
// }
if ($(window).scrollTop() > 400) {
$('.gotop').fadeIn();
} else {
@ -84,9 +84,9 @@ $(function() {
})
})
$('.about-box5 .video-box i').click(function(){
$(this).fadeOut()
$('.about-box5 .video-box').find('video').get(0).play()
$('.about-box5 .video-box').click(function(){
$(this).find('i').fadeOut()
$(this).find('video').get(0).play()
})
@ -98,16 +98,11 @@ $(function() {
$('.home-box1 .center-block li').addClass('active')
$('.nav ul li .nav-second a').click(function(){
console.log(1);
$('.nav_btn').removeClass('cur');
$('.nav').removeClass('active');
$('body').css('overflow', 'inherit');
})
$('.nav ul li span.cur').each(function(){
$(this).find('a').append('<i></i>')
})
$('.nav ul li span.cur a i').click(function(){
return false
})
} else {
}

View File

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 989 B

After

Width:  |  Height:  |  Size: 989 B

View File

Before

Width:  |  Height:  |  Size: 948 B

After

Width:  |  Height:  |  Size: 948 B

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 365 B

After

Width:  |  Height:  |  Size: 365 B

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Some files were not shown because too many files have changed in this diff Show More