Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
f3aa02e6
Commit
f3aa02e6
authored
Jul 24, 2025
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-20250724-产品名称和介绍调换位置' into dev
parents
5b8905e8
453a10e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
4 deletions
+31
-4
pages/courseDetail/courseDetail.vue
+2
-1
pages/courselist/courselist.vue
+29
-3
No files found.
pages/courseDetail/courseDetail.vue
View file @
f3aa02e6
...
...
@@ -54,7 +54,8 @@
<view
class=
"courseTitleContent"
>
<view
class=
"courseTitle"
>
<view
class=
""
style=
"width: 100%;"
>
<h4>
{{
courseInfo
.
fileTitle
}}
</h4>
<h4>
{{
courseInfo
.
fileSynopsis
}}
</h4>
<view>
{{
courseInfo
.
fileTitle
}}
</view>
</view>
</view>
...
...
pages/courselist/courselist.vue
View file @
f3aa02e6
...
...
@@ -26,6 +26,10 @@
</view>
<view
class=
"productBox"
>
<view
class=
"productList"
:style=
"
{marginTop}">
<view
class=
"tabBox"
>
<view
:class=
"
{'actived': courseClassify==2}" @click="courseClassify=2;courseList()">
<text>
咨询产品
</text></view>
<view
:class=
"
{'actived': courseClassify==1}" @click="courseClassify=1;courseList()">
<text>
规划产品
</text></view>
</view>
<view
class=
"productItem"
v-for=
"item in localCourseInfos"
:key=
"item.fileId"
>
<view
class=
"top"
@
click=
"goDetail(item)"
>
<view
class=
"left"
>
...
...
@@ -33,10 +37,10 @@
</view>
<view
class=
"right"
>
<view
class=
"one"
>
{{
item
.
file
Title
}}
{{
item
.
file
Synopsis
}}
</view>
<view
class=
"two"
>
{{
item
.
file
Synopsis
}}
{{
item
.
file
Title
}}
</view>
<view
class=
"three"
>
<text
style=
"font-size: 28rpx;color: rgba(32, 39, 155, 1);"
>
¥
{{
Number
(
item
.
coursePrice
).
toFixed
(
2
)
}}
</text>
...
...
@@ -158,6 +162,7 @@
env
:
dataHandling
.
getRuntimeEnv2
(),
shareItem
:{},
//分享的产品
sharelogin
:
false
,
courseClassify
:
2
,
}
},
...
...
@@ -397,7 +402,8 @@
},
courseList
(){
const
param
=
{
queryName
:
this
.
queryName
queryName
:
this
.
queryName
,
courseClassify
:
this
.
courseClassify
}
api
.
courseList
(
param
).
then
(
res
=>
{
if
(
res
[
'success'
]){
...
...
@@ -450,6 +456,26 @@
width
:
100%
;
height
:
auto
;
box-sizing
:
border-box
;
.tabBox{
display
:
flex
;
align-items
:
center
;
height
:
88
rpx
;
margin-bottom
:
20
rpx
;
background
:
#fafafa
;
border-bottom
:
1px
solid
#262088
;
view{
color
:
#000
;
width
:
160
rpx
;
height
:
100%
;
text-align
:
center
;
margin-right
:
30
rpx
;
line-height
:
88
rpx
;
&.actived{
background-color
:
#262088
;
color
:
#fff
;
}
}
}
.homeHeader
{
box-sizing
:
border-box
;
width
:
100%
;
...
...
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