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
8c30811a
Commit
8c30811a
authored
Jun 03, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
2b43b53b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
43 deletions
+6
-43
c-login.vue
vedio/components/c-login/c-login.vue
+6
-43
No files found.
vedio/components/c-login/c-login.vue
View file @
8c30811a
...
...
@@ -117,40 +117,15 @@
ttLoging
()
{
var
that
=
this
;
var
obj
=
tt
.
getLaunchOptionsSync
()
var
channel
=
'douyin'
// 渠道
var
bookId
=
''
;
var
remark1
=
''
;
// 预留
var
remark2
=
''
;
// 预留
var
remark3
=
''
;
// 预留
var
remark4
=
''
;
// 预留
var
remark5
=
''
;
// 预留
var
remark6
=
''
;
// 预留
var
thirdParam
=
''
;
var
tips2
=
''
;
var
album_id
=
obj
.
query
.
tt_album_id
??
''
;
var
episode_id
=
obj
.
query
.
tt_episode_id
??
''
;
uni
.
setStorage
({
key
:
'tt_album_id'
,
data
:
album_id
});
uni
.
setStorage
({
key
:
'tt_episode_id'
,
data
:
episode_id
});
// 抖音feed页参数
thirdParam
=
JSON
.
stringify
(
obj
.
query
);
bookId
=
obj
.
query
.
book_id
??
''
tips2
=
obj
.
query
.
tips2
??
''
remark1
=
obj
.
query
.
remark1
??
''
remark2
=
obj
.
query
.
remark2
??
''
remark3
=
obj
.
query
.
remark3
??
''
remark4
=
obj
.
query
.
remark4
??
''
remark5
=
obj
.
query
.
remark5
??
''
remark6
=
obj
.
query
.
remark6
??
''
if
(
this
.
tips1
==
'mints_book'
||
tips2
==
'mints_book'
)
{
this
.
slotParam
=
JSON
.
stringify
(
obj
.
query
);
...
...
@@ -162,23 +137,10 @@
success
(
res
)
{
login
({
channel
:
channel
,
clueToken
:
''
,
anonymousCode
:
res
.
anonymousCode
,
vedioId
:
bookId
,
code
:
res
.
code
,
adId
:
''
,
advertiserId
:
''
,
reqId
:
''
,
remark1
:
remark1
,
remark2
:
remark2
,
remark3
:
remark3
,
remark4
:
remark4
,
remark5
:
remark5
,
remark6
:
remark6
,
thirdParam
:
thirdParam
,
promotionId
:
''
,
projectId
:
''
,
bookId
:
bookId
,
anonymousCode
:
res
.
anonymousCode
,
thirdParam
:
thirdParam
})
},
fail
(
res
)
{
...
...
@@ -242,7 +204,7 @@
line-height
:
100rpx
;
margin-top
:
30rpx
;
width
:
400rpx
;
background
:
#09bb07
;
background
:
black
;
color
:
#fff
;
border-radius
:
20rpx
;
...
...
@@ -255,6 +217,7 @@
.info
{
height
:
100rpx
;
color
:
#fff
;
line-height
:
100rpx
;
font-size
:
30rpx
;
margin-left
:
20rpx
;
...
...
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