WXL
6 天以前 b76de9a566e4435146a970aa22333a58f87b485b
pages/index/index.vue
@@ -148,19 +148,19 @@
  {
    titleKey: "index.quickEntry.CaseDetails",
    icon: "/static/icons/appointment.png",
    path: "/pages/case/CaseDetails",
    path: "/pagesSub/case/CaseDetails",
    bgColor: "linear-gradient(135deg, #0f95b0, #89C4C1)",
  },
  {
    titleKey: "index.quickEntry.caseindex",
    icon: "/static/icons/record.png",
    path: "/pages/case/index",
    path: "/pagesSub/case/index",
    bgColor: "linear-gradient(135deg, #4DCEA5, #2FB4AE)",
  },
   {
    titleKey: "index.quickEntry.transfer",
    icon: "/static/icons/record.png",
    path: "/pages/case/transfer",
    path: "/pagesSub/case/transfer",
    bgColor: "linear-gradient(135deg, #FF9B6A, #FF6B8B)",
  },
  // {
@@ -172,7 +172,7 @@
  {
    titleKey: "index.quickEntry.investigate",
    icon: "/static/icons/record.png",
    path: "/pages/ethicalReview/index",
    path: "/pagesSub/ethicalReview/index",
    bgColor: "linear-gradient(135deg, #747CF9, #9B7CF9)",
  },
]);
@@ -219,26 +219,26 @@
  },
]);
const featuredServices = ref([
  {
    titleKey: "index.featured.tcm",
    descKey: "index.featured.tcmDesc",
    image: "/static/featured/tcm.png",
    path: "/pages/featured/tcm",
  },
  {
    titleKey: "index.featured.crossBorder",
    descKey: "index.featured.crossBorderDesc",
    image: "/static/featured/cross-border.png",
    path: "/pages/featured/cross-border",
  },
  {
    titleKey: "index.featured.expert",
    descKey: "index.featured.expertDesc",
    image: "/static/featured/expert.png",
    path: "/pages/featured/expert",
  },
]);
// const featuredServices = ref([
//   {
//     titleKey: "index.featured.tcm",
//     descKey: "index.featured.tcmDesc",
//     image: "/static/featured/tcm.png",
//     path: "/pages/featured/tcm",
//   },
//   {
//     titleKey: "index.featured.crossBorder",
//     descKey: "index.featured.crossBorderDesc",
//     image: "/static/featured/cross-border.png",
//     path: "/pages/featured/cross-border",
//   },
//   {
//     titleKey: "index.featured.expert",
//     descKey: "index.featured.expertDesc",
//     image: "/static/featured/expert.png",
//     path: "/pages/featured/expert",
//   },
// ]);
const navigateTo = (path, type) => {
  if (type === "tab") {
@@ -272,14 +272,14 @@
const viewNews = (news) => {
  uni.navigateTo({
    url: `/pages/news/detail?id=${news.id}`,
    url: `/pagesSub/common/news/detail?id=${news.id}`,
  });
};
// 跳转到搜索页
const goSearch = () => {
  uni.navigateTo({
    url: "/pages/search/index",
    url: "/pagesSub/common/search/index",
  });
};