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
c682238f
Commit
c682238f
authored
Dec 11, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
抖音支付调度,1.0.0发版
parent
7302ed1b
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
17 deletions
+26
-17
App.vue
vedio/App.vue
+14
-5
coin-popup.vue
vedio/components/coin-popup/coin-popup.vue
+7
-8
my.vue
vedio/components/home/my.vue
+2
-2
home.vue
vedio/pages/home.vue
+2
-1
loading.vue
vedio/pages/loading.vue
+1
-1
logo-about.png
vedio/static/logo-about.png
+0
-0
No files found.
vedio/App.vue
View file @
c682238f
...
...
@@ -19,7 +19,16 @@
// #endif
this
.
globalData
.
windowWidth
=
res
.
windowWidth
;
// 抖音
// #ifdef MP-TOUTIAO
this
.
globalData
.
statusBarHeight
=
0
;
// #endif
// 微信
// #ifdef MP-WEIXIN
this
.
globalData
.
statusBarHeight
=
res
.
statusBarHeight
;
// #endif
// #ifndef H5
this
.
globalData
.
bottomSafePadding
=
Math
.
max
(
res
.
screenHeight
-
res
.
safeArea
.
bottom
,
12
);
// #endif
...
...
vedio/components/coin-popup/coin-popup.vue
View file @
c682238f
...
...
@@ -163,7 +163,7 @@
// 抖音支付
// #ifdef MP-TOUTIAO
this
.
post
({
url
:
'/vip/getVipPayParams/
x
douyin'
,
url
:
'/vip/getVipPayParams/douyin'
,
data
:
{
vedioId
:
that
.
point
<=
0
?
null
:
that
.
vedioId
,
pid
:
vipBean
.
pid
...
...
@@ -200,19 +200,18 @@
let
that
=
this
;
tt
.
pay
({
orderInfo
:
{
order_id
:
ttData
.
order_id
,
order_token
:
ttData
.
order_token
,
order_id
:
ttData
.
params
.
order_id
,
order_token
:
ttData
.
params
.
order_token
,
},
service
:
5
,
success
(
res
)
{
if
(
res
.
code
==
0
)
{
// 拉取服务器,是否支付成功
that
.
queryOrderStatus
(
largeType
,
ttData
.
tid
)
}
else
{
message
.
notify
(
'支付异常'
);
that
.
queryOrderStatus
(
largeType
,
ttData
.
tidStr
)
}
},
fail
(
res
)
{
message
.
notify
(
res
.
errMsg
);
},
});
...
...
vedio/components/home/my.vue
View file @
c682238f
...
...
@@ -3,7 +3,7 @@
<!--
<scroll-view
:scroll-y=
"true"
>
-->
<z-paging
style=
"height: 100%;"
>
<view
:style=
"'display: flex;flex-direction: row;align-items: center;margin: 20rpx;padding-left: 10rpx;margin-top:'+
statusBarHeight
+'px;'"
>
:style=
"'display: flex;flex-direction: row;align-items: center;margin: 20rpx;padding-left: 10rpx;margin-top:'+
10
+'px;'"
>
<image
class=
"avatar"
src=
"@/static/logo-about.png"
></image>
<view>
<view
style=
"font-size: 32rpx;color: black;margin-left: 20rpx;"
>
用户ID:
{{
userBean
.
idcode
}}
</view>
...
...
@@ -136,7 +136,7 @@
},
methods
:
{
show
()
{
this
.
os
=
wx
.
getSystemInfoSync
().
platform
;
//
this.os = wx.getSystemInfoSync().platform;
this
.
windowHeight
=
uni
.
getSystemInfoSync
().
windowHeight
// loadData() {
this
.
post
({
...
...
vedio/pages/home.vue
View file @
c682238f
...
...
@@ -127,6 +127,7 @@
},
})
}
},
onShow
()
{
try
{
...
...
vedio/pages/loading.vue
View file @
c682238f
...
...
@@ -42,7 +42,7 @@
this
.
tips1
=
options
.
tips1
// #ifdef MP-TOUTIAO
this
.
appName
=
'巨爽
刷
剧'
this
.
appName
=
'巨爽
短
剧'
// #endif
// #ifdef MP-WEIXIN
...
...
vedio/static/logo-about.png
View replaced file @
7302ed1b
View file @
c682238f
6.85 KB
|
W:
|
H:
6.28 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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