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
fd3fa185
Commit
fd3fa185
authored
Nov 03, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加获取设备系统
parent
451b4511
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
loading.vue
vedio/pages/loading.vue
+12
-3
my.vue
vedio/pages/my/my.vue
+1
-2
No files found.
vedio/pages/loading.vue
View file @
fd3fa185
...
@@ -46,7 +46,9 @@
...
@@ -46,7 +46,9 @@
methods
:
{
methods
:
{
wxlogin
()
{
wxlogin
()
{
var
that
=
this
;
var
that
=
this
;
var
obj
=
wx
.
getLaunchOptionsSync
()
var
obj
=
wx
.
getLaunchOptionsSync
()
var
channel
=
'mints'
// 渠道
var
channel
=
'mints'
// 渠道
var
clueToken
=
''
// 归因参数
var
clueToken
=
''
// 归因参数
...
@@ -58,7 +60,13 @@
...
@@ -58,7 +60,13 @@
var
tips2
=
''
;
// 投放测试标记
var
tips2
=
''
;
// 投放测试标记
var
product_type
=
''
;
//自有产品
var
product_type
=
''
;
//自有产品
var
zs_channel
=
''
;
// 自有渠道
var
zs_channel
=
''
;
// 自有渠道
var
vedio_id
=
''
;
// 自有剧
var
vedio_id
=
''
;
// 自有剧
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
??
''
!=
''
)
{
...
@@ -111,7 +119,8 @@
...
@@ -111,7 +119,8 @@
promotionId
:
promotionId
,
promotionId
:
promotionId
,
projectId
:
projectId
,
projectId
:
projectId
,
productType
:
product_type
,
productType
:
product_type
,
vedioId
:
vedio_id
,
vedioId
:
vedio_id
,
os
:
zs_os
,
zsChannel
:
zs_channel
zsChannel
:
zs_channel
},
},
showLoading
:
false
,
showLoading
:
false
,
...
...
vedio/pages/my/my.vue
View file @
fd3fa185
...
@@ -36,8 +36,7 @@
...
@@ -36,8 +36,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
v-if=
"userBean.expireTime
<
=
0
"
<view
style=
"display: flex;height: 200rpx;margin: 20rpx;background: #f5ca86;border-radius: 20rpx;"
>
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;"
>
...
...
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