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
364ba785
Commit
364ba785
authored
Nov 10, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
过滤ios
parent
d90277db
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
15 deletions
+17
-15
loading.vue
vedio/pages/loading.vue
+9
-9
my.vue
vedio/pages/my/my.vue
+6
-4
newVideoDetail.vue
vedio/pagesC/video/newVideoDetail.vue
+2
-2
No files found.
vedio/pages/loading.vue
View file @
364ba785
...
@@ -61,12 +61,9 @@
...
@@ -61,12 +61,9 @@
var
product_type
=
''
;
//自有产品
var
product_type
=
''
;
//自有产品
var
zs_channel
=
''
;
// 自有渠道
var
zs_channel
=
''
;
// 自有渠道
var
vedio_id
=
''
;
// 自有剧
var
vedio_id
=
''
;
// 自有剧
var
zs_os
=
''
;
zs_os
=
wx
.
getSystemInfoSync
().
platform
;
var
zs_os
=
'android'
;
let
isIOS
=
uni
.
getSystemInfoSync
().
platform
==
"ios"
&&
false
if
(
isIOS
)
{
zs_os
=
'ios'
;
}
// 判断渠道来源
// 判断渠道来源
if
(
obj
.
query
.
clue_token
??
''
!=
''
)
{
if
(
obj
.
query
.
clue_token
??
''
!=
''
)
{
...
@@ -85,10 +82,13 @@
...
@@ -85,10 +82,13 @@
}
else
if
(
obj
.
query
.
ksChannel
??
''
!=
''
){
}
else
if
(
obj
.
query
.
ksChannel
??
''
!=
''
){
// 快手渠道参数
// 快手渠道参数
channel
=
'kuaishou'
channel
=
'kuaishou'
advertiserId
=
obj
.
query
.
accountid
??
''
adId
=
obj
.
query
.
ksUnitId
??
''
//组id
clueToken
=
obj
.
query
.
callback
??
''
advertiserId
=
obj
.
query
.
ksSiteAccountId
??
''
//账户id
adId
=
obj
.
query
.
aid
??
''
clueToken
=
obj
.
query
.
callback
??
''
//快手归因参数
reqId
=
obj
.
query
.
ksCampaignId
??
''
//计划id
promotionId
=
obj
.
query
.
ksPageId
??
''
//落地页id
tips2
=
obj
.
query
.
tips2
??
''
tips2
=
obj
.
query
.
tips2
??
''
projectId
=
obj
.
query
.
ksCreativeId
??
''
//创意id
product_type
=
obj
.
query
.
product_type
??
''
product_type
=
obj
.
query
.
product_type
??
''
zs_channel
=
obj
.
query
.
zs_channel
??
''
zs_channel
=
obj
.
query
.
zs_channel
??
''
vedio_id
=
obj
.
query
.
vedio_id
??
''
vedio_id
=
obj
.
query
.
vedio_id
??
''
...
...
vedio/pages/my/my.vue
View file @
364ba785
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
</view>
</view>
<view
v-if=
"userBean.showVipInner"
<view
v-if=
"userBean.showVipInner
&& os === 'android'
"
style=
"display: flex;flex-direction: row;background: #f5ca86;margin: 20rpx;padding: 40rpx;border-radius:20rpx;align-items: center;justify-content:space-between;"
>
style=
"display: flex;flex-direction: row;background: #f5ca86;margin: 20rpx;padding: 40rpx;border-radius:20rpx;align-items: center;justify-content:space-between;"
>
<view
style=
"display: flex;flex-direction: column;justify-content: center;"
>
<view
style=
"display: flex;flex-direction: column;justify-content: center;"
>
<view
style=
"font-size: 36rpx;color: #5b1500;font-weight: 777;"
>
<view
style=
"font-size: 36rpx;color: #5b1500;font-weight: 777;"
>
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
src=
"https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/bg_my_vip.png"
mode=
"scaleToFill"
></image>
src=
"https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/bg_my_vip.png"
mode=
"scaleToFill"
></image>
</view>
</view>
<view
style=
"display: flex;height: 200rpx;margin: 20rpx;background: #f5ca86;border-radius: 20rpx;"
>
<view
v-if=
"os === 'android' "
style=
"display: flex;height: 200rpx;margin: 20rpx;background: #f5ca86;border-radius: 20rpx;"
>
<view
style=
"flex-grow: 2; margin-left: 20rpx;"
>
<view
style=
"flex-grow: 2; margin-left: 20rpx;"
>
<view
<view
style=
"width: 100%;height: 100%;display: flex;flex-direction: column;justify-content: center;"
>
style=
"width: 100%;height: 100%;display: flex;flex-direction: column;justify-content: center;"
>
...
@@ -127,11 +127,13 @@
...
@@ -127,11 +127,13 @@
userBean
:
{},
userBean
:
{},
showAnimate
:
false
,
showAnimate
:
false
,
windowHeight
:
0
,
windowHeight
:
0
,
os
:
'android'
,
versionName
:
app
.
globalData
.
versionName
versionName
:
app
.
globalData
.
versionName
};
};
},
},
methods
:
{
methods
:
{
show
()
{
show
()
{
this
.
os
=
wx
.
getSystemInfoSync
().
platform
;
this
.
windowHeight
=
uni
.
getSystemInfoSync
().
windowHeight
this
.
windowHeight
=
uni
.
getSystemInfoSync
().
windowHeight
// loadData() {
// loadData() {
this
.
post
({
this
.
post
({
...
...
vedio/pagesC/video/newVideoDetail.vue
View file @
364ba785
...
@@ -197,8 +197,8 @@
...
@@ -197,8 +197,8 @@
this
.
getData
()
this
.
getData
()
},
},
showPayDialog
()
{
showPayDialog
()
{
let
isIOS
=
uni
.
getSystemInfoSync
().
platform
==
"ios"
&&
false
let
isIOS
=
wx
.
getSystemInfoSync
().
platform
;
if
(
isIOS
)
{
if
(
isIOS
===
'ios'
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'暂不支持IOS系统'
,
title
:
'暂不支持IOS系统'
,
icon
:
'none'
icon
:
'none'
...
...
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