diff --git a/f/web-kboss/src/api/H5/index.js b/f/web-kboss/src/api/H5/index.js index a9e3cb7..44a6ad7 100644 --- a/f/web-kboss/src/api/H5/index.js +++ b/f/web-kboss/src/api/H5/index.js @@ -19,7 +19,7 @@ export const reqNavList = (data) => { } //立即咨询 -export const reqNewHomeConsult = (data) => { +export const reqProductConsult = (data) => { return request({ url: '/product/add_user_inquiry.dspy', method: 'post', @@ -29,3 +29,4 @@ export const reqNewHomeConsult = (data) => { data }) } + diff --git a/f/web-kboss/src/views/H5/H5_dialog/index.vue b/f/web-kboss/src/views/H5/H5_dialog/index.vue new file mode 100644 index 0000000..1e1c13e --- /dev/null +++ b/f/web-kboss/src/views/H5/H5_dialog/index.vue @@ -0,0 +1,536 @@ + + + + + diff --git a/f/web-kboss/src/views/H5/all_less/index.css b/f/web-kboss/src/views/H5/all_less/index.css new file mode 100644 index 0000000..ac858be --- /dev/null +++ b/f/web-kboss/src/views/H5/all_less/index.css @@ -0,0 +1,337 @@ +.main-page { + width: 100%; + min-height: 100vh; + background-color: #f8fafd; + overflow-y: auto; + -webkit-overflow-scrolling: touch; +} +.top-box { + width: 100%; + height: 50vh; + background: url("../images/banner.png") no-repeat; + background-size: 100% 100%; + display: flex; + align-items: center; +} +.title { + width: 100%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + color: #222f60; +} +.title .name { + background: linear-gradient(90deg, #275AFF 0%, #2EBDFA 100%); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + background-clip: text; + font-size: 0.55rem; +} +.title .title-top { + font-size: 0.55rem; +} +.title .title-btm { + font-size: 0.26rem; + margin-top: 0.98rem; +} +.text { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + padding: 0.14rem 0; + width: 100%; +} +.text .text-top { + font-size: 0.26rem; + color: #000; +} +.text .text-btm { + font-size: 0.18rem; + color: #707070; +} +.base-box, +.journey-box, +.latitude-box { + width: 100%; + display: flex; + flex-direction: column; + padding: 0.3rem 0.4rem; +} +.base-box .content, +.journey-box .content, +.latitude-box .content { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + gap: 0.2rem; +} +.base-box .content .item-box, +.journey-box .content .item-box, +.latitude-box .content .item-box { + width: 48%; + background-color: #fff; + border-radius: 0.1rem; + padding: 0.2rem; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); + margin-bottom: 0.2rem; + display: flex; + flex-direction: column; +} +.base-box .content .item-box .item-title, +.journey-box .content .item-box .item-title, +.latitude-box .content .item-box .item-title { + font-size: 0.2rem; + font-weight: bold; + color: #333; + margin-bottom: 0.1rem; +} +.base-box .content .item-box .item-description, +.journey-box .content .item-box .item-description, +.latitude-box .content .item-box .item-description { + font-size: 0.14rem; + color: #666; + margin-bottom: 0.15rem; + line-height: 1.4; +} +.base-box .content .item-box .advantage-list, +.journey-box .content .item-box .advantage-list, +.latitude-box .content .item-box .advantage-list { + margin: 0.1rem 0; +} +.base-box .content .item-box .advantage-list .advantage-item, +.journey-box .content .item-box .advantage-list .advantage-item, +.latitude-box .content .item-box .advantage-list .advantage-item { + display: flex; + align-items: flex-start; + font-size: 0.12rem; + color: #666; + margin-bottom: 0.08rem; + line-height: 1.4; +} +.base-box .content .item-box .advantage-list .advantage-item .advantage-icon, +.journey-box .content .item-box .advantage-list .advantage-item .advantage-icon, +.latitude-box .content .item-box .advantage-list .advantage-item .advantage-icon { + width: 0.16rem; + height: 0.16rem; + margin-right: 0.05rem; + flex-shrink: 0; +} +.base-box .content .item-box .advantage-list .advantage-item .advantage-name, +.journey-box .content .item-box .advantage-list .advantage-item .advantage-name, +.latitude-box .content .item-box .advantage-list .advantage-item .advantage-name { + color: #000; + font-weight: 500; + white-space: nowrap; + margin-right: 0.05rem; +} +.base-box .content .item-box .advantage-list .advantage-item .advantage-content, +.journey-box .content .item-box .advantage-list .advantage-item .advantage-content, +.latitude-box .content .item-box .advantage-list .advantage-item .advantage-content { + flex: 1; +} +.base-box .content .item-box .item-price, +.journey-box .content .item-box .item-price, +.latitude-box .content .item-box .item-price { + font-size: 0.1rem; + font-weight: bold; + color: #d4d6e1; + margin: 0.15rem 0; +} +.base-box .content .item-box .item-price .price, +.journey-box .content .item-box .item-price .price, +.latitude-box .content .item-box .item-price .price { + font-size: 0.22rem; + color: #f52220; +} +.base-box .content .item-box .item-price .price-icon, +.journey-box .content .item-box .item-price .price-icon, +.latitude-box .content .item-box .item-price .price-icon { + color: #f52220; + font-size: 0.1rem; +} +.base-box .content .item-box .tag-list, +.journey-box .content .item-box .tag-list, +.latitude-box .content .item-box .tag-list { + display: flex; + flex-wrap: wrap; + gap: 0.1rem; + margin: 0.15rem 0; +} +.base-box .content .item-box .tag-list .tag-item, +.journey-box .content .item-box .tag-list .tag-item, +.latitude-box .content .item-box .tag-list .tag-item { + padding: 0.04rem 0.12rem; + font-size: 0.12rem; + color: #aeb6bf; + background-color: #fff; + border: 0.02rem solid #c8d6e7; + border-radius: 0.12rem; + display: inline-block; +} +.base-box .content .item-box .item-button, +.journey-box .content .item-box .item-button, +.latitude-box .content .item-box .item-button { + background: linear-gradient(90deg, #275AFF 0%, #2EBDFA 100%); + border-radius: 0.04rem; + padding: 0.08rem 0; + text-align: center; + cursor: pointer; + margin-top: auto; +} +.base-box .content .item-box .item-button .item-button-text, +.journey-box .content .item-box .item-button .item-button-text, +.latitude-box .content .item-box .item-button .item-button-text { + color: #fff; + font-size: 0.14rem; +} +.partner { + background-color: #f8f9fd; + width: 100%; + display: flex; + flex-direction: column; + padding: 0.3rem 0.4rem; +} +.partner .partner-scroll { + width: 100%; + max-width: 14rem; + margin: 0 auto; + padding: 0.15rem; + background: #fff; + border-radius: 0.16rem; + margin-bottom: 0.3rem; +} +.partner .partner-scroll .logo-scroll-wrapper { + width: 100%; + height: 0.85rem; + overflow: hidden; + position: relative; +} +.partner .partner-scroll .logo-scroll-container { + display: flex; + height: 100%; + animation: scroll 15s linear infinite; + white-space: nowrap; +} +.partner .partner-scroll .logo-item { + flex: 0 0 auto; + width: 1.68rem; + height: 100%; + margin-right: 0.2rem; + background: #fff; + border-radius: 0.04rem; + overflow: hidden; + display: flex; + align-items: center; + justify-content: center; +} +.partner .partner-scroll .logo-item img { + width: 100%; + height: 100%; + object-fit: contain; +} +@keyframes scroll { + 0% { + transform: translateX(0); + } + 100% { + transform: translateX(-50%); + } +} +.footer { + width: 100%; + background: #f5f7fa; + display: flex; + justify-content: space-around; + align-items: center; + padding: 0.4rem; + border-top: 0.013rem solid #e4e7ed; + margin-top: 0.4rem; +} +.left-box { + display: flex; + align-items: flex-start; +} +.logo-footer { + width: 1.2rem; + height: 0.4rem; + margin-right: 0.667rem; +} +.logo-footer img { + width: 100%; + height: 100%; + object-fit: contain; +} +.content-main ul { + list-style: none; + padding: 0; + margin: 0; +} +.content-main li { + font-size: 0.16rem; + color: #606266; + line-height: 1.8; + margin-bottom: 0.08rem; +} +.content-main li:last-child { + margin-bottom: 0; +} +.content-main a { + color: #409eff; + text-decoration: none; + font-size: 0.16rem; +} +.content-main a:hover { + text-decoration: underline; +} +.phone-number { + margin-left: 0.267rem; + font-size: 0.16rem; +} +.copyright { + margin-left: 0.267rem; + font-size: 0.16rem; +} +.police-icon { + width: 0.227rem; + height: 0.227rem; + margin-right: 0.01rem; +} +.police-link { + margin-right: 0.4rem; +} +.license-link { + font-size: 0.16rem; +} +.right-box { + display: flex; + align-items: center; +} +.qr-box { + display: flex; + flex-direction: column; + align-items: center; +} +.qr-box .qr-code { + width: 1.333rem; + height: 1.333rem; + background: #fff; + border-radius: 0.053rem; + margin-bottom: 0.133rem; + padding: 0.08rem; + border: 0.013rem solid #e4e7ed; + box-sizing: content-box; +} +.qr-box .qr-code img { + width: 100%; + height: 100%; + object-fit: contain; +} +.qr-box .qr-content { + font-size: 0.16rem; + color: #606266; +} +.qr-box-margin { + margin-left: 0.667rem; +} diff --git a/f/web-kboss/src/views/H5/all_less/index.less b/f/web-kboss/src/views/H5/all_less/index.less new file mode 100644 index 0000000..1a527c8 --- /dev/null +++ b/f/web-kboss/src/views/H5/all_less/index.less @@ -0,0 +1,362 @@ +.main-page { + width: 100%; + min-height: 100vh; + background-color: #f8fafd; + overflow-y: auto; + -webkit-overflow-scrolling: touch; +} + +.top-box { + width: 100%; + height: 50vh; + background: url("../images/banner.png") no-repeat; + background-size: 100% 100%; + display: flex; + align-items: center; +} + +.title { + width: 100%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + color: #222f60; + + .name { + background: linear-gradient(90deg, #275AFF 0%, #2EBDFA 100%); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + background-clip: text; + font-size: .55rem; + } + + .title-top { + font-size: .55rem; + } + + .title-btm { + font-size: .26rem; + margin-top: .98rem; + } +} + +.text { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + padding: .14rem 0; + width: 100%; + + .text-top { + font-size: .26rem; + color: #000; + } + + .text-btm { + font-size: .18rem; + color: #707070; + } +} + +.base-box, +.journey-box, +.latitude-box { + width: 100%; + display: flex; + flex-direction: column; + padding: 0.3rem 0.4rem; + + .content { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + gap: 0.2rem; + + .item-box { + width: 48%; + background-color: #fff; + border-radius: 0.1rem; + padding: 0.2rem; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); + margin-bottom: 0.2rem; + display: flex; + flex-direction: column; + + .item-title { + font-size: 0.2rem; + font-weight: bold; + color: #333; + margin-bottom: 0.1rem; + } + + .item-description { + font-size: 0.14rem; + color: #666; + margin-bottom: 0.15rem; + line-height: 1.4; + } + + .advantage-list { + margin: 0.1rem 0; + + .advantage-item { + display: flex; + align-items: flex-start; + font-size: 0.12rem; + color: #666; + margin-bottom: 0.08rem; + line-height: 1.4; + + .advantage-icon { + width: 0.16rem; + height: 0.16rem; + margin-right: 0.05rem; + flex-shrink: 0; + } + + .advantage-name { + color: #000; + font-weight: 500; + white-space: nowrap; + margin-right: 0.05rem; + } + + .advantage-content { + flex: 1; + } + } + } + + .item-price { + font-size: 0.1rem; + font-weight: bold; + color: #d4d6e1; + margin: 0.15rem 0; + + .price { + font-size: .22rem; + color: #f52220; + } + + .price-icon { + color: #f52220; + font-size: .1rem; + } + } + + .tag-list { + display: flex; + flex-wrap: wrap; + gap: 0.1rem; + margin: 0.15rem 0; + + .tag-item { + padding: 0.04rem 0.12rem; + font-size: 0.12rem; + color: #aeb6bf; + background-color: #fff; + border: .02rem solid #c8d6e7; + border-radius: 0.12rem; + display: inline-block; + } + } + + .item-button { + background: linear-gradient(90deg, #275AFF 0%, #2EBDFA 100%); + border-radius: 0.04rem; + padding: 0.08rem 0; + text-align: center; + cursor: pointer; + margin-top: auto; + + .item-button-text { + color: #fff; + font-size: 0.14rem; + } + } + } + } +} + +.partner { + background-color: #f8f9fd; + width: 100%; + display: flex; + flex-direction: column; + padding: 0.3rem 0.4rem; + + .partner-scroll { + width: 100%; + max-width: 14rem; + margin: 0 auto; + padding: .15rem; + background: #fff; + border-radius: .16rem; + margin-bottom: .3rem; + + .logo-scroll-wrapper { + width: 100%; + height: .85rem; + overflow: hidden; + position: relative; + } + + .logo-scroll-container { + display: flex; + height: 100%; + animation: scroll 15s linear infinite; + white-space: nowrap; + } + + .logo-item { + flex: 0 0 auto; + width: 1.68rem; + height: 100%; + margin-right: .2rem; + background: #fff; + border-radius: .04rem; + overflow: hidden; + display: flex; + align-items: center; + justify-content: center; + + img { + width: 100%; + height: 100%; + object-fit: contain; + } + } + } +} + +@keyframes scroll { + 0% { + transform: translateX(0); + } + + 100% { + transform: translateX(-50%); + } +} + +.footer { + width: 100%; + background: #f5f7fa; + display: flex; + justify-content: space-around; + align-items: center; + padding: 0.4rem; + border-top: 0.013rem solid #e4e7ed; + margin-top: 0.4rem; +} + +.left-box { + display: flex; + align-items: flex-start; +} + +.logo-footer { + width: 1.2rem; + height: 0.4rem; + margin-right: 0.667rem; + + img { + width: 100%; + height: 100%; + object-fit: contain; + } +} + +.content-main { + ul { + list-style: none; + padding: 0; + margin: 0; + } + + li { + font-size: 0.16rem; + color: #606266; + line-height: 1.8; + margin-bottom: 0.08rem; + + &:last-child { + margin-bottom: 0; + } + } + + a { + color: #409eff; + text-decoration: none; + font-size: 0.16rem; + + &:hover { + text-decoration: underline; + } + } +} + +.phone-number { + margin-left: 0.267rem; + font-size: .16rem; +} + +.copyright { + margin-left: 0.267rem; + font-size: .16rem; +} + +.police-icon { + width: 0.227rem; + height: 0.227rem; + margin-right: 0.01rem; + // vertical-align: middle; +} + + +.police-link { + margin-right: 0.4rem; +} + +.license-link { + font-size: 0.16rem; +} + +.right-box { + display: flex; + align-items: center; +} + +.qr-box { + display: flex; + flex-direction: column; + align-items: center; + + .qr-code { + width: 1.333rem; + height: 1.333rem; + background: #fff; + border-radius: 0.053rem; + margin-bottom: 0.133rem; + padding: 0.08rem; + border: 0.013rem solid #e4e7ed; + box-sizing: content-box; + + img { + width: 100%; + height: 100%; + object-fit: contain; + } + } + + .qr-content { + font-size: 0.16rem; + color: #606266; + } +} + +.qr-box-margin { + margin-left: 0.667rem; +} diff --git a/f/web-kboss/src/views/H5/calculate/index.vue b/f/web-kboss/src/views/H5/calculate/index.vue index 0dd8d88..7605718 100644 --- a/f/web-kboss/src/views/H5/calculate/index.vue +++ b/f/web-kboss/src/views/H5/calculate/index.vue @@ -6,54 +6,99 @@ -
-
{{ cloudData.secMenu[0].secTitle }}
+
+
+
+ {{ value.secTitle }} +
+
- -