Commit 43b4510b authored by 郭志伟's avatar 郭志伟

fix: 样式问题修复

parent 103528fc
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<script> <script>
const LEFT_BTN_CLICK_EVENT = "leftClick"; const LEFT_BTN_CLICK_EVENT = "leftClick";
const RIGHT_BTN_CLICK_EVENT = "rightClick"; const RIGHT_BTN_CLICK_EVENT = "click";
export default { export default {
name: "GoodAction", name: "GoodAction",
props: { props: {
...@@ -45,7 +45,6 @@ export default { ...@@ -45,7 +45,6 @@ export default {
}, },
rightClick() { rightClick() {
// TODO // TODO
this.$router.push("/goods/inform");
this.$emit(RIGHT_BTN_CLICK_EVENT, {}); this.$emit(RIGHT_BTN_CLICK_EVENT, {});
} }
} }
......
...@@ -39,11 +39,14 @@ ...@@ -39,11 +39,14 @@
border-radius: @border-radius-md; border-radius: @border-radius-md;
margin-bottom: 12px; margin-bottom: 12px;
align-items: center; align-items: center;
padding: 9px 16px;
&::after { &::after {
display: none; display: none;
} }
&__title { &__title {
color: #333333; color: #333333;
display: flex;
align-items: center;
} }
} }
&-item_nobg { &-item_nobg {
...@@ -77,6 +80,11 @@ ...@@ -77,6 +80,11 @@
color: @black; color: @black;
margin-right: 4px; margin-right: 4px;
} }
.cr-switch {
/deep/ &__control {
box-shadow: none;
}
}
.cr-tag { .cr-tag {
margin: 0 auto 0 8px; margin: 0 auto 0 8px;
color: @white !important; color: @white !important;
...@@ -95,7 +103,8 @@ ...@@ -95,7 +103,8 @@
/deep/ .cr-checkbox__label { /deep/ .cr-checkbox__label {
font-size: @font-size-11; font-size: @font-size-11;
color: @gray-4; color: @gray-4;
line-height: @line-height-lg; margin-left: 5px;
// line-height: @line-height-lg;
} }
&-link { &-link {
margin-top: -3.5px; margin-top: -3.5px;
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
<div class="insure-form-pact" slot="footer"> <div class="insure-form-pact" slot="footer">
<cr-checkbox <cr-checkbox
shape="round" shape="round"
icon-size="12px" icon-size="13px"
v-model="formData.pact" v-model="formData.pact"
checked-color="#FFC842" checked-color="#FFC842"
> >
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
</div> </div>
<detail-footer /> <detail-footer />
<copyright /> <copyright />
<good-action /> <good-action @click="goInsureState = true" />
<protocol-iframe <protocol-iframe
v-model="popupShow" v-model="popupShow"
:title="pupopData.title" :title="pupopData.title"
......
...@@ -103,7 +103,7 @@ export default { ...@@ -103,7 +103,7 @@ export default {
&_br { &_br {
/deep/ .cr-cell__value { /deep/ .cr-cell__value {
flex: none; flex: none;
width: 165px; width: 70%;
} }
} }
} }
......
...@@ -78,7 +78,6 @@ export default { ...@@ -78,7 +78,6 @@ export default {
font-weight: normal !important; font-weight: normal !important;
strong { strong {
font-weight: bold; font-weight: bold;
margin: 0 3px;
} }
} }
} }
......
<template> <template>
<transition name="panel-fade"> <cr-popup
<cr-popup v-model="show"
v-model="show" :style="{ backgroundColor: 'transparent' }"
:style="{ backgroundColor: 'transparent' }" closeable
closeable get-container="body"
get-container="body" close-icon="close"
close-icon="close" class="panel-wrap"
class="panel-wrap" >
> <div class="panel">
<div class="panel"> <div class="panel-head">
<div class="panel-head"> <h4>
<h4> 立即拥有
立即拥有 <br />30万重疾轻症保障
<br />30万重疾轻症保障 </h4>
</h4> </div>
</div> <div class="panel-body">
<div class="panel-body"> <compactCellGroup class="pay-det" :cell-data="payCellData" :text-bold="true" />
<compactCellGroup class="pay-det" :cell-data="payCellData" :text-bold="true" /> <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 href="javascript:;" @click="openIframePupop(0)">保险条款</a>
<a href="javascript:;" @click="openIframePupop(0)">保险条款</a> <i></i>
<i></i> <a href="javascript:;" @click="openIframePupop(1)">健康告知</a>
<a href="javascript:;" @click="openIframePupop(1)">健康告知</a> <i></i>
<i></i> <a href="javascript:;" @click="openIframePupop(2)">投保须知与声明</a>
<a href="javascript:;" @click="openIframePupop(2)">投保须知与声明</a> <i></i>
<i></i> <a href="javascript:;" @click="openIframePupop(3)">服务协议</a>
<a href="javascript:;" @click="openIframePupop(3)">服务协议</a>
</div>
</div> </div>
<cr-button type="warning" size="large" block @click="go">好的 继续</cr-button>
</div> </div>
<cr-button type="warning" size="large" block @click="go">好的 继续</cr-button>
</div> </div>
</cr-popup> </div>
</transition> </cr-popup>
</template> </template>
<script> <script>
...@@ -84,33 +82,6 @@ export default { ...@@ -84,33 +82,6 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
@import "../../../style/var.less"; @import "../../../style/var.less";
.panel-fade-enter-active {
animation: dialog-fadein 0.4s;
.panel {
animation: dialog-zoom 0.4s;
}
}
@keyframes dialog-fadein {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes dialog-zoom {
0% {
transform: scale(0);
}
50% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
.panel { .panel {
background-color: @white; background-color: @white;
border-radius: @border-radius-md; border-radius: @border-radius-md;
...@@ -149,6 +120,36 @@ export default { ...@@ -149,6 +120,36 @@ export default {
} }
} }
.pay { .pay {
&-det {
padding-left: 34px;
position: relative;
&::after,
&::before {
content: " ";
display: block;
position: absolute;
left: 18px;
width: 8px;
height: 8px;
border-radius: @border-radius-max;
border: 1px solid @black;
}
&::before {
background-color: @orange-light;
top: 24px;
}
&::after {
bottom: 26.5px;
}
/deep/ & > div:first-child {
position: absolute;
left: 22.5px;
top: 35px;
height: 14px;
width: 0;
border-right: 1px dotted @gray-4;
}
}
&-tip { &-tip {
font-size: @font-size-12; font-size: @font-size-12;
color: @gray-4; color: @gray-4;
......
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