diff --git a/dist.zip b/dist.zip index 8c4183e..612abc5 100644 Binary files a/dist.zip and b/dist.zip differ diff --git a/public/assets/img/close.png b/public/assets/img/close.png new file mode 100644 index 0000000..830d6b0 Binary files /dev/null and b/public/assets/img/close.png differ diff --git a/public/assets/img/close_active.png b/public/assets/img/close_active.png new file mode 100644 index 0000000..8436948 Binary files /dev/null and b/public/assets/img/close_active.png differ diff --git a/src/components/HelpCenter.vue b/src/components/HelpCenter.vue index 2cbc273..ff81ea1 100644 --- a/src/components/HelpCenter.vue +++ b/src/components/HelpCenter.vue @@ -510,6 +510,7 @@ export default { overflow: hidden; text-overflow: ellipsis; /* position: relative; */ + line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; diff --git a/src/components/HomePage.vue b/src/components/HomePage.vue index 27124db..5967f38 100644 --- a/src/components/HomePage.vue +++ b/src/components/HomePage.vue @@ -1,5 +1,17 @@ @@ -255,90 +67,113 @@ export default { data() { return { - basePrice1: 500, - basePrice21: 300, - basePrice22: 1000, - additionalOptions2: { - chec1: false, - chec2: false, - }, - basePrice3: 180, - additionalOptions3: { - chec3: false, - chec4: false, - }, - - - } + activeIndex: 0, // 默认第一个div是活跃的 + hoverText: '', // 用于追踪当前鼠标悬停的文本 + hoverIndex: -1, + content: [ + {title: '全托管', priceSum: 280, intro: '从下单到取证,仅需提供基本信息,我们为您提供一站式管家服务。', + severList: [ + {serve: '包可运行软件开发与搭建', highlight: '',start: '', end: '', tooltip: ''}, + {serve: '包鉴别材料撰写', highlight: '鉴别材料', start: 1, end: 5, tooltip: '鉴别材料包含:申请表、源程序和系统用户手册或设计文档'}, + {serve: '包代办', highlight: '',start: '', end: '', tooltip: ''}, + {serve: '包下证', highlight: '',start: '', end: '', tooltip: ''}, + {serve: '包开发票', highlight: '',start: '', end: '', tooltip: ''}, + {serve: '提供可运行软件安装包', highlight: '',start: '', end: '', tooltip: ''}, + {serve: '提供可运行软件云服务900天', highlight: '云服务', start: 7, end: 10, tooltip: '云服务:保障通过秒著平台搭建的可运行软件在线能正常访问及数据存储。云服务到期后系统自动关停,数据清空。'}, + {serve: '提供可运行软件演示视频', highlight: '',start: '', end: '', tooltip: ''}, + {serve: '客服一对一服务', highlight: '',start: '', end: '', tooltip: ''} + ], + flowList: [ + {id: 1, flow: '填写系统名称'}, + {id: 2, flow: '填写基本信息'}, + {id: 3, flow: '接收证书'}, + ], + checList: [ + {chec: '加急办理800元', price: 800}, + ] + }, + {title: '写材料并委托代办', priceSum: 230, intro: '通过平台自己搭建可运行软件后由平台自动生成相关鉴别材料,可委托平台合作代办机构进行办理。', + severList: [ + {serve: '通过平台自己搭建可运行软件', highlight: '',start: '', end: '', tooltip: ''}, + {serve: '平台自动撰写鉴别材料', highlight: '鉴别材料', start: 6, end: 10, tooltip: '鉴别材料包含:申请表、源程序和系统用户手册或设计文档'}, + {serve: '包代办', highlight: '',start: '', end: '', tooltip: ''}, + {serve: '包下证', highlight: '',start: '', end: '', tooltip: ''}, + {serve: '包开发票', highlight: '',start: '', end: '', tooltip: ''}, + {serve: '提供可运行软件云服务600天', highlight: '云服务', start: 7, end: 10, tooltip: '云服务:保障通过秒著平台搭建的可运行软件在线能正常访问及数据存储。云服务到期后系统自动关停,数据清空。'}, + {serve: '客服一对一服务', highlight: '',start: '', end: '', tooltip: ''} + ], + flowList: [ + {id: 1, flow: '按系统操作流程执行'} + ], + checList: [ + {chec: '加急办理800元', price: 800}, + {chec: '安装包50元', price: 50}, + {chec: '系统演示视频文件50元', price: 50}, + ] + }, + {title: '写材料', priceSum: 180, intro: '通过平台自己搭建可运行软件后由平台自动生成相关鉴别材料,下载鉴别材料后可自行申报或找相关代理机构申报。', + severList: [ + {serve: '通过平台自己搭建可运行软件', highlight: '',start: '', end: '', tooltip: ''}, + {serve: '平台自动撰写鉴别材料', highlight: '鉴别材料', start: 6, end: 10, tooltip: '鉴别材料包含:申请表、源程序和系统用户手册或设计文档'}, + {serve: '包补正材料撰写一直到下证', highlight: '',start: '', end: '', tooltip: ''}, + {serve: '两次补正不通过平台退款', highlight: '',start: '', end: '', tooltip: ''}, + {serve: '包开发票', highlight: '',start: '', end: '', tooltip: ''}, + {serve: '提供可运行软件云服务300天', highlight: '云服务', start: 7, end: 10, tooltip: '云服务:保障通过秒著平台搭建的可运行软件在线能正常访问及数据存储。云服务到期后系统自动关停,数据清空。'}, + {serve: '客服一对一服务', highlight: '',start: '', end: '', tooltip: ''} + ], + flowList: [ + {id: 1, flow: '按系统操作流程执行'} + ], + checList: [ + {chec: '安装包50元', price: 50}, + {chec: '系统演示视频文件50元', price: 50}, + ] + }, + {title: '免费试用', priceSum: 0, intro: '每个账户的免费试用次数为3次。免费试用主要目的是让您了解如何使用平台,可全过程体验。', + severList: [ + {serve: '通过平台自己搭建可运行软件', highlight: '',start: '', end: '', tooltip: ''}, + {serve: '平台自动撰写鉴别材料', highlight: '鉴别材料', start: 6, end: 10, tooltip: '鉴别材料包含:申请表、源程序和系统用户手册或设计文档'}, + {serve: '提供可运行软件云服务10天', highlight: '云服务', start: 7, end: 10, tooltip: '云服务:保障通过秒著平台搭建的可运行软件在线能正常访问及数据存储。云服务到期后系统自动关停,数据清空。'}, + {serve: '客服一对一服务', highlight: '',start: '', end: '', tooltip: ''} + ], + flowList: [ + {id: 1, flow: '按系统操作流程执行'} + ], + checList: [] + }, + + ] + } }, methods: { - // goToLink() { - // window.location.href = 'https://www.aimzhu.com/operator/'; - // }, - getButtonValue(event) { - // 获取按钮的value - console.log(event.target.value); + setHoverText(text, index) { + if (text) { + this.hoverText = text; + this.hoverIndex = index; + } else { + this.clearHoverText(); + } }, - - // updateTotalPrice2() { - // // 更新第二项的总价格 - // this.additionalOptions2 = this.additionalOptions2.concat(this.additionalOptions3); - // this.additionalOptions2 = this.additionalOptions2.concat(this.additionalOptions4); - // }, - // updateTotalPrice3() { - // // 更新第三项的总价格 - // this.additionalOptions3 = this.additionalOptions3.concat(this.additionalOptions4); - // this.additionalOptions3 = this.additionalOptions3.concat(this.additionalOptions5); - // } - - updateTotalPrice2() { - let price = 0; - if (this.additionalOptions2.chec1) price += 50; - if (this.additionalOptions2.chec2) price += 50; - this.additionalOptions2.total = price; - }, - updateTotalPrice3() { - let price = 0; - if (this.additionalOptions3.chec3) price += 50; - if (this.additionalOptions3.chec4) price += 50; - this.additionalOptions3.total = price; + clearHoverText() { + this.hoverText = ''; + this.hoverIndex = -1; }, }, - // mounted() { - // this.dianji(); - // }, - computed: { - totalPrice21() { - return this.basePrice21 + (this.additionalOptions2.total || 0); - }, - totalPrice22() { - return this.basePrice22 + (this.additionalOptions2.total || 0); - }, - totalPrice3() { - return this.basePrice3 + (this.additionalOptions3.total || 0); - }, - // additionalOptionsPrice2() { - // // 计算附加选项的总价 - // return this.additionalOptions2.reduce((total, option) => total + parseInt(option), 0); - // }, - // additionalOptionsPrice3() { - // // 计算附加选项的总价 - // return this.additionalOptions3.reduce((total, option) => total + parseInt(option), 0); - // }, - // totalPrice21() { - // // 计算第二项普通件的总价 - // return this.basePrice21 + this.additionalOptionsPrice2; - // }, - // totalPrice22() { - // // 计算第二项加急件的总价 - // return this.basePrice22 + this.additionalOptionsPrice2; - // }, - // totalPrice3() { - // // 计算第三项的总价 - // return this.basePrice3 + this.additionalOptionsPrice3; - // } + computed: { + contentList() { + return this.content.map(service => { + const additionalPrice = service.checList.reduce((sum, option) => { + return option.checked ? sum + option.price : sum; + }, 0); + return { + ...service, + computedPrice: service.priceSum + additionalPrice + }; + }); + } + }, @@ -356,17 +191,18 @@ export default { position: relative; background: url(/assets/img/shoufei-bj.png) no-repeat; background-size: cover; - height: 1100px; + height: 1200px; + /* font-family: '楷体'; */ } .shou-fei .box-top { position: absolute; top: 140px; left: 50%; transform: translate(-50%, 0); - width: 500px; - height: 100px; - /* background-color: pink; */ -text-align: center; + width: 500px; + height: 100px; + /* background-color: pink; */ + text-align: center; } .shou-fei .box-top h4 { @@ -385,13 +221,13 @@ text-align: center; } .shou-fei .box-bottom { position: absolute; - top: 300px; + top: 270px; left: 50%; transform: translate(-50%, 0); display: flex; justify-content: space-around; width: 1200px; - height: 700px; + height: 900px; /* border: 1px solid red; */ } @@ -399,8 +235,8 @@ text-align: center; display: flex; flex-direction: column; width: 280px; - height: 660px; - padding: 20px 15px; + height: 810px; + padding: 0px 0px; background-color: #FFF; -webkit-box-shadow: 0 0 10px rgba(0,0,0,.1); -moz-box-shadow: 0 0 10px rgba(0,0,0,.1); @@ -411,169 +247,232 @@ text-align: center; flex-direction: column; align-content: center; /* flex-wrap: wrap; */ - width: 250px; - height: 200px; + width: 280px; + /* height: 200px; */ /* border: 1px solid red; */ } -.box .top h4 { - width: 200px; - height: 40px; - line-height: 40px; - text-align: center; - font-size: 26px; + +.box .top .bjys { + width: 280px; + height: 50px; + background: linear-gradient(to right, rgba(237,90,36,.2), rgba(243,143,30,.2)); color: #5e3603; - margin-top: 25px; - margin-left: 25px; - margin-bottom: 20px; - /* background-color: pink; */ } -.box .top span { - width: 150px; +.box .top .bjys.active { + background: linear-gradient(to right, rgba(237,90,36,1), rgba(243,143,30,1)); + color: #FFFFFF ; +} + +.box .top h4 { + width: 280px; + height: 50px; + line-height: 50px; + text-align: center; + font-size: 22px; + font-weight: 500; + +} +.box .top .price { height: 50px; font-size: 18px; letter-spacing: 2px; text-align: center; - margin-left: 50px; - /* margin-bottom: 20px; */ + margin: 15px auto; color: #f77333; - /* background-color: skyblue; */ } -.box .top span em { +.box .top .price em { font-size: 36px; font-weight: 700; } -.box .top button { - width: 230px; - height: 50px; - margin: 0 10px; - margin-top: 30px; - background-color: #fcbb53; - border: none; - border-radius: 4px; - color: #FFF; - font-size: 18px; - cursor: pointer; -} -.box .top p, -.box2 .top p { - text-align: center; - font-size: 14px; - color: #8f8f8f; -} -.box2 .top button { - margin-top: 0px; -} -.box2 .top .btnlist { +.box .top .jianjie { + position: relative; + flex-wrap: wrap; display: flex; - justify-content: space-around; - width: 250px; - margin-top: 10px; + justify-content: center; + align-content: center; + height: 110px; + margin: 0 20px; + padding: 10px; + border-radius: 6px; + font-size: 15px; + color: #5e3603; + background-color: #fff6e7; + text-align: justify; + /* vertical-align: center; */ } -.box .top .btn { - width: 110px; +.box .top .jianjie i { + position: absolute; + top: -10px; + left: 115px; + width: 0; + height: 0; + border-left:10px solid transparent; + border-right: 10px solid transparent; + border-bottom:10px solid #feedcc; } -.box .top button:hover { - font-size: 20px; - font-weight: 700; -} - - - -.box ul { - margin: 5px 10px; +.box .serve { + margin: 5px 20px; /* background-color: pink; */ } -.box ul li { - /* height: 24px; */ +.box .serve h5 { + font-size: 18px; + font-weight: 700; + height: 36px; + line-height: 36px; + color: #694618; +} +.box .serve .serveList { + /* background-color: skyblue; */ + margin: 5px 0 0 10px; + height: 290px; +} +.box .serve .serveList li { font-size: 14px; line-height: 26px; display: flex; - /* background-color: green; */ margin: 5px 0; } - -.box ul li i { +.box .serve .serveList li i { width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 10px; color: #f6783a; - /* margin-right: 8px; - margin-left: 8px; */ margin: 3px 8px; background-color: #fee9d1; - /* background: url(/assets/img/shoufei-dg.png) no-repeat; - background-size: cover; */ } -.box ul li h4 { +.box .serve .serveList li .serveContent { + position: relative; + display: inline-block; + cursor: pointer; +} +.box .flow { + margin: 0 20px 5px 20px; + /* background-color: rgb(149, 238, 149); */ +} +.box .flow h5 { font-size: 18px; font-weight: 700; -} -.box ul li p { - color: #6b4516; -} -.box1 ul li:nth-child(1), -.box1 ul li:nth-child(9), -.box2 ul li:nth-child(1), -.box2 ul li:nth-child(8), -.box3 ul li:nth-child(1), -.box3 ul li:nth-child(6), -.box4 ul li:nth-child(1), -.box4 ul li:nth-child(4) { height: 36px; line-height: 36px; color: #694618; } -.box1 ul li:nth-child(1) i, -.box1 ul li:nth-child(9) i, -.box2 ul li:nth-child(1) i, -.box2 ul li:nth-child(8) i, -.box3 ul li:nth-child(1) i, -.box3 ul li:nth-child(6) i, -.box4 ul li:nth-child(1) i, -.box4 ul li:nth-child(4) i { - background-color: transparent; - display: none; +.box .flow .flowList { + /* background-color: skyblue; */ + margin: 5px 0 0 10px; } -.box1 ul li:nth-child(10) i, -.box1 ul li:nth-child(11) i, -.box1 ul li:nth-child(12) i { - background: none; - background-color: #fee9d1; - color: #f6783a; -} - -.box2 ul li:nth-child(11), -.box2 ul li:nth-child(12), -.box3 ul li:nth-child(9), -.box3 ul li:nth-child(10) { - /* background-color: pink; */ - font-weight: 300; +.box .flow .flowList li { font-size: 14px; - margin: 3px 0; + line-height: 26px; + display: flex; + margin: 5px 0; } -.box2 ul li:nth-child(11), -.box3 ul li:nth-child(9) { - margin-top: 10px; +.box .flow .flowList li i { + width: 20px; + height: 20px; + line-height: 20px; + text-align: center; + border-radius: 10px; + color: #f6783a; + margin: 3px 8px; + background-color: #fee9d1; } -.box2 ul li:nth-child(11) input[type="checkbox"], -.box2 ul li:nth-child(12) input[type="checkbox"], -.box3 ul li:nth-child(9) input[type="checkbox"], -.box3 ul li:nth-child(10) input[type="checkbox"] { +.box .flow .flowList li .flowContent { + position: relative; + display: inline-block; + cursor: pointer; +} +.box .fgx { + display: flex; + margin: 5px 20px; + width: 240px; + height: 2px; + background-color: #f9f9f9; + /* background-color: red; */ +} +.box .chec { + margin: 0px 20px; + /* background-color: pink; */ +} +.box .chec .checList { + margin: 0 5px; +} +.box .chec .checList li { + display: flex; + height: 26px; +} +.box .chec .checList li input[type="checkbox"] { width: 16px; height: 16px; - margin: 4px 10px 4px 11px; + margin: 4px 10px 4px 11px; +} +.box .chec .checList li p { + font-size: 14px; + line-height: 26px; + color: #6b4516; } -.box2 ul li:nth-child(10) span, -.box3 ul li:nth-child(8) span { +.highlight { + color: #F7AC3B; + cursor: pointer; +} + +.tooltip { + position: absolute; + top: 26px; + background-color: rgba(255,232,192,.9); + color: #5F3B00; + padding: 10px; + display: none; + z-index: 10; +} + +/* .serveContent { + position: relative; +} */ +.serveList li { + position: relative !important; +} + +.serveContent:hover +.tooltip { display: block; - width: 230px; - height: 2px; - margin-top: 10px ; - background-color: #f9f9f9; } +/* .tooltip { + position: absolute; + background-color: #f9f9f9; + border: 1px solid #d4d4d4; + padding: 10px; + display: none; +} +.serveContent { + position: relative; +} +.serveContent:hover +.tooltip { + display: block; +} */ + +/* .box ul li p em { + position: relative; + display: inline-block; + cursor: pointer; + color: #F7AC3B; +} + +.box ul li p em .detail { + display: none; + position: absolute; + top: 25px; + width: 250px; + padding: 5px 10px; + text-align: justify; + color: #5F3B00; + background-color: rgba(255,232,192,.7); +} + +.box ul li p em:hover .detail { + display: block; +} */ \ No newline at end of file diff --git a/src/components/UserAgreement.html b/src/components/UserAgreement.html index 38b17e8..b059cf9 100644 --- a/src/components/UserAgreement.html +++ b/src/components/UserAgreement.html @@ -5,7 +5,7 @@ - 用户服务协议 + AI秒著引擎 + + + +
+

+ +
+
+ + + + + \ No newline at end of file