chengziding 1 неделя назад
Родитель
Сommit
3ee5c9a2da

+ 3 - 3
.env.production

@@ -1,4 +1,4 @@
 ENV = 'production'
-NUXT_PUBLIC_API_BASE = 'https://www.driveintelresearch.com/js/a/api'
-NUXT_PUBLIC_API_BASE = 'https://www.driveintelresearch.com/js/a/api'
-NUXT_PUBLIC_API_BASEURL = "https://www.driveintelresearch.com/js/userfiles"
+NUXT_PUBLIC_DOMAIN_NAME = 'https://driveintelresearch.com'
+NUXT_PUBLIC_API_BASE = 'https://driveintelresearch.com/api/js/a/api'
+NUXT_PUBLIC_API_BASEURL = "https://driveintelresearch.com/api/js/userfiles"

+ 5 - 3
components/Footer/index.vue

@@ -4,7 +4,9 @@
       <div class="footer_l_img">
         <img src="/assets/images/img3.png" alt="">
       </div>
-      <div class="footer_l_text">WENKH is a global leading consulting brand for industry segments. We providesegmented market research reports, custom research, white papers and feasibilityreports for all industries, focusing on market status and forecasts, competition analysis, market prospects analysis and market positioning. WENKH usesprofessional data and deep insights to help companies make decisions andpromote win-win cooperation.</div>
+      <div class="footer_l_text">
+        Driveintel Research is a leading independent segment market research consulting company, dedicated to publishing in-depth market research reports that support strategic business decision-making. Our comprehensive service offerings include competitive landscape analysis, market status and forecasting, IPO advisory, market entry strategies, global strategy, business planning, and project feasibility studies.
+      </div>
       <div class="footer_l_list">
         <img src="/assets/images/img4.png" alt="">
         <img src="/assets/images/img5.png" alt="">
@@ -43,7 +45,7 @@
           <span class="iconfont icon-youxiang1"></span>
         </div>
         <div class="footer_contactUs_item_r">
-          <div>market@wenkh.com</div>
+          <div>market@DRIVEINTEL.com</div>
         </div>
       </div>
     </div>
@@ -61,7 +63,7 @@
       </div>
     </div>
   </div>
-  <div class="app-footer_copyright">Copyright © WENKH.com All rights reserved.</div>
+  <div class="app-footer_copyright">Copyright © DRIVEINTEL.com All rights reserved.</div>
 </template>
 
 <script lang="ts" setup>

+ 5 - 1
composables/useHttp.ts

