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
c877c062
Commit
c877c062
authored
Jul 24, 2020
by
郭志伟
Committed by
郝聪敏
Jul 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 产品详情
parent
cc6292d6
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
149 additions
and
144 deletions
+149
-144
CompactCellGroup.vue
src/components/CompactCellGroup.vue
+0
-0
ProtocolIframe.vue
src/components/ProtocolIframe.vue
+3
-0
index.js
src/router/index.js
+4
-4
index.less
src/views/Goods/Detail/index.less
+0
-0
index.vue
src/views/Goods/Detail/index.vue
+25
-25
CpsCase.vue
src/views/Goods/Detail/modules/CpsCase.vue
+1
-1
CpsProcess.vue
src/views/Goods/Detail/modules/CpsProcess.vue
+0
-0
CpsProcessDetail.vue
src/views/Goods/Detail/modules/CpsProcessDetail.vue
+26
-0
CpsQA.vue
src/views/Goods/Detail/modules/CpsQA.vue
+0
-0
CpsRate.vue
src/views/Goods/Detail/modules/CpsRate.vue
+87
-1
DetailFooter.vue
src/views/Goods/Detail/modules/DetailFooter.vue
+0
-0
DetailHeader.vue
src/views/Goods/Detail/modules/DetailHeader.vue
+0
-0
GoInsureDialog.vue
src/views/Goods/Detail/modules/GoInsureDialog.vue
+0
-0
index.less
src/views/Goods/Inform/index.less
+0
-0
index.vue
src/views/Goods/Inform/index.vue
+1
-1
index.less
src/views/Goods/Plan/index.less
+0
-0
index.vue
src/views/Goods/Plan/index.vue
+2
-2
process.vue
src/views/Goods/process.vue
+0
-25
rate.less
src/views/Goods/rate.less
+0
-85
No files found.
src/
views/Goods/module
s/CompactCellGroup.vue
→
src/
component
s/CompactCellGroup.vue
View file @
c877c062
File moved
src/
views/Goods/module
s/ProtocolIframe.vue
→
src/
component
s/ProtocolIframe.vue
View file @
c877c062
...
...
@@ -11,14 +11,17 @@
<div
class=
"protocol-title"
>
{{
title
}}
</div>
<cr-divider
:hairline=
"false"
:style=
"
{ color: '#F4F4F4', margin: 0 }" />
</div>
<!-- content -->
<div
class=
"protocol-content"
v-if=
"content && scrollRefresh && !$slots.default"
v-html=
"content"
></div>
<!-- iframe -->
<div
class=
"protocol-frame-wrap"
v-if=
"url && scrollRefresh"
>
<iframe
class=
"protocol-frame"
:src=
"url"
frameborder=
"0"
height=
"100%"
></iframe>
</div>
<!-- slot -->
<div
class=
"protocol-wrap"
v-if=
"!content && scrollRefresh && $slots.default"
>
<slot></slot>
</div>
...
...
src/router/index.js
View file @
c877c062
...
...
@@ -12,22 +12,22 @@ const routes = [
{
path
:
"
/goods
"
,
name
:
"
Goods
"
,
component
:
()
=>
import
(
/* webpackChunkName: "goods" */
"
../views/Goods/index.vue
"
)
component
:
()
=>
import
(
"
../views/Goods/index.vue
"
)
},
{
path
:
"
/goods/detail
"
,
name
:
"
GoodsDetail
"
,
component
:
()
=>
import
(
/* webpackChunkName: "goodsDetail" */
"
../views/Goods/detail
.vue
"
)
component
:
()
=>
import
(
"
../views/Goods/Detail/index
.vue
"
)
},
{
path
:
"
/goods/plan
"
,
name
:
"
GoodsPlan
"
,
component
:
()
=>
import
(
/* webpackChunkName: "GoodsPlan" */
"
../views/Goods/plan
.vue
"
)
component
:
()
=>
import
(
"
../views/Goods/Plan/index
.vue
"
)
},
{
path
:
"
/goods/inform
"
,
name
:
"
GoodsInform
"
,
component
:
()
=>
import
(
/* webpackChunkName: "GoodsInform" */
"
../views/Goods/inform
.vue
"
)
component
:
()
=>
import
(
"
../views/Goods/Inform/index
.vue
"
)
},
{
path
:
"
/user
"
,
...
...
src/views/Goods/
detail
.less
→
src/views/Goods/
Detail/index
.less
View file @
c877c062
File moved
src/views/Goods/
detail
.vue
→
src/views/Goods/
Detail/index
.vue
View file @
c877c062
...
...
@@ -112,37 +112,37 @@ import intro02 from "@/assets/goods/detail/zhongjixian/intro-02.png";
import
intro03
from
"
@/assets/goods/detail/zhongjixian/intro-03.png
"
;
import
intro04
from
"
@/assets/goods/detail/zhongjixian/intro-04.png
"
;
import
d
etailHeader
from
"
./modules/DetailHeader
"
;
import
d
etailFooter
from
"
./modules/DetailFooter
"
;
import
compactCellGroup
from
"
./modules/CompactCellGroup
"
;
import
c
psDemo
from
"
./modules/CpsDemo
"
;
import
c
psProcess
from
"
./modules/CpsProcess
"
;
import
c
psQa
from
"
./modules/CpsQA
"
;
import
protocolIframe
from
"
./modules/ProtocolIframe
"
;
import
goInsureDialog
from
"
./modules/GoInsureDialog
"
;
import
D
etailHeader
from
"
./modules/DetailHeader
"
;
import
D
etailFooter
from
"
./modules/DetailFooter
"
;
import
CompactCellGroup
from
"
.
./modules/CompactCellGroup
"
;
import
C
psDemo
from
"
./modules/CpsDemo
"
;
import
C
psProcess
from
"
./modules/CpsProcess
"
;
import
C
psQa
from
"
./modules/CpsQA
"
;
import
ProtocolIframe
from
"
.
./modules/ProtocolIframe
"
;
import
GoInsureDialog
from
"
.
./modules/GoInsureDialog
"
;
import
cpsProcessDetail
from
"
./process
"
;
import
cpsRate
from
"
./rate
"
;
import
c
rRadioBtn
from
"
@/components/CrRadioBtn
"
;
import
c
ard
from
"
@/components/Card
"
;
import
c
opyright
from
"
@/components/Copyright
"
;
import
g
oodAction
from
"
@/components/GoodAction
"
;
import
C
rRadioBtn
from
"
@/components/CrRadioBtn
"
;
import
C
ard
from
"
@/components/Card
"
;
import
C
opyright
from
"
@/components/Copyright
"
;
import
G
oodAction
from
"
@/components/GoodAction
"
;
import
RecordLayer
from
"
@/components/RecordLayer
"
;
export
default
{
name
:
"
GoodsDetail
"
,
components
:
{
d
etailHeader
,
d
etailFooter
,
c
ompactCellGroup
,
c
rRadioBtn
,
c
ard
,
c
psDemo
,
c
psProcess
,
c
psQa
,
c
opyright
,
goInsureDialog
,
g
oodAction
,
protocolIframe
,
D
etailHeader
,
D
etailFooter
,
C
ompactCellGroup
,
C
rRadioBtn
,
C
ard
,
C
psDemo
,
C
psProcess
,
C
psQa
,
C
opyright
,
ProtocolIframe
,
G
oodAction
,
GoInsureDialog
,
cpsProcessDetail
,
cpsRate
,
RecordLayer
...
...
@@ -287,4 +287,4 @@ export default {
}
};
</
script
>
<
style
lang=
"less"
src=
"./
detail
.less"
scoped
></
style
>
<
style
lang=
"less"
src=
"./
index
.less"
scoped
></
style
>
src/views/Goods/
modules/CpsDemo
.vue
→
src/views/Goods/
Detail/modules/CpsCase
.vue
View file @
c877c062
...
...
@@ -44,7 +44,7 @@
<
script
>
import
card
from
"
@/components/Card
"
;
export
default
{
name
:
"
Cps
Demo
"
,
name
:
"
Cps
Case
"
,
components
:
{
card
},
...
...
src/views/Goods/modules/CpsProcess.vue
→
src/views/Goods/
Detail/
modules/CpsProcess.vue
View file @
c877c062
File moved
src/views/Goods/
process.less
→
src/views/Goods/
Detail/modules/CpsProcessDetail.vue
View file @
c877c062
<
template
>
<div
class=
"cps-process-list"
>
<div
class=
"cps-process-list-item"
v-for=
"(item, index) in detail"
:key=
"index"
>
<div
class=
"cps-process-list-item-title"
>
{{
index
+
1
}}
</div>
<div
class=
"cps-process-list-item-content"
>
<h6>
{{
item
.
title
}}
</h6>
<small
v-html=
"item.desc"
></small>
</div>
</div>
</div>
</
template
>
<
script
>
import
detail
from
"
@/api/detail.process.mock
"
;
export
default
{
name
:
"
CpsProcessDetail
"
,
data
()
{
return
{
detail
};
}
};
</
script
>
<
style
lang=
"less"
scoped
>
@import "../../style/var.less";
@import "../../style/mixins.less";
.cps-process {
...
...
@@ -58,3 +83,4 @@
}
}
}
</
style
>
src/views/Goods/modules/CpsQA.vue
→
src/views/Goods/
Detail/
modules/CpsQA.vue
View file @
c877c062
File moved
src/views/Goods/
r
ate.vue
→
src/views/Goods/
Detail/modules/CpsR
ate.vue
View file @
c877c062
...
...
@@ -69,4 +69,90 @@ export default {
methods
:
{}
};
</
script
>
<
style
lang=
"less"
src=
"./rate.less"
scoped
></
style
>
<
style
lang=
"less"
scoped
>
@import "../../style/var.less";
.rate-container {
background-color: @white;
}
.rate-head {
width: 100% !important;
@{deep} & > div {
width: 100% !important;
z-index: 100;
}
@{deep} .cr-tabbar {
font-size: @font-size-16;
padding: @padding-lg+1 0;
&-item {
position: relative;
&::after {
position: absolute;
left: 0;
right: 0;
margin: auto;
top: 26px;
// transition: width .2s linear;
content: " ";
display: block;
width: 0;
height: 4px;
background: @orange-light;
border-radius: @border-radius-lx;
}
&--active {
font-weight: 600;
&::after {
width: 32px;
}
}
}
}
.cr-radio-group {
margin-top: 10px;
}
}
.rate-body {
padding: 15px 0;
}
.rate-table {
margin: 0;
width: 100%;
thead {
th {
color: @gray-5;
font-size: @font-size-12;
font-weight: @font-weight-bold;
padding: @padding-sm + 2 @padding-md + 2;
text-align: left;
background-color: @gray-1;
&:first-child {
border-top-left-radius: @border-radius-lg;
border-bottom-left-radius: @border-radius-lg;
padding-left: 30px;
}
&:last-child {
border-top-right-radius: @border-radius-lg;
border-bottom-right-radius: @border-radius-lg;
}
}
}
tbody {
th {
color: @black;
font-size: @font-size-12;
font-weight: @font-weight-bold;
padding: @padding-sm + 2 @padding-md + 2;
text-align: left;
padding-left: 30px;
}
td {
color: @black;
font-size: @font-size-12;
padding: @padding-sm + 2 @padding-md + 2;
text-align: left;
}
}
}
</
style
>
src/views/Goods/modules/DetailFooter.vue
→
src/views/Goods/
Detail/
modules/DetailFooter.vue
View file @
c877c062
File moved
src/views/Goods/modules/DetailHeader.vue
→
src/views/Goods/
Detail/
modules/DetailHeader.vue
View file @
c877c062
File moved
src/views/Goods/modules/GoInsureDialog.vue
→
src/views/Goods/
Detail/
modules/GoInsureDialog.vue
View file @
c877c062
File moved
src/views/Goods/
inform
.less
→
src/views/Goods/
Inform/index
.less
View file @
c877c062
File moved
src/views/Goods/
inform
.vue
→
src/views/Goods/
Inform/index
.vue
View file @
c877c062
...
...
@@ -57,4 +57,4 @@ export default {
}
};
</
script
>
<
style
lang=
"less"
src=
"./in
form
.less"
scoped
></
style
>
<
style
lang=
"less"
src=
"./in
dex
.less"
scoped
></
style
>
src/views/Goods/
plan
.less
→
src/views/Goods/
Plan/index
.less
View file @
c877c062
File moved
src/views/Goods/
plan
.vue
→
src/views/Goods/
Plan/index
.vue
View file @
c877c062
...
...
@@ -16,7 +16,7 @@
</div>
</
template
>
<
script
>
import
protocolIframe
from
"
./modules/ProtocolIframe
"
;
import
protocolIframe
from
"
.
.
/modules/ProtocolIframe
"
;
import
card
from
"
@/components/Card
"
;
import
detail
from
"
@/api/detail.plan.mock
"
;
...
...
@@ -51,4 +51,4 @@ export default {
}
};
</
script
>
<
style
lang=
"less"
src=
"./
plan
.less"
scoped
></
style
>
<
style
lang=
"less"
src=
"./
index
.less"
scoped
></
style
>
src/views/Goods/process.vue
deleted
100644 → 0
View file @
cc6292d6
<
template
>
<div
class=
"cps-process-list"
>
<div
class=
"cps-process-list-item"
v-for=
"(item, index) in detail"
:key=
"index"
>
<div
class=
"cps-process-list-item-title"
>
{{
index
+
1
}}
</div>
<div
class=
"cps-process-list-item-content"
>
<h6>
{{
item
.
title
}}
</h6>
<small
v-html=
"item.desc"
></small>
</div>
</div>
</div>
</
template
>
<
script
>
import
detail
from
"
@/api/detail.process.mock
"
;
export
default
{
name
:
"
CpsProcessDetail
"
,
data
()
{
return
{
detail
};
}
};
</
script
>
<
style
lang=
"less"
src=
"./process.less"
scoped
></
style
>
src/views/Goods/rate.less
deleted
100644 → 0
View file @
cc6292d6
@import "../../style/var.less";
.rate-container {
background-color: @white;
}
.rate-head {
width: 100% !important;
@{deep} & > div {
width: 100% !important;
z-index: 100;
}
@{deep} .cr-tabbar {
font-size: @font-size-16;
padding: @padding-lg+1 0;
&-item {
position: relative;
&::after {
position: absolute;
left: 0;
right: 0;
margin: auto;
top: 26px;
// transition: width .2s linear;
content: " ";
display: block;
width: 0;
height: 4px;
background: @orange-light;
border-radius: @border-radius-lx;
}
&--active {
font-weight: 600;
&::after {
width: 32px;
}
}
}
}
.cr-radio-group {
margin-top: 10px;
}
}
.rate-body {
padding: 15px 0;
}
.rate-table {
margin: 0;
width: 100%;
thead {
th {
color: @gray-5;
font-size: @font-size-12;
font-weight: @font-weight-bold;
padding: @padding-sm + 2 @padding-md + 2;
text-align: left;
background-color: @gray-1;
&:first-child {
border-top-left-radius: @border-radius-lg;
border-bottom-left-radius: @border-radius-lg;
padding-left: 30px;
}
&:last-child {
border-top-right-radius: @border-radius-lg;
border-bottom-right-radius: @border-radius-lg;
}
}
}
tbody {
th {
color: @black;
font-size: @font-size-12;
font-weight: @font-weight-bold;
padding: @padding-sm + 2 @padding-md + 2;
text-align: left;
padding-left: 30px;
}
td {
color: @black;
font-size: @font-size-12;
padding: @padding-sm + 2 @padding-md + 2;
text-align: left;
}
}
}
\ No newline at end of file
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