Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
X
XiTianSenMall
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
leiqingsong
XiTianSenMall
Commits
91723f9f
Commit
91723f9f
authored
Mar 17, 2021
by
leiqingsong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_wm' into 'master'
返回按钮 See merge request
!80
parents
8fca0a2d
2f37760c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
10 deletions
+19
-10
index.js
H5/src/router/index.js
+6
-6
invite.vue
H5/src/views/invite.vue
+9
-1
register.vue
H5/src/views/register.vue
+4
-3
No files found.
H5/src/router/index.js
View file @
91723f9f
...
...
@@ -6,13 +6,13 @@ Vue.use(VueRouter);
const
routes
=
[
{
path
:
"/my-status"
,
name
:
"
M
yStatus"
,
name
:
"
m
yStatus"
,
component
:
()
=>
import
(
"../views/my/myStatus.vue"
),
meta
:
{
title
:
"我的直推"
,
noNav
:
false
}
},
{
path
:
"/publish"
,
name
:
"
P
ublish"
,
name
:
"
p
ublish"
,
component
:
()
=>
import
(
"@/views/moments/publish"
),
meta
:
{
title
:
"发布资讯"
}
},
...
...
@@ -52,7 +52,7 @@ const routes = [
},
{
path
:
"wallet"
,
name
:
"
W
allet"
,
name
:
"
w
allet"
,
component
:
()
=>
import
(
"@/views/income/wallet"
),
meta
:
{
title
:
"钱包"
}
},
...
...
@@ -84,13 +84,13 @@ const routes = [
},
{
path
:
"/instructions"
,
name
:
"
I
nstructions"
,
name
:
"
i
nstructions"
,
component
:
()
=>
import
(
"@/views/instructions"
),
meta
:
{
title
:
"用户协议"
}
},
{
path
:
"/settings"
,
name
:
"
S
ettings"
,
name
:
"
s
ettings"
,
component
:
()
=>
import
(
"@/views/settings"
),
meta
:
{
title
:
"设置"
}
},
...
...
@@ -150,7 +150,7 @@ const routes = [
},
{
path
:
"/aboutUs"
,
name
:
"
A
boutUs"
,
name
:
"
a
boutUs"
,
component
:
()
=>
import
(
"@/views/aboutUs"
),
meta
:
{
title
:
"公司简介"
,
noNav
:
false
}
}
...
...
H5/src/views/invite.vue
View file @
91723f9f
<
template
>
<div
class=
"invite-code"
>
<div
class=
"nav"
>
<van-icon
name=
"arrow-left"
size=
"20"
class=
"nav-left"
@
click=
"$router.go(-1)"
/>
<img
:src=
"imgSrc"
alt=
""
class=
"imgCode"
/>
</div>
</div>
</
template
>
<
script
>
import
{
inviteCode
}
from
"@/api/invite"
;
...
...
H5/src/views/register.vue
View file @
91723f9f
...
...
@@ -129,7 +129,7 @@ export default {
}
_this
.
time
=
60
;
_this
.
disabled
=
true
;
//
_this.handelSendSmsApi();
_this
.
handelSendSmsApi
();
_this
.
timer
=
setInterval
(()
=>
{
if
(
_this
.
time
===
0
)
{
clearInterval
(
_this
.
timer
);
...
...
@@ -142,7 +142,7 @@ export default {
// 检验手机号
const
params
=
{
codeType
:
0
,
phone
:
this
.
userId
phone
:
this
.
form
.
userId
};
smsCode
(
params
).
then
(
res
=>
{
console
.
log
(
res
);
...
...
@@ -169,7 +169,8 @@ export default {
this
.
$toast
.
clear
();
_this
.
registerBtnDisabled
=
false
;
if
(
res
.
code
===
0
)
{
_this
.
$toast
.
sucess
(
res
.
msg
);
this
.
$toast
(
"注册成功"
);
//_this.$toast.sucess(res.msg);
}
else
{
_this
.
show
=
true
;
_this
.
tip
=
res
.
msg
;
...
...
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