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
50d0971b
Commit
50d0971b
authored
Dec 15, 2022
by
sunerhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改重置密码密码校验
2.订单详情页面传参错误
parent
7d08c3bb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
pages/courseDetail/courseDetail.vue
+3
-0
pages/orderStatus/orderStatus.vue
+1
-1
pages/personalCenter/accountoperation/resetpassword.vue
+6
-3
No files found.
pages/courseDetail/courseDetail.vue
View file @
50d0971b
...
...
@@ -285,6 +285,9 @@
console
.
log
(
res
,
545415
)
if
(
res
[
'success'
])
{
this
.
orderId
=
res
[
'data'
][
'id'
];
if
(
this
.
coursesharing
==
'1'
){
this
.
userId
=
localStorage
.
getItem
(
'h5_userId'
)?
localStorage
.
getItem
(
'h5_userId'
):
this
.
userId
}
uni
.
navigateTo
({
url
:
`/pages/orderConfirm/orderConfirm?fileId=
${
this
.
fileId
}
&orderId=
${
this
.
orderId
}
&userId=
${
this
.
userId
}
`
})
...
...
pages/orderStatus/orderStatus.vue
View file @
50d0971b
...
...
@@ -43,7 +43,7 @@
viewDetail
(){
// 查看详情
uni
.
navigateTo
({
url
:
`/pages/orderDetail/orderDetail?id=
${
this
.
orderId
}
`
url
:
`/pages/orderDetail/orderDetail?id=
${
this
.
orderId
}
&type=drop
`
})
},
goToCourselist
(){
...
...
pages/personalCenter/accountoperation/resetpassword.vue
View file @
50d0971b
...
...
@@ -4,7 +4,7 @@
<text>
{{
usermobile
}}
</text>
</view>
<view
class=
"input-row"
>
<input
maxlength=
"11"
type=
"
text
"
v-model=
"form.password"
placeholder=
"请输入新密码"
/>
<input
maxlength=
"11"
type=
"
password
"
v-model=
"form.password"
placeholder=
"请输入新密码"
/>
</view>
<view
class=
"input-row"
>
<view
style=
"width: 65%;"
><input
maxlength=
"11"
type=
"text"
v-model=
"form.code"
placeholder=
"请输入验证码"
/></view>
...
...
@@ -25,7 +25,7 @@
data
()
{
return
{
form
:{
mobile
:
"18335619247"
,
mobile
:
uni
.
getStorageSync
(
'user_mobile'
)
,
code
:
''
,
password
:
''
,
},
...
...
@@ -64,7 +64,10 @@
const
params
=
{
...
this
.
form
}
console
.
log
(
params
)
if
(
!
common
.
passwordValid
(
this
.
form
.
password
)){
common
.
errorDialog
(
2
,
'请输入6-12位数字字母组合'
);
return
false
;
}
api
.
resetPassword
(
params
).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
uni
.
showToast
({
...
...
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