Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_vedio
Project
Project
Details
Activity
Releases
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
android
uniapp_vedio
Commits
bae59d4e
Commit
bae59d4e
authored
Jul 29, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
6fdf3637
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
loading.vue
vedio/pages/loading.vue
+13
-11
No files found.
vedio/pages/loading.vue
View file @
bae59d4e
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
methods
:
{
methods
:
{
ttLoging
()
{
ttLoging
()
{
var
that
=
this
;
var
that
=
this
;
var
obj
=
wx
.
getLaunchOptionsSync
()
var
obj
=
ks
.
getLaunchOptionsSync
()
var
tips2
=
''
;
// 投放测试
var
tips2
=
''
;
// 投放测试
var
thirdParam
=
""
;
var
thirdParam
=
""
;
...
@@ -73,14 +73,13 @@
...
@@ -73,14 +73,13 @@
});
});
}
}
uni
.
login
({
ks
.
login
({
provider
:
'weixin'
,
success
(
res
)
{
success
:
function
(
loginRes
)
{
that
.
post
({
that
.
post
({
url
:
'/user/
wechatl
ogin'
,
url
:
'/user/
ksL
ogin'
,
data
:
{
data
:
{
vedioId
:
bookId
,
vedioId
:
bookId
,
code
:
loginR
es
.
code
,
code
:
r
es
.
code
,
thirdParam
:
thirdParam
thirdParam
:
thirdParam
},
},
showLoading
:
false
,
showLoading
:
false
,
...
@@ -90,16 +89,19 @@
...
@@ -90,16 +89,19 @@
app
.
globalData
.
userId
=
data
.
idcode
;
app
.
globalData
.
userId
=
data
.
idcode
;
saveToken
(
data
.
token
)
saveToken
(
data
.
token
)
setTimeout
(()
=>
{
setTimeout
(()
=>
{
redirectTo
(
'home?activiteFlag='
+
data
.
activiteFlag
+
"&idcode="
+
data
.
idcode
);
redirectTo
(
'home?activiteFlag='
+
data
.
activiteFlag
+
"&idcode="
+
data
.
idcode
);
// redirectTo('/pagesA/vipPay/vipPay');
// redirectTo('/pagesA/vipPay/vipPay');
},
1000
);
},
1000
);
}
}
});
});
},
},
fail
:
function
(
err
)
{
fail
(
res
)
{
}
console
.
log
(
`login 调用失败`
);
},
});
});
}
}
}
}
};
};
...
...
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