update
This commit is contained in:
@ -74,7 +74,21 @@ body a{
|
||||
display:block;
|
||||
list-style:none;
|
||||
}
|
||||
|
||||
/* top-nav */
|
||||
/* .top-nav:before,
|
||||
.top-nav:after {
|
||||
content: " ";
|
||||
display: table;
|
||||
list-style:none;
|
||||
} */
|
||||
/* .top-nav:after { */
|
||||
/* clear: both; */
|
||||
/* } */
|
||||
/* nav {
|
||||
position: relative;
|
||||
float: right;
|
||||
list-style:none;
|
||||
} */
|
||||
nav ul {
|
||||
padding: 0;
|
||||
float: right;
|
||||
|
@ -1,30 +1,3 @@
|
||||
/**
|
||||
* [Table of contents]
|
||||
1 root css
|
||||
2 selection css
|
||||
3 default css
|
||||
4 header css
|
||||
5 banner css
|
||||
6 owl css
|
||||
7 footer css
|
||||
/**
|
||||
|
||||
|
||||
/* [01] ROOT STARTS Here */
|
||||
:root {
|
||||
/* Font style */
|
||||
/* --primary-font: 'Gilroy'; */
|
||||
/* --secondary-font: 'Gilroy'; */
|
||||
}
|
||||
|
||||
/* [01] ROOT STARTS End */
|
||||
|
||||
/* [02] TYPOGRAPY STARTS Here */
|
||||
|
||||
/* [02] TYPOGRAPY ENDS Here */
|
||||
|
||||
/* [03] RESET DEFAULT STYLE STARTS Here */
|
||||
|
||||
* {
|
||||
outline: none !important;
|
||||
}
|
||||
@ -53,16 +26,6 @@ html {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
body {
|
||||
font-size: 15px;
|
||||
line-height: 170%;
|
||||
font-weight: 300;
|
||||
background: #fff;
|
||||
color: #2b3a66;
|
||||
/* font-family: var(--primary-font); */
|
||||
font-family: -apple-system, Helvetica Neue, Arial, PingFang SC, lucida grande, lucida sans unicode, lucida, helvetica, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif;
|
||||
}
|
||||
|
||||
.btn.focus,
|
||||
.btn:focus {
|
||||
box-shadow: none !important;
|
||||
|
@ -3,6 +3,7 @@ import { getConfig } from '../../utils/config'
|
||||
import '../assets/css/bootstrap.css'
|
||||
import '../assets/css/theme-style.css'
|
||||
const config = getConfig(Astro)
|
||||
const {desc = '霍尔果斯飞驰广告传媒有限公司是一家充满活力和创新精神的互联网企业,专注于为客户提供卓越的数字化解决方案。我们秉承以客户为中心的理念,致力于通过创新技术和策略,助力企业实现数字化转型与品牌升级,共同开创更加美好的未来。', title = '霍尔果斯霍尔果斯飞驰广告传媒有限公司', keyword = '霍尔果斯霍尔果斯飞驰广告传媒有限公司'} = Astro.props
|
||||
---
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
@ -12,18 +13,16 @@ const config = getConfig(Astro)
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
|
||||
<link rel="icon" href="/images/logo40_40.png" type="image/gif" />
|
||||
<!-- <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> -->
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<title>霍尔果斯飞驰广告传媒有限公司</title>
|
||||
<title>{title}</title>
|
||||
<!-- site metas -->
|
||||
<meta name="keywords" content="霍尔果斯霍尔果斯飞驰广告传媒有限公司">
|
||||
<meta name="description" content="霍尔果斯飞驰广告传媒有限公司是一家充满活力和创新精神的互联网企业,专注于为客户提供卓越的数字化解决方案。我们秉承以客户为中心的理念,致力于通过创新技术和策略,助力企业实现数字化转型与品牌升级,共同开创更加美好的未来。">
|
||||
<meta name="keywords" content={keyword}>
|
||||
<meta name="description" content={desc}>
|
||||
<meta name="author" content="">
|
||||
<!-- fevicon -->
|
||||
{config.app_baidu_zhanzhang ? <Fragment set:html={config.app_baidu_zhanzhang} /> : ''}
|
||||
<script is:inline src="/js/jquery.min.js"></script>
|
||||
<script is:inline type="text/javascript" src="/js/move-top.js"></script>
|
||||
<script is:inline type="text/javascript" src="/js/easing.js"></script>
|
||||
<!-- <script is:inline type="text/javascript" src="/js/easing.js"></script> -->
|
||||
</head>
|
||||
<body class="main-layout">
|
||||
|
||||
@ -41,7 +40,7 @@ const config = getConfig(Astro)
|
||||
<nav class="top-nav">
|
||||
<ul class="top-nav">
|
||||
<li class=""><a href="/" class="scroll">首页 <span> </span></a></li>
|
||||
<li class="page-scroll"><a href="/news" class="scroll">新闻中心<span> </span></a></li>
|
||||
<li class="page-scroll"><a href="/news" class="scroll">行业专栏<span> </span></a></li>
|
||||
<li class="page-scroll"><a href="/service" class="scroll">我们的服务 <span> </span></a></li>
|
||||
<li class="page-scroll"><a href="/about" class="scroll">关于我们 <span> </span></a></li>
|
||||
<li class="contatct-active" class="page-scroll"><a href="#contact" class="scroll">联系我们</a></li>
|
||||
@ -98,7 +97,7 @@ const config = getConfig(Astro)
|
||||
<div class="columns">
|
||||
<ul>
|
||||
<li><a href='/about-us'>关于我们</a></li>
|
||||
<li><a href='/news'>新闻中心</a></li>
|
||||
<li><a href='/news'>行业专栏</a></li>
|
||||
<li><a href='/service'>我们的服务</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -15,7 +15,7 @@ const limit = 12;
|
||||
// 页码
|
||||
const { page = 1 } = Astro.props;
|
||||
const { code, data, total = 0, about } = await newsIndex(config.id, limit, page);
|
||||
console.log(about);
|
||||
console.log(total)
|
||||
if (!data || code !== 0) {
|
||||
return Astro.redirect("/404");
|
||||
}
|
||||
@ -31,11 +31,11 @@ if (!data || code !== 0) {
|
||||
style="grid-column: 1 / 3;grid-row: 1 / 2;"
|
||||
>
|
||||
<BreadComponent
|
||||
data={[{ title: "新闻中心", link: "/news" }]}
|
||||
data={[{ title: "行业专栏", link: "/news" }]}
|
||||
/>
|
||||
<div class="archive-description">
|
||||
<p>
|
||||
SEO教程,SEO入门课程,定期分析SEO技术,大量SEO实战案例,SEO学习课程,快速掌握SEO技术。
|
||||
欢迎来到我们的<a href="/news">行业专栏</a>,这里汇聚了关于数字营销、SEO优化及互联网行业最新动态的深度分析与实战经验。随着数字化转型的加速,越来越多的企业在探索如何在互联网浪潮中脱颖而出。我们专注于为营销人员、SEO专家以及各类企业提供最新的行业洞察、策略解析以及实用技巧。
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -10,13 +10,21 @@ if (!slug) {
|
||||
return Astro.redirect('/404');
|
||||
}
|
||||
|
||||
if (slug == 'seo_tech') {
|
||||
return Astro.rewrite('/')
|
||||
}
|
||||
|
||||
const {code, data} = await newsDetail(slug, config);
|
||||
|
||||
if (!data || code !== 0) {
|
||||
return Astro.redirect('/404');
|
||||
}
|
||||
---
|
||||
<Layout>
|
||||
<Layout
|
||||
desc={data.description}
|
||||
keywords={data.keywords}
|
||||
title={`${data.title} - ${config.app_name}`}
|
||||
>
|
||||
<div class="v4 header-placeholder nav-v2" id="header-placeholder"></div>
|
||||
<div class="html-text-component parbase">
|
||||
<div class="v4 n06-news-second-navigation" id="news-second-navigation-v4" data-component="n06-news-second-navigation">
|
||||
@ -34,6 +42,7 @@ if (!data || code !== 0) {
|
||||
<!-- <Breadcrumb data={[]}/> -->
|
||||
<header>
|
||||
<h1 class="title" title={data.title}>{data.title}</h1>
|
||||
<span class="label label-default">Label</span>
|
||||
</header>
|
||||
<article class="news-detail-content">
|
||||
<div class="top-icon"></div>
|
||||
@ -66,6 +75,7 @@ if (!data || code !== 0) {
|
||||
<aside class="news-sidebar">
|
||||
<div class="related-news">
|
||||
<h3>相关推荐</h3>
|
||||
<div class="top-icon"></div>
|
||||
<ul>
|
||||
{data.about.map(item => (
|
||||
<li>
|
||||
|
7
utils/column.ts
Normal file
7
utils/column.ts
Normal file
@ -0,0 +1,7 @@
|
||||
export const column = [
|
||||
{
|
||||
sign: 'seo_tech',
|
||||
title: 'SEO教程',
|
||||
desc: '霍尔果斯飞驰广告有限公司不仅帮助多个企业实现了品牌曝光和流量增长,也在SEO优化过程中积累了宝贵的经验和教训。我们相信,随着SEO策略的不断发展和优化,未来的网络营销将更加精细化、智能化。'
|
||||
}
|
||||
]
|
Reference in New Issue
Block a user