123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996 |
- <template>
- <div class="w_1300" v-loading="loadingOne">
- <el-col :span="24" class="one" v-loading="loadingTwo">
- <el-col :span="24" class="one_1">
- <el-col :span="12" class="left">汇聚各种行业政策法规</el-col>
- <el-col :span="12" class="right" @click="toMore('0')">查看更多新闻</el-col>
- </el-col>
- <el-col :span="24" class="one_5">
- <el-col :span="3" class="left">
- <el-image class="image" :src="news" fit="fill" />
- </el-col>
- <el-col :span="21" class="right">
- <el-col :span="12" class="list" v-for="(item, index) in newsList" :key="index" @click="toView(item, '3')">
- <el-col :span="4" class="left">
- <div class="year" v-if="item.time">{{ moment(item.time).format('YYYY') }}</div>
- <div class="date" v-if="item.time">{{ moment(item.time).format('MM-DD') }}</div>
- </el-col>
- <el-col :span="20" class="right">
- <el-col :span="24" class="name textOne">
- <el-tooltip effect="dark" :content="item.title" placement="top">
- {{ item.title || '暂无标题' }}
- </el-tooltip>
- </el-col>
- <el-col :span="24" class="content">
- <div v-html="removeHtmlStyle(item.content)"></div>
- </el-col>
- </el-col>
- </el-col>
- </el-col>
- </el-col>
- </el-col>
- <el-col :span="24" class="one" v-loading="loadingThr">
- <el-col :span="24" class="one_1">
- <el-col :span="12" class="left">汇聚科技创新的创新赛道</el-col>
- <el-col :span="12" class="right" @click="toMore('1')">查看全部项目</el-col>
- </el-col>
- <el-col :span="24" class="one_2">
- <el-col :span="4" class="left">
- <el-col :span="24" class="list" v-for="(item, index) in typeList" :key="index" @mouseover="mouseOver(item)" :class="[active == item.type ? 'active' : '']">
- <el-col :span="6" class="image">
- <el-image v-show="active == item.type" class="image" :src="item.icon" fit="fill" />
- <el-image v-show="active != item.type" class="image" :src="item.url" fit="fill" />
- </el-col>
- <el-col :span="18" class="title textOne">{{ item.title }}</el-col>
- </el-col>
- </el-col>
- <el-col :span="20" class="right">
- <el-col :span="7" class="list" v-for="(item, index) in list" :key="index" @click="toView(item, '0')">
- <el-col :span="24" class="name textOne">{{ item.name || '暂无项目名称' }}</el-col>
- <el-col :span="24" class="brief textMore"> 项目介绍:{{ item.brief || '暂无项目介绍' }} </el-col>
- <el-col :span="24" class="info">
- <div>项目进展:{{ item.progress || '暂无' }}</div>
- <div>项目来源:{{ item.source || '暂无' }}</div>
- </el-col>
- <span class="key">{{ item.industry }}</span>
- </el-col>
- </el-col>
- </el-col>
- </el-col>
- <el-col :span="24" class="one" v-loading="loadingFour">
- <el-col :span="24" class="one_1">
- <el-col :span="12" class="left">汇聚各种行业的专家</el-col>
- <el-col :span="12" class="right" @click="toMore('2')">查看更多专家</el-col>
- </el-col>
- <el-col :span="24" class="one_3">
- <el-col :span="24" class="table_1">
- <el-col :span="3" class="title">姓名</el-col>
- <el-col :span="3" class="title">学历/职称</el-col>
- <el-col :span="4" class="title">工作类型</el-col>
- <el-col :span="5" class="title">工作单位</el-col>
- <el-col :span="6" class="title">所属产业</el-col>
- <el-col :span="3" class="title">操作</el-col>
- </el-col>
- <el-col :span="24" class="table_2">
- <vue3-seamless-scroll :list="exportList" :hover="true" :step="0.5" :wheel="true" :isWatch="true">
- <el-col :span="24" class="list" v-for="(item, index) in exportList" :key="index">
- <el-col :span="3" class="content textOne">
- <el-tooltip effect="dark" :content="item.name" placement="top">
- {{ item.name || '暂无名称' }}
- </el-tooltip>
- </el-col>
- <el-col :span="3" class="content textOne">
- {{ item.title || '暂无学历/职称' }}
- </el-col>
- <el-col :span="4" class="content textOne">
- {{ item.work_type || '暂无' }}
- </el-col>
- <el-col :span="5" class="content textOne">
- {{ item.work || '暂无工作单位' }}
- </el-col>
- <el-col :span="6" class="content textOne">
- {{ item.industry || '暂无研究方向' }}
- </el-col>
- <el-col :span="3" class="content textOne">
- <el-button @click.stop="toView(item, '1')" type="primary"> 查看详情 </el-button>
- </el-col>
- </el-col>
- </vue3-seamless-scroll>
- </el-col>
- </el-col>
- </el-col>
- <el-col :span="24" class="one" v-loading="loadingFive">
- <el-col :span="24" class="one_1">
- <el-col :span="12" class="left">汇聚各类优质的企业</el-col>
- <el-col :span="12" class="right" @click="toMore('3')">查看更多企业</el-col>
- </el-col>
- <el-col :span="24" class="one_4">
- <el-col :span="24" class="list" v-for="(item, index) in companyList" :key="index" @click="toView(item, '2')">
- <el-col :span="4" class="left">
- <el-image class="image" :src="getUrl(item.logo)" fit="fill">
- <template v-slot:error>
- <el-image class="image" :src="company" fit="fill" />
- </template>
- </el-image>
- </el-col>
- <el-col :span="20" class="right">
- <el-col :span="24" class="right_1">
- <el-tooltip effect="dark" :content="item.name" placement="top">
- <span class="name">{{ item.name || '暂无名称' }}</span>
- </el-tooltip>
- <el-tag :type="[item.companyStatus == '0' ? 'success' : 'info']">{{ getDict(item.companyStatus, 'status') }}</el-tag>
- </el-col>
- <el-col :span="24" class="right_2">
- <el-tag type="primary" v-if="item.pattern">{{ getDict(item.pattern, 'pattern') }}</el-tag>
- <el-tag type="primary" v-if="item.scale">{{ getDict(item.scale, 'scale') }}</el-tag>
- </el-col>
- <el-col :span="24" class="right_3">
- <el-col :span="6" class="info">
- 联系人:<span>{{ item.representative || '暂无' }}</span>
- </el-col>
- <el-col :span="6" class="info"> 成立日期: {{ moment(item.create_time).format('YYYY-MM-DD') || '暂无' }} </el-col>
- <el-col :span="8" class="info">员工人数:{{ item.person || '暂无' }}人 </el-col>
- </el-col>
- <el-col :span="24" class="right_3">
- <el-col :span="6" class="info">电话:{{ item.phone || '暂无' }}</el-col>
- <el-col :span="8" class="info">邮箱:{{ item.email || '暂无' }}</el-col>
- </el-col>
- <el-col :span="24" class="right_3"> 地址:{{ getArea(item.area) || '暂无' }} </el-col>
- </el-col>
- </el-col>
- </el-col>
- </el-col>
- <el-col :span="24" class="one" v-loading="loadingSix">
- <el-col :span="24" class="one_1">
- <el-col :span="12" class="left">汇聚各类优质的成果</el-col>
- <el-col :span="12" class="right" @click="toMore('4')">查看更多成果</el-col>
- </el-col>
- <el-col :span="24" class="one_6">
- <el-col :span="10" class="left">
- <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, '4')">
- <el-col :span="1">
- <div class="i"></div>
- </el-col>
- <el-col :span="16" class="content textOne">
- {{ item.name || '暂无名称' }}
- </el-col>
- <el-col :span="7" class="other textOne">
- {{ item.field || '暂无技术领域' }}
- </el-col>
- </el-col>
- </vue3-seamless-scroll>
- </el-col>
- <el-col :span="14" class="right">
- <el-col :span="24" class="right_1"> <BuildTwoTone /> <span>热门技术领域</span> </el-col>
- <div class="right_2">
- <div class="list" v-for="(item, index) in fieldList" :key="index" @click="toAchive(item)">
- <RocketTwoTone />
- <span class="textOne">{{ item.label }}</span>
- </div>
- </div>
- </el-col>
- </el-col>
- </el-col>
- </div>
- </template>
- <script setup>
- import company from '/images/companyLogo.jpg'
- import moment from 'moment'
- const $checkRes = inject('$checkRes')
- import { get } from 'lodash-es'
- // 接口
- import { DictDataStore } from '@/store/api/system/dictData'
- import { ProjectStore } from '@/store/api/platform/project'
- import { AchievementStore } from '@/store/api/platform/achievement'
- import { ExpertStore } from '@/store/api/user/expert'
- import { NewsStore } from '@/store/api/platform/news'
- import { CompanyStore } from '@/store/api/user/company'
- const companyStore = CompanyStore()
- const newsStore = NewsStore()
- const store = ProjectStore()
- const dictDataStore = DictDataStore()
- const achievementStore = AchievementStore()
- const expertStore = ExpertStore()
- // 路由
- const router = useRouter()
- // 图片引入
- import science_1 from '/images/science_1.png'
- import science_2 from '/images/science_2.png'
- import science_3 from '/images/science_3.png'
- import science_4 from '/images/science_4.png'
- import science_5 from '/images/science_5.png'
- import science_6 from '/images/science_6.png'
- import science_7 from '/images/science_7.png'
- import science_8 from '/images/science_8.png'
- import science_9 from '/images/science_9.png'
- import science1 from '/images/science1.png'
- import science2 from '/images/science2.png'
- import science3 from '/images/science3.png'
- import science4 from '/images/science4.png'
- import science5 from '/images/science5.png'
- import science6 from '/images/science6.png'
- import science7 from '/images/science7.png'
- import science8 from '/images/science8.png'
- import science9 from '/images/science9.png'
- import news from '/images/news.jpg'
- // 加载中
- const loadingOne = ref(false)
- const loadingTwo = ref(false)
- const loadingThr = ref(false)
- const loadingFour = ref(false)
- const loadingFive = ref(false)
- const loadingSix = ref(false)
- // 搜索
- const active = ref('0')
- const typeList = ref([
- { url: science_1, icon: science1, title: '汽车电子及新型汽车零部件', type: '0' },
- { url: science_2, icon: science2, title: '光电子及智能传感器', type: '1' },
- { url: science_3, icon: science3, title: '精密仪器及先进装备', type: '2' },
- { url: science_4, icon: science4, title: '生物医药及先进医疗器械', type: '3' },
- { url: science_5, icon: science5, title: '车规级芯片及功率半导体器件', type: '4' },
- { url: science_6, icon: science6, title: '人工智能及智能机器人', type: '5' },
- { url: science_7, icon: science7, title: '生物基及高性能新材料', type: '6' },
- { url: science_8, icon: science8, title: '新能源及动力电池', type: '7' },
- { url: science_9, icon: science9, title: '碳纤维及复合材料', type: '8' }
- ])
- const list = ref([])
- // 字典表
- const projectList = ref([])
- const maturityList = ref([])
- const industryList = ref([])
- const statusList = ref([])
- const fieldList = ref([])
- const patternList = ref([])
- const scaleList = ref([])
- const educationList = ref([])
- // 成果
- const achievementList = ref([])
- // 专家
- const exportList = ref([])
- // 企业
- const companyList = ref([])
- // 新闻
- const newsList = ref([])
- // 项目
- const list0 = ref([])
- const list1 = ref([])
- const list2 = ref([])
- const list3 = ref([])
- const list4 = ref([])
- const list5 = ref([])
- const list6 = ref([])
- const list7 = ref([])
- const list8 = ref([])
- // 请求
- onMounted(async () => {
- loadingOne.value = true
- await searchOther()
- loadingOne.value = false
- loadingTwo.value = true
- await searchNews()
- loadingTwo.value = false
- loadingThr.value = true
- await search(active.value)
- loadingThr.value = false
- loadingFour.value = true
- await searchExport()
- loadingFour.value = false
- loadingFive.value = true
- await searchCompany()
- loadingFive.value = false
- loadingSix.value = true
- await searchAchieve()
- loadingSix.value = false
- })
- const searchOther = async () => {
- let result
- // // 学历
- // result = await dictDataStore.query({ code: 'education', is_use: '0' })
- // if ($checkRes(result)) educationList.value = result.data
- // // 合作类型
- // result = await dictDataStore.query({ code: 'projectType', is_use: '0' })
- // if ($checkRes(result)) projectList.value = result.data
- // // 成熟度
- // result = await dictDataStore.query({ code: 'projectMaturity', is_use: '0' })
- // if ($checkRes(result)) maturityList.value = result.data
- // // 行业分类
- // result = await dictDataStore.query({ code: 'industry', is_use: '0' })
- // if ($checkRes(result)) industryList.value = result.data
- // 企业状态
- result = await dictDataStore.query({ code: 'companyStatus', is_use: '0' })
- if ($checkRes(result)) statusList.value = result.data
- // // 企业类型
- // result = await dictDataStore.query({ code: 'companyType', is_use: '0' })
- // if ($checkRes(result)) patternList.value = result.data
- // // 企业规模
- // result = await dictDataStore.query({ code: 'companyScale', is_use: '0' })
- // if ($checkRes(result)) scaleList.value = result.data
- // 技术领域
- result = await dictDataStore.query({ code: 'field', is_use: '0' })
- if ($checkRes(result)) fieldList.value = result.data
- }
- const search = async (active) => {
- if (active == '0') {
- if (list0.value.length > 0) list.value = list0.value
- else {
- const info = {
- skip: 0,
- limit: 9
- // is_use: '0',
- // status: '1'
- }
- if (active) info.industry = '汽车电子及新型汽车零部件'
- const res = await store.query(info)
- if (res.errcode == '0') {
- list.value = res.data
- list0.value = res.data
- }
- }
- }
- if (active == '1') {
- if (list1.value.length > 0) list.value = list1.value
- else {
- const info = {
- skip: 0,
- limit: 9
- // is_use: '0',
- // status: '1'
- }
- if (active) info.industry = '光电子及智能传感器'
- const res = await store.query(info)
- if (res.errcode == '0') {
- list.value = res.data
- list1.value = res.data
- }
- }
- }
- if (active == '2') {
- if (list2.value.length > 0) list.value = list2.value
- else {
- const info = {
- skip: 0,
- limit: 9
- // is_use: '0',
- // status: '1'
- }
- if (active) info.industry = '精密仪器及先进装备'
- const res = await store.query(info)
- if (res.errcode == '0') {
- list.value = res.data
- list2.value = res.data
- }
- }
- }
- if (active == '3') {
- if (list3.value.length > 0) list.value = list3.value
- else {
- const info = {
- skip: 0,
- limit: 9
- // is_use: '0',
- // status: '1'
- }
- if (active) info.industry = '生物医药及先进医疗器械'
- const res = await store.query(info)
- if (res.errcode == '0') {
- list.value = res.data
- list3.value = res.data
- }
- }
- }
- if (active == '4') {
- if (list4.value.length > 0) list.value = list4.value
- else {
- const info = {
- skip: 0,
- limit: 9
- // is_use: '0',
- // status: '1'
- }
- if (active) info.industry = '车规级芯片及功率半导体器件'
- const res = await store.query(info)
- if (res.errcode == '0') {
- list.value = res.data
- list4.value = res.data
- }
- }
- }
- if (active == '5') {
- if (list5.value.length > 0) list.value = list5.value
- else {
- const info = {
- skip: 0,
- limit: 9
- // is_use: '0',
- // status: '1'
- }
- if (active) info.industry = '人工智能及智能机器人'
- const res = await store.query(info)
- if (res.errcode == '0') {
- list.value = res.data
- list5.value = res.data
- }
- }
- }
- if (active == '6') {
- if (list6.value.length > 0) list.value = list6.value
- else {
- const info = {
- skip: 0,
- limit: 9
- // is_use: '0',
- // status: '1'
- }
- if (active) info.industry = '生物基及高性能新材料'
- const res = await store.query(info)
- if (res.errcode == '0') {
- list.value = res.data
- list6.value = res.data
- }
- }
- }
- if (active == '7') {
- if (list7.value.length > 0) list.value = list7.value
- else {
- const info = {
- skip: 0,
- limit: 9
- // is_use: '0',
- // status: '1'
- }
- if (active) info.industry = '新能源及动力电池'
- const res = await store.query(info)
- if (res.errcode == '0') {
- list.value = res.data
- list7.value = res.data
- }
- }
- }
- if (active == '8') {
- if (list0.value.length > 0) list.value = list8.value
- else {
- const info = {
- skip: 0,
- limit: 9
- // is_use: '0',
- // status: '1'
- }
- if (active) info.industry = '碳纤维及复合材料'
- const res = await store.query(info)
- if (res.errcode == '0') {
- list.value = res.data
- list8.value = res.data
- }
- }
- }
- }
- const searchNews = async () => {
- const info = {
- skip: 0,
- limit: 6,
- is_use: '0',
- status: '1'
- }
- const res = await newsStore.query(info)
- if (res.errcode == '0') newsList.value = res.data
- }
- const searchExport = async () => {
- const info = {
- skip: 0,
- limit: 10
- }
- const res = await expertStore.query(info)
- if (res.errcode == '0') exportList.value = res.data
- }
- const searchCompany = async () => {
- const info = {
- skip: 0,
- limit: 10,
- status: '0'
- }
- const res = await companyStore.query(info)
- if (res.errcode == '0') companyList.value = res.data
- }
- const searchAchieve = async () => {
- const info = {
- skip: 20,
- limit: 10
- }
- const res = await achievementStore.list(info)
- if (res.errcode == '0') achievementList.value = res.data
- }
- // 字典数据转换
- const getDict = (data, model) => {
- let res
- if (model == 'cooperate') res = projectList.value.find((f) => f.value == data)
- else if (model == 'education') res = educationList.value.find((f) => f.value == data)
- else if (model == 'maturity') res = maturityList.value.find((f) => f.value == data)
- else if (model == 'type') res = industryList.value.find((f) => f.value == data)
- else if (model == 'status') res = statusList.value.find((f) => f.value == data)
- else if (model == 'field') res = fieldList.value.find((f) => f.value == data)
- else if (model == 'pattern') res = patternList.value.find((f) => f.value == data)
- else if (model == 'scale') res = scaleList.value.find((f) => f.value == data)
- return get(res, 'label')
- }
- const getUrl = (item) => {
- if (item && item.length > 0) return `${import.meta.env.VITE_APP_HOST}${item[0].uri}`
- }
- // 地区显示
- const getArea = (data) => {
- if (data) return data.join(',')
- else return '暂无地区'
- }
- // 查看详情
- const toView = (item, type) => {
- if (type == '0') router.push({ path: '/project/detail', query: { id: item.id || item._id } })
- else if (type == '1') router.push({ path: '/expert/detail', query: { id: item.id || item._id } })
- else if (type == '2') router.push({ path: '/company/detail', query: { id: item.id || item._id } })
- else if (type == '3') router.push({ path: '/news/detail', query: { id: item.id || item._id } })
- else if (type == '4') router.push({ path: '/achievement/detail', query: { id: item.id || item._id } })
- }
- // 查看更多
- const toMore = (type) => {
- if (type == '0') router.push({ path: '/news' })
- else if (type == '1') router.push({ path: '/project' })
- else if (type == '2') router.push({ path: '/expert' })
- else if (type == '3') router.push({ path: '/company' })
- else if (type == '4') router.push({ path: '/nine' })
- }
- // 类型
- const mouseOver = async (item) => {
- active.value = item.type
- await search(item.type)
- }
- // 查看成果
- const toAchive = (item) => {
- router.push({ path: '/nine', query: { type: item.value } })
- }
- const removeHtmlStyle = (html) => {
- let relStyle = /style\s*?=\s*?([‘"])[\s\S]*?\1/g //去除样式
- let relTag = /<.+?>/g //去除标签
- let relClass = /class\s*?=\s*?([‘"])[\s\S]*?\1/g // 清除类名
- let newHtml = ''
- if (html) {
- newHtml = html.replace(relStyle, '')
- newHtml = newHtml.replace(relTag, '')
- newHtml = newHtml.replace(relClass, '')
- }
- return newHtml
- }
- </script>
- <style scoped lang="scss">
- .main {
- .home {
- position: relative;
- .image {
- width: 100%;
- height: 200px;
- }
- .input {
- width: 800px;
- position: absolute;
- left: 30%;
- bottom: 40%;
- :deep(.ant-input-affix-wrapper) {
- background-color: transparent;
- border: 3px solid #fff !important;
- }
- :deep(.ant-input) {
- height: 45px;
- line-height: 45px;
- font-family: PingFangSC-Regular;
- font-size: $global-font-size-18;
- padding-right: 24px;
- color: #fff;
- border: none !important;
- outline: none !important;
- box-shadow: 0 0 0 0 !important;
- text-shadow: 0 0 0 0 !important;
- background-color: transparent !important;
- &::placeholder {
- color: #ffffff !important;
- }
- }
- }
- }
- .one {
- padding: 25px 0;
- .one_1 {
- display: flex;
- justify-content: space-between;
- margin: 0 0 10px 0;
- .left {
- font-size: $global-font-size-26;
- font-family:
- PingFangSC-Semibold,
- PingFang SC;
- font-weight: 600;
- color: #111;
- line-height: 33px;
- }
- .right {
- text-align: right;
- font-size: $global-font-size-18;
- font-family:
- PingFangSC-Regular,
- PingFang SC;
- font-weight: 400;
- color: #2280ff;
- line-height: $global-font-size-16;
- display: block;
- margin-top: 13px;
- margin-right: 34px;
- }
- .right:hover {
- cursor: pointer;
- }
- }
- .one_2 {
- display: flex;
- .left {
- padding: 10px;
- .list {
- display: flex;
- padding: 15px;
- border-radius: 8px;
- .image {
- text-align: center;
- width: 20px;
- height: 20px;
- }
- .title {
- font-size: $global-font-size-18;
- font-family:
- PingFangSC-Regular,
- PingFang SC;
- font-weight: 400;
- color: #111;
- line-height: $global-font-size-24;
- }
- }
- .list:hover {
- border-radius: 8px;
- background-color: #2280ff;
- cursor: pointer;
- .title {
- color: #ffffff;
- }
- }
- .active {
- border-radius: 8px;
- background-color: #2280ff;
- .title {
- color: #ffffff;
- }
- }
- }
- .right {
- display: flex;
- justify-content: space-around;
- align-items: flex-start;
- flex-wrap: wrap;
- .list {
- padding: 20px;
- border-radius: 10px;
- margin: 0 0 10px 0;
- .name {
- display: flex;
- align-items: center;
- font-size: $global-font-size-18;
- font-family:
- PingFangSC-Medium,
- PingFang SC;
- font-weight: 500;
- color: #111;
- line-height: $global-font-size-18;
- display: block;
- margin: 5px 0 12px 0;
- }
- .name:hover {
- color: #2374ff;
- cursor: pointer;
- }
- .brief {
- font-size: $global-font-size-18;
- font-family:
- PingFangSC-Regular,
- PingFang SC;
- font-weight: 400;
- color: #333;
- line-height: 24px;
- margin-bottom: 12px;
- cursor: pointer;
- }
- .info {
- display: flex;
- justify-content: space-between;
- font-size: $global-font-size-12;
- font-family:
- PingFangSC-Regular,
- PingFang SC;
- font-weight: 400;
- color: #666;
- line-height: $global-font-size-12;
- margin-bottom: 15px;
- cursor: pointer;
- }
- .key {
- font-size: $global-font-size-14;
- font-family:
- PingFangSC-Regular,
- PingFang SC;
- font-weight: 400;
- color: #999990;
- line-height: $global-font-size-14;
- height: 22px;
- border-radius: 2px;
- border: 1px solid #dbdbdb;
- box-sizing: border-box;
- padding: 0 6px;
- cursor: pointer;
- }
- }
- .list:nth-child(1n) {
- background: linear-gradient(180deg, #d5e5ff, #fff);
- }
- .list:nth-child(2n) {
- background: linear-gradient(180deg, #cbeff8, #fff);
- }
- }
- }
- .one_3 {
- margin: 10px;
- .table_1 {
- display: flex;
- justify-content: center;
- height: 50px;
- background-image: linear-gradient(90deg, #2171f6 0, #619bf5 100%);
- line-height: 50px;
- color: #ffffff;
- font-size: $global-font-size-18;
- .title {
- text-align: center;
- }
- .title:hover {
- cursor: pointer;
- }
- }
- .table_2 {
- max-height: 400px;
- overflow: hidden;
- .list {
- display: flex;
- justify-content: center;
- height: 50px;
- line-height: 50px;
- font-size: $global-font-size-18;
- color: #666;
- background: #fff;
- .content {
- text-align: center;
- padding: 0 10px;
- }
- .content:hover {
- color: #2374ff;
- }
- }
- .list:nth-child(2n) {
- background: #f4f4f4;
- }
- }
- }
- .one_4 {
- .list {
- display: flex;
- align-items: center;
- margin: 5px 0 0 0;
- padding: 5px;
- border-radius: 8px;
- border: 1px solid #f4f4f4;
- .left {
- text-align: center;
- .image {
- width: 150px;
- height: 150px;
- border-radius: 10px;
- }
- }
- .right {
- padding: 5px;
- .right_1 {
- display: flex;
- align-content: center;
- .name {
- margin: 0 10px 0 0;
- word-break: break-all;
- font-size: $global-font-size-20;
- font-family:
- PingFangSC-Regular,
- PingFang SC;
- font-weight: 500;
- line-height: 24px;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- }
- .right_2 {
- grid-gap: 10px;
- gap: 10px;
- display: flex;
- margin: 10px 0;
- }
- .right_3 {
- display: flex;
- margin: 10px 0;
- font-size: $global-font-size-18;
- font-family:
- PingFangSC-Regular,
- PingFang SC;
- color: #666;
- .info {
- span {
- color: #2171f6;
- }
- }
- }
- }
- }
- .list:hover {
- box-shadow:
- 0 4px 5px -3px rgba(0, 0, 0, 0.06),
- 0 4px 12px 4px rgba(0, 0, 0, 0.06);
- }
- }
- .one_5 {
- display: flex;
- .left {
- .image {
- width: 150px;
- height: 320px;
- }
- }
- .right {
- display: flex;
- justify-content: space-between;
- flex-wrap: wrap;
- .list {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 20px;
- transition: all 0.3s;
- .left {
- font-family: PingFangSC-Regular;
- font-size: $global-font-size-14;
- color: #2374ff;
- line-height: $global-font-size-14;
- .year {
- margin-bottom: 2px;
- }
- .date {
- font-size: $global-font-size-24;
- line-height: $global-font-size-24;
- margin-bottom: 10px;
- }
- }
- .right {
- .name {
- font-family: PingFangSC-Medium;
- font-size: $global-font-size-18;
- color: #121834;
- line-height: $global-font-size-18;
- font-weight: 700;
- margin-bottom: 8px;
- }
- .content {
- font-size: $global-font-size-14;
- color: #525a68;
- line-height: 19px;
- font-weight: 400;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- overflow: hidden;
- text-overflow: ellipsis;
- margin-top: 8px;
- }
- }
- }
- .list:hover {
- background: #f0f7ff;
- box-shadow: 0 0 16px rgba(205, 205, 205, 0.6);
- cursor: pointer;
- }
- }
- }
- .one_6 {
- display: flex;
- padding: 20px 22px;
- background-color: #fbfcfd;
- .left {
- max-height: 300px;
- overflow: hidden;
- .list {
- display: flex;
- align-items: center;
- height: 34px;
- font-size: $global-font-size-18;
- .i {
- display: inline-block;
- vertical-align: middle;
- margin-right: 10px;
- width: 6px;
- height: 6px;
- background-color: #8ab7f1;
- border-radius: 50%;
- }
- .other {
- color: #145ca4;
- text-align: center;
- }
- }
- }
- .right {
- font-size: $global-font-size-18;
- .right_1 {
- padding: 10px 60px;
- span {
- margin: 0 5px 0 0;
- }
- }
- .right_2 {
- display: flex;
- justify-content: center;
- flex-wrap: wrap;
- margin: 10px 0 0 0;
- .list {
- display: flex;
- align-items: center;
- margin: 0 0 10px 10px;
- padding-left: 15px;
- width: 200px;
- height: 50px;
- line-height: 53px;
- background-color: #eaeff7;
- span {
- margin: 0 5px 0 0;
- }
- }
- .list:hover {
- cursor: pointer;
- color: #2e70f1;
- box-shadow: 0 0 10px 0 rgba(0, 69, 183, 0.3);
- }
- }
- }
- }
- }
- }
- </style>
|