Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
mongo-ui
Commits
43b4510b
Commit
43b4510b
authored
Jul 23, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 样式问题修复
parent
103528fc
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
75 additions
and
67 deletions
+75
-67
GoodAction.vue
src/components/GoodAction.vue
+1
-2
detail.less
src/views/Goods/detail.less
+10
-1
detail.vue
src/views/Goods/detail.vue
+2
-2
CompactCellGroup.vue
src/views/Goods/modules/CompactCellGroup.vue
+1
-1
DetailHeader.vue
src/views/Goods/modules/DetailHeader.vue
+0
-1
GoInsureDialog.vue
src/views/Goods/modules/GoInsureDialog.vue
+61
-60
No files found.
src/components/GoodAction.vue
View file @
43b4510b
...
@@ -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
=
"
rightC
lick
"
;
const
RIGHT_BTN_CLICK_EVENT
=
"
c
lick
"
;
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
,
{});
}
}
}
}
...
...
src/views/Goods/detail.less
View file @
43b4510b
...
@@ -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;
...
...
src/views/Goods/detail.vue
View file @
43b4510b
...
@@ -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=
"1
2
px"
icon-size=
"1
3
px"
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"
...
...
src/views/Goods/modules/CompactCellGroup.vue
View file @
43b4510b
...
@@ -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%
;
}
}
}
}
}
}
...
...
src/views/Goods/modules/DetailHeader.vue
View file @
43b4510b
...
@@ -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;
}
}
}
}
}
}
...
...
src/views/Goods/modules/GoInsureDialog.vue
View file @
43b4510b
<
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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment