调整首页布局

This commit is contained in:
DESKTOP-GMUNQ1B\Administrator 2024-12-03 16:20:37 +08:00
parent 78d7606349
commit 61dbfd5844
2 changed files with 19 additions and 9 deletions

View File

@ -1,10 +1,10 @@
<?php
return [
'type' => 'mysql',
'hostname' => '127.0.0.1',
'database' => 'foxcms',
'username' => 'root',
'password' => 'root',
'hostname' => '47.108.186.87',
'database' => 'lihaink_cn_new',
'username' => 'lihaink_cn_new',
'password' => 'c6tiAe4nBrPJG6H8',
'hostport' => '3306',
'charset' => 'utf8mb4',
'prefix' => 'fox_',

View File

@ -136,16 +136,16 @@
<div class="foxui-row foxui-gutter-1" style="justify-content: center;">
{fox:channel name="cv" pname="field" calltype="parent" type="son" notypeid="self"}
{if $cv.id != 90}
<div class="foxui-col-sm-12 foxui-col-lg-8" style="width: 36%;margin: 10px;">
<a href="[$cv.link]" class="list-case-item" style="display: block">
<div class="pic">
<div class="foxui-col-sm-12 foxui-col-lg-12" style="margin: 6px;width: 48%">
<a href="[$cv.link]" class="list-case-item business-item">
<div class="pic business-item-image">
<img src="[$cv.pic_url]" alt="" />
</div>
<div class="cover">
<div class="cover business-item-cover">
<div class="cover-head">
</div>
<div class="cover-foot">
<h2>[$cv.name]</h2>
<h2>[$cv.seo_title]</h2>
<h3>[$cv.en_name]</h3>
</div>
</div>
@ -306,5 +306,15 @@
.flex-wrap {
flex-wrap: wrap;
}
.business-item {
display: block;
padding-bottom: 40%;
.business-item-image {
height: 342px;
}
.business-item-cover {
height: 342px;
}
}
</style>
</html>