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
adafdd4b
Commit
adafdd4b
authored
Dec 12, 2022
by
sunerhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修复分享重复登录--待测试
2.修复销售课程--分享课程订单详情传参错误
parent
7b9ea575
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
4 deletions
+10
-4
index.html
+1
-0
pages/courseDetail/courseDetail.vue
+2
-1
pages/orderDetail/orderDetail.vue
+4
-1
pages/saleCourseLists/saleCourseLists.vue
+3
-2
No files found.
index.html
View file @
adafdd4b
...
...
@@ -13,6 +13,7 @@
<link
rel=
"stylesheet"
href=
"./static/font/iconfont.css"
>
<!--preload-links-->
<!--app-context-->
<script
src=
"https://res.wx.qq.com/open/js/jweixin-1.6.0.js"
></script>
</head>
<body>
<div
id=
"app"
>
<!--app-html-->
</div>
...
...
pages/courseDetail/courseDetail.vue
View file @
adafdd4b
...
...
@@ -248,7 +248,7 @@
url
:
'/components/login/login'
})
}
else
{
if
(
this
.
coursesharing
==
1
)
{
if
(
this
.
coursesharing
==
1
&&
this
.
userId
==
''
)
{
this
.
sharelogin
=
true
}
else
{
this
.
jumppurchase
()
...
...
@@ -480,6 +480,7 @@
onLoad
(
option
)
{
this
.
fileId
=
option
.
fileId
;
if
(
option
.
coursesharing
)
{
this
.
userId
=
''
this
.
coursesharing
=
option
.
coursesharing
this
.
serialsNo
=
option
.
serialsNo
this
.
shareCode
=
option
.
shareCode
...
...
pages/orderDetail/orderDetail.vue
View file @
adafdd4b
...
...
@@ -55,7 +55,8 @@
const
param
=
{
userId
:
this
.
userId
,
orderId
:
this
.
orderId
,
commissionType
:
this
.
commissionType
queryType
:
'2'
,
commissionType
:
this
.
commissionType
,
}
api
.
userCourseInfo
(
param
).
then
(
res
=>
{
if
(
res
[
'success'
]){
...
...
@@ -81,7 +82,9 @@
this
.
userCourseInfo
();
},
onLoad
(
option
)
{
console
.
log
(
option
,
15215
)
this
.
orderId
=
option
.
id
;
console
.
log
(
this
.
orderId
,
2222
)
this
.
type
=
option
.
type
;
this
.
commissionType
=
option
.
commissionType
;
}
...
...
pages/saleCourseLists/saleCourseLists.vue
View file @
adafdd4b
...
...
@@ -65,7 +65,7 @@
<view><text>
购买人
</text><text>
{{
item
.
userName
}}
</text></view>
<view
class=
"orderDetailLine"
>
<text></text>
<text
@
click=
"viewDetail(item
.orderId
)"
>
订单详情>
</text>
<text
@
click=
"viewDetail(item)"
>
订单详情>
</text>
</view>
</view>
</
template
>
...
...
@@ -101,8 +101,9 @@
},
// 查看订单详情
viewDetail
(
item
){
console
.
log
(
item
,
1515
)
uni
.
navigateTo
({
url
:
`/pages/orderDetail/orderDetail?id=
${
item
}
&type=drop`
url
:
`/pages/orderDetail/orderDetail?id=
${
item
.
orderId
}
&type=drop`
})
},
bindDateChange
:
function
(
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