123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104 |
- <template>
- <div class="home">
- <div class="home_t">
- <n-carousel :autoplay="true" :interval="3000">
- <template v-for="item in carouselList" :key="item">
- <n-carousel-item>
- <div class="img">
- <img class="carousel-img" :src="BaseUrl+'/carousel/'+item.name" />
- </div>
- <div class="desc">
- <div class="desc_title">{{item.title }}</div>
- <div class="desc_tig">{{ item.desc }}</div>
- <a href="/report-industries" class="desc_btn">Know More</a>
- </div>
- </n-carousel-item>
- </template>
- </n-carousel>
- </div>
- <div class="numList">
- <div class="item ">
- <span class="iconfont icon-analytics"></span>
- <div class="item_t">
- <n-number-animation ref="numberAnimationInstRef" :from="0" :to="15" />
- Years+
- </div>
- <div class="item_b">Segmented Industry Research Experience</div>
- </div>
- <div class="item ">
- <img class="item_img" src="/assets/images/img9.png" alt="">
- <div class="item_t">
- <n-number-animation ref="numberAnimationInstRef" :from="0" :to="20000" />
- +
- </div>
- <div class="item_b">Segmented Product Report Covering the Entire Industry</div>
- </div>
- <div class="item ">
- <span class="iconfont icon-yinhuanzhili-qiyezichayinhuan"></span>
- <div class="item_t">
- <n-number-animation ref="numberAnimationInstRef" :from="0" :to="10000" />
- +
- </div>
- <div class="item_b">Segmented Product Reports Covering the Entire Industry</div>
- </div>
- <div class="item ">
- <span class="iconfont icon-dinghuoshujufenxi"></span>
- <div class="item_t">
- <n-number-animation ref="numberAnimationInstRef" :from="0" :to="12000" />
- K+
- </div>
- <div class="item_b">Data Point Information</div>
- </div>
- <div class="item ">
- <span class="iconfont icon-dinghuoshujufenxi"></span>
- <div class="item_t">
- <n-number-animation ref="numberAnimationInstRef" :from="0" :to="12000" />
- K+
- </div>
- <div class="item_b">Data Point Information</div>
- </div>
- </div>
- <div class="marketBox">
- <div class="marketBox_title">Market Express</div>
- <n-carousel :autoplay="false" ref="swiperRef" :interval="3000">
- <!-- carouselList -->
- <template v-for="item in marketInfo1.list" :key="item">
- <n-carousel-item>
- <div class="img">
- <img class="carousel-img" :src="BaseUrl+'/fileupload/'+item.filePath+item.fileName" />
- <div class="desc">
- <div class="desc_title">{{item.title}}</div>
- <a class="desc_btn" :href="'/news/'+item.webTitle+'-'+item.id">View details</a>
- </div>
- </div>
- </n-carousel-item>
- </template>
- </n-carousel>
- <view class="direction carousel_l" @click="swiperPrev()">
- <span class="iconfont icon-dkw_guanbi-"></span>
- </view>
- <view class="direction carousel_r" @click="swiperNext()">
- <span class="iconfont icon-dkw_guanbi-"></span>
- </view>
- </div>
- <div class="popularBox">
- <div class="popularBox_l">
- <div class="popularBox_l_title">
- <div class="popularBox_l_title_l">Popular Research Reports</div>
- <a class="popularBox_l_title_r" href="/report-industries">Know More <span class="iconfont icon-jiantou24"></span> </a>
- </div>
- <div class="popularBox_l_list">
- <!-- reports -->
- <!-- marketInfo2.list -->
- <template v-for="(v,i) in reports" :key="i">
- <div class="popularBox_l_list_item" v-if="i<2">
- <a :href="'/reports/'+v.webTitle+'-'+v.id">
- <img :src="BaseUrl + '/report/' + v.fileName" alt="">
- </a>
- <div class="popularBox_l_list_item_box">
- <a class="popularBox_l_list_item_box_title" :href="'/reports/'+v.webTitle+'-'+v.id">{{v.title}}</a>
- <a class="popularBox_l_list_item_box_btn" :href="'/reports/'+v.webTitle+'-'+v.id">View details</a>
- </div>
- </div>
- </template>
- </div>
- </div>
- <div class="popularBox_r">
- <div class="popularBox_r_title">
- Report Coverage Areas
- </div>
- <div class="popularBox_r_list">
- <div v-for="(v, i) in professionList" :key="i">
- <img :src="v.imgUrl" :alt="v.title" />
- <div v-html="v.title"></div>
- </div>
- </div>
- </div>
- </div>
- <div class="hotBox">
- <div class="hotBox_title">Hot News</div>
- <div class="hotBox_list">
- <template v-for="(v,i) in markets" :key="i">
- <div class="hotBox_list_item" @click.prevent="viewNewsDetail(v)" v-if="i<3">
- <a :href="'news'+v.webTitle + '-' + v.id ">
- <img :src="BaseUrl + '/fileupload/' + v.filePath + v.fileName" alt="">
- </a>
- <div class="hotBox_list_item_box">
- <div class="hotBox_list_item_box_date">{{formatDateEn(v.publishDate)}}</div>
- <a :href="'news'+v.webTitle + '-' + v.id " class="hotBox_list_item_box_text">{{v.title}}</a>
- </div>
- </div>
- </template>
- </div>
- <a class="hotBox_btn" href="/news-categories">Know More</a>
- </div>
- <div class="researchBox">
- <div class="researchBox_title">Research Advantages</div>
- <div class="researchBox_list">
- <template v-for="(v,i) in list2" :key="i">
- <div class="researchBox_list_item ">
- <img class="imga" :src="v.imga" alt="">
- <img class="img" :src="v.img" alt="">
- <div>{{v.name}}</div>
- </div>
- </template>
- </div>
- </div>
- <div class="customersBox">
- <div class="customersBox_title">Customers Served</div>
- <div class="customersBox_subTitle">Trusted by Leading Companies Worldwide.</div>
- <div class="customersBox_carousel">
- <!-- draggable -->
- <n-carousel ref="card5SwiperRef" autoplay draggable :space-between="0" loop :interval="2000">
- <n-carousel-item class="customersBox_carousel_item " v-for="(v,i) in list3" :key="i">
- <img v-for="(k,j) in v" :key="'img'+j" :src="k" alt="">
- </n-carousel-item>
- </n-carousel>
- </div>
- </div>
- <ConnectUs />
- </div>
- </template>
- <script setup>
- import { useI18n } from "#imports"
- import { onMounted, ref } from "vue";
- import { useRouter } from "vue-router";
- import { useUserStore } from "@/store/user";
- import { MdEye, MdReorder, MdSearch } from "@vicons/ionicons4";
- import img01 from '@/assets/images/companyProfile/img01.png'
- import img02 from '@/assets/images/companyProfile/img02.png'
- import img03 from '@/assets/images/companyProfile/img03.png'
- import img04 from '@/assets/images/companyProfile/img04.png'
- import img05 from '@/assets/images/companyProfile/img05.png'
- import img06 from '@/assets/images/companyProfile/img06.png'
- import img07 from '@/assets/images/companyProfile/img07.png'
- import img08 from '@/assets/images/companyProfile/img08.png'
- import img09 from '@/assets/images/companyProfile/img09.png'
- import img10 from '@/assets/images/companyProfile/img10.png'
- import img11 from '@/assets/images/companyProfile/img11.png'
- import img12 from '@/assets/images/companyProfile/img12.png'
- import researchAdvantages1 from '@/assets/images/researchAdvantages/img1.png'
- import researchAdvantages2 from '@/assets/images/researchAdvantages/img2.png'
- import researchAdvantages3 from '@/assets/images/researchAdvantages/img3.png'
- import researchAdvantages4 from '@/assets/images/researchAdvantages/img4.png'
- import researchAdvantages5 from '@/assets/images/researchAdvantages/img5.png'
- import researchAdvantages6 from '@/assets/images/researchAdvantages/img6.png'
- import researchAdvantages1_a from '@/assets/images/researchAdvantages/img1_a.png'
- import researchAdvantages2_a from '@/assets/images/researchAdvantages/img2_a.png'
- import researchAdvantages3_a from '@/assets/images/researchAdvantages/img3_a.png'
- import researchAdvantages4_a from '@/assets/images/researchAdvantages/img4_a.png'
- import researchAdvantages5_a from '@/assets/images/researchAdvantages/img5_a.png'
- import researchAdvantages6_a from '@/assets/images/researchAdvantages/img6_a.png'
- import customersServed1 from '@/assets/images/customersServed/img1.png'
- import customersServed2 from '@/assets/images/customersServed/img2.png'
- import customersServed3 from '@/assets/images/customersServed/img3.png'
- import customersServed4 from '@/assets/images/customersServed/img4.png'
- import customersServed5 from '@/assets/images/customersServed/img5.png'
- import customersServed6 from '@/assets/images/customersServed/img6.png'
- import customersServed7 from '@/assets/images/customersServed/img7.png'
- import customersServed8 from '@/assets/images/customersServed/img8.png'
- import customersServed9 from '@/assets/images/customersServed/img9.png'
- import customersServed10 from '@/assets/images/customersServed/img10.png'
- import customersServed11 from '@/assets/images/customersServed/img11.png'
- import customersServed12 from '@/assets/images/customersServed/img12.png'
- import customersServed13 from '@/assets/images/customersServed/img13.png'
- import customersServed14 from '@/assets/images/customersServed/img14.png'
- import customersServed15 from '@/assets/images/customersServed/img15.png'
- import customersServed16 from '@/assets/images/customersServed/img16.png'
- import customersServed17 from '@/assets/images/customersServed/img17.png'
- import customersServed18 from '@/assets/images/customersServed/img18.png'
- import customersServed19 from '@/assets/images/customersServed/img19.png'
- import customersServed20 from '@/assets/images/customersServed/img20.png'
- import customersServed21 from '@/assets/images/customersServed/img21.png'
- import customersServed22 from '@/assets/images/customersServed/img22.png'
- import customersServed23 from '@/assets/images/customersServed/img23.png'
- import customersServed24 from '@/assets/images/customersServed/img24.png'
- import customersServed25 from '@/assets/images/customersServed/img25.png'
- import customersServed26 from '@/assets/images/customersServed/img26.png'
- import customersServed27 from '@/assets/images/customersServed/img27.png'
- import customersServed28 from '@/assets/images/customersServed/img28.png'
- import customersServed29 from '@/assets/images/customersServed/img29.png'
- import customersServed30 from '@/assets/images/customersServed/img30.png'
- const config = useRuntimeConfig();
- const BaseUrl = ref(config.public.baseUrl);
- const { t } = useI18n();
- const carouselList = ref(); // 轮播图数据
- const reports = ref(); //研究报告
- const markets = ref(); //市场资讯
- const reportDict = ref();
- const keyword = ref(""); //关键字
- const userStore = useUserStore();
- const lang = ref();
- const marketInfo1 = ref();
- const marketInfo2 = ref();
- const professionList = [
- {
- imgUrl: img01,
- title: 'Chemical and Materials',
- },
- {
- imgUrl: img02,
- title: 'Aerospace',
- },
- {
- imgUrl: img03,
- title: 'Agriculture',
- },
- {
- imgUrl: img04,
- title: 'Machinery and Equipment',
- },
- {
- imgUrl: img05,
- title: 'Medical and Bio-Health',
- },
- {
- imgUrl: img06,
- title: 'Electronics and Semiconductors',
- },
- {
- imgUrl: img07,
- title: 'Software and Services',
- },
- {
- imgUrl: img08,
- title: 'Consumer Products <br/> and Retail',
- },
- {
- imgUrl: img09,
- title: 'Automobile and Transportation',
- },
- {
- imgUrl: img10,
- title: 'Food and Beverage',
- },
- {
- imgUrl: img11,
- title: 'Emerging Industries',
- },
- {
- imgUrl: img12,
- title: 'Other Industries',
- },
- ]
- const list2 = ref([
- { name: 'Global Perspective', img: researchAdvantages1, imga: researchAdvantages1_a },
- { name: 'Multidimensional Research', img: researchAdvantages2, imga: researchAdvantages2_a },
- { name: 'Massive Database', img: researchAdvantages3, imga: researchAdvantages3_a },
- { name: 'Foresight Analyst Team', img: researchAdvantages4, imga: researchAdvantages4_a },
- { name: 'Customized Services', img: researchAdvantages5, imga: researchAdvantages5_a },
- { name: '24-Hour Support', img: researchAdvantages6, imga: researchAdvantages6_a },
- ])
- const list3 = ref([
- [customersServed1, customersServed2, customersServed3, customersServed4, customersServed5, customersServed6],
- [customersServed7, customersServed8, customersServed9, customersServed10, customersServed11, customersServed12],
- [customersServed13, customersServed14, customersServed15, customersServed16, customersServed17, customersServed18],
- [customersServed19, customersServed20, customersServed21, customersServed22, customersServed23, customersServed24],
- [customersServed25, customersServed26, customersServed27, customersServed28, customersServed29, customersServed30]
- ])
- //查询
- const router = useRouter();
- function handleSearch () {
- router.push({
- name: "reports",
- params: { keyword: keyword.value },
- });
- }
- // 资讯详情
- function viewNewsDetail (item) {
- router.push({
- name: "newsDetail",
- params: { webTitle: item.webTitle + "-" + item.id },
- });
- }
- // 报告详情
- function viewReportDetail (item) {
- router.push({
- name: "reportDetail",
- params: { webTitle: item.webTitle + "-" + item.id },
- });
- }
- // 报告列表
- function reportDetail () {
- router.push({ name: "reports" });
- }
- function handleReport (value) {
- router.push({ name: "reports", params: { category: value } });
- }
- const swiperRef = ref();
- const swiperPrev = () => {
- if (marketInfo1.value.list && marketInfo1.value.list.length > 4) {
- swiperRef.value.prev()
- }
- }
- const swiperNext = () => {
- if (marketInfo1.value.list && marketInfo1.value.list.length > 4) {
- swiperRef.value.next()
- }
- }
- lang.value = userStore.getLang
- // 轮播图
- const data = await carouselListData();
- carouselList.value = data;
- console.log(carouselList.value)
- // 研究报告分类
- reportDict.value = await getLocalSessionReport();
- // 研究报告列表
- const map = await reportAndMarketListData();
- console.log("map", map)
- reports.value = map.report;
- markets.value = map.market;
- // onMounted(async () => {
- reportDict.value = await getLocalSessionReport();
- // })
- let params1 = {
- marketTypeList: "market-dynamic,market-dynamic",
- pageNo: 1,
- pageSize: 5
- }
- const marketInfoRet1 = await marketInfoPageList(params1);
- marketInfo1.value = marketInfoRet1;
- console.log("marketInfo1", marketInfo1.value)
- // let params2 = {
- // marketTypeList: "industry-information,policy-interpretation",
- // pageNo: 1,
- // pageSize: 2
- // }
- // const marketInfoRet2 = await marketInfoPageList(params2);
- // marketInfo2.value = marketInfoRet2;
- useHead({
- title: t('defaultSettings.title'),
- viewport: "width=device-width,initial-scale=1,maximum-scale=1 ",
- charset: "utf-8",
- meta: [
- { hid: "keywords", name: "keywords", content: t('defaultSettings.keyword') },
- {
- hid: "description",
- name: "description",
- content: t('defaultSettings.desc'),
- },
- ],
- });
- </script>
- <style scoped lang="scss">
- @import "~/assets/css/tool.scss";
- .home {
- .home_t {
- height: calc(100vh - var(--size-265));
- .img {
- position: absolute;
- top: var(--size--50);
- bottom: var(--size--50);
- left: var(--size--50);
- right: var(--size--50);
- .carousel-img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- }
- .desc {
- padding: var(--size-60);
- display: flex;
- flex-direction: column;
- justify-content: center;
- position: relative;
- height: 100%;
- overflow: hidden;
- z-index: 100;
- .desc_title {
- font-size: var(--size-48);
- color: #ffffff;
- font-weight: 900;
- }
- .desc_tig {
- font-size: var(--size-24);
- color: #ffffff;
- font-weight: 700;
- margin-bottom: var(--size-20);
- }
- .desc_btn {
- width: var(--size-170);
- height: var(--size-60);
- background: linear-gradient(0deg, #7b9c4f 0%, #2da19d 100%), #1a1a1a;
- border-radius: var(--size-8);
- text-align: center;
- line-height: var(--size-60);
- font-size: var(--size-18);
- color: #ffffff;
- cursor: pointer;
- }
- }
- }
- .numList {
- display: flex;
- align-items: center;
- padding: 0 var(--size-75);
- background: #f5f5f5;
- .item {
- display: flex;
- flex-direction: column;
- justify-content: center;
- padding: 0 var(--size-70);
- height: var(--size-265);
- position: relative;
- &::after {
- position: absolute;
- right: 0;
- top: var(--size-62);
- display: block;
- content: "";
- width: var(--size-1);
- height: var(--size-142);
- background: #cccccc;
- }
- &:nth-child(1) {
- width: var(--size-357);
- }
- &:nth-child(2) {
- width: var(--size-354);
- }
- &:nth-child(3) {
- width: var(--size-356);
- }
- &:nth-child(4) {
- width: var(--size-343);
- }
- &:nth-child(5) {
- width: var(--size-342);
- &::after {
- display: none;
- }
- }
- .iconfont {
- font-size: var(--size-62);
- color: #808080;
- line-height: var(--size-62);
- }
- .item_img {
- width: var(--size-62);
- height: var(--size-62);
- }
- .item_t {
- color: transparent;
- background-image: linear-gradient(0deg, #7b9c4f 0%, #2da19d 100%);
- -webkit-background-clip: text;
- background-clip: text;
- display: inline-block;
- font-size: var(--size-40);
- font-family: FZZhengHeiS-B-GB, FZZhengHeiS-B-GB-Regular;
- font-weight: 700;
- margin-top: var(--size-10);
- }
- .item_b {
- font-size: var(--size-16);
- color: #1a1a1a;
- font-family: Arial, Arial-Regular;
- }
- }
- }
- .marketBox {
- padding: var(--size-60) var(--size-145) var(--size-100);
- background: #ffffff;
- position: relative;
- .direction {
- width: var(--size-73);
- height: var(--size-73);
- background: #ffffff;
- border-radius: 50%;
- position: absolute;
- top: 40%;
- display: flex;
- align-items: center;
- justify-content: center;
- cursor: pointer;
- }
- .carousel_l {
- left: var(--size-105);
- span {
- display: block;
- transform: rotateZ(-180deg);
- font-size: var(--size-42);
- color: #1a1a1a;
- }
- }
- .carousel_r {
- right: var(--size-105);
- span {
- display: block;
- font-size: var(--size-42);
- color: #1a1a1a;
- }
- }
- ::v-deep .n-carousel__slide,
- ::v-deep .n-carousel {
- // overflow: visible !important;
- }
- .marketBox_title {
- font-size: var(--size-48);
- color: #1a1a1a;
- font-family: Impact, Impact-Regular;
- font-weight: 400;
- text-align: center;
- margin-bottom: var(--size-10);
- }
- .img {
- position: relative;
- .carousel-img {
- width: 100%;
- height: var(--size-700);
- }
- .desc {
- position: absolute;
- top: 0;
- left: var(--size-108);
- bottom: 0;
- display: flex;
- flex-direction: column;
- justify-content: center;
- .desc_title {
- width: var(--size-695);
- font-size: var(--size-32);
- font-family: Impact, Impact-Regular;
- color: #ffffff;
- line-height: var(--size-42);
- }
- .desc_btn {
- width: var(--size-170);
- height: var(--size-60);
- background: linear-gradient(0deg, #7b9c4f 0%, #2da19d 100%), #1a1a1a;
- border-radius: var(--size-8);
- text-align: center;
- line-height: var(--size-60);
- font-size: var(--size-18);
- color: #ffffff;
- margin: var(--size-30) 0;
- }
- }
- }
- }
- .popularBox {
- background: linear-gradient(
- 141deg,
- rgba(73, 159, 129, 0.85) 0%,
- rgba(116, 156, 86, 0.85) 91%
- ),
- #e2f1ee;
- padding: var(--size-80) var(--size-145) var(--size-80);
- display: flex;
- .popularBox_l {
- width: var(--size-767);
- margin-right: var(--size-46);
- flex-shrink: 0;
- .popularBox_l_title {
- display: flex;
- justify-content: space-between;
- align-items: flex-end;
- .popularBox_l_title_l {
- font-size: var(--size-48);
- font-family: Impact, Impact-Regular;
- color: #1a1a1a;
- line-height: var(--size-58);
- }
- .popularBox_l_title_r {
- font-size: var(--size-18);
- font-family: Microsoft YaHei, Microsoft YaHei-Regular;
- color: #ffffff;
- border-bottom: 1px solid #ffffff;
- span {
- font-size: var(--size-32);
- position: relative;
- top: var(--size-6);
- }
- }
- }
- .popularBox_l_list {
- margin-top: var(--size-45);
- display: flex;
- .popularBox_l_list_item {
- width: var(--size-360);
- border-radius: var(--size-10);
- overflow: hidden;
- background: #ffffff;
- &:first-child {
- margin-right: var(--size-47);
- }
- img {
- width: var(--size-360);
- height: var(--size-404);
- display: block;
- // object-fit: contain;
- }
- .popularBox_l_list_item_box {
- background: #ffffff;
- padding: var(--size-20) var(--size-18) var(--size-35);
- .popularBox_l_list_item_box_title {
- font-size: var(--size-18);
- font-family: Microsoft YaHei, Microsoft YaHei-Regular;
- color: #1a1a1a;
- line-height: var(--size-28);
- margin-bottom: var(--size-34);
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- .popularBox_l_list_item_box_btn {
- display: block;
- width: var(--size-170);
- height: var(--size-48);
- background: linear-gradient(0deg, #7b9c4f 0%, #2da19d 100%),
- #1a1a1a;
- border-radius: var(--size-8);
- font-size: var(--size-18);
- font-family: Microsoft YaHei, Microsoft YaHei-Regular;
- text-align: center;
- color: #ffffff;
- line-height: var(--size-49);
- cursor: pointer;
- }
- }
- }
- }
- }
- .popularBox_r {
- .popularBox_r_title {
- font-size: var(--size-48);
- font-family: Impact, Impact-Regular;
- text-align: right;
- color: #ffffff;
- line-height: var(--size-58);
- }
- .popularBox_r_list {
- display: flex;
- flex-wrap: wrap;
- margin-top: var(--size-45);
- > div {
- position: relative;
- img {
- width: var(--size-199);
- height: var(--size-199);
- display: block;
- object-fit: cover;
- }
- div {
- width: 100%;
- font-size: var(--size-16);
- font-family: Arial, Arial-Regular;
- font-weight: 400;
- text-align: center;
- padding: 0 0 var(--size-15);
- color: #ffffff;
- line-height: var(--size-20);
- position: absolute;
- left: 0;
- bottom: 0;
- }
- }
- }
- }
- }
- .hotBox {
- padding: var(--size-80) var(--size-145) var(--size-80);
- background: #f5f5f5;
- .hotBox_title {
- font-size: var(--size-48);
- font-family: Impact, Impact-Regular;
- text-align: center;
- color: #1a1a1a;
- }
- .hotBox_list {
- display: flex;
- margin-top: var(--size-20);
- .hotBox_list_item {
- display: block;
- cursor: pointer;
- width: var(--size-514);
- margin-right: var(--size-43);
- background: #ffffff;
- &:last-child {
- margin-right: 0;
- }
- img {
- width: var(--size-514);
- height: var(--size-372);
- display: block;
- // object-fit: contain;
- }
- .hotBox_list_item_box {
- padding: var(--size-30) var(--size-18) var(--size-41);
- background: #ffffff;
- border-bottom: var(--size-7) solid #ffffff;
- .hotBox_list_item_box_date {
- font-size: var(--size-18);
- font-family: Arial, Arial-Regular;
- font-weight: 400;
- text-align: left;
- color: #666666;
- padding: 0 var(--size-14);
- border-left: 1px solid #666666;
- border-right: 1px solid #666666;
- line-height: var(--size-20);
- display: inline-block;
- margin-left: var(--size-2);
- }
- .hotBox_list_item_box_text {
- font-size: var(--size-26);
- font-family: Arial, Arial-Bold;
- font-weight: 700;
- text-align: left;
- color: #1a1a1a;
- margin-top: var(--size-6);
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- }
- &:hover {
- .hotBox_list_item_box {
- border-bottom: var(--size-7) solid #509f7a;
- .hotBox_list_item_box_date {
- color: #509f7a;
- border-left: 1px solid #509f7a;
- border-right: 1px solid #509f7a;
- }
- .hotBox_list_item_box_text {
- color: #509f7a;
- }
- }
- }
- }
- }
- .hotBox_btn {
- display: block;
- width: var(--size-217);
- height: var(--size-60);
- background: linear-gradient(0deg, #7b9c4f 0%, #2da19d 100%), #1a1a1a;
- border-radius: var(--size-8);
- text-align: center;
- line-height: var(--size-60);
- font-size: var(--size-18);
- color: #ffffff;
- margin: var(--size-40) auto 0;
- cursor: pointer;
- }
- }
- .researchBox {
- padding: var(--size-80) var(--size-145) var(--size-155);
- .researchBox_title {
- font-size: var(--size-48);
- font-family: Impact, Impact-Regular;
- text-align: center;
- color: #1a1a1a;
- }
- .researchBox_list {
- display: flex;
- justify-content: space-between;
- margin-top: var(--size-20);
- .researchBox_list_item {
- width: var(--size-253);
- height: var(--size-166);
- background: #fafafa;
- border-radius: var(--size-8);
- padding-top: var(--size-28);
- cursor: pointer;
- text-align: center;
- img {
- height: var(--size-70);
- margin: auto;
- }
- .imga {
- display: none;
- }
- div {
- font-size: var(--size-18);
- font-family: Arial, Arial-Bold;
- font-weight: 700;
- text-align: center;
- color: #1a1a1a;
- margin-top: var(--size-12);
- }
- &:hover {
- background: #e2f1ee;
- .imga {
- display: block;
- }
- .img {
- display: none !important;
- }
- div {
- color: #639e57;
- }
- }
- }
- // .active {
- // background: #e2f1ee;
- // div {
- // color: #639e57;
- // }
- // }
- }
- }
- .customersBox {
- background: #f6faf7;
- padding: var(--size-80) var(--size-145) var(--size-140);
- .customersBox_title {
- font-size: var(--size-48);
- font-family: Impact, Impact-Regular;
- text-align: center;
- color: #1a1a1a;
- }
- .customersBox_subTitle {
- font-size: var(--size-18);
- font-family: Arial, Arial-Regular;
- text-align: center;
- color: #666666;
- }
- .customersBox_carousel {
- margin-top: var(--size-45);
- .customersBox_carousel_item {
- display: flex;
- justify-content: space-between;
- img {
- height: var(--size-70);
- }
- }
- }
- }
- }
- @include responseTo("phone") {
- .home {
- .home_t {
- height: 100vh;
- .desc {
- padding: var(--size-30);
- .desc_title {
- font-size: var(--size-24);
- }
- .desc_tig {
- font-size: var(--size-12);
- }
- }
- }
- .numList {
- padding: 0 var(--size-30);
- display: block;
- .item {
- width: 100% !important;
- height: auto;
- padding: var(--size-20) 0;
- text-align: center;
- img {
- margin: auto;
- }
- &::after {
- display: none;
- }
- }
- }
- .marketBox {
- padding: var(--size-30) var(--size-30) var(--size-50);
- .marketBox_title {
- font-size: var(--size-24);
- font-weight: 700;
- }
- .img {
- .carousel-img {
- height: auto;
- }
- .desc {
- left: 0;
- padding: var(--size-20);
- .desc_title {
- width: 100%;
- font-size: var(--size-16);
- line-height: var(--size-18);
- }
- .desc_btn {
- width: var(--size-130);
- height: var(--size-45);
- border-radius: var(--size-4);
- text-align: center;
- line-height: var(--size-45);
- font-size: var(--size-14);
- color: #ffffff;
- margin: var(--size-15) auto;
- }
- }
- }
- .direction {
- width: var(--size-36);
- height: var(--size-36);
- top: 48%;
- span {
- font-size: var(--size-21);
- }
- }
- .carousel_l {
- left: var(--size-7);
- }
- .carousel_r {
- right: var(--size-7);
- }
- }
- .popularBox {
- display: block;
- padding: var(--size-30);
- .popularBox_l {
- margin-right: 0;
- .popularBox_l_title {
- display: block;
- .popularBox_l_title_l {
- font-size: var(--size-24);
- line-height: var(--size-29);
- margin-right: 0;
- font-weight: 700;
- }
- .popularBox_l_title_r {
- display: inline-block;
- font-size: var(--size-14);
- }
- }
- .popularBox_l_list {
- justify-content: space-between;
- .popularBox_l_list_item {
- width: 48%;
- margin: 0 !important;
- img {
- width: 100%;
- height: auto;
- }
- .popularBox_l_list_item_box {
- padding: var(--size-10) var(--size-10) var(--size-18);
- .popularBox_l_list_item_box_title {
- font-size: var(--size-14);
- line-height: var(--size-14);
- margin-bottom: var(--size-17);
- }
- .popularBox_l_list_item_box_btn {
- display: block;
- width: var(--size-80);
- height: var(--size-24);
- border-radius: var(--size-4);
- font-size: var(--size-12);
- line-height: var(--size-24);
- }
- }
- }
- }
- }
- .popularBox_r {
- .popularBox_r_title {
- font-size: var(--size-24);
- line-height: var(--size-30);
- font-weight: 700;
- text-align: left;
- margin-top: var(--size-20);
- }
- .popularBox_r_list {
- margin-top: var(--size-22);
- }
- .popularBox_r_list {
- display: flex;
- > div {
- width: 50%;
- img {
- width: 100%;
- height: var(--size-105);
- display: block;
- }
- div {
- width: 100%;
- font-size: var(--size-12);
- padding: 0 0 var(--size-6);
- }
- }
- }
- }
- }
- .hotBox {
- padding: var(--size-30);
- .hotBox_title {
- font-size: var(--size-24);
- }
- .hotBox_list {
- display: block;
- .hotBox_list_item {
- width: var(--size-257);
- margin: auto !important;
- margin-bottom: var(--size-20) !important;
- img {
- width: var(--size-257);
- height: var(--size-186);
- }
- .hotBox_list_item_box {
- padding: var(--size-15) var(--size-9) var(--size-20);
- .hotBox_list_item_box_date {
- font-size: var(--size-12);
- line-height: var(--size-16);
- }
- .hotBox_list_item_box_text {
- font-size: var(--size-14);
- }
- }
- }
- }
- }
- .researchBox {
- padding: var(--size-30);
- .researchBox_title {
- font-size: var(--size-24);
- }
- .researchBox_list {
- flex-wrap: wrap;
- justify-content: space-between;
- .researchBox_list_item {
- width: 48%;
- height: var(--size-166);
- background: #fafafa;
- border-radius: var(--size-8);
- padding-top: var(--size-28);
- margin-bottom: var(--size-20);
- }
- }
- }
- .customersBox {
- padding: var(--size-30) var(--size-10) !important;
- .customersBox_title {
- font-size: var(--size-24);
- }
- .customersBox_subTitle {
- font-size: var(--size-14);
- }
- .customersBox_carousel {
- .customersBox_carousel_item {
- flex-wrap: wrap;
- align-items: center;
- img {
- width: var(--size-105);
- height: auto;
- margin-bottom: var(--size-20);
- }
- }
- }
- }
- }
- }
- ::v-deep .customersBox_carousel {
- .n-carousel.n-carousel--bottom .n-carousel__dots {
- display: none;
- }
- }
- </style>
|