Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sensorConsult
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
zhanglw
sensorConsult
Commits
3b1c1ca9
Commit
3b1c1ca9
authored
Aug 18, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
产品后三类详情页
parent
36778880
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
78 additions
and
64 deletions
+78
-64
index.vue
src/views/homepage/course/index.vue
+7
-3
details.vue
src/views/homepage/product/details.vue
+56
-54
index.vue
src/views/homepage/project/index.vue
+8
-4
index.vue
src/views/homepage/software/index.vue
+7
-3
No files found.
src/views/homepage/course/index.vue
View file @
3b1c1ca9
...
...
@@ -20,7 +20,7 @@
:src=
"item.imgSrc?imgSrcStart+'/productPic/'+item.imgSrc:defaultImgSystem"
style=
"width:348px;height: 240px;top: -3px"
/>
<div
class=
"line-text touch"
@
click=
"goToDetails(item, '
course
')"
>
{{
item
.
title
}}
</div>
<div
class=
"line-text touch"
@
click=
"goToDetails(item, '
/product/details
')"
>
{{
item
.
title
}}
</div>
<div
style=
"width: 100%;text-align: center;padding: 2px;color: #333"
>
{{
item
.
subTitle
}}
</div>
<div
class=
"line-btn"
style=
"margin-top: 14px"
>
<div
class=
"btn-o"
style=
"width: 150px;border-radius: 10px;box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);font-size:20px;"
@
click=
"inquiry(item, 'course')"
>
课程定制
</div>
...
...
@@ -92,8 +92,12 @@ export default {
this
.
$refs
.
inquiryView
.
initView
(
item
.
id
,
item
.
customerId
,
type
)
},
// 跳转到详情
goToDetails
(
item
,
type
)
{
console
.
log
(
item
,
type
)
goToDetails
(
item
,
path
)
{
if
(
item
)
{
this
.
$router
.
push
({
path
:
`
${
path
}
/
${
item
.
id
||
123
}
`
})
}
else
{
this
.
$router
.
push
({
path
:
`
${
path
}
`
})
}
},
pageChange
(
e
)
{
this
.
page
=
e
...
...
src/views/homepage/product/details.vue
View file @
3b1c1ca9
...
...
@@ -65,6 +65,7 @@
</el-col>
</el-row>
<el-divider
/>
<div
v-if=
"projectObj.productType
<5
"
>
<div
class=
"info-card-title"
style=
"margin-bottom: 14px"
><div
class=
"title-li"
/><span>
产品属性
</span></div>
<div>
<div
v-if=
"projectObj.attributeBrand"
class=
"attribute-box"
>
...
...
@@ -121,6 +122,7 @@
</div>
</div>
<el-divider
/>
</div>
<div
class=
"info-card-title"
><div
class=
"title-li"
/><span>
产品描述
</span></div>
<div
style=
"min-height: 30vh"
v-html=
"projectObj.productDescribe"
/>
<div
class=
"footnote-text"
>
...
...
src/views/homepage/project/index.vue
View file @
3b1c1ca9
...
...
@@ -23,7 +23,7 @@
</div>
</el-col>
<el-col
:span=
"12"
>
<div
class=
"box-title touch"
@
click=
"goToDetails(item, '
project
')"
>
{{
item
.
title
}}
</div>
<div
class=
"box-title touch"
@
click=
"goToDetails(item, '
/product/details
')"
>
{{
item
.
title
}}
</div>
<div
class=
"content ellipsis"
:title=
"item.content"
>
{{
item
.
content
}}
</div>
<div
class=
"line-btn"
style=
"margin-top: 4px;justify-content: flex-end;"
>
<div
class=
"btn-o"
style=
"width: 140px;border-radius: 10px;box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);font-size:20px;"
@
click=
"inquiry(item, 'project')"
>
咨 询
</div>
...
...
@@ -48,7 +48,7 @@
<div
v-for=
"(item,index) in serveList"
:key=
"'pj_'+index"
class=
"box-block"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<div
class=
"box-title touch"
style=
"padding-left: 30px"
@
click=
"goToDetails(item, '
project
')"
>
{{
item
.
title
}}
</div>
<div
class=
"box-title touch"
style=
"padding-left: 30px"
@
click=
"goToDetails(item, '
/product/details
')"
>
{{
item
.
title
}}
</div>
<div
class=
"content ellipsis"
style=
"height: 200px;padding: 4px 10px 20px 30px;-webkit-line-clamp: 6;"
:title=
"item.content"
>
  
{{
item
.
content
}}
</div>
...
...
@@ -137,8 +137,12 @@ export default {
this
.
$refs
.
inquiryView
.
initView
(
item
.
id
,
item
.
customerId
,
type
)
},
// 跳转到详情
goToDetails
(
item
,
type
)
{
console
.
log
(
item
,
type
)
goToDetails
(
item
,
path
)
{
if
(
item
)
{
this
.
$router
.
push
({
path
:
`
${
path
}
/
${
item
.
id
||
123
}
`
})
}
else
{
this
.
$router
.
push
({
path
:
`
${
path
}
`
})
}
},
pageChange
(
e
)
{
this
.
page
=
e
...
...
src/views/homepage/software/index.vue
View file @
3b1c1ca9
...
...
@@ -20,7 +20,7 @@
:src=
"item.imgSrc?imgSrcStart+'/productPic/'+item.imgSrc:defaultImgSystem"
style=
"width:348px;height: 240px;top: -3px"
/>
<div
class=
"float-title touch"
@
click=
"goToDetails(item, '
software
')"
>
{{
item
.
title
}}
</div>
<div
class=
"float-title touch"
@
click=
"goToDetails(item, '
/product/details
')"
>
{{
item
.
title
}}
</div>
<div
class=
"line-btn"
style=
"margin-top: 4px"
>
<div
class=
"btn-o"
style=
"width: 150px;border-radius: 10px;box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);font-size:20px;"
@
click=
"inquiry(item, 'software')"
>
免费获取方案
</div>
</div>
...
...
@@ -91,8 +91,12 @@ export default {
this
.
$refs
.
inquiryView
.
initView
(
item
.
id
,
item
.
customerId
,
type
)
},
// 跳转到详情
goToDetails
(
item
,
type
)
{
console
.
log
(
item
,
type
)
goToDetails
(
item
,
path
)
{
if
(
item
)
{
this
.
$router
.
push
({
path
:
`
${
path
}
/
${
item
.
id
||
123
}
`
})
}
else
{
this
.
$router
.
push
({
path
:
`
${
path
}
`
})
}
},
pageChange
(
e
)
{
this
.
page
=
e
...
...
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