|
@@ -1,98 +1,67 @@
|
|
<template>
|
|
<template>
|
|
- <custom-layout v-loading="loading">
|
|
|
|
- <el-col :span="24" class="one">
|
|
|
|
- <el-carousel height="300px">
|
|
|
|
- <el-carousel-item v-for="(item, index) in carouselList" :key="index">
|
|
|
|
- <el-image class="image" :src="getUrl(item)" fit="fill" />
|
|
|
|
- </el-carousel-item>
|
|
|
|
- </el-carousel>
|
|
|
|
- </el-col>
|
|
|
|
|
|
+ <custom-layout v-loading="loading" :is_carousel="true" :carouselList="carouselList">
|
|
<el-col :span="24" class="two">
|
|
<el-col :span="24" class="two">
|
|
- <div class="two_1">
|
|
|
|
- <div class="title">新闻资讯</div>
|
|
|
|
|
|
+ <div class="two_left">
|
|
|
|
+ <div class="left_more left_1" @click="toComon('/nine')">
|
|
|
|
+ <div class="name">成果中心</div>
|
|
|
|
+ <div class="english">ACHIEVEMENT CENTER</div>
|
|
|
|
+ <div class="remark">成果征集入口</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="left_more left_2" @click="toComon('/thr')">
|
|
|
|
+ <div class="name">创新中心</div>
|
|
|
|
+ <div class="english">INNOVATION CENTER</div>
|
|
|
|
+ <div class="remark">需求供给查看入口</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="left_more left_3" @click="toComon('/four')">
|
|
|
|
+ <div class="name">信息检索</div>
|
|
|
|
+ <div class="english">INFORMATION RETRIEVAL</div>
|
|
|
|
+ <div class="remark">信息检索入口</div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- <div class="two_2">
|
|
|
|
- <div class="two_left">
|
|
|
|
- <div class="two_2_1">
|
|
|
|
- <div class="left">政策信息</div>
|
|
|
|
- <div class="right" @click="toMore('0')">更多></div>
|
|
|
|
- </div>
|
|
|
|
- <div class="two_2_2">
|
|
|
|
- <vue3-seamless-scroll :list="news1List" :hover="true" :step="0.5" :wheel="true" :isWatch="true">
|
|
|
|
- <el-col :span="24" class="list" v-for="(item, index) in news1List" :key="index" @click="toView(item, '0')">
|
|
|
|
- <el-col :span="19" class="left">
|
|
|
|
- <el-image class="image" :src="liIcon" fit="fill" />
|
|
|
|
- <div class="content textOne">{{ item.title || '暂无标题' }}</div>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="5" class="right">
|
|
|
|
- <el-image class="image" :src="time" fit="fill" />
|
|
|
|
- <div class="time">{{ moment(item.time).format('YYYY-MM-DD') }}</div>
|
|
|
|
- </el-col>
|
|
|
|
- </el-col>
|
|
|
|
- </vue3-seamless-scroll>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="two_center">
|
|
|
|
+ <div class="center_1">
|
|
|
|
+ <div class="center_left">新闻资讯</div>
|
|
|
|
+ <div class="center_right" @click="toMore">更多>></div>
|
|
</div>
|
|
</div>
|
|
- <div class="two_left">
|
|
|
|
- <div class="two_2_1">
|
|
|
|
- <div class="left">新闻通知</div>
|
|
|
|
- <div class="right" @click="toMore('1')">更多></div>
|
|
|
|
- </div>
|
|
|
|
- <div class="two_2_2">
|
|
|
|
- <vue3-seamless-scroll :list="news2List" :hover="true" :step="0.5" :wheel="true" :isWatch="true">
|
|
|
|
- <el-col :span="24" class="list" v-for="(item, index) in news2List" :key="index" @click="toView(item, '0')">
|
|
|
|
- <el-col :span="19" class="left">
|
|
|
|
- <el-image class="image" :src="liIcon" fit="fill" />
|
|
|
|
- <div class="content textOne">{{ item.title || '暂无标题' }}</div>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="5" class="right">
|
|
|
|
- <el-image class="image" :src="time" fit="fill" />
|
|
|
|
- <div class="time">{{ moment(item.time).format('YYYY-MM-DD') }}</div>
|
|
|
|
- </el-col>
|
|
|
|
- </el-col>
|
|
|
|
- </vue3-seamless-scroll>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="center_2">
|
|
|
|
+ <vue3-seamless-scroll :list="newsList" :hover="true" :step="0.5" :wheel="true" :isWatch="true">
|
|
|
|
+ <div class="center_list" v-for="(item, index) in newsList" :key="index">
|
|
|
|
+ <div class="center_left textOne">{{ item.title || '暂无' }}</div>
|
|
|
|
+ <div class="center_right">{{ moment(item.time).format('YYYY-MM-DD') || '暂无' }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ </vue3-seamless-scroll>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="two_2">
|
|
|
|
- <div class="two_left">
|
|
|
|
- <div class="two_2_1">
|
|
|
|
- <div class="left">工作动态</div>
|
|
|
|
- <div class="right" @click="toMore('2')">更多></div>
|
|
|
|
- </div>
|
|
|
|
- <div class="two_2_2">
|
|
|
|
- <vue3-seamless-scroll :list="news3List" :hover="true" :step="0.5" :wheel="true" :isWatch="true">
|
|
|
|
- <el-col :span="24" class="list" v-for="(item, index) in news3List" :key="index" @click="toView(item, '0')">
|
|
|
|
- <el-col :span="19" class="left">
|
|
|
|
- <el-image class="image" :src="liIcon" fit="fill" />
|
|
|
|
- <div class="content textOne">{{ item.title || '暂无标题' }}</div>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="5" class="right">
|
|
|
|
- <el-image class="image" :src="time" fit="fill" />
|
|
|
|
- <div class="time">{{ moment(item.time).format('YYYY-MM-DD') }}</div>
|
|
|
|
- </el-col>
|
|
|
|
- </el-col>
|
|
|
|
- </vue3-seamless-scroll>
|
|
|
|
|
|
+ <div class="two_right">
|
|
|
|
+ <div class="right_more right_1" @click="toComon('/expert')">
|
|
|
|
+ <div class="right_left">
|
|
|
|
+ <el-image class="image" :src="home_1" fit="fill" />
|
|
|
|
+ <div class="right_name">
|
|
|
|
+ <div class="name">专家库</div>
|
|
|
|
+ <div class="english">EXPERT LIBRARY</div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="right_right">点击进入>></div>
|
|
</div>
|
|
</div>
|
|
- <div class="two_left">
|
|
|
|
- <div class="two_2_1">
|
|
|
|
- <div class="left">成果展示</div>
|
|
|
|
- <div class="right" @click="toMore('-1')">更多></div>
|
|
|
|
|
|
+ <div class="right_more right_2" @click="toComon('/company')">
|
|
|
|
+ <div class="right_left">
|
|
|
|
+ <el-image class="image" :src="home_2" fit="fill" />
|
|
|
|
+ <div class="right_name">
|
|
|
|
+ <div class="name">企业库</div>
|
|
|
|
+ <div class="english">ENTERPRISE LIBRARY</div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- <div class="two_2_2">
|
|
|
|
- <vue3-seamless-scroll :list="achievementList" :hover="true" :step="0.5" :wheel="true" :isWatch="true">
|
|
|
|
- <el-col :span="24" class="list" v-for="(item, index) in achievementList" :key="index" @click="toView(item, '1')">
|
|
|
|
- <el-col :span="19" class="left">
|
|
|
|
- <el-image class="image" :src="liIcon" fit="fill" />
|
|
|
|
- <div class="content textOne">{{ item.name || '暂无标题' }}-{{ item.field || '暂无' }}-{{ item.source || '暂无' }}</div>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="5" class="right">
|
|
|
|
- <el-image class="image" :src="time" fit="fill" />
|
|
|
|
- <div class="time">{{ moment(item.time).format('YYYY-MM-DD') }}</div>
|
|
|
|
- </el-col>
|
|
|
|
- </el-col>
|
|
|
|
- </vue3-seamless-scroll>
|
|
|
|
|
|
+ <div class="right_right">点击进入>></div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="right_more right_3" @click="toComon('/project')">
|
|
|
|
+ <div class="right_left">
|
|
|
|
+ <el-image class="image" :src="home_3" fit="fill" />
|
|
|
|
+ <div class="right_name">
|
|
|
|
+ <div class="name">项目库</div>
|
|
|
|
+ <div class="english">PROJECT LIBRARY</div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="right_right">点击进入>></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -169,22 +138,18 @@
|
|
<script setup>
|
|
<script setup>
|
|
import moment from 'moment'
|
|
import moment from 'moment'
|
|
// 图片引入
|
|
// 图片引入
|
|
-import time from '/images/time.png'
|
|
|
|
|
|
+import home_1 from '/images/home_1.png'
|
|
|
|
+import home_2 from '/images/home_2.png'
|
|
|
|
+import home_3 from '/images/home_3.png'
|
|
import time1 from '/images/time-dary.png'
|
|
import time1 from '/images/time-dary.png'
|
|
-import liIcon from '/images/li-icon.png'
|
|
|
|
import match_3 from '/images/match_3.jpg'
|
|
import match_3 from '/images/match_3.jpg'
|
|
-import { UserStore } from '@/store/user'
|
|
|
|
-const userStore = UserStore()
|
|
|
|
-const user = computed(() => userStore.user)
|
|
|
|
const $checkRes = inject('$checkRes')
|
|
const $checkRes = inject('$checkRes')
|
|
// 接口
|
|
// 接口
|
|
import { NewsStore } from '@/store/api/platform/news'
|
|
import { NewsStore } from '@/store/api/platform/news'
|
|
import { MatchStore } from '@/store/api/platform/match'
|
|
import { MatchStore } from '@/store/api/platform/match'
|
|
-import { AchievementStore } from '@/store/api/platform/achievement'
|
|
|
|
import { DesignStore } from '@/store/api/platform/design'
|
|
import { DesignStore } from '@/store/api/platform/design'
|
|
const newsStore = NewsStore()
|
|
const newsStore = NewsStore()
|
|
const matchStore = MatchStore()
|
|
const matchStore = MatchStore()
|
|
-const achievementStore = AchievementStore()
|
|
|
|
const designStore = DesignStore()
|
|
const designStore = DesignStore()
|
|
// 加载中
|
|
// 加载中
|
|
const loading = ref(false)
|
|
const loading = ref(false)
|
|
@@ -192,12 +157,8 @@ const loading = ref(false)
|
|
const router = useRouter()
|
|
const router = useRouter()
|
|
const carouselList = ref([])
|
|
const carouselList = ref([])
|
|
const friendList = ref([])
|
|
const friendList = ref([])
|
|
-// 成果
|
|
|
|
-const achievementList = ref([])
|
|
|
|
// 新闻
|
|
// 新闻
|
|
-const news1List = ref([])
|
|
|
|
-const news2List = ref([])
|
|
|
|
-const news3List = ref([])
|
|
|
|
|
|
+const newsList = ref([])
|
|
// 比赛
|
|
// 比赛
|
|
const matchList = ref([])
|
|
const matchList = ref([])
|
|
const matchInfo = ref({})
|
|
const matchInfo = ref({})
|
|
@@ -226,23 +187,14 @@ onMounted(async () => {
|
|
const searchOther = async () => {
|
|
const searchOther = async () => {
|
|
const info = {
|
|
const info = {
|
|
skip: 0,
|
|
skip: 0,
|
|
- limit: 6,
|
|
|
|
|
|
+ limit: 10,
|
|
is_use: '0',
|
|
is_use: '0',
|
|
status: '1'
|
|
status: '1'
|
|
}
|
|
}
|
|
let res
|
|
let res
|
|
// 政策新闻
|
|
// 政策新闻
|
|
- res = await newsStore.query({ ...info, type: '0' })
|
|
|
|
- if (res.errcode == '0') news1List.value = res.data
|
|
|
|
- // 新闻通知
|
|
|
|
- res = await newsStore.query({ ...info, type: '1' })
|
|
|
|
- if (res.errcode == '0') news2List.value = res.data
|
|
|
|
- // 行业动态
|
|
|
|
- res = await newsStore.query({ ...info, type: '2' })
|
|
|
|
- if (res.errcode == '0') news3List.value = res.data
|
|
|
|
- // 成果
|
|
|
|
- res = await achievementStore.query(info)
|
|
|
|
- if (res.errcode == '0') achievementList.value = res.data
|
|
|
|
|
|
+ res = await newsStore.query({ ...info })
|
|
|
|
+ if (res.errcode == '0') newsList.value = res.data
|
|
// 基础设置
|
|
// 基础设置
|
|
res = await designStore.query({})
|
|
res = await designStore.query({})
|
|
if ($checkRes(res)) {
|
|
if ($checkRes(res)) {
|
|
@@ -271,7 +223,6 @@ const searchMatch = async () => {
|
|
matchInfo.value = res.data[0]
|
|
matchInfo.value = res.data[0]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
// 查看详情
|
|
// 查看详情
|
|
const toView = (item, type) => {
|
|
const toView = (item, type) => {
|
|
if (type == '0') router.push({ path: '/news/detail', query: { id: item.id || item._id } })
|
|
if (type == '0') router.push({ path: '/news/detail', query: { id: item.id || item._id } })
|
|
@@ -279,9 +230,12 @@ const toView = (item, type) => {
|
|
else router.push({ path: '/match/detail', query: { id: item.id || item._id } })
|
|
else router.push({ path: '/match/detail', query: { id: item.id || item._id } })
|
|
}
|
|
}
|
|
// 查看更多
|
|
// 查看更多
|
|
-const toMore = (type) => {
|
|
|
|
- if (type == '-1') router.push({ path: '/nine' })
|
|
|
|
- else router.push({ path: '/news', query: { type } })
|
|
|
|
|
|
+const toMore = () => {
|
|
|
|
+ router.push({ path: '/news' })
|
|
|
|
+}
|
|
|
|
+// 查看
|
|
|
|
+const toComon = (route) => {
|
|
|
|
+ router.push({ path: route })
|
|
}
|
|
}
|
|
const removeHtmlStyle = (html) => {
|
|
const removeHtmlStyle = (html) => {
|
|
let relStyle = /style\s*?=\s*?([‘"])[\s\S]*?\1/g //去除样式
|
|
let relStyle = /style\s*?=\s*?([‘"])[\s\S]*?\1/g //去除样式
|
|
@@ -313,98 +267,155 @@ const getUrl = (item, type) => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.two {
|
|
.two {
|
|
- width: 1600px;
|
|
|
|
- margin: 0 auto;
|
|
|
|
- .two_1 {
|
|
|
|
- display: flex;
|
|
|
|
- justify-content: center;
|
|
|
|
- margin: 20px 0;
|
|
|
|
- .title {
|
|
|
|
- background-image: url(/images/sg-title.png);
|
|
|
|
- background-position: center center;
|
|
|
|
- background-repeat: no-repeat;
|
|
|
|
- background-size: cover;
|
|
|
|
- text-align: center;
|
|
|
|
- font-size: $global-font-size-36;
|
|
|
|
- width: 500px;
|
|
|
|
- line-height: 46px;
|
|
|
|
- height: 46px;
|
|
|
|
|
|
+ width: 1300px;
|
|
|
|
+ margin: 20px auto;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ .two_left {
|
|
|
|
+ width: 327px;
|
|
|
|
+
|
|
|
|
+ .left_more {
|
|
|
|
+ width: 327px;
|
|
|
|
+ padding-left: 45px;
|
|
|
|
+ height: 127px;
|
|
|
|
+ border-radius: 2px;
|
|
|
|
+ color: #fff;
|
|
|
|
+ margin-bottom: 9px;
|
|
|
|
+ position: relative;
|
|
|
|
+ cursor: default;
|
|
|
|
+
|
|
|
|
+ .name {
|
|
|
|
+ font-size: $global-font-size-26;
|
|
|
|
+ font-weight: 700;
|
|
|
|
+ line-height: 30px;
|
|
|
|
+ padding-top: 20px;
|
|
|
|
+ }
|
|
|
|
+ .english {
|
|
|
|
+ font-size: $global-font-size-14;
|
|
|
|
+ padding: 7px 0;
|
|
|
|
+ }
|
|
|
|
+ .remark {
|
|
|
|
+ font-size: $global-font-size-14;
|
|
|
|
+ padding: 0 10px;
|
|
|
|
+ height: 30px;
|
|
|
|
+ display: block;
|
|
|
|
+ border: 1px solid hsla(0, 0%, 100%, 0.5);
|
|
|
|
+ text-align: center;
|
|
|
|
+ line-height: 30px;
|
|
|
|
+ float: left;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .left_1 {
|
|
|
|
+ background: linear-gradient(90deg, #6a8df3, #119eee);
|
|
|
|
+ }
|
|
|
|
+ .left_2 {
|
|
|
|
+ background: linear-gradient(90deg, #ef7d2b, #fcaa64);
|
|
|
|
+ }
|
|
|
|
+ .left_3 {
|
|
|
|
+ background: linear-gradient(90deg, #22b9c7, #32cfc6);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .two_2 {
|
|
|
|
- display: flex;
|
|
|
|
- justify-content: space-between;
|
|
|
|
- width: 100%;
|
|
|
|
- .two_left {
|
|
|
|
- width: 49%;
|
|
|
|
- margin: 10px;
|
|
|
|
- /* 加载背景图 */
|
|
|
|
- background-image: url(/images/newsBg.png);
|
|
|
|
- background-size: 100% 100%; /* 宽度和高度都会被拉伸或压缩以适应容器 */
|
|
|
|
- background-repeat: no-repeat; /* 防止背景图片重复 */
|
|
|
|
- background-position: center; /* 背景图片居中显示 */
|
|
|
|
- height: 380px;
|
|
|
|
- .two_2_1 {
|
|
|
|
- display: flex;
|
|
|
|
- justify-content: space-between;
|
|
|
|
- padding: 25px 35px 10px 35px;
|
|
|
|
|
|
+ .two_center {
|
|
|
|
+ margin: 0 10px;
|
|
|
|
+ width: 635px;
|
|
|
|
+
|
|
|
|
+ .center_1 {
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ height: 49px;
|
|
|
|
+ background: #d3e0fe;
|
|
|
|
+ font-size: 20px;
|
|
|
|
+ line-height: 49px;
|
|
|
|
+ padding: 0 10px 0 20px;
|
|
|
|
+ .center_right {
|
|
|
|
+ color: #ababab;
|
|
|
|
+ font-size: $global-font-size-14;
|
|
cursor: default;
|
|
cursor: default;
|
|
- color: $global-color-fff;
|
|
|
|
- .left {
|
|
|
|
- font-size: $global-font-size-26;
|
|
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .center_2 {
|
|
|
|
+ background: #f1f7ff;
|
|
|
|
+ height: 350px;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ .center_list {
|
|
|
|
+ width: 100%;
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ height: 47px;
|
|
|
|
+ border-bottom: 1px dashed #e5e5e5;
|
|
|
|
+ line-height: 47px;
|
|
|
|
+ padding-left: 20px;
|
|
|
|
+ .center_left {
|
|
|
|
+ width: 84%;
|
|
|
|
+ font-size: $global-font-size-16;
|
|
}
|
|
}
|
|
- .right {
|
|
|
|
- font-size: $global-font-size-24;
|
|
|
|
|
|
+ .center_right {
|
|
|
|
+ color: #999;
|
|
|
|
+ font-size: $global-font-size-14;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .two_2_2 {
|
|
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .two_right {
|
|
|
|
+ width: 307px;
|
|
|
|
+ .right_more {
|
|
|
|
+ width: 307px;
|
|
|
|
+ height: 124px;
|
|
|
|
+ margin-bottom: 13px;
|
|
|
|
+ border-radius: 8px;
|
|
|
|
+ cursor: default;
|
|
|
|
+ .right_left {
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
- flex-wrap: wrap;
|
|
|
|
- padding: 10px;
|
|
|
|
- margin: 10px 30px 0 30px;
|
|
|
|
- background-color: $global-color-fff;
|
|
|
|
- border-radius: 20px;
|
|
|
|
- max-height: 275px;
|
|
|
|
- overflow: hidden;
|
|
|
|
- div {
|
|
|
|
- width: 100%;
|
|
|
|
|
|
+ padding-top: 25px;
|
|
|
|
+ .image {
|
|
|
|
+ padding: 0 10px 0 15px;
|
|
}
|
|
}
|
|
- .list {
|
|
|
|
- width: 100%;
|
|
|
|
- display: flex;
|
|
|
|
- padding: 10px 0;
|
|
|
|
- font-size: $global-font-size-20;
|
|
|
|
- .left {
|
|
|
|
- display: flex;
|
|
|
|
- align-items: center;
|
|
|
|
- .image {
|
|
|
|
- width: 30px;
|
|
|
|
- height: 16px;
|
|
|
|
- }
|
|
|
|
- .content {
|
|
|
|
- margin: 0 5px;
|
|
|
|
- max-width: 510px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- .right {
|
|
|
|
- display: flex;
|
|
|
|
- align-items: center;
|
|
|
|
- .image {
|
|
|
|
- width: 22px;
|
|
|
|
- height: 20px;
|
|
|
|
- }
|
|
|
|
- .time {
|
|
|
|
- margin: 0 0 0 5px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ .name {
|
|
|
|
+ font-size: $global-font-size-28;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ line-height: 30px;
|
|
|
|
+ margin: 0 0 8px 0;
|
|
|
|
+ }
|
|
|
|
+ .english {
|
|
|
|
+ font-size: $global-font-size-14;
|
|
|
|
+ line-height: 14px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ .right_right {
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
+ padding-right: 16px;
|
|
|
|
+ padding-top: 5px;
|
|
|
|
+ font-size: $global-font-size-14;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .right_1 {
|
|
|
|
+ background: linear-gradient(90deg, #d1dcff, #d7e7fb);
|
|
|
|
+ color: #2073c7;
|
|
|
|
+ .right_right {
|
|
|
|
+ color: #89b9ee;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .right_2 {
|
|
|
|
+ background: linear-gradient(90deg, #f9e6d7, #fcf6f2);
|
|
|
|
+ color: #e48a27;
|
|
|
|
+ .right_right {
|
|
|
|
+ color: #f5c494;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .right_3 {
|
|
|
|
+ background: linear-gradient(90deg, #b4e7d0, #cdf2eb);
|
|
|
|
+ color: #11af84;
|
|
|
|
+ margin-bottom: 0;
|
|
|
|
+ .right_right {
|
|
|
|
+ color: #62c5aa;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.thr {
|
|
.thr {
|
|
- width: 1600px;
|
|
|
|
|
|
+ width: 1300px;
|
|
margin: 20px auto;
|
|
margin: 20px auto;
|
|
.thr_1 {
|
|
.thr_1 {
|
|
display: flex;
|
|
display: flex;
|
|
@@ -440,7 +451,7 @@ const getUrl = (item, type) => {
|
|
font-size: $global-font-size-20;
|
|
font-size: $global-font-size-20;
|
|
}
|
|
}
|
|
.brief {
|
|
.brief {
|
|
- min-height: 60px;
|
|
|
|
|
|
+ min-height: 115px;
|
|
margin-bottom: 20px !important;
|
|
margin-bottom: 20px !important;
|
|
font-size: $global-font-size-16;
|
|
font-size: $global-font-size-16;
|
|
color: #717794;
|
|
color: #717794;
|
|
@@ -484,7 +495,7 @@ const getUrl = (item, type) => {
|
|
flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
align-items: center;
|
|
.list {
|
|
.list {
|
|
- width: 33%;
|
|
|
|
|
|
+ width: 50%;
|
|
padding: 10px;
|
|
padding: 10px;
|
|
transition: box-shadow 0.3s ease; /* 添加过渡效果,使阴影的出现更平滑 */
|
|
transition: box-shadow 0.3s ease; /* 添加过渡效果,使阴影的出现更平滑 */
|
|
.image {
|
|
.image {
|
|
@@ -529,7 +540,7 @@ const getUrl = (item, type) => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.four {
|
|
.four {
|
|
- width: 1600px;
|
|
|
|
|
|
+ width: 1300px;
|
|
margin: 20px auto;
|
|
margin: 20px auto;
|
|
.four_1 {
|
|
.four_1 {
|
|
display: flex;
|
|
display: flex;
|
|
@@ -563,7 +574,7 @@ const getUrl = (item, type) => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.five {
|
|
.five {
|
|
- width: 1600px;
|
|
|
|
|
|
+ width: 1300px;
|
|
margin: 20px auto;
|
|
margin: 20px auto;
|
|
.five_1 {
|
|
.five_1 {
|
|
display: flex;
|
|
display: flex;
|
|
@@ -591,8 +602,8 @@ const getUrl = (item, type) => {
|
|
background-size: cover;
|
|
background-size: cover;
|
|
text-align: center;
|
|
text-align: center;
|
|
font-size: $global-font-size-36;
|
|
font-size: $global-font-size-36;
|
|
- line-height: 40px;
|
|
|
|
- height: 40px;
|
|
|
|
|
|
+ line-height: 33px;
|
|
|
|
+ height: 33px;
|
|
margin: 20px 0;
|
|
margin: 20px 0;
|
|
.title {
|
|
.title {
|
|
font-size: $global-font-size-20;
|
|
font-size: $global-font-size-20;
|
|
@@ -600,26 +611,6 @@ const getUrl = (item, type) => {
|
|
text-align: center;
|
|
text-align: center;
|
|
color: #252f49;
|
|
color: #252f49;
|
|
}
|
|
}
|
|
- .title::before {
|
|
|
|
- content: '';
|
|
|
|
- position: absolute;
|
|
|
|
- transform: translateY(-50%);
|
|
|
|
- top: 12px;
|
|
|
|
- margin-left: -100px;
|
|
|
|
- width: 80px;
|
|
|
|
- height: 1px;
|
|
|
|
- border-bottom: 1px #252f49 solid;
|
|
|
|
- }
|
|
|
|
- .title::after {
|
|
|
|
- content: '';
|
|
|
|
- position: absolute;
|
|
|
|
- transform: translateY(-50%);
|
|
|
|
- top: 12px;
|
|
|
|
- margin-left: 30px;
|
|
|
|
- width: 80px;
|
|
|
|
- height: 1px;
|
|
|
|
- border-bottom: 1px #252f49 solid;
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
|
|
|
|
.list_2 {
|
|
.list_2 {
|