diff --git a/f/web-kboss/src/api/login.js b/f/web-kboss/src/api/login.js index 3058385..5f275bb 100644 --- a/f/web-kboss/src/api/login.js +++ b/f/web-kboss/src/api/login.js @@ -42,11 +42,11 @@ export function logoutAPI(params) { }) } -//获取验证码 1 +//获取验证码 export function getCodeAPI(params) { return request({ url: `/user/mobilecode${suffix}`, - method: 'get', + method: 'post', params: params }) } @@ -263,3 +263,23 @@ export function reqGetCodeAPI(data) { }, }) } + +// 注册/登录获取验证码 +export function sendCode(data) { + return request({ + url: `/user/mobilecode.dspy`, + method: 'post', + data, + }) +} +// 注册 +export function register(data) { + console.log(data); + + return request({ + url: `/customer/registerUser${suffix}`, + method: 'post', + data, + + }) +} diff --git a/f/web-kboss/src/router/index.js b/f/web-kboss/src/router/index.js index 2e9c135..4529902 100644 --- a/f/web-kboss/src/router/index.js +++ b/f/web-kboss/src/router/index.js @@ -316,7 +316,7 @@ export const asyncRoutes = [ children: [ { path: "", - component: () => import('@/views/product/productHome/productIndex/index.vue'), + component: () => import('@/views/product/allProduct/index.vue'), name: 'ProductHome', meta: { title: "全部产品", @@ -395,48 +395,49 @@ export const asyncRoutes = [ }, // 官网 - // { - // path: getHomePath() == '/ncmatchHome/index' ? "/ncmatchHome" : "/homePage", - // component: () => import("@/views/homePage/indexLast.vue"), - // name: "homePage", - // redirect: "/homePage/index", - // meta: { fullPath: "/homePage/index", title: "官网首页", noCache: true, icon: 'el-icon-s-home' }, - // children: [ - // { - // path: "index", - // component: () => import("@/views/homePage/mainPage/index.vue"), - // name: "homePageIndex", - // hidden: true, - // meta: { title: "首页", fullPath: "/homePage/index" }, - // }, - // { - // path: "detail", - // component: () => import("@/views/homePage/detail/index.vue"), - // name: "detail", - // hidden: true, - // meta: { title: "详情", cache: true }, - // }, { - // path: "hospital", - // component: () => import("@/views/homePage/solve/hospital/index.vue"), - // name: "hospital", - // hidden: true, - // meta: { title: "灵医智能体" }, - // }, { - // path: "customerService", - // component: () => import("@/views/homePage/solve/customerService/index.vue"), - // name: "customerService", - // hidden: true, - // meta: { title: "客悦" }, + { + path: getHomePath() == '/ncmatchHome/index' ? "/ncmatchHome" : "/homePage", + component: () => import("@/views/homePage/indexLast.vue"), + name: "homePage", + redirect: "/homePage/index", + hidden: true, + meta: { fullPath: "/homePage/index", title: "官网首页", noCache: true, icon: 'el-icon-s-home', hidden: true }, + children: [ + { + path: "index", + component: () => import("@/views/homePage/mainPage/index.vue"), + name: "homePageIndex", + hidden: true, + meta: { title: "首页", fullPath: "/homePage/index" }, + }, + { + path: "detail", + component: () => import("@/views/homePage/detail/index.vue"), + name: "detail", + hidden: true, + meta: { title: "详情", cache: true }, + }, { + path: "hospital", + component: () => import("@/views/homePage/solve/hospital/index.vue"), + name: "hospital", + hidden: true, + meta: { title: "灵医智能体" }, + }, { + path: "customerService", + component: () => import("@/views/homePage/solve/customerService/index.vue"), + name: "customerService", + hidden: true, + meta: { title: "客悦" }, - // }, { - // path: "about", - // component: () => import("@/views/homePage/about/index.vue"), - // name: "about", - // hidden: true, - // meta: { title: "关于" }, + }, { + path: "about", + component: () => import("@/views/homePage/about/index.vue"), + name: "about", + hidden: true, + meta: { title: "关于" }, - // }] - // }, + }] + }, // 咨询表单 { path: "/consultingMangement", @@ -899,157 +900,161 @@ export const asyncRoutes = [ ] }, - // // 客户 - 注释掉 - // { - // path: "/customer", component: Layout, redirect: "/customer/workOrderManagement", meta: { - // title: "客户", icon: "el-icon-s-custom", noCache: true, fullPath: "/customer", - // }, - // children: [ - // // 工单 - // { - // path: "workOrderManagement", - // component: () => import("@/views/customer/workOrderManagement"), - // name: "WorkOrderManagement", - // meta: { title: "工单管理", fullPath: "/customer/workOrderManagement" }, - // }, - // // 退订 - // { - // path: "unsubscribe", + // // 客户 + { + path: "/customer", + component: Layout, + redirect: "/customer/workOrderManagement", + hidden: true, + meta: { + title: "客户", icon: "el-icon-s-custom", noCache: true, fullPath: "/customer", hidden: true + }, + children: [ + // 工单 + { + path: "workOrderManagement", + component: () => import("@/views/customer/workOrderManagement"), + name: "WorkOrderManagement", + meta: { title: "工单管理", fullPath: "/customer/workOrderManagement" }, + }, + // 退订 + { + path: "unsubscribe", - // component: () => import("@/views/customer/unsubscribe"), - // name: "Unsubscribe", - // alwaysShow: true, // 确保父菜单始终显示 - // meta: { - // title: "退订管理", - // alwaysShow: true - // }, - // children: [ - // { - // path: "BaiduNetdisk", - // component: () => import("@/views/customer/unsubscribe/BaiduNetdisk.vue"), - // name: "BaiduNetdisk", - // meta: { title: "百度云" } - // }, + component: () => import("@/views/customer/unsubscribe"), + name: "Unsubscribe", + alwaysShow: true, // 确保父菜单始终显示 + meta: { + title: "退订管理", + alwaysShow: true + }, + children: [ + { + path: "BaiduNetdisk", + component: () => import("@/views/customer/unsubscribe/BaiduNetdisk.vue"), + name: "BaiduNetdisk", + meta: { title: "百度云" } + }, - // ] - // }, - // // 完善信息 - // { - // path: 'approve', - // component: () => import('@/views/customer/ncApprove/index.vue'), - // name: "Approve", - // meta: { title: "信息完善", fullPath: "/customer/ncApprove" }, - // }, - // // 渠道管理 - // { - // hidden: true, - // path: "channelMangement", - // component: () => import("@/views/customer/channelMangement/index.vue"), - // name: "ChannelMangement", - // meta: { title: "渠道管理", fullPath: "/customer/channelMangement" }, - // }, - // //渠道产品管理 - // { - // hidden: true, - // path: "channelProductMangement", - // component: () => import("@/views/customer/channelMangement/channelProductMangement/index.vue"), - // name: "channelProductMangement", - // meta: { title: "渠道产品管理", fullPath: "/customer/channelMangement/channelProductMangement", noCache: true }, - // }, - // // 无权限 - // { - // hidden: true, - // path: "noChannelPermission", - // component: () => import("@/views/customer/channelMangement/noChannelPermission/index.vue"), - // name: "noChannelPermission", - // meta: { title: "无权限", fullPath: "/customer/channelMangement/noChannelPermission", noCache: true }, - // }, - // // 聊天 - // { - // hidden: true, - // path: "chat", - // component: () => import("@/views/product/productHome/chat/index.vue"), - // name: "chat", - // meta: { - // title: "聊天", fullPath: "/product/productHome/chat", noCache: true - // }, - // }, + ] + }, + // 完善信息 + { + path: 'approve', + component: () => import('@/views/customer/ncApprove/index.vue'), + name: "Approve", + meta: { title: "信息完善", fullPath: "/customer/ncApprove" }, + }, + // 渠道管理 + { + hidden: true, + path: "channelMangement", + component: () => import("@/views/customer/channelMangement/index.vue"), + name: "ChannelMangement", + meta: { title: "渠道管理", fullPath: "/customer/channelMangement" }, + }, + //渠道产品管理 + { + hidden: true, + path: "channelProductMangement", + component: () => import("@/views/customer/channelMangement/channelProductMangement/index.vue"), + name: "channelProductMangement", + meta: { title: "渠道产品管理", fullPath: "/customer/channelMangement/channelProductMangement", noCache: true }, + }, + // 无权限 + { + hidden: true, + path: "noChannelPermission", + component: () => import("@/views/customer/channelMangement/noChannelPermission/index.vue"), + name: "noChannelPermission", + meta: { title: "无权限", fullPath: "/customer/channelMangement/noChannelPermission", noCache: true }, + }, + // 聊天 + { + hidden: true, + path: "chat", + component: () => import("@/views/product/productHome/chat/index.vue"), + name: "chat", + meta: { + title: "聊天", fullPath: "/product/productHome/chat", noCache: true + }, + }, - // // 个人中心 - // { - // hidden: true, - // path: "customerInformation", - // component: () => import("@/views/customer/customerInformation"), - // name: "customerInformation", - // meta: { title: "个人中心", fullPath: "/customer/customerInformation" }, - // }, - // // 充值管理 - // { - // path: "rechargeRecord", - // component: () => import("@/views/customer/rechargeRecord"), - // name: "RechargeRecord", - // meta: { title: "充值管理", fullPath: "/customer/rechargeRecord" }, - // }, - // // 订单管理 - // // { - // // path: "orderManagement", - // // component: () => import("@/views/customer/orderManagement"), - // // name: "OrderManagement", - // // meta: { title: "产品订单", fullPath: "/customer/orderManagement", noCache: true, }, - // // }, - // // 订单详情 - // { - // path: "orderDetil", - // component: () => import("@/views/customer/orderDetil"), - // name: "orderDetil", - // hidden: true, - // meta: { title: "订单详情", fullPath: "/customer/orderDetil", noCache: true, }, - // }, - // // 促销邀请码 - // { - // hidden: true, - // path: "promotionalInvitationCode", - // component: () => import("@/views/customer/promotionalInvitationCode"), - // name: "PromotionalInvitationCode", - // meta: { title: "促销邀请码", fullPath: "/customer/promotionalInvitationCode" }, - // }, + // 个人中心 + { + hidden: true, + path: "customerInformation", + component: () => import("@/views/customer/customerInformation"), + name: "customerInformation", + meta: { title: "个人中心", fullPath: "/customer/customerInformation" }, + }, + // 充值管理 + { + path: "rechargeRecord", + component: () => import("@/views/customer/rechargeRecord"), + name: "RechargeRecord", + meta: { title: "充值管理", fullPath: "/customer/rechargeRecord" }, + }, + // 订单管理 + // { + // path: "orderManagement", + // component: () => import("@/views/customer/orderManagement"), + // name: "OrderManagement", + // meta: { title: "产品订单", fullPath: "/customer/orderManagement", noCache: true, }, + // }, + // 订单详情 + { + path: "orderDetil", + component: () => import("@/views/customer/orderDetil"), + name: "orderDetil", + hidden: true, + meta: { title: "订单详情", fullPath: "/customer/orderDetil", noCache: true, }, + }, + // 促销邀请码 + { + hidden: true, + path: "promotionalInvitationCode", + component: () => import("@/views/customer/promotionalInvitationCode"), + name: "PromotionalInvitationCode", + meta: { title: "促销邀请码", fullPath: "/customer/promotionalInvitationCode" }, + }, - // // 资源示例 + // 资源示例 - // // ssh登录 - // // { + // ssh登录 + // { - // // path: "sshTerminal", - // // component: () => import( - // // // "@/views/customer/userResource/iframeJiNan.vue"//iframe报错 - // // "@/views/customer/userResource/SshTerminal.vue" - // // ), - // // name: "sshTerminal", - // // meta: { title: "ssh登录", fullPath: "/customer/SshTerminal", noCache: true }, - // // }, - // // 审批记录 - // { - // hidden: true, path: "approvalRecord", component: () => import( - // // "@/views/customer/approvalRecord/iframeJiNan.vue"//iframe报错 - // "@/views/customer/approvalRecord" - // ), name: "approvalRecord", meta: { title: "审批记录", fullPath: "/customer/approvalRecord" }, - // }, - // // 发票管理 - // { - // path: "invoice", - // component: () => import("@/views/customer/invoice"), - // name: "Invoice", - // meta: { title: "发票管理", fullPath: "/customer/invoice" }, - // }, - // // 产品最新页 - // { - // hidden: true, - // path: "productIndex", - // component: () => import("@/views/product/productHome/productIndex/index.vue"), - // name: "ProductIndex", - // meta: { title: "产品最新页", fullPath: "/product/productHome/productIndex", noCache: true }, - // },], - // }, + // path: "sshTerminal", + // component: () => import( + // // "@/views/customer/userResource/iframeJiNan.vue"//iframe报错 + // "@/views/customer/userResource/SshTerminal.vue" + // ), + // name: "sshTerminal", + // meta: { title: "ssh登录", fullPath: "/customer/SshTerminal", noCache: true }, + // }, + // 审批记录 + { + hidden: true, path: "approvalRecord", component: () => import( + // "@/views/customer/approvalRecord/iframeJiNan.vue"//iframe报错 + "@/views/customer/approvalRecord" + ), name: "approvalRecord", meta: { title: "审批记录", fullPath: "/customer/approvalRecord" }, + }, + // 发票管理 + { + path: "invoice", + component: () => import("@/views/customer/invoice"), + name: "Invoice", + meta: { title: "发票管理", fullPath: "/customer/invoice" }, + }, + // 产品最新页 + { + hidden: true, + path: "productIndex", + component: () => import("@/views/product/productHome/productIndex/index.vue"), + name: "ProductIndex", + meta: { title: "产品最新页", fullPath: "/product/productHome/productIndex", noCache: true }, + },], + }, // 资质审核 { path: "/qualificationReview", diff --git a/f/web-kboss/src/views/homePage/detail/img/1.png b/f/web-kboss/src/views/homePage/detail/img/1.png new file mode 100644 index 0000000..85e5a4a Binary files /dev/null and b/f/web-kboss/src/views/homePage/detail/img/1.png differ diff --git a/f/web-kboss/src/views/homePage/detail/img/2.png b/f/web-kboss/src/views/homePage/detail/img/2.png new file mode 100644 index 0000000..557f515 Binary files /dev/null and b/f/web-kboss/src/views/homePage/detail/img/2.png differ diff --git a/f/web-kboss/src/views/homePage/detail/img/3.png b/f/web-kboss/src/views/homePage/detail/img/3.png new file mode 100644 index 0000000..aa0151c Binary files /dev/null and b/f/web-kboss/src/views/homePage/detail/img/3.png differ diff --git a/f/web-kboss/src/views/homePage/detail/img/4.png b/f/web-kboss/src/views/homePage/detail/img/4.png new file mode 100644 index 0000000..64172fc Binary files /dev/null and b/f/web-kboss/src/views/homePage/detail/img/4.png differ diff --git a/f/web-kboss/src/views/homePage/detail/img/5.png b/f/web-kboss/src/views/homePage/detail/img/5.png new file mode 100644 index 0000000..de53a08 Binary files /dev/null and b/f/web-kboss/src/views/homePage/detail/img/5.png differ diff --git a/f/web-kboss/src/views/homePage/detail/img/6.png b/f/web-kboss/src/views/homePage/detail/img/6.png new file mode 100644 index 0000000..c74c671 Binary files /dev/null and b/f/web-kboss/src/views/homePage/detail/img/6.png differ diff --git a/f/web-kboss/src/views/homePage/detail/img/7.png b/f/web-kboss/src/views/homePage/detail/img/7.png new file mode 100644 index 0000000..e838b20 Binary files /dev/null and b/f/web-kboss/src/views/homePage/detail/img/7.png differ diff --git a/f/web-kboss/src/views/homePage/detail/img/Frame.png b/f/web-kboss/src/views/homePage/detail/img/Frame.png new file mode 100644 index 0000000..490d6a8 Binary files /dev/null and b/f/web-kboss/src/views/homePage/detail/img/Frame.png differ diff --git a/f/web-kboss/src/views/homePage/detail/img/FrameOne.png b/f/web-kboss/src/views/homePage/detail/img/FrameOne.png new file mode 100644 index 0000000..066533b Binary files /dev/null and b/f/web-kboss/src/views/homePage/detail/img/FrameOne.png differ diff --git a/f/web-kboss/src/views/homePage/detail/img/Group.png b/f/web-kboss/src/views/homePage/detail/img/Group.png new file mode 100644 index 0000000..e3a1916 Binary files /dev/null and b/f/web-kboss/src/views/homePage/detail/img/Group.png differ diff --git a/f/web-kboss/src/views/homePage/detail/index.vue b/f/web-kboss/src/views/homePage/detail/index.vue index 050ba20..084e5c2 100644 --- a/f/web-kboss/src/views/homePage/detail/index.vue +++ b/f/web-kboss/src/views/homePage/detail/index.vue @@ -1,86 +1,170 @@ - - diff --git a/f/web-kboss/src/views/homePage/ncmatch/index.vue b/f/web-kboss/src/views/homePage/ncmatch/index.vue index f254347..cc0fa66 100644 --- a/f/web-kboss/src/views/homePage/ncmatch/index.vue +++ b/f/web-kboss/src/views/homePage/ncmatch/index.vue @@ -191,6 +191,7 @@ export default Vue.extend({ flex-direction: column; align-items: center; justify-content: flex-start; + background-color: #f6f8fd; } diff --git a/f/web-kboss/src/views/homePage/ncmatch/mainPage/productCard/index.vue b/f/web-kboss/src/views/homePage/ncmatch/mainPage/productCard/index.vue index c300be3..95a20ad 100644 --- a/f/web-kboss/src/views/homePage/ncmatch/mainPage/productCard/index.vue +++ b/f/web-kboss/src/views/homePage/ncmatch/mainPage/productCard/index.vue @@ -1,6 +1,6 @@