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
e6840ba1
Commit
e6840ba1
authored
Jul 29, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 详情优化
parent
bfc51939
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
49 additions
and
49 deletions
+49
-49
LoginModal.vue
src/components/LoginModal.vue
+36
-0
Modal.vue
src/components/Modal.vue
+1
-1
prod.config.js
src/config/prod.config.js
+2
-1
LIDetail.vue
src/views/Goods/Detail/LIDetail.vue
+1
-9
GoInsureDialog.vue
src/views/Goods/Detail/modules/GoInsureDialog.vue
+8
-38
index.vue
src/views/Policy/Add/index.vue
+1
-0
No files found.
src/components/LoginModal.vue
0 → 100644
View file @
e6840ba1
<
template
>
<modal
v-model=
"show"
title=
"您好
<br
/>
欢迎来到芒果保险"
:closeable="true"
cancel-btn=""
confirm-btn="确定"
@confirm="login"
>
</modal>
</
template
>
<
script
>
import
Modal
from
"
@/components/Modal
"
;
export
default
{
name
:
"
LoginModal
"
,
components
:
{
Modal
},
data
()
{
return
{
show
:
false
};
},
watch
:
{
value
(
val
)
{
this
.
show
=
val
;
}
},
methods
:
{}
};
</
script
>
<
style
lang=
"less"
scoped
>
@import "../../../../style/var.less";
</
style
>
src/components/Modal.vue
View file @
e6840ba1
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<div
class=
"panel"
>
<div
class=
"panel"
>
<div
class=
"panel-head"
>
<div
class=
"panel-head"
>
<slot
name=
"title"
>
<slot
name=
"title"
>
<h4
v-if=
"title"
>
{{
title
}}
</h4>
<h4
v-if=
"title"
v-html=
"title"
>
</h4>
</slot>
</slot>
</div>
</div>
<div
class=
"panel-body"
>
<div
class=
"panel-body"
>
...
...
src/config/prod.config.js
View file @
e6840ba1
export
default
{
export
default
{
basicHost
:
"
https://hathaway-mg.liangkebang.net/
"
,
// basicHost: "https://hathaway-mg.liangkebang.net/",
basicHost
:
"
http://127.0.0.1:8964/
"
,
wxAppId
:
"
wx514de17b23d53a20
"
wxAppId
:
"
wx514de17b23d53a20
"
};
};
src/views/Goods/Detail/LIDetail.vue
View file @
e6840ba1
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
</div>
</div>
<detail-footer
:company-info=
"companyInfo"
/>
<detail-footer
:company-info=
"companyInfo"
/>
<copyright
/>
<copyright
/>
<good-action
@
leftClick=
"goInsureState = true
"
:content=
"goodActionInfo"
/>
<good-action
@
click=
"$router.push('/policy/add')
"
:content=
"goodActionInfo"
/>
<popup-with-iframe
<popup-with-iframe
v-model=
"popupShow"
v-model=
"popupShow"
:title=
"pupopData.title"
:title=
"pupopData.title"
...
@@ -79,11 +79,6 @@
...
@@ -79,11 +79,6 @@
<cps-process-detail
v-if=
"currentPupopIndex === 5"
:process-data=
"processDetail"
/>
<cps-process-detail
v-if=
"currentPupopIndex === 5"
:process-data=
"processDetail"
/>
<cps-rate
v-if=
"currentPupopIndex === 6"
/>
<cps-rate
v-if=
"currentPupopIndex === 6"
/>
</popup-with-iframe>
</popup-with-iframe>
<go-insure-dialog
v-model=
"goInsureState"
:title=
"headerInfo.title"
:pay-data=
"goodBuyModalInfo"
/>
</div>
</div>
</
template
>
</
template
>
...
@@ -104,7 +99,6 @@ import CpsCase from "./modules/CpsCase";
...
@@ -104,7 +99,6 @@ import CpsCase from "./modules/CpsCase";
import
CpsProcess
from
"
./modules/CpsProcess
"
;
import
CpsProcess
from
"
./modules/CpsProcess
"
;
import
CpsQa
from
"
./modules/CpsQA
"
;
import
CpsQa
from
"
./modules/CpsQA
"
;
import
PopupWithIframe
from
"
@/components/PopupWithIframe
"
;
import
PopupWithIframe
from
"
@/components/PopupWithIframe
"
;
import
GoInsureDialog
from
"
./modules/GoInsureDialog
"
;
import
CpsProcessDetail
from
"
./modules/CpsProcessDetail
"
;
import
CpsProcessDetail
from
"
./modules/CpsProcessDetail
"
;
import
CpsRate
from
"
./modules/CpsRate
"
;
import
CpsRate
from
"
./modules/CpsRate
"
;
import
PlanTip
from
"
./modules/PlanTip
"
;
import
PlanTip
from
"
./modules/PlanTip
"
;
...
@@ -130,7 +124,6 @@ export default {
...
@@ -130,7 +124,6 @@ export default {
Copyright
,
Copyright
,
PopupWithIframe
,
PopupWithIframe
,
GoodAction
,
GoodAction
,
GoInsureDialog
,
CpsProcessDetail
,
CpsProcessDetail
,
CpsRate
,
CpsRate
,
PlanTip
,
PlanTip
,
...
@@ -147,7 +140,6 @@ export default {
...
@@ -147,7 +140,6 @@ export default {
payway
:
"
1
"
,
payway
:
"
1
"
,
pact
:
false
pact
:
false
},
},
goInsureState
:
false
,
showLayer
:
false
showLayer
:
false
};
};
},
},
...
...
src/views/Goods/Detail/modules/GoInsureDialog.vue
View file @
e6840ba1
<
template
>
<
template
>
<modal
v-model=
"show"
:closeable=
"true"
cancel-btn=
""
confirm-btn=
"好的 继续"
@
confirm=
"go"
>
<modal
v-model=
"show"
:closeable=
"true"
cancel-btn=
""
confirm-btn=
"好的 继续"
@
confirm=
"go"
>
<h4
slot=
"title"
>
立即拥有
<br
/>
{{
title
}}
</h4>
<h4
slot=
"title"
class=
"pay-title"
>
立即拥有
<br
/>
{{
title
}}
</h4>
<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"
>
...
@@ -74,44 +74,14 @@ export default {
...
@@ -74,44 +74,14 @@ export default {
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
@import "../../../../style/var.less";
@import "../../../../style/var.less";
.panel {
background-color: @white;
border-radius: @border-radius-md;
width: 300px;
&-wrap {
overflow: initial;
@{deep} .cr-popup--close {
top: -36px;
right: 0;
color: @white;
font-size: 24px;
}
}
&-head {
border-top-left-radius: @border-radius-md;
border-top-right-radius: @border-radius-md;
padding: @padding-lg @padding-lg 5px @padding-lg;
background: url("../../../../assets/dialog-header-bg.png") right no-repeat;
background-size: 34px 25px;
background-position: right center;
h4 {
color: @black;
font-size: @font-size-18;
font-weight: @font-weight-bold;
line-height: @line-height-lg + 1;
}
}
&-body {
padding: @padding-lg;
}
&-foot {
display: flex;
justify-content: center;
align-items: center;
padding: @padding-lg;
}
}
.pay {
.pay {
&-title {
color: @black;
font-size: @font-size-18;
font-weight: @font-weight-bold;
line-height: @line-height-lg + 1;
}
&-det {
&-det {
padding-left: 34px;
padding-left: 34px;
position: relative;
position: relative;
...
...
src/views/Policy/Add/index.vue
View file @
e6840ba1
...
@@ -344,6 +344,7 @@ export default {
...
@@ -344,6 +344,7 @@ export default {
methods
:
{
methods
:
{
onFormSubmit
(
values
)
{
onFormSubmit
(
values
)
{
console
.
log
(
"
submit
"
,
values
);
console
.
log
(
"
submit
"
,
values
);
this
.
goInsureState
=
true
;
},
},
onFormFailed
(
errorInfo
)
{
onFormFailed
(
errorInfo
)
{
const
{
errors
}
=
errorInfo
;
const
{
errors
}
=
errorInfo
;
...
...
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