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
5ad57a27
Commit
5ad57a27
authored
Dec 06, 2022
by
sunerhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改了一些Bug
parent
4d7426cf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
5 deletions
+11
-5
components/courseItem/courseItem.vue
+9
-1
pages/courseDetail/courseDetail.vue
+1
-2
pages/personalCenter/personalCenter.vue
+0
-1
pages/saleCourseLists/saleCourseLists.vue
+1
-1
No files found.
components/courseItem/courseItem.vue
View file @
5ad57a27
...
...
@@ -5,7 +5,7 @@
</view>
<view
class=
"courseDetailBox"
>
<view
class=
"title"
>
<h4>
{{
title
}}
</h4>
<h4
@
click=
"curriculumDetail()"
>
{{
title
}}
</h4>
<text
class=
"detailBtn"
@
click=
"viewDetail()"
v-if=
"isNeedViewDetail"
>
订单详情>
</text>
</view>
<view
class=
"summaryBox"
v-if=
"summaryBox"
>
...
...
@@ -56,6 +56,9 @@
},
tagList
:{
type
:
Object
},
fileId
:{
type
:
String
}
},
data
()
{
...
...
@@ -80,6 +83,11 @@
url
:
`/pages/orderDetail/orderDetail?id=
${
this
.
orderId
}
&type=drop`
})
},
curriculumDetail
(){
uni
.
navigateTo
({
url
:
`/pages/courseDetail/courseDetail?fileId=
${
this
.
fileId
}
`
})
},
lecturerQuery
(){
api
.
lecturerQuery
({
id
:
this
.
fileLecturerId
}).
then
(
res
=>
{
if
(
res
[
'success'
]){
...
...
pages/courseDetail/courseDetail.vue
View file @
5ad57a27
...
...
@@ -379,14 +379,13 @@
}
},
onLoad
(
option
)
{
console
.
log
(
option
,
2255
)
this
.
fileId
=
option
.
fileId
;
if
(
option
.
userId
){
this
.
userId
=
option
.
userId
}
let
dataForm
=
uni
.
getStorageSync
(
'userinfodataForm'
)
this
.
realName
=
dataForm
.
realName
this
.
switchTab
(
1
);
//
this.switchTab(1);
},
mounted
()
{
this
.
switchTab
(
1
);
...
...
pages/personalCenter/personalCenter.vue
View file @
5ad57a27
...
...
@@ -158,7 +158,6 @@
},
ckidentity
(
item
){
if
(
item
.
identity
==
true
&&
this
.
customerBasicInfo
.
partnerType
==
null
){
console
.
log
(
'运行到了这里'
)
uni
.
showToast
({
title
:
"您本人尚未加盟,您加盟后可邀请加盟"
,
duration
:
2000
,
...
...
pages/saleCourseLists/saleCourseLists.vue
View file @
5ad57a27
...
...
@@ -46,7 +46,7 @@
<template
v-if=
"userCourses && tabType===1"
>
<view
class=
"saleOrderInfoItem"
v-for=
"item in userCourses"
:key=
"item.fileId"
>
<view
class=
"courseInfoContent"
>
<course-item
:thumbnailPath=
"item.displayImage"
:title=
"item.fileTitle"
:summaryBox=
"item.fileSynopsis"
:dataList=
"
{coursePrice:item.coursePrice,salesNumber:item.salesNumber}" :fileLecturerId="item.fileLecturerId" :isNeedViewDetail="true" :orderId="item.orderId">
</course-item>
<course-item
:thumbnailPath=
"item.displayImage"
:
fileId=
"item.fileId"
:
title=
"item.fileTitle"
:summaryBox=
"item.fileSynopsis"
:dataList=
"
{coursePrice:item.coursePrice,salesNumber:item.salesNumber}" :fileLecturerId="item.fileLecturerId" :isNeedViewDetail="true" :orderId="item.orderId">
</course-item>
</view>
<view
class=
"countsContent"
>
<text>
实际支付:¥
{{
parseFloat
(
item
.
paymentAmount
).
toFixed
(
2
)
}}
</text>
...
...
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