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
3186c7f1
Commit
3186c7f1
authored
Feb 04, 2021
by
郭志伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat/protocol' into 'master'
Feat/protocol See merge request
!253
parents
73842e4d
a346e26b
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
40 additions
and
18 deletions
+40
-18
detail.taikang.yiliaobaozhang.js
src/api/detail.taikang.yiliaobaozhang.js
+2
-2
goodsList.mock.js
src/api/goodsList.mock.js
+5
-0
index.less
src/components/GoodList/index.less
+3
-0
index.vue
src/components/GoodList/index.vue
+9
-3
index.less
src/views/Consultant/Plan/index.less
+3
-0
index.vue
src/views/Consultant/Plan/index.vue
+7
-2
index.vue
src/views/Goods/index.vue
+7
-7
index.vue
src/views/Home/index.vue
+4
-4
No files found.
src/api/detail.taikang.yiliaobaozhang.js
View file @
3186c7f1
...
@@ -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: 202
0-08-31 15:39:09
* @LastEditTime: 202
1-02-03 15:16:51
*/
*/
import
goodsBg
from
"
@/assets/images/goods/detail/yiliaoxian/bg.png
"
;
import
goodsBg
from
"
@/assets/images/goods/detail/yiliaoxian/bg.png
"
;
...
@@ -108,7 +108,7 @@ export default {
...
@@ -108,7 +108,7 @@ export default {
popupArray
:
[
popupArray
:
[
{
{
title
:
"
保险条款
"
,
title
:
"
保险条款
"
,
url
:
"
http
s://mangguo-contract.qthbx.com/tai-kang-bai-mo-yi-liao-bao-xian-tiao-kuan-v1
/
"
url
:
"
http
://mangguo-contract.qthbx.com/tai-kang-bai-mo-yi-liao-bao-xian-tiao-kuan-xin
/
"
},
},
{
{
title
:
"
健康告知
"
,
title
:
"
健康告知
"
,
...
...
src/api/goodsList.mock.js
View file @
3186c7f1
...
@@ -18,6 +18,7 @@ export default [
...
@@ -18,6 +18,7 @@ export default [
itype
:
"
mi
"
,
// 保险类型,英文收字母缩写,详情需要传
itype
:
"
mi
"
,
// 保险类型,英文收字母缩写,详情需要传
scope
:
[
1
,
2
,
3
],
// 范围,列表中区分类型用,1成人 2老年 3少儿
scope
:
[
1
,
2
,
3
],
// 范围,列表中区分类型用,1成人 2老年 3少儿
img
:
good01
,
img
:
good01
,
hidden
:
false
,
title
:
"
万家保·百万医疗险
"
,
title
:
"
万家保·百万医疗险
"
,
sub
:
"
看病报销医药费,最高600万
"
,
sub
:
"
看病报销医药费,最高600万
"
,
glory
:
"
好评榜第1名
"
,
glory
:
"
好评榜第1名
"
,
...
@@ -45,6 +46,7 @@ export default [
...
@@ -45,6 +46,7 @@ export default [
itype
:
"
cii
"
,
itype
:
"
cii
"
,
scope
:
[
1
,
2
,
3
],
scope
:
[
1
,
2
,
3
],
img
:
good02
,
img
:
good02
,
hidden
:
true
,
title
:
"
万家保·重疾轻症险
"
,
title
:
"
万家保·重疾轻症险
"
,
sub
:
"
100种重疾+40种轻症确诊即赔
"
,
sub
:
"
100种重疾+40种轻症确诊即赔
"
,
glory
:
""
,
glory
:
""
,
...
@@ -72,6 +74,7 @@ export default [
...
@@ -72,6 +74,7 @@ export default [
itype
:
"
ai
"
,
itype
:
"
ai
"
,
scope
:
[
1
,
2
,
3
],
scope
:
[
1
,
2
,
3
],
img
:
good03
,
img
:
good03
,
hidden
:
false
,
title
:
"
万家保·综合意外险
"
,
title
:
"
万家保·综合意外险
"
,
sub
:
"
意外风险覆盖全,保额最高100万
"
,
sub
:
"
意外风险覆盖全,保额最高100万
"
,
glory
:
"
开车必备
"
,
glory
:
"
开车必备
"
,
...
@@ -97,6 +100,7 @@ export default [
...
@@ -97,6 +100,7 @@ export default [
scope
:
[
1
,
3
],
scope
:
[
1
,
3
],
img
:
good05
,
img
:
good05
,
url
:
""
,
url
:
""
,
hidden
:
true
,
title
:
"
百年康惠保(2.0)重大疾病险
"
,
title
:
"
百年康惠保(2.0)重大疾病险
"
,
sub
:
"
终身保障155种重疾,最多赔付6次
"
,
sub
:
"
终身保障155种重疾,最多赔付6次
"
,
glory
:
""
,
glory
:
""
,
...
@@ -124,6 +128,7 @@ export default [
...
@@ -124,6 +128,7 @@ export default [
itype
:
"
li
"
,
itype
:
"
li
"
,
scope
:
[
1
,
2
],
scope
:
[
1
,
2
],
img
:
good04
,
img
:
good04
,
hidden
:
false
,
title
:
"
华贵大麦2020定期寿险
"
,
title
:
"
华贵大麦2020定期寿险
"
,
sub
:
"
最高350万保额,顶梁柱必备
"
,
sub
:
"
最高350万保额,顶梁柱必备
"
,
glory
:
"
顶梁柱必备
"
,
glory
:
"
顶梁柱必备
"
,
...
...
src/components/GoodList/index.less
View file @
3186c7f1
...
@@ -26,6 +26,9 @@
...
@@ -26,6 +26,9 @@
.cr-divider {
.cr-divider {
margin-bottom: 0;
margin-bottom: 0;
}
}
&.hidden {
display: none;
}
&.not-allow {
&.not-allow {
border-radius: 14px;
border-radius: 14px;
position: relative;
position: relative;
...
...
src/components/GoodList/index.vue
View file @
3186c7f1
...
@@ -2,7 +2,13 @@
...
@@ -2,7 +2,13 @@
<div
class=
"goods-list"
>
<div
class=
"goods-list"
>
<div
v-if=
"hasChildren"
>
<div
v-if=
"hasChildren"
>
<template
v-for=
"(item, index) in list"
>
<template
v-for=
"(item, index) in list"
>
<div
class=
"goods-list-head"
:key=
"'head' + index"
v-if=
"item.children.length > 0"
>
<div
class=
"goods-list-head"
:key=
"'head' + index"
v-if=
"
item.children.length > 0 && item.children.filter(i => i.hidden === false).length > 0
"
>
<slot
:data=
"item"
>
<slot
:data=
"item"
>
<h5>
{{
item
.
title
||
"
-
"
}}
</h5>
<h5>
{{
item
.
title
||
"
-
"
}}
</h5>
<small>
<small>
...
@@ -15,7 +21,7 @@
...
@@ -15,7 +21,7 @@
<cr-row
<cr-row
type=
"flex"
type=
"flex"
class=
"goods-list-item"
class=
"goods-list-item"
:class=
"
{ 'not-allow': !it.allow }"
:class=
"
{ 'not-allow': !it.allow
, hidden: it.hidden
}"
v-for="(it, idx) in item.children"
v-for="(it, idx) in item.children"
:key="idx"
:key="idx"
@click.native="clickItem(it)"
@click.native="clickItem(it)"
...
@@ -47,7 +53,7 @@
...
@@ -47,7 +53,7 @@
<cr-row
<cr-row
type=
"flex"
type=
"flex"
class=
"goods-list-item"
class=
"goods-list-item"
:class=
"{ 'not-allow': !it.allow }"
:class=
"{ 'not-allow': !it.allow
, hidden: it.hidden
}"
v-for=
"(it, idx) in list"
v-for=
"(it, idx) in list"
:key=
"idx"
:key=
"idx"
@
click.native=
"clickItem(it)"
@
click.native=
"clickItem(it)"
...
...
src/views/Consultant/Plan/index.less
View file @
3186c7f1
...
@@ -90,6 +90,9 @@
...
@@ -90,6 +90,9 @@
border-radius: @border-radius-md;
border-radius: @border-radius-md;
margin-bottom: 10px;
margin-bottom: 10px;
padding: @padding-lg;
padding: @padding-lg;
&.hidden {
display: none;
}
}
}
&-title {
&-title {
font-size: @font-size-20;
font-size: @font-size-20;
...
...
src/views/Consultant/Plan/index.vue
View file @
3186c7f1
...
@@ -49,7 +49,12 @@
...
@@ -49,7 +49,12 @@
</table>
</table>
</card>
</card>
<card
title=
"保障产品"
>
<card
title=
"保障产品"
>
<div
class=
"good-item"
v-for=
"(item, index) in ensureList"
:key=
"index"
>
<div
class=
"good-item"
:class=
"
{ hidden: ['BNZJX001', 'HTDQZJX001'].indexOf(item.productNo) > -1 }"
v-for="(item, index) in ensureList"
:key="index"
>
<div
class=
"good-title"
>
<div
class=
"good-title"
>
{{
item
.
productName
||
""
}}
{{
item
.
productName
||
""
}}
<cr-tag
:type=
"tagClassFilter(item.productNo)"
plain
>
<cr-tag
:type=
"tagClassFilter(item.productNo)"
plain
>
...
@@ -123,7 +128,7 @@ export default {
...
@@ -123,7 +128,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
getSuggestion
();
this
.
getSuggestion
();
this
.
getGoodsLink
();
//
this.getGoodsLink();
},
},
methods
:
{
methods
:
{
tagFilter
(
type
)
{
tagFilter
(
type
)
{
...
...
src/views/Goods/index.vue
View file @
3186c7f1
...
@@ -24,7 +24,7 @@ import AiTestTip from "./modules/AiTestTip";
...
@@ -24,7 +24,7 @@ import AiTestTip from "./modules/AiTestTip";
import
GoodList
from
"
@/components/GoodList/index
"
;
import
GoodList
from
"
@/components/GoodList/index
"
;
import
Tabbar
from
"
@/components/Tabbar
"
;
import
Tabbar
from
"
@/components/Tabbar
"
;
import
copyright
from
"
@/components/Copyright
"
;
import
copyright
from
"
@/components/Copyright
"
;
import
InstructionModal
from
"
./Detail/modules/InstructionModal
"
;
//
import InstructionModal from "./Detail/modules/InstructionModal";
const
categoryList
=
[
const
categoryList
=
[
{
{
...
@@ -55,8 +55,8 @@ export default {
...
@@ -55,8 +55,8 @@ export default {
AiTestTip
,
AiTestTip
,
GoodList
,
GoodList
,
Tabbar
,
Tabbar
,
copyright
,
copyright
InstructionModal
//
InstructionModal
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -72,9 +72,9 @@ export default {
...
@@ -72,9 +72,9 @@ export default {
isShowLogin
(
val
)
{
isShowLogin
(
val
)
{
if
(
!
val
)
{
if
(
!
val
)
{
this
.
mongoToken
=
localStorage
.
get
(
"
mongoToken
"
);
this
.
mongoToken
=
localStorage
.
get
(
"
mongoToken
"
);
if
(
this
.
mongoToken
)
{
//
if (this.mongoToken) {
this
.
getGoodsLink
();
//
this.getGoodsLink();
}
//
}
}
}
}
}
},
},
...
@@ -109,7 +109,7 @@ export default {
...
@@ -109,7 +109,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
getList
();
this
.
getList
();
this
.
getGoodsLink
();
//
this.getGoodsLink();
},
},
methods
:
{
methods
:
{
async
getList
()
{
async
getList
()
{
...
...
src/views/Home/index.vue
View file @
3186c7f1
...
@@ -144,9 +144,9 @@ export default {
...
@@ -144,9 +144,9 @@ export default {
isShowLogin
(
val
)
{
isShowLogin
(
val
)
{
if
(
!
val
)
{
if
(
!
val
)
{
this
.
mongoToken
=
localStorage
.
get
(
"
mongoToken
"
);
this
.
mongoToken
=
localStorage
.
get
(
"
mongoToken
"
);
if
(
this
.
mongoToken
)
{
//
if (this.mongoToken) {
this
.
getGoodsLink
();
//
this.getGoodsLink();
}
//
}
}
}
}
}
},
},
...
@@ -181,7 +181,7 @@ export default {
...
@@ -181,7 +181,7 @@ export default {
});
});
});
});
this
.
goodsList
=
goodsList
;
this
.
goodsList
=
goodsList
;
this
.
getGoodsLink
();
//
this.getGoodsLink();
}
}
},
},
async
getGoodsLink
()
{
async
getGoodsLink
()
{
...
...
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