@@ -20,15 +20,19 @@ class HttpRequest {
     options?: UseFetchOptions<T>
   ) {
     return new Promise((resolve, reject) => {
+      // 获取当前网站地址
+      const requestURL = useRequestURL()
       const config = useRuntimeConfig();
       const userStore = useUserStore();
       let baseURL = config.public.apiBase;
       if (process.client && process.env.NODE_ENV == "development") {
         baseURL = "/api";
+      } else {
+        baseURL = baseURL.replace('https://driveintelresearch.com', requestURL.origin)
       }
       const newOptions: UseFetchOptions<T> = {
         baseURL: baseURL,
-        // baseURL: "https://www.wenkh.com/api/js/a/api",
+        // baseURL: "https://www.DRIVEINTEL.com/api/js/a/api",
         method: method,
         key: url + JSON.stringify(data),
         headers: {

Разница между файлами не показана из-за своего большого размера
+ 7 - 7
lang/en-us.ts


+ 1 - 1
lang/i18n.ts

@@ -2,7 +2,7 @@ import zh from './zh-cn.js'//中文
 import en from './en-us.js'//英文
 
 const i18n = {
-  fallbackLocale: 'zh',//回退策略,指定的locale中没有找到对应资源的情况下使用的locale
+  fallbackLocale: 'en',//回退策略,指定的locale中没有找到对应资源的情况下使用的locale
   messages: { //要渲染的信息,有多少语言就添加多少种
     en: en,
     zh: zh

+ 1 - 1
nuxt.config.ts

@@ -71,7 +71,7 @@ export default defineNuxtConfig({
   modules: ["nuxtjs-naive-ui", '@nuxtjs/i18n', '@pinia/nuxt'],
   i18n: {
     locales: ['en', 'zh'],
-    defaultLocale: 'zh',
+    defaultLocale: 'en',
     vueI18n: './lang/i18n.ts',
     customRoutes: 'config',
     // parsePages: false,

+ 1 - 1
package.json

@@ -41,4 +41,4 @@
     "unplugin-auto-import": "^0.17.6",
     "unplugin-vue-components": "^0.27.0"
   }
-}
+}

Разница между файлами не показана из-за своего большого размера
+ 5 - 5
pages/about/index.vue


+ 3 - 3
pages/about/link copy.vue

@@ -14,7 +14,7 @@
 
     <div class="research-content">
       <div class="content-item-01">
-        WENKH, with its rigorous research methods and extensive industry experience, is
+        DRIVEINTEL, with its rigorous research methods and extensive industry experience, is
         dedicated to providing high-quality industry research reports for clients. Our
         research system covers both primary and secondary research,gathering comprehensive
         and accurate data from multiple dimensions. Primary research involves in-depth
@@ -23,14 +23,14 @@
         forward-looking nature of the reports. Secondary research integrates data from
         public and professional sources such as government agencies, industry
         associations, company reports, and independentresearch organizations, combined
-        with WENKH's proprietary database for in-depth analysis. Throughout the research
+        with DRIVEINTEL's proprietary database for in-depth analysis. Throughout the research
         process, we consider core factors such as government policies, market environment,
         competitive landscape,industry technological innovation, market risks, and
         opportunities, ensuring the comprehensiveness and reliability of our research
         results.
       </div>
       <div class="content-item-02">
-        In the field of industry research, WENKH has developed a mature research
+        In the field of industry research, DRIVEINTEL has developed a mature research
         methodology and industry evaluation system, utilizing scientific analysis tools
         such as the industry lifecycle theory, PEST analysis, Porter's Five Forces model,
         SWOT analysis, Boston Matrix, and Porter's Diamond theory to conduct in-depth

+ 23 - 48
pages/about/link.vue

@@ -15,7 +15,7 @@
 
     <div class="research-content">
       <div class="content-item-01">
-        WENKH, with its rigorous research methods and extensive industry experience, is
+        DRIVEINTEL, with its rigorous research methods and extensive industry experience, is
         dedicated to providing high-quality industry research reports for clients. Our
         research system covers both primary and secondary research,gathering comprehensive
         and accurate data from multiple dimensions. Primary research involves in-depth
@@ -24,14 +24,14 @@
         forward-looking nature of the reports. Secondary research integrates data from
         public and professional sources such as government agencies, industry
         associations, company reports, and independentresearch organizations, combined
-        with WENKH's proprietary database for in-depth analysis. Throughout the research
+        with DRIVEINTEL's proprietary database for in-depth analysis. Throughout the research
         process, we consider core factors such as government policies, market environment,
         competitive landscape,industry technological innovation, market risks, and
         opportunities, ensuring the comprehensiveness and reliability of our research
         results.
       </div>
       <div class="content-item-02">
-        In the field of industry research, WENKH has developed a mature research
+        In the field of industry research, DRIVEINTEL has developed a mature research
         methodology and industry evaluation system, utilizing scientific analysis tools
         such as the industry lifecycle theory, PEST analysis, Porter's Five Forces model,
         SWOT analysis, Boston Matrix, and Porter's Diamond theory to conduct in-depth
@@ -59,11 +59,7 @@
       <div class="level_top">
         <img src="@/assets/images/about/level_00.png" alt="" />
       </div>
-      <div
-        :class="['method-item ', `method-level_${index}`]"
-        v-for="(item, index) in methodLevel"
-        :key="index"
-      >
+      <div :class="['method-item ', `method-level_${index}`]" v-for="(item, index) in methodLevel" :key="index">
         <div class="method-left method-lr">
           <div class="level_item">
             <p class="level-title">{{ item.left.title }}</p>
@@ -93,11 +89,7 @@
           <p class="title">Bottom Up Research Method</p>
         </div>
       </div>
-      <div
-        :class="['method-item ', `method-level_${index}`]"
-        v-for="(item, index) in methodLevel"
-        :key="index"
-      >
+      <div :class="['method-item ', `method-level_${index}`]" v-for="(item, index) in methodLevel" :key="index">
         <div class="method-left method-lr">
           <div class="level_item">
             <p class="level-title">{{ item.left.title }}</p>
@@ -114,11 +106,7 @@
           <p class="title">Top Down Research Methodology</p>
         </div>
       </div>
-      <div
-        :class="['method-item ', `method-level_${index}`]"
-        v-for="(item, index) in methodLevel"
-        :key="index"
-      >
+      <div :class="['method-item ', `method-level_${index}`]" v-for="(item, index) in methodLevel" :key="index">
         <div class="method-right method-lr">
           <div class="level-img">
             <img :src="item.right.img" alt="" />
@@ -175,13 +163,7 @@
 
     <div class="data-source">
       <div class="source-content">
-        <img
-          class="source-img"
-          src="@/assets/images/about/DataSource.png"
-          width="120"
-          alt=""
-          hspace="8"
-        />
+        <img class="source-img" src="@/assets/images/about/DataSource.png" width="120" alt="" hspace="8" />
         <p class="text-title">Data Source</p>
         <p class="text-text">
           Data quality and reliability are paramount to our company. We ensure accuracy
@@ -247,56 +229,48 @@ const methodLevel = [
   {
     left: {
       title: "Industry Overview",
-      text:
-        "Macro analysis of the entire industry, including research on market size, growth trends, competitivelandscape,industry policies, etc.",
+      text: "Macro analysis of the entire industry, including research on market size, growth trends, competitivelandscape,industry policies, etc.",
       img: level01,
     },
     right: {
       title: "Company Research",
-      text:
-        "Select some representative companies for in-depth research, including analysis of the company's businessmodel, market position, financial status, etc.",
+      text: "Select some representative companies for in-depth research, including analysis of the company's businessmodel, market position, financial status, etc.",
       img: level44,
     },
   },
   {
     left: {
       title: "Segmentation Analysis",
-      text:
-        "Select Some more segments within the industry and analyze them in detail, including marketcharacteristics, major players, development trends, etc.",
+      text: "Select Some more segments within the industry and analyze them in detail, including marketcharacteristics, major players, development trends, etc.",
       img: level02,
     },
     right: {
       title: "Industry Overview",
-      text:
-        "After conducting research on subdivided fields, the cases of individual companies are integrated toconduct a macro analysis of the entire industry.",
+      text: "After conducting research on subdivided fields, the cases of individual companies are integrated toconduct a macro analysis of the entire industry.",
       img: level33,
     },
   },
   {
     left: {
       title: "Company Research",
-      text:
-        "Select representative companies according to subdivided fields for in-depthresearch,including analysis of company background, competitiveadvantages, financial status, strategicplanning, etc.",
+      text: "Select representative companies according to subdivided fields for in-depthresearch,including analysis of company background, competitiveadvantages, financial status, strategicplanning, etc.",
       img: level03,
     },
     right: {
       title: "Segmentation Analysis",
-      text:
-        "Through the research of different companies, find out their common segments or keybusinesses, and conduct a detailed analysis of the field.",
+      text: "Through the research of different companies, find out their common segments or keybusinesses, and conduct a detailed analysis of the field.",
       img: level22,
     },
   },
   {
     left: {
       title: "Comprehensive Evaluation",
-      text:
-        "After conducting research on the entire industry, subdivisions and companies,conduct comprehensive assessment of the researchresults to form a view on thefuture trends andpotential opportunities of the industry.",
+      text: "After conducting research on the entire industry, subdivisions and companies,conduct comprehensive assessment of the researchresults to form a view on thefuture trends andpotential opportunities of the industry.",
       img: level04,
     },
     right: {
       title: "Company Research",
-      text:
-        "Select some representative companies for in-depth research, including analysis of thecompany's business model, market position, financial status, etc.",
+      text: "Select some representative companies for in-depth research, including analysis of thecompany's business model, market position, financial status, etc.",
       img: level11,
     },
   },
@@ -360,7 +334,8 @@ const methodLevel = [
       text-align: left;
       color: #1a1a1a;
       line-height: var(--size-24);
-      background: url("@/assets/images/about/img_02.png") no-repeat center center;
+      background: url("@/assets/images/about/img_02.png") no-repeat center
+        center;
       background-size: 100% 100%;
     }
   }
@@ -674,7 +649,7 @@ const methodLevel = [
   .page {
     .top {
       img {
-        height: 140px;
+        height: var(--size-140);
         object-fit: cover;
       }
       > div {
@@ -764,23 +739,23 @@ const methodLevel = [
         }
       }
     }
-    .data-source{
+    .data-source {
       padding: var(--size-20);
-      .source-content{
+      .source-content {
         display: flex;
         flex-direction: column;
-        .source-img{
+        .source-img {
           width: 100%;
           height: auto;
           order: 3;
         }
-        .text-title{
+        .text-title {
           order: 1;
           text-align: center;
           font-size: var(--size-18);
           padding-bottom: 0;
         }
-        .text-text{
+        .text-text {
           order: 2;
           font-size: var(--size-14);
           padding-bottom: var(--size-20);

+ 1 - 1
pages/about/order.vue

@@ -236,7 +236,7 @@ const orderContainer = [
   .page {
     .top {
       img {
-        height: 140px;
+        height: var(--size-140);
         object-fit: cover;
       }
       > div {

+ 1 - 1
pages/about/term.vue

@@ -194,7 +194,7 @@ const termContainer = [
   .page {
     .top {
       img {
-        height: 140px;
+        height: var(--size-140);
         object-fit: cover;
       }
       > div {

+ 2 - 2
pages/contact/index.vue

@@ -12,7 +12,7 @@
     </div>
     <div class="content">
       <div class="content_l">
-        <div class="content_l_title">WENKH Market Research</div>
+        <div class="content_l_title">DRIVEINTEL Market Research</div>
         <div class="content_l_line"></div>
         <n-form require-mark-placement="left" ref="formRef" label-align="left" :model="formData" :rules="rules">
           <div class="flex">
@@ -50,7 +50,7 @@
           </div>
           <div class="content_r_item ">
             <img src="@/assets/images/contactUs/img2.png" alt="">
-            <div>market@wenkh.com</div>
+            <div>market@DRIVEINTEL.com</div>
           </div>
           <div class="content_r_item ">
             <img src="@/assets/images/contactUs/img3.png" alt="">

+ 1 - 1
pages/market/index.vue

@@ -14,7 +14,7 @@
       <div class="contactUs_l">
         <div class="contactUs_l_t">
           <img src="@/assets/images/market/img2.png" alt="">
-          <div> WENKH Market Research Accurately Understands the Market and CustomizesExclusive Research Methods</div>
+          <div> DRIVEINTEL Market Research Accurately Understands the Market and CustomizesExclusive Research Methods</div>
         </div>
         <div class="contactUs_l_b">We tailor research solutions for different industries and customer needs, integrating qualitative and quantitative analysis, combining desktop research, industryinterviews and data prediction models to ensure accurate market insights. Through a variety of data collection strategies, we efficiently complete research tasksand help customers obtain more valuable market insights.</div>
         <a href="/contactUs" class="contactUs_l_btn">Contact Us</a>

+ 5 - 7
pages/news-categories/index.vue

@@ -116,7 +116,7 @@ const reportTypes = ref([]); // 报告分类
 const newsCategory = ref([]); //资讯分类
 
 const params = ref({ pageSize: pageSize, pageNo: 1, keyword: "" }) as any; // 参数
-const pageList = ref([]); //data
+const pageList = ref({ list: [] }); //data
 const spinShow = ref("none"); // loading
 const { t } = useI18n();
 const pcShow = ref<boolean>(true);
@@ -159,19 +159,17 @@ watch(
     route.params.marketCategory,
     route.params.keyword,
   ],
-  (newValue, oldValue) => {
+  async (newValue, oldValue) => {
     params.value.marketType = newValue[0];
     params.value.marketCategory = newValue[1];
     params.value.keyword = newValue[2];
-    getData();
+    await getData();
   }
 );
-
 async function getData() {
   spinShow.value = "block";
   params.value.lang = lang;
-  const ret = await marketInfoPageList(params.value);
-  console.log("aaaaaaa", ret);
+  const ret = await marketInfoPageList({ ...params.value });
   // setTimeout(() => {
   pageList.value = ret;
   spinShow.value = "none";
@@ -252,7 +250,7 @@ try {
     params.value.marketType = route.params.marketType;
   }
   params.value.lang = lang;
-  const ret = await marketInfoPageList(params.value);
+  const ret = await marketInfoPageList({ ...params.value });
   pageList.value = ret;
 } catch (error) {
   console.log(error);

+ 1 - 1
pages/report-industries/detail.vue

@@ -65,7 +65,7 @@
             <div>
               <div class="content_b_l_title">Important Clause:</div>
               <div class="content_b_l_text">Recently, our company has discovered that some websites have plagiarized, quoted and modified our original report catalog without authorization, and sold reports under our brand, which has seriously infringed our interests. Therefore, our company recommends that you contact the relevant phone number, email address or leave a message to purchase the report to prevent being deceived.</div>
-              <div class="content_b_l_tag">*All report contents displayed on this website are original to WENKH, and our company has the sole copyright. Any modification, reprinting or quotingin any form is prohibited without our prior written permission. Otherwise, our company reserves the right to pursue legal responsibility.</div>
+              <div class="content_b_l_tag">*All report contents displayed on this website are original to DRIVEINTEL, and our company has the sole copyright. Any modification, reprinting or quotingin any form is prohibited without our prior written permission. Otherwise, our company reserves the right to pursue legal responsibility.</div>
             </div>
           </div>
           <div id="content-to-export">

+ 43 - 43
pages/report-industries/index.vue

@@ -203,29 +203,29 @@ const dealTypeShow = (type: string) => {
 function handleContact() {
   demandShow.value = true;
 }
-onMounted(async () => {
-  if (typeof window !== "undefined") {
-    window.scrollTo(0, 1);
-  }
+// onMounted(async () => {
+//   if (typeof window !== "undefined") {
+//     window.scrollTo(0, 1);
+//   }
 
-  // 接收参数,导航栏进入
-  const marketType = route.params.category;
-  record.value.marketType = marketType;
+//   // 接收参数,导航栏进入
+//   const marketType = route.params.category;
+//   record.value.marketType = marketType;
 
-  const keyword = route.params.keyword;
-  if (keyword) {
-    record.value.queryKeyword = keyword;
-  }
+//   const keyword = route.params.keyword;
+//   if (keyword) {
+//     record.value.queryKeyword = keyword;
+//   }
 
-  // 列表
-  await getData();
+//   // 列表
+//   await getData();
 
-  // 此段代码解决无法监听home页面跳转显示tag问题
-  const item = containsType(categories.value, marketType);
-  categoryTag.value = item?.marketTypeName;
+//   // 此段代码解决无法监听home页面跳转显示tag问题
+//   const item = containsType(categories.value, marketType);
+//   categoryTag.value = item?.marketTypeName;
 
-  pcShow.value = !isMobile();
-});
+//   pcShow.value = !isMobile();
+// });
 
 watch(
   () => [route.params.category, route.params.keyword],
@@ -240,14 +240,14 @@ watch(
 async function getData() {
   spinShow.value = "block";
   record.value.lang = lang;
-  const ret = await researchReportListData(record.value);
+  const ret = await researchReportListData({ ...record.value });
   pageList.value = ret;
   spinShow.value = "none";
 
-  const ret2 = await researchReportCategoryList(record.value);
+  const ret2 = await researchReportCategoryList({ ...record.value });
   categories.value = ret2;
 
-  const ret3 = await researchReportPublishDateList(record.value);
+  const ret3 = await researchReportPublishDateList({ ...record.value });
   // prices.value = ret2.data.prices;
   publishDates.value = ret3;
 }
@@ -264,7 +264,7 @@ function handleCategory(
   if (record.value.marketType) {
     router.push({
       name: "reports",
-      params: { category: value, lang: language },
+      params: { category: value },
     });
   } else {
     router.push({ name: "reports", params: { lang: language } });
@@ -469,26 +469,26 @@ function changePage(page: number) {
   getData();
 }
 
-onServerPrefetch(async () => {
-  try {
-    const marketType = route.params.category;
-    record.value.marketType = marketType;
+// onServerPrefetch(async () => {
+try {
+  const marketType = route.params.category;
+  record.value.marketType = marketType;
 
-    const keyword = route.params.keyword;
-    if (keyword) {
-      record.value.queryKeyword = keyword;
-    }
+  const keyword = route.params.keyword;
+  if (keyword) {
+    record.value.queryKeyword = keyword;
+  }
 
-    // 列表
-    await getData();
+  // 列表
+  await getData();
 
-    // 此段代码解决无法监听home页面跳转显示tag问题
-    const item = containsType(categories.value, marketType);
-    categoryTag.value = item?.marketTypeName;
-  } catch (error) {
-    console.log(error);
-  }
-});
+  // 此段代码解决无法监听home页面跳转显示tag问题
+  const item = containsType(categories.value, marketType);
+  categoryTag.value = item?.marketTypeName;
+} catch (error) {
+  console.log(error);
+}
+// });
 useHead({
   title: t("common.navigate.report") + "-" + t("defaultSettings.title"),
   viewport: "width=device-width,initial-scale=1,maximum-scale=1 ",
@@ -803,18 +803,18 @@ useHead({
   .page {
     .top {
       img {
-        height: 100px;
+        height: var(--size-100);
         object-fit: cover;
       }
       > div {
-        padding: 15px;
+        padding: var(--size-15);
         .top_title {
-          font-size: 28px;
+          font-size: var(--size-28);
         }
       }
     }
     .box {
-      padding: 15px;
+      padding: var(--size-15);
       width: 100%;
       display: block;
       .box_l {

BIN
public/favicon.ico


+ 2 - 2
store/user.ts

@@ -5,8 +5,8 @@ export const useUserStore = defineStore("user", {
   state: () => ({
     userInfo: null,
     token: "",
-    lang: 'zh-CN',
-    // lang: "en-US",
+    // lang: 'zh-CN',
+    lang: "en-US",
     searchType: undefined,
     showLoginDialog: false,
   }),