diff --git a/code/app/admin/controller/Site.php b/code/app/admin/controller/Site.php index 7f4df87..922eab8 100644 --- a/code/app/admin/controller/Site.php +++ b/code/app/admin/controller/Site.php @@ -67,11 +67,15 @@ class Site extends BaseController 't_id' => $arrRows[1], 'd_name' => $arrRows[2], 'd_keywords' => $arrRows[3], - 'd_description' => $arrRows[4], - 'd_statis' => $arrRows[5], - 'd_logo_type' => (int)$arrRows[6], - 'd_text_logo' => $arrRows[7], - 'd_img_log' => $arrRows[8], + 'd_index_title' => $arrRows[4], + 'd_index_keywords' => $arrRows[5], + 'd_index_description' => $arrRows[6], + 'd_description' => $arrRows[7], + 'd_statis' => $arrRows[8], + 'd_logo_type' => (int)$arrRows[9], + 'd_text_logo' => $arrRows[10], + 'd_img_logo' => $arrRows[11], + 'd_content_encode' => $arrRows[12], ]; $TCfgTemplate = TemplatesModel::where('t_id', $arrDomain['t_id'])->find()->t_cfg_template; diff --git a/code/app/home/view/kuangyu/baseH5.html b/code/app/home/view/kuangyu/baseH5.html index b93507b..6447d1b 100644 --- a/code/app/home/view/kuangyu/baseH5.html +++ b/code/app/home/view/kuangyu/baseH5.html @@ -16,10 +16,7 @@ - - - {block name="head"}{/block} diff --git a/code/app/home/view/kuangyu/basePc.html b/code/app/home/view/kuangyu/basePc.html index fe563d5..abdbd48 100644 --- a/code/app/home/view/kuangyu/basePc.html +++ b/code/app/home/view/kuangyu/basePc.html @@ -9,13 +9,7 @@ - - - - - - {block name="head"}{/block} diff --git a/code/public/template/kuangyu/home/bai_web/css/style.css b/code/public/template/kuangyu/home/bai_web/css/style.css index 5dfdcb4..2435fb3 100644 --- a/code/public/template/kuangyu/home/bai_web/css/style.css +++ b/code/public/template/kuangyu/home/bai_web/css/style.css @@ -594,3 +594,168 @@ display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; margi .info2_L .news .comB .rbtn img{width: 12px; height: 12px; margin: 4px 4px 0 0; float: left;} .info2_L .news .comB .rbtn a i{float: left;color: #9e9e9e;font-size: 12px;} + + + + +/* 面包屑容器 -----------------------------start */ + +/* 面包屑容器 */ +.breadcrumb { + font-family: Arial, sans-serif; + padding: 10px 15px; + background-color: #f8f9fa; + border-radius: 5px; + margin: 10px 0; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); + } + + /* 有序列表样式 */ + .breadcrumb ol { + list-style: none; + margin: 0; + padding: 0; + display: flex; + align-items: center; + flex-wrap: wrap; + } + + /* 面包屑项 */ + .breadcrumb-item { + font-size: 14px; + color: #666; + } + + /* 链接样式 */ + .breadcrumb-item a { + text-decoration: none; + color: #007bff; + transition: color 0.3s ease; + } + + .breadcrumb-item a:hover { + color: #0056b3; + text-decoration: underline; + } + + /* 分隔符 */ + .breadcrumb-item + .breadcrumb-item::before { + content: ">"; + margin: 0 8px; + color: #999; + font-weight: bold; + } + + /* 当前页面样式 */ + .breadcrumb-item.active { + color: #333; + font-weight: bold; + } + + /* 响应式调整 */ + @media (max-width: 768px) { + .breadcrumb { + padding: 8px 10px; + } + .breadcrumb-item { + font-size: 12px; + } + .breadcrumb-item + .breadcrumb-item::before { + margin: 0 5px; + } + } + + + /* 面包屑容器 -----------------------------end */ + + + /* 分页----------------------------start */ + .page_num { + /* 基本容器样式 */ + width: 100%; + max-width: 1200px; /* 最大宽度限制 */ + margin: 20px auto; /* 居中并添加外边距 */ + padding: 0 15px; /* 左右内边距 */ + box-sizing: border-box; + + /* flex布局实现自适应 */ + display: flex; + justify-content: center; + align-items: center; + gap: 15px; /* 元素间距 */ + } + + /* 上一页和下一页链接样式 */ + .z, .y { + text-decoration: none; + padding: 8px 15px; + background-color: #f5f5f5; + color: #333; + border-radius: 4px; + transition: all 0.3s ease; + font-size: 14px; + } + + /* hover效果 */ + .z:hover, .y:hover { + background-color: #e0e0e0; + color: #000; + } + + /* select下拉框样式 */ + .page_num select { + padding: 8px 12px; + border: 1px solid #ddd; + border-radius: 4px; + background-color: white; + font-size: 14px; + min-width: 120px; + cursor: pointer; + appearance: none; /* 移除默认箭头 */ + background-image: url("data:image/svg+xml;utf8,"); + background-repeat: no-repeat; + background-position: right 8px center; + background-size: 16px; + } + + /* 焦点状态 */ + .page_num select:focus { + outline: none; + border-color: #666; + } + + /* 响应式设计 */ + @media screen and (max-width: 768px) { + .page_num { + gap: 10px; + padding: 0 10px; + } + + .z, .y { + padding: 6px 12px; + font-size: 13px; + } + + .page_num select { + font-size: 13px; + min-width: 100px; + } + } + + @media screen and (max-width: 480px) { + .page_num { + flex-wrap: wrap; /* 小屏幕时允许换行 */ + gap: 8px; + } + + .z, .y { + padding: 5px 10px; + font-size: 12px; + } + + .page_num select { + font-size: 12px; + min-width: 120px; + } + } + /* 分页----------------------------end-------------------------------------- */ diff --git a/code/域名.xlsx b/code/域名.xlsx index 7263003..1fa6e05 100644 Binary files a/code/域名.xlsx and b/code/域名.xlsx differ