Compare commits
30 Commits
Author | SHA1 | Date |
---|---|---|
Gongxinshu | 4b10f3c84d | |
Gongxinshu | 6c867cd4af | |
tangyi | 79a1fecc1c | |
tangyi | 64ec12400f | |
Gongxinshu | 802fcf5d1a | |
Gongxinshu | a6f7260598 | |
Gongxinshu | 8c91089247 | |
tangyi | eaf2881826 | |
15008401624 | dcd627783f | |
zwesy | 5d1ad23b45 | |
15008401624 | 99c065b27a | |
15008401624 | ff2cd1ffae | |
15008401624 | 4c25e46adb | |
15008401624 | 089cb31f69 | |
15008401624 | 873d87a0e3 | |
zwesy | 931d3dd81e | |
zwesy | 337cb0b40d | |
15008401624 | 3069b94fe9 | |
zwesy | bc710ece5c | |
15008401624 | a5d3c6fbca | |
15008401624 | f82b87600f | |
zwesy | 07e2fb0440 | |
zwesy | 104a725ccb | |
zwesy | fc913c4270 | |
15008401624 | 2496b69e98 | |
zwesy | 56f27172a4 | |
15008401624 | fcd8e3f40a | |
15008401624 | f0cb49a1bf | |
15008401624 | 7082df1821 | |
15008401624 | a3b666191d |
|
@ -144,12 +144,13 @@ 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;
|
||||
|
|
|
@ -16,19 +16,12 @@ class Index extends Base
|
|||
$this->data['blocks'] = $blocks;
|
||||
// 轮播图
|
||||
$this->data['slides'] = Slide::getList();
|
||||
// 网络营销栏目ID
|
||||
// 营销网络栏目ID
|
||||
$this->data['marketingCId'] = Category::$CIdList['marketing'];
|
||||
// 关联产品中心
|
||||
$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'])
|
||||
];
|
||||
// 关联产品分类
|
||||
$productsCenterCId = Category::$CIdList['products'];
|
||||
$this->data['productsCenter'] = Category::getById($productsCenterCId);
|
||||
$this->data['products'] = Category::getChildrenByParentId($productsCenterCId);
|
||||
// 关联新闻
|
||||
$this->data['newsCenter'] = Category::getById(Category::$CIdList['news']);
|
||||
$newsCIdList = [Category::$CIdList['news_children']['enterprise'], Category::$CIdList['news_children']['industry']];
|
||||
|
|
|
@ -120,7 +120,7 @@ class Content extends Base
|
|||
if(!empty($groupIds)){
|
||||
foreach($groupIds as $key => $groupId){
|
||||
$group = $groups[$groupId] ?? [];
|
||||
$group = array_values($group);
|
||||
$group = array_values($group);
|
||||
$data[] = [
|
||||
'id' => $groupId,
|
||||
'value' => json_encode($group)
|
||||
|
|
|
@ -326,7 +326,7 @@ class Page extends Base
|
|||
$imgs = input('post.img/a');
|
||||
$categoryId = input('post.category_id/d');
|
||||
if (!empty($imgs) && is_array($imgs)) {
|
||||
$imgs = array_values($imgs);
|
||||
$imgs = array_values($imgs);
|
||||
$item['value'] = json_encode($imgs);
|
||||
} else {
|
||||
$item['value'] = '';
|
||||
|
|
|
@ -17,6 +17,9 @@ 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;
|
||||
|
@ -73,8 +76,8 @@ class Upload extends BaseController
|
|||
|
||||
//图片上传(通用)
|
||||
public function image()
|
||||
{
|
||||
$image = request()->file('image');
|
||||
{
|
||||
$image = request()->file('image');
|
||||
if($this->validate->checkImage($image)){
|
||||
try{
|
||||
if(!$this->uploadPathIsWritable){
|
||||
|
@ -98,7 +101,9 @@ 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);
|
||||
}
|
||||
}
|
||||
|
@ -106,7 +111,6 @@ class Upload extends BaseController
|
|||
//富文本编辑器商城图片
|
||||
public function wangImage()
|
||||
{
|
||||
|
||||
$imageArr = request()->file('wang_img'); // 该方式,前端js上传方法中字段名称必须以数组形式传参 如 wang_img[] = 值
|
||||
$errno = 0;
|
||||
$data = [];
|
||||
|
|
|
@ -14,7 +14,7 @@ class Image extends File
|
|||
public static function resize($src)
|
||||
{
|
||||
$max = 1920;
|
||||
$realPath = app()->getRootPath() . 'wwwroot/' . ltrim($src,'/');
|
||||
$realPath = app()->getRootPath() . 'public/' . 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 . 'wwwroot/' . ltrim($src, '/');
|
||||
$realPath = $rootPath . 'public/' . 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() . 'wwwroot/' . ltrim($src, '/');
|
||||
$realPath = app()->getRootPath() . 'public/' . 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 . 'wwwroot/' . ltrim($src, '/');
|
||||
$realPath = $rootPath . 'public/' . 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 . 'wwwroot/' . ltrim($thumbName, '/');
|
||||
$realThumbName = $rootPath . 'public/' . ltrim($thumbName, '/');
|
||||
$realThumbName = str_replace('\\', '/', $realThumbName);
|
||||
if(!file_exists($realThumbName)){
|
||||
$image = TImage::open($realPath);
|
||||
|
|
|
@ -22,13 +22,13 @@ return [
|
|||
// 数据库类型
|
||||
'type' => Env::get('database.type', 'mysql'),
|
||||
// 服务器地址
|
||||
'hostname' => Env::get('database.hostname', '127.0.0.1'),
|
||||
'hostname' => Env::get('database.hostname', '211.149.245.223'),
|
||||
// 数据库名
|
||||
'database' => Env::get('database.database', ''),
|
||||
'database' => Env::get('database.database', 'cy_scdxtc_cn'),
|
||||
// 用户名
|
||||
'username' => Env::get('database.username', 'root'),
|
||||
'username' => Env::get('database.username', 'cy_scdxtc_cn'),
|
||||
// 密码
|
||||
'password' => Env::get('database.password', ''),
|
||||
'password' => Env::get('database.password', 'kid3nrMxFaKafKEf'),
|
||||
// 端口
|
||||
'hostport' => Env::get('database.hostport', '3306'),
|
||||
// 数据库连接参数
|
||||
|
@ -36,7 +36,7 @@ return [
|
|||
// 数据库编码默认采用utf8
|
||||
'charset' => Env::get('database.charset', 'utf8'),
|
||||
// 数据库表前缀
|
||||
'prefix' => Env::get('database.prefix', ''),
|
||||
'prefix' => Env::get('database.prefix', 'bee_'),
|
||||
|
||||
// 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
|
||||
'deploy' => 0,
|
||||
|
|
|
@ -11,7 +11,7 @@ return [
|
|||
// 磁盘类型
|
||||
'type' => 'local',
|
||||
// 磁盘路径
|
||||
'root' => app()->getRootPath() . 'storage',
|
||||
'root' => app()->getRootPath() . 'public/storage',
|
||||
// 磁盘路径对应的外部URL路径
|
||||
'url' => '/storage',
|
||||
// 可见性
|
||||
|
@ -21,7 +21,7 @@ return [
|
|||
// 磁盘类型
|
||||
'type' => 'local',
|
||||
// 磁盘路径
|
||||
'root' => app()->getRootPath() . 'storage/videos',
|
||||
'root' => app()->getRootPath() . 'public/storage/videos',
|
||||
// 磁盘路径对应的外部URL路径
|
||||
'url' => '/storage/videos',
|
||||
// 可见性
|
||||
|
@ -31,7 +31,7 @@ return [
|
|||
// 磁盘类型
|
||||
'type' => 'local',
|
||||
// 磁盘路径
|
||||
'root' => app()->getRootPath() . 'storage/backup',
|
||||
'root' => app()->getRootPath() . 'public/storage/backup',
|
||||
// 磁盘路径对应的外部URL路径
|
||||
'url' => '/storage/backup',
|
||||
// 可见性
|
||||
|
|
BIN
favicon.ico
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 4.2 KiB |
|
@ -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 __DIR__ . '/vendor/autoload.php';
|
||||
require dirname(__DIR__) . '/vendor/autoload.php';
|
||||
|
||||
// 执行HTTP应用并响应
|
||||
$http = (new App())->http;
|
|
@ -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: 1rem;}
|
||||
.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: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:8rem; z-index: 99; color: #fff; transition: all .6s;}
|
||||
.head-box{ position: absolute; left: 0; top:4rem; 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;}
|
||||
.home-box1 .center-block .box-info .box1 p{ font-size: 1.375rem; margin-top: 0.5rem;}
|
||||
.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 .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: #444;}
|
||||
.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 li.active{ width: 50%;}
|
||||
.home-box1 .center-block li.active .box-info::after{ opacity: 0;}
|
||||
|
@ -173,25 +173,36 @@ 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: 40.625rem; position: relative; background-position: center; background-size: cover; position: relative; z-index: 2;}
|
||||
.page-banner{ height: 100vh; 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%;}
|
||||
.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-right{ width: 55%;}
|
||||
.about-box1 .pull-right .box-info{ font-size: 0.875rem; color: #999; line-height: 1.6; margin-top: 1.25rem;}
|
||||
.about-box1 .pull-right .box-info{ font-size: 16px; color: #999; line-height: 1.6; margin-top: 1.25rem;}
|
||||
|
||||
.about-box2{ padding: 5rem 0;}
|
||||
.about-box2{ padding: 6rem 0;}
|
||||
#about3{
|
||||
padding-top: 2.5rem;
|
||||
}
|
||||
.about-box2 .top-box .all-title-box2{ padding-right: 1.25rem;}
|
||||
.about-box2 .top-box .all-title-box2 span{ white-space: nowrap;}
|
||||
.about-box2 .top-box .all-title-box2 span,.about-box2 .top-box .all-title-box2 p{ 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;}
|
||||
|
@ -202,15 +213,23 @@ 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;}
|
||||
.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::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: 3.75rem 0;}
|
||||
.about-box4{ padding: 5.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;}
|
||||
|
@ -233,16 +252,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: 3.75rem 0;}
|
||||
.about-box5{ padding: 5.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: 10rem 0 0;}
|
||||
.service-box1{ padding: 6rem 0 7rem;}
|
||||
.service-box1 .box-info{ padding: 2.5rem 0 3rem;}
|
||||
.service-box2{ background-color: #f5f5f5;}
|
||||
.service-box3{ padding: 10rem 0;}
|
||||
.service-box3{ padding: 6rem 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;}
|
||||
|
@ -258,7 +277,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: 10rem 0 0;}
|
||||
.marketing-box1{ padding: 6rem 0 2rem;height: 100vh;box-sizing: border-box}
|
||||
.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;}
|
||||
|
@ -320,7 +339,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: 10rem 0 3.75rem;}
|
||||
.contact-box1{ padding: 6rem 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;}
|
||||
|
@ -329,7 +348,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: 3rem;}
|
||||
.contact-box2 .all-title-box2{ border-top: 2px solid #A8A8A8; padding-top: 6rem;}
|
||||
.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;}
|
||||
|
@ -337,7 +356,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: none;}
|
||||
.contact-box2 .marketing-box2 .center-block ul li.active{ border-color: #fff;}
|
||||
.marketing-box2 .center-block ul li.active .lower-box{ display: block;}
|
||||
|
||||
.contact-box3{ background: #F5F5F5; padding: 6rem 0;}
|
||||
|
@ -375,6 +394,29 @@ 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%;}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* 小于等于多少高度的样式 */
|
||||
|
@ -413,7 +455,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{ background: url(../image/icon_jt1.png) no-repeat right; background-size: 10px; padding:0 17px;}
|
||||
.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 .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;}
|
||||
|
@ -479,6 +521,8 @@ 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;}
|
||||
|
@ -512,22 +556,25 @@ 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; overflow: auto;}
|
||||
.marketing-box2 .center-block ul li .lower-box{ padding: 0 0 15px; 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 .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{ 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 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: 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 .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 .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: 55px; font-size: 12px;}
|
||||
.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-box3{ padding: 2rem 0;}
|
||||
.news-box3 .w-1200{ display: block;}
|
||||
|
@ -570,7 +617,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){
|
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 248 KiB After Width: | Height: | Size: 248 KiB |
Before Width: | Height: | Size: 499 KiB After Width: | Height: | Size: 499 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 258 KiB After Width: | Height: | Size: 258 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 571 B After Width: | Height: | Size: 571 B |
After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 425 B After Width: | Height: | Size: 425 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 157 KiB After Width: | Height: | Size: 157 KiB |
Before Width: | Height: | Size: 248 KiB After Width: | Height: | Size: 248 KiB |
Before Width: | Height: | Size: 483 KiB After Width: | Height: | Size: 483 KiB |
Before Width: | Height: | Size: 628 KiB After Width: | Height: | Size: 628 KiB |
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 92 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 230 KiB After Width: | Height: | Size: 230 KiB |
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 173 KiB After Width: | Height: | Size: 173 KiB |
Before Width: | Height: | Size: 139 KiB After Width: | Height: | Size: 139 KiB |
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 117 KiB |
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 92 KiB |
|
@ -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').click(function(){
|
||||
$(this).find('i').fadeOut()
|
||||
$(this).find('video').get(0).play()
|
||||
$('.about-box5 .video-box i').click(function(){
|
||||
$(this).fadeOut()
|
||||
$('.about-box5 .video-box').find('video').get(0).play()
|
||||
})
|
||||
|
||||
|
||||
|
@ -98,11 +98,16 @@ $(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 {
|
||||
|
||||
}
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 989 B After Width: | Height: | Size: 989 B |
Before Width: | Height: | Size: 948 B After Width: | Height: | Size: 948 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 365 B After Width: | Height: | Size: 365 B |