Commit a06cb72f authored by 郭志伟's avatar 郭志伟

fix: UI样式调整

parent f5603c34
...@@ -4,10 +4,13 @@ ...@@ -4,10 +4,13 @@
* @Description:华太30万轻重疾险 * @Description:华太30万轻重疾险
* @Date: 2020-07-27 15:46:37 * @Date: 2020-07-27 15:46:37
* @LastEditors: gzw * @LastEditors: gzw
* @LastEditTime: 2020-08-21 20:00:22 * @LastEditTime: 2020-08-30 12:13:29
*/ */
import goodsBg from "@/assets/images/goods/detail/zhongjixian/bg.png"; import goodsBg from "@/assets/images/goods/detail/zhongjixian/bg.png";
import title from "@/assets/images/goods/detail/zhongjixian/title.png";
import cmd from "@/assets/images/goods/detail/zhongjixian/cmd.png";
import logo from "@/assets/images/goods/detail/zhongjixian/logo.png";
import intro01 from "@/assets/images/goods/detail/zhongjixian/intro-01.png"; import intro01 from "@/assets/images/goods/detail/zhongjixian/intro-01.png";
import intro02 from "@/assets/images/goods/detail/zhongjixian/intro-02.png"; import intro02 from "@/assets/images/goods/detail/zhongjixian/intro-02.png";
import intro03 from "@/assets/images/goods/detail/zhongjixian/intro-03.png"; import intro03 from "@/assets/images/goods/detail/zhongjixian/intro-03.png";
...@@ -21,6 +24,9 @@ export default { ...@@ -21,6 +24,9 @@ export default {
type: "huatai", type: "huatai",
company: "华泰财险", company: "华泰财险",
title: "30万重疾轻症保障", title: "30万重疾轻症保障",
titleImg: title,
cmdImg: cmd,
logo: logo,
sub: "100种重症+40种轻症确诊即赔", sub: "100种重症+40种轻症确诊即赔",
price: [3, "", "首月"], price: [3, "", "首月"],
subPrice: [5.6, "元/月起", "次月", "(共11期)"], subPrice: [5.6, "元/月起", "次月", "(共11期)"],
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Description: 泰康600万医疗保障 * @Description: 泰康600万医疗保障
* @Date: 2020-07-27 15:46:37 * @Date: 2020-07-27 15:46:37
* @LastEditors: gzw * @LastEditors: gzw
* @LastEditTime: 2020-08-29 11:12:47 * @LastEditTime: 2020-08-30 11:26:03
*/ */
import goodsBg from "@/assets/images/goods/detail/yiliaoxian/bg.png"; import goodsBg from "@/assets/images/goods/detail/yiliaoxian/bg.png";
...@@ -101,7 +101,7 @@ export default { ...@@ -101,7 +101,7 @@ export default {
title: "保费", title: "保费",
value: { value: {
needSlot: true, needSlot: true,
tpl: "保费与被保人年龄、有无社保有关<br />首月1元,次月3.6元/月起" tpl: "<strong>保费与被保人年龄、有无社保有关<br />首月1元,次月3.6元/月起</strong>"
} }
} }
], ],
......
...@@ -2,6 +2,7 @@ import good01 from "@/assets/images/goods/goods-01.png"; ...@@ -2,6 +2,7 @@ import good01 from "@/assets/images/goods/goods-01.png";
import good02 from "@/assets/images/goods/goods-02.png"; import good02 from "@/assets/images/goods/goods-02.png";
import good03 from "@/assets/images/goods/goods-03.png"; import good03 from "@/assets/images/goods/goods-03.png";
import good04 from "@/assets/images/goods/goods-04.png"; import good04 from "@/assets/images/goods/goods-04.png";
import good05 from "@/assets/images/goods/goods-05.png";
import medical_closed from "@/assets/images/user/medical_closed@2x.png"; import medical_closed from "@/assets/images/user/medical_closed@2x.png";
import casualty_closed from "@/assets/images/user/casualty_closed@2x.png"; import casualty_closed from "@/assets/images/user/casualty_closed@2x.png";
import illness_closed from "@/assets/images/user/illness_closed@2x.png"; import illness_closed from "@/assets/images/user/illness_closed@2x.png";
...@@ -91,7 +92,7 @@ export default [ ...@@ -91,7 +92,7 @@ export default [
id: "BNZJX001", id: "BNZJX001",
itype: "cii", itype: "cii",
scope: [1, 3], scope: [1, 3],
img: good02, img: good05,
url: "", url: "",
title: "百年康惠保(2.0)重大疾病险", title: "百年康惠保(2.0)重大疾病险",
sub: "终身保障155种重疾,最多赔付6次", sub: "终身保障155种重疾,最多赔付6次",
......
src/assets/logo-foot.png

4.26 KB | W: | H:

src/assets/logo-foot.png

7.29 KB | W: | H:

src/assets/logo-foot.png
src/assets/logo-foot.png
src/assets/logo-foot.png
src/assets/logo-foot.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<div class="collapse-more" :class="{ active: more }" v-if="moreBtn"> <div class="collapse-more" :class="{ active: more }" v-if="moreBtn">
<a href="javascript:;" @click="showMore"> <a href="javascript:;" @click="showMore">
<span>查看更多</span> <span>查看更多</span>
<span>隐藏</span> <span>收起</span>
<svg-icon icon-class="arrow-down" /> <svg-icon icon-class="arrow-down" />
</a> </a>
</div> </div>
......
...@@ -47,8 +47,8 @@ export default { ...@@ -47,8 +47,8 @@ export default {
text-align: center; text-align: center;
margin-bottom: 10px; margin-bottom: 10px;
img { img {
width: 111px; width: 121px;
height: 35px; height: 66px;
} }
} }
} }
......
...@@ -75,10 +75,18 @@ ...@@ -75,10 +75,18 @@
} }
&-glory { &-glory {
position: absolute; position: absolute;
top: 0; bottom: 0;
left: 0; left: 0;
z-index: 98; z-index: 98;
background-color: #fcfe67 !important; width: 72px;
height: 20px;
line-height: 20px;
font-size: 11px !important;
text-align: center;
color: #666666 !important;
border-radius: 0px 0px 14px 14px !important;
background-color: rgba(255, 255, 255, 0.6) !important;
padding: 0;
} }
&-info { &-info {
max-height: 72px; max-height: 72px;
......
...@@ -21,10 +21,10 @@ ...@@ -21,10 +21,10 @@
@click.native="clickItem(it)" @click.native="clickItem(it)"
> >
<cr-col span="7" class="goods-list-item-img"> <cr-col span="7" class="goods-list-item-img">
<cr-tag type="warning" shape="round" class="goods-list-item-glory" v-if="it.glory"> <div class="goods-list-item-glory">
{{ it.glory }} {{ it.company }}
</cr-tag> </div>
<img :src="it.img" /> <img :src="it.img" :style="{ 'box-shadow': `0px 8px 14px 0px ${it.shadowColor}` }" />
</cr-col> </cr-col>
<cr-col span="17" class="goods-list-item-info"> <cr-col span="17" class="goods-list-item-info">
<h5>{{ it.title || "-" }}</h5> <h5>{{ it.title || "-" }}</h5>
...@@ -53,9 +53,9 @@ ...@@ -53,9 +53,9 @@
@click.native="clickItem(it)" @click.native="clickItem(it)"
> >
<cr-col span="7" class="goods-list-item-img"> <cr-col span="7" class="goods-list-item-img">
<cr-tag type="warning" shape="round" class="goods-list-item-glory" v-if="it.glory"> <div class="goods-list-item-glory">
{{ it.glory }} {{ it.company }}
</cr-tag> </div>
<img :src="it.img" :style="{ 'box-shadow': `0px 8px 14px 0px ${it.shadowColor}` }" /> <img :src="it.img" :style="{ 'box-shadow': `0px 8px 14px 0px ${it.shadowColor}` }" />
</cr-col> </cr-col>
<cr-col span="17" class="goods-list-item-info"> <cr-col span="17" class="goods-list-item-info">
......
...@@ -2,13 +2,6 @@ ...@@ -2,13 +2,6 @@
@import "var.less"; @import "var.less";
@import "mixins.less"; @import "mixins.less";
* {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
-khtml-user-select: none;
user-select: none;
}
html, html,
body, body,
#app { #app {
......
...@@ -49,8 +49,12 @@ ...@@ -49,8 +49,12 @@
display: block; display: block;
font-size: @font-size-14; font-size: @font-size-14;
font-weight: @font-weight-bold; font-weight: @font-weight-bold;
line-height: 18px; line-height: 24px;
color: #000; width: 140px;
margin: 0 auto;
color: @white;
background-color: @orange-dark;
border-radius: 32px 22px 32px 22px;
} }
&-sub { &-sub {
display: block; display: block;
...@@ -61,12 +65,14 @@ ...@@ -61,12 +65,14 @@
} }
&-card { &-card {
box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.07); box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.07);
border-radius: 44px 14px 14px 14px; border-radius: 14px;
padding: 20px 20px 32px; padding: 20px 20px 32px;
background-color: #fff; background-color: #fff;
&-title { &-title {
.sub-text-mixins(); .sub-text-mixins();
text-align: center; text-align: center;
color: @black;
font-size: 14px;
} }
.cr-button { .cr-button {
height: @button-large-height + 10; height: @button-large-height + 10;
...@@ -171,15 +177,15 @@ ...@@ -171,15 +177,15 @@
h5 { h5 {
font-size: @font-size-16; font-size: @font-size-16;
} }
p:last-child { p {
font-weight: @font-weight-bold; color: #666666;
} }
} }
} }
&-list { &-list {
background-color: @gray-1; background-color: @gray-1;
border-radius: @border-radius-md; border-radius: @border-radius-md;
padding: 0 14px; padding: 0 14px 15px;
&-item { &-item {
margin-bottom: 5px; margin-bottom: 5px;
} }
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
<img src="../../../assets/logo-top.png" alt="logo" class="cul-hd-logo" /> <img src="../../../assets/logo-top.png" alt="logo" class="cul-hd-logo" />
<div class="cul-hd-rec"> <div class="cul-hd-rec">
<h4 class="cul-hd-rec-title">最高节省50%保费</h4> <h4 class="cul-hd-rec-title">最高节省50%保费</h4>
<small class="cul-hd-rec-sub">帮你量身选保险</small>
</div> </div>
<div class="cul-hd-card"> <div class="cul-hd-card">
<div class="cul-hd-card-title">您将获得的服务</div> <div class="cul-hd-card-title">您将获得的服务</div>
...@@ -88,6 +87,7 @@ import { mapActions, mapState } from "vuex"; ...@@ -88,6 +87,7 @@ import { mapActions, mapState } from "vuex";
import { create, goPay, getRemainNum } from "@/api/consultant"; import { create, goPay, getRemainNum } from "@/api/consultant";
import Card from "@/components/Card"; import Card from "@/components/Card";
import Collapse from "@/components/Collapse"; import Collapse from "@/components/Collapse";
import PayWaitLayer from "@/components/PayWaitLayer";
import CpsQa from "../../Goods/Detail/modules/CpsQA"; import CpsQa from "../../Goods/Detail/modules/CpsQA";
const SUM = 300; const SUM = 300;
export default { export default {
...@@ -96,7 +96,8 @@ export default { ...@@ -96,7 +96,8 @@ export default {
Card, Card,
CpsQa, CpsQa,
// eslint-disable-next-line // eslint-disable-next-line
Collapse Collapse,
PayWaitLayer
}, },
props: { props: {
state: { state: {
......
@import "../Buy/index.less"; @import "../Buy/index.less";
.container { .container {
background-color: @white; background-color: @white;
overflow: hidden;
&::after {
content: " ";
display: block;
height: 80px;
}
} }
.cul-hd { .cul-hd {
background: #fff url("../../../assets/images/consultant/culstor-bg.png") top no-repeat; background: #fff url("../../../assets/images/consultant/culstor-bg.png") top no-repeat;
......
@import "../Success/index.less"; @import "../Success/index.less";
.container { .container {
background-color: @white; overflow: hidden;
background-color: @background-color;
&::after {
content: " ";
display: block;
height: 80px;
}
} }
.cul-hd { .cul-hd {
background: url("../../../assets/images/consultant/linear-bg.png") top no-repeat; background: url("../../../assets/images/consultant/linear-bg.png") top no-repeat;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<div class="det-body"> <div class="det-body">
<card title="保险计划" :option="['查看详情']" @option-click="openIframePupop(4)"> <card title="保险计划" :option="['查看详情']" @option-click="openIframePupop(4)">
<cr-radio-btn v-model="formData.amountInsured" :radio-data="planOptions" /> <cr-radio-btn v-model="formData.amountInsured" :radio-data="planOptions" />
<compactCellGroup :cell-data="planCellData" :text-bold="true" /> <compactCellGroup :cell-data="planCellData" :text-bold="true" :font-size="14" />
<plan-tip :tip-list="planTipOptions" /> <plan-tip :tip-list="planTipOptions" />
</card> </card>
<div id="det_insure"> <div id="det_insure">
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<div class="det-body"> <div class="det-body">
<card title="保险计划" :option="['查看详情']" @option-click="openIframePupop(4)"> <card title="保险计划" :option="['查看详情']" @option-click="openIframePupop(4)">
<cr-radio-btn v-model="formData.amountInsured" :radio-data="planOptions" /> <cr-radio-btn v-model="formData.amountInsured" :radio-data="planOptions" />
<compactCellGroup :cell-data="planCellData" :text-bold="true" /> <compactCellGroup :cell-data="planCellData" :text-bold="true" :font-size="14" />
<plan-tip :tip-list="planTipOptions" /> <plan-tip :tip-list="planTipOptions" />
</card> </card>
<div id="det_insure"> <div id="det_insure">
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
</div> </div>
<div id="det_notice"> <div id="det_notice">
<protocol-read <protocol-read
title="理赔须知" title="投保须知"
:options="[]" :options="[]"
:text-bold="true" :text-bold="true"
v-model="read" v-model="read"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
&::after { &::after {
content: " "; content: " ";
display: block; display: block;
height: 60px; height: 80px;
} }
@{deep} .cr-field--error-message { @{deep} .cr-field--error-message {
display: none; display: none;
...@@ -75,9 +75,9 @@ ...@@ -75,9 +75,9 @@
} }
.cr-button { .cr-button {
border-radius: @border-radius-sm !important; border-radius: @border-radius-sm !important;
font-size: @font-size-12; font-size: @font-size-12 + 1;
height: @button-default-height !important; height: @button-default-height !important;
line-height: @button-default-line-height !important; line-height: @button-default-line-height - 1 !important;
width: 110px; width: 110px;
} }
} }
......
...@@ -47,10 +47,10 @@ export default { ...@@ -47,10 +47,10 @@ export default {
} }
&-logo { &-logo {
text-align: center; text-align: center;
margin-bottom: 19px; margin-bottom: 10px;
img { img {
width: 111px; width: 121px;
height: 35px; height: 66px;
} }
} }
} }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<slot> <slot>
<div class="pay-tip">*不满意可随时退保</div> <div class="pay-tip">*不满意可随时退保</div>
<div class="pay-protocol"> <div class="pay-protocol">
<div class="pay-protocol-tip">投保前请阅读</div> <div class="pay-protocol-tip">投保前请阅读并同意</div>
<div class="pay-protocol-link"> <div class="pay-protocol-link">
<a <a
href="javascript:;" href="javascript:;"
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
margin-bottom: 18px; margin-bottom: 18px;
&-tip { &-tip {
font-size: @font-size-12; font-size: @font-size-12;
color: @gray-4; color: @black;
line-height: @line-height-lg; line-height: @line-height-lg;
margin-bottom: 4px; margin-bottom: 4px;
} }
......
...@@ -57,7 +57,7 @@ export default { ...@@ -57,7 +57,7 @@ export default {
// 所有锚点元素的 offsetTop // 所有锚点元素的 offsetTop
const offsetTopArr = []; const offsetTopArr = [];
navContents.forEach(item => { navContents.forEach(item => {
offsetTopArr.push(item.offsetTop); offsetTopArr.push(item.offsetTop + item.offsetHeight - 60);
}); });
// 获取当前文档流的 scrollTop // 获取当前文档流的 scrollTop
const scrollTop = document.documentElement.scrollTop || document.body.scrollTop; const scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
for (let n = 0; n < offsetTopArr.length; n++) { for (let n = 0; n < offsetTopArr.length; n++) {
// 如果 scrollTop 大于等于第n个元素的 offsetTop 则说明 n-1 的内容已经完全不可见 // 如果 scrollTop 大于等于第n个元素的 offsetTop 则说明 n-1 的内容已经完全不可见
// 那么此时导航索引就应该是n了 // 那么此时导航索引就应该是n了
if (scrollTop >= offsetTopArr[n]) { if (scrollTop >= (offsetTopArr[n - 1] || 0)) {
navIndex = n; navIndex = n;
} }
} }
...@@ -78,7 +78,7 @@ export default { ...@@ -78,7 +78,7 @@ export default {
scrollTo(index) { scrollTo(index) {
const _val = this.navList[index].value; const _val = this.navList[index].value;
// 获取目标的 offsetTop // 获取目标的 offsetTop
const targetOffsetTop = document.querySelector(`#det_${_val}`).offsetTop; const targetOffsetTop = document.querySelector(`#det_${_val}`).offsetTop - 50;
document.body.scrollTop = targetOffsetTop; document.body.scrollTop = targetOffsetTop;
document.documentElement.scrollTop = targetOffsetTop; document.documentElement.scrollTop = targetOffsetTop;
} }
......
<template> <template>
<card :title="title" :option="options" footer="协议" @option-click="openIframe(6)"> <card :title="title" :option="options" footer="协议" @option-click="openIframe(6)">
<compactCellGroup :cell-data="cellData" font-size="14" /> <compactCellGroup :cell-data="cellData" :text-bold="true" font-size="14" />
<slot></slot> <slot></slot>
<template v-slot:footer> <template v-slot:footer>
<div class="insure-form-pact" slot="footer"> <div class="insure-form-pact" slot="footer">
......
...@@ -86,12 +86,12 @@ ...@@ -86,12 +86,12 @@
/> />
</a> </a>
</div> </div>
<div class="home-phone"> <!-- <div class="home-phone">
<p> <p>
客服电话:<a :href="`tel:${tel}`">{{ tel }}</a> 客服电话:<a :href="`tel:${tel}`">{{ tel }}</a>
</p> </p>
<p>服务时间:{{ serviceHours }}</p> <p>服务时间:{{ serviceHours }}</p>
</div> </div> -->
<copyright :logo="true" /> <copyright :logo="true" />
<tabbar></tabbar> <tabbar></tabbar>
</div> </div>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
&::after { &::after {
content: " "; content: " ";
display: block; display: block;
height: 70px; height: 80px;
} }
} }
.policy { .policy {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment