This commit is contained in:
123 2025-04-25 09:29:30 +08:00
parent 58f96cbc50
commit f61bfd56bd
3 changed files with 86 additions and 64 deletions

View File

@ -65,7 +65,7 @@
<div class="recommend"> <div class="recommend">
<div class="title">推荐阅读</div> <div class="title">推荐阅读</div>
<div class="publicList"> <div class="publicList">
{dreamer-cms:list typeid="6j0r9qzq" pagenum="1" pagesize="1" cascade="true" sortBy="create_time" sortWay="desc"} {dreamer-cms:list typeid="zac9idyl" pagenum="1" pagesize="1" cascade="true" sortBy="show_time" sortWay="desc"}
<div class="item details" data-id="[field:id/]"> <div class="item details" data-id="[field:id/]">
<div class="pictrue dis" ><a href="[field:arcurl/]"><img src="[field:litpic/]"></a></div> <div class="pictrue dis" ><a href="[field:arcurl/]"><img src="[field:litpic/]"></a></div>
<div class="text dis"> <div class="text dis">

View File

@ -1,8 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="zh-CN"> <html lang="zh-CN">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no"> <meta name="viewport"
content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!-- 禁止百度转码 --> <!-- 禁止百度转码 -->
<meta http-equiv="Cache-Control" content="no-siteapp"> <meta http-equiv="Cache-Control" content="no-siteapp">
@ -34,20 +36,35 @@
cursor: pointer; cursor: pointer;
display: block; display: block;
} }
.headerBg2{background:url("{dreamer-cms:template /}images/companyinfo1.jpg") center 0 no-repeat;overflow:hidden;width:100%;height:380px;}
.headerBg2 {
background:url("{dreamer-cms:template /}images/companyinfo1.jpg") center 0 no-repeat;
overflow: hidden;
width: 100%;
height: 380px;
}
#thename { #thename {
text-align: center; text-align: center;
width: 235px; width: 235px;
height: 80px; height: 80px;
} }
#theinfo { #theinfo {
height: 15px; height: 15px;
} }
#theimg { #theimg {
height: 150px; height: 150px;
} }
.one:hover {
transform: translateY(-10px);
/* 上浮10px */
}
</style> </style>
</head> </head>
<body> <body>
<div class="case-center"> <div class="case-center">
{dreamer-cms:include file='inc/header1.html'/} {dreamer-cms:include file='inc/header1.html'/}
@ -70,7 +87,8 @@ height: 80px;
</a> </a>
</div> </div>
<div class="text"> <div class="text">
<div class="name" id="thename"><a href="[field:arcurl/]" title="[field:title/]">[field:title/]</a></div> <div class="name" id="thename"><a href="[field:arcurl/]"
title="[field:title/]">[field:title/]</a></div>
<div class="infor" id="theinfo">[field:remark function="substring(0,60,'...')"/]</div> <div class="infor" id="theinfo">[field:remark function="substring(0,60,'...')"/]</div>
<div class="industry"><a href="[field:arcurl/]" title="[field:title/]">查看详情</a></div> <div class="industry"><a href="[field:arcurl/]" title="[field:title/]">查看详情</a></div>
</div> </div>
@ -96,4 +114,5 @@ height: 80px;
</div> </div>
{dreamer-cms:include file="inc/service.html" /} {dreamer-cms:include file="inc/service.html" /}
</body> </body>
</html> </html>

View File

@ -45,6 +45,9 @@ height: 80px;
} }
#theinfo{ #theinfo{
height: 15px; height: 15px;
}
.one:hover {
transform: translateY(-10px); /* 上浮10px */
} }
</style> </style>
</head> </head>