diff --git a/src/api/index.js b/src/api/index.js index f0bb959..f463dd8 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -1,3 +1,6 @@ +import Setting from '@/setting' +const host = Setting.huoranApi + export default { newlyPublishedArticles: `iasf/sysContent/newlyPublishedArticles`, listWithTree: `iasf/sysColumn/listWithTree`, @@ -18,4 +21,17 @@ export default { siteSearchArticles: `iasf/sysContent/siteSearchArticles`, oneLevelChecksThemAll: `iasf/sysColumn/oneLevelChecksThemAll`, queryArticlesByColumnType: `iasf/sysColumn/queryArticlesByColumnType`, + + listMarketing: `nakadai/nakadai/mall/marketing/promotion/pagingQueryList`, + // 产品中心 + productCategoryList: `${host}nakadai/productClassification/productCategoryList`, + productTypeList: `${host}nakadai/productType/productTypeList`, + supplierList: `${host}nakadai/supplier/supplierList`, + tagsList: `${host}nakadai/tags/tagsList`, + listOfGoods: `${host}nakadai/mall/listOfGoods`, + detailsOfGoods: `${host}nakadai/mall/detailsOfGoods`, + addLearningRecord: `${host}nakadai/mallCourseLearningRecord/addLearningRecord`, + subjectCategoryCited: `${host}nakadai/nakadai/subject/subjectCategoryCited`, + goodsSchemeClassification: `${host}nakadai/mall/goodsSchemeClassification`, + schemeList: `${host}nakadai/nakadai/partner/schemeManagement/schemeList`, } \ No newline at end of file diff --git a/src/assets/images/exp/1.png b/src/assets/images/exp/1.png deleted file mode 100644 index 6620c83..0000000 Binary files a/src/assets/images/exp/1.png and /dev/null differ diff --git a/src/assets/images/exp/2.png b/src/assets/images/exp/2.png deleted file mode 100644 index b172a66..0000000 Binary files a/src/assets/images/exp/2.png and /dev/null differ diff --git a/src/assets/images/exp/3.png b/src/assets/images/exp/3.png deleted file mode 100644 index e9d924e..0000000 Binary files a/src/assets/images/exp/3.png and /dev/null differ diff --git a/src/assets/images/exp/4.png b/src/assets/images/exp/4.png deleted file mode 100644 index 0ae10d7..0000000 Binary files a/src/assets/images/exp/4.png and /dev/null differ diff --git a/src/assets/images/exp/5.png b/src/assets/images/exp/5.png deleted file mode 100644 index 308978a..0000000 Binary files a/src/assets/images/exp/5.png and /dev/null differ diff --git a/src/assets/images/exp/6.png b/src/assets/images/exp/6.png deleted file mode 100644 index c894ba4..0000000 Binary files a/src/assets/images/exp/6.png and /dev/null differ diff --git a/src/assets/images/exp/7.png b/src/assets/images/exp/7.png deleted file mode 100644 index 3211b38..0000000 Binary files a/src/assets/images/exp/7.png and /dev/null differ diff --git a/src/assets/images/exts/pdf.png b/src/assets/images/exts/pdf.png new file mode 100644 index 0000000..39e05f1 Binary files /dev/null and b/src/assets/images/exts/pdf.png differ diff --git a/src/assets/images/exts/pic.png b/src/assets/images/exts/pic.png new file mode 100644 index 0000000..6f63244 Binary files /dev/null and b/src/assets/images/exts/pic.png differ diff --git a/src/assets/images/exts/ppt.png b/src/assets/images/exts/ppt.png new file mode 100644 index 0000000..ac00198 Binary files /dev/null and b/src/assets/images/exts/ppt.png differ diff --git a/src/assets/images/exts/txt.png b/src/assets/images/exts/txt.png new file mode 100644 index 0000000..bb1276a Binary files /dev/null and b/src/assets/images/exts/txt.png differ diff --git a/src/assets/images/exts/video.png b/src/assets/images/exts/video.png new file mode 100644 index 0000000..d509482 Binary files /dev/null and b/src/assets/images/exts/video.png differ diff --git a/src/assets/images/exts/word.png b/src/assets/images/exts/word.png new file mode 100644 index 0000000..aeb4ddc Binary files /dev/null and b/src/assets/images/exts/word.png differ diff --git a/src/assets/images/hot.png b/src/assets/images/hot.png new file mode 100644 index 0000000..2ad58fc Binary files /dev/null and b/src/assets/images/hot.png differ diff --git a/src/assets/images/my-school.png b/src/assets/images/my-school.png new file mode 100644 index 0000000..a621c54 Binary files /dev/null and b/src/assets/images/my-school.png differ diff --git a/src/assets/images/product/1.png b/src/assets/images/product/1.png new file mode 100644 index 0000000..169313e Binary files /dev/null and b/src/assets/images/product/1.png differ diff --git a/src/assets/images/product/2.png b/src/assets/images/product/2.png new file mode 100644 index 0000000..2ef8fe6 Binary files /dev/null and b/src/assets/images/product/2.png differ diff --git a/src/assets/images/product/3.png b/src/assets/images/product/3.png new file mode 100644 index 0000000..cc1947c Binary files /dev/null and b/src/assets/images/product/3.png differ diff --git a/src/assets/images/product/4.png b/src/assets/images/product/4.png new file mode 100644 index 0000000..c23df8a Binary files /dev/null and b/src/assets/images/product/4.png differ diff --git a/src/assets/images/product/5.png b/src/assets/images/product/5.png new file mode 100644 index 0000000..83b2807 Binary files /dev/null and b/src/assets/images/product/5.png differ diff --git a/src/assets/images/product/bg1.png b/src/assets/images/product/bg1.png new file mode 100644 index 0000000..30d7a74 Binary files /dev/null and b/src/assets/images/product/bg1.png differ diff --git a/src/assets/images/product/bg2.png b/src/assets/images/product/bg2.png new file mode 100644 index 0000000..d8e0105 Binary files /dev/null and b/src/assets/images/product/bg2.png differ diff --git a/src/assets/images/search1.png b/src/assets/images/search1.png new file mode 100644 index 0000000..a869736 Binary files /dev/null and b/src/assets/images/search1.png differ diff --git a/src/assets/images/type.png b/src/assets/images/type.png new file mode 100644 index 0000000..ae65fee Binary files /dev/null and b/src/assets/images/type.png differ diff --git a/src/pages/product/list/index.vue b/src/pages/product/list/index.vue new file mode 100644 index 0000000..0503931 --- /dev/null +++ b/src/pages/product/list/index.vue @@ -0,0 +1,842 @@ + + + + + + + + + + {{ item.title }} + {{ item.subheading }} + + + + + + + + + + + + + + {{ tab.name }} + + + + + + + + + + 学科专业 + + 全部 + 不限 + + {{ item.val.length ? item.name : item.categoryName }} + categoryChange(id, item, i)"> + + + + + 产品标签 + + 全部 + {{ item.tagsName }} + + + + + 方案分类 + + 全部 + {{ item.classificationName }} + + + + 方案名称 + + 全部 + {{ item.title }} + + + + + 产品类型 + + 全部 + {{ item.typeName }} + + + + 购买状态 + {{ item.name }} + + + + + + {{ item.name }} + 发布时间 + + + + + + + + + + + + + + + + {{ item.productName }} + + + + + + {{ tag }} + + + + + + 官方精选 + + + {{ item.typeName }} + + {{ item.learningCount }}人学过 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/pages/product/show/index.vue b/src/pages/product/show/index.vue new file mode 100644 index 0000000..3a279e3 --- /dev/null +++ b/src/pages/product/show/index.vue @@ -0,0 +1,687 @@ + + + + + + + + + + + + + + + + + + + + + {{ form.mall.productName }} + + 共 {{ form.numberOfExperimentalItems }} 个实验项目 + 已有 {{ form.goodsRes.learningCount }}人学过 + + + + + 适用专业: + + + {{ form.goodsRes.professionalName }} + + + + + 适用场景: + {{ form.mall.applicationScenario }} + + + 匹配课程: + + + {{ form.mall.matchingCourse }} + + + + + 预计课时: + {{ form.mall.courseHours }} + + + 产品类型: + {{ form.goodsRes.typeName }} + + + 试用体验 + 进入{{ isDataforward ? '系统' : '实验' }} + 进入系统 + + + + + + {{ tab.name }} + + + + + + + + {{ item.name }} + + + + + + + + + + + {{ section.name }} + + + + + + + + + + + 热门产品推荐 + + + + + + {{ item.productName }} + + + {{ tag }} + + + + 官方精选 + + {{ item.learningCount }}人学过 + + + + + + + + + + + + + {{ link.urlName }}: + {{ link.url }} + + + + + + + + + \ No newline at end of file diff --git a/src/router/modules/product.js b/src/router/modules/product.js new file mode 100644 index 0000000..1cce350 --- /dev/null +++ b/src/router/modules/product.js @@ -0,0 +1,27 @@ +import BasicLayout from "@/layouts/home"; + +const meta = {}; + +const pre = "product-"; + +export default { + path: "/product", + name: "product", + redirect: { + name: `${pre}list` + }, + meta, + component: BasicLayout, + children: [ + { + path: `list`, + component: () => import("@/pages/product/list"), + meta: { title: "产品中心" } + }, + { + path: `show`, + component: () => import("@/pages/product/show"), + meta: { title: "产品详情" } + }, + ] +}; \ No newline at end of file diff --git a/src/setting.js b/src/setting.js index 15a2225..bc3b2b4 100644 --- a/src/setting.js +++ b/src/setting.js @@ -15,6 +15,7 @@ const Setting = { titleSuffix: '深圳或然科技官网', // 网页标题的后缀 routerMode: "hash", // 路由模式,可选值为 history 或 hash apiBaseURL: host, // 接口请求地址 + huoranApi: `https://www.occupationlab.com/`, autoLogoutTime: 3600000, // 长时间未操作,自动退出登录时间 modalDuration: 3, // 接口请求返回错误时,弹窗的持续时间,单位:秒 errorModalType: "Message", // 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice
{{ item.subheading }}