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
8543445a
Commit
8543445a
authored
May 30, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改个人中心页面
parent
6ef75384
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
751 additions
and
449 deletions
+751
-449
my.vue
vedio/components/home/my.vue
+214
-97
package-lock.json
vedio/package-lock.json
+130
-119
package.json
vedio/package.json
+2
-1
pages.json
vedio/pages.json
+1
-1
loading.vue
vedio/pages/loading.vue
+8
-75
vipPay.vue
vedio/pagesA/vipPay/vipPay.vue
+396
-155
dotRecord.vue
vedio/pagesD/dotRecord/dotRecord.vue
+0
-1
No files found.
vedio/components/home/my.vue
View file @
8543445a
This diff is collapsed.
Click to expand it.
vedio/package-lock.json
View file @
8543445a
This diff is collapsed.
Click to expand it.
vedio/package.json
View file @
8543445a
...
...
@@ -31,7 +31,8 @@
}
},
"dependencies"
:
{
"decimal.js"
:
"^10.4.3"
,
"json-bignumber"
:
"^1.1.1"
,
"uview"
:
"^0.1.0"
}
}
\ No newline at end of file
}
vedio/pages.json
View file @
8543445a
...
...
@@ -77,7 +77,7 @@
"path"
:
"vipPay/vipPay"
,
"style"
:
{
"navigationStyle"
:
"default"
,
"navigationBarBackgroundColor"
:
"#
2196f3
"
,
"navigationBarBackgroundColor"
:
"#
ffffff
"
,
"navigationBarTextStyle"
:
"black"
}
}]
...
...
vedio/pages/loading.vue
View file @
8543445a
...
...
@@ -2,10 +2,10 @@
<view
class=
"body"
>
<image
style=
"width: 170rpx;height: 170rpx;margin-top: 30%;"
src=
"@/static/logo-about.png"
mode=
"widthFix"
/>
<view
style=
"color: black;margin-top: 30rpx;font-size: 40rpx;font-size: 50rpx;"
>
{{
appName
}}
</view>
<view
style=
"color: #
A231EF
;margin-top: 10rpx;font-size: 40rpx;font-size: 40rpx;"
>
欢迎使用
</view>
<view
style=
"color: #
FECF02
;margin-top: 10rpx;font-size: 40rpx;font-size: 40rpx;"
>
欢迎使用
</view>
<view
style=
"bottom: 0;position: absolute;"
>
<image
style=
"width: 540rpx;height: 644rpx;display: flex;align-items: center;margin-bottom: 30%;"
src=
"https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_splash.png"
mode=
"scaleToFill"
>
src=
"https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/b
ook_b
g_splash.png"
mode=
"scaleToFill"
>
</image>
</view>
...
...
@@ -35,83 +35,29 @@
return
{
tips1
:
''
,
slotParam
:
''
,
appName
:
''
appName
:
'
幻墨小说阁
'
}
},
onLoad
(
options
)
{
this
.
tips1
=
options
.
tips1
// #ifdef MP-TOUTIAO
this
.
appName
=
'寻觅短剧'
// #endif
// #ifdef MP-WEIXIN
this
.
appName
=
'河狸刷剧'
// #endif
},
onShow
(
options
)
{
// #ifdef MP-TOUTIAO
this
.
ttLoging
()
// #endif
// #ifdef MP-WEIXIN
// this.wxlogin()
// #endif
},
methods
:
{
ttLoging
()
{
var
that
=
this
;
var
obj
=
tt
.
getLaunchOptionsSync
()
var
channel
=
'douyin'
// 渠道
var
tips2
=
''
;
// 投放测试标记
var
product_type
=
''
;
//自有产品
var
zs_channel
=
''
;
// 自有渠道
var
vedio_id
=
''
;
// 自有剧
var
zs_os
=
''
;
// 当前系统
var
vedio_index
=
''
;
// 自有剧
var
free_index
=
''
;
// 自有剧
var
tips2
=
''
;
// 投放测试
var
remark1
=
''
;
// 预留
var
remark2
=
''
;
// 预留
var
remark3
=
''
;
// 预留
var
mid1
=
""
;
var
mid2
=
""
;
var
mid3
=
""
;
var
mid4
=
""
;
var
mid5
=
""
;
var
thirdParam
=
""
;
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
});
zs_os
=
wx
.
getSystemInfoSync
().
platform
;
tips2
=
obj
.
query
.
tips2
??
''
product_type
=
obj
.
query
.
product_type
??
''
zs_channel
=
obj
.
query
.
zs_channel
??
''
vedio_id
=
obj
.
query
.
vedio_id
??
''
free_index
=
obj
.
query
.
free_index
??
''
remark1
=
obj
.
query
.
remark1
??
''
remark2
=
obj
.
query
.
remark2
??
''
remark3
=
obj
.
query
.
remark3
??
''
vedio_index
=
obj
.
query
.
vedio_index
??
''
mid1
=
obj
.
query
.
mid1
??
''
mid2
=
obj
.
query
.
mid2
??
''
mid3
=
obj
.
query
.
mid3
??
''
mid4
=
obj
.
query
.
mid4
??
''
mid5
=
obj
.
query
.
mid5
??
''
// 抖音feed页参数
remark3
=
obj
.
query
.
remark3
??
''
thirdParam
=
JSON
.
stringify
(
obj
.
query
);
// 打印渠道参数
if
(
this
.
tips1
==
'mints_vedio'
||
tips2
==
'mints_vedio'
)
{
this
.
slotParam
=
JSON
.
stringify
(
obj
.
query
);
...
...
@@ -121,29 +67,16 @@
tt
.
login
({
force
:
true
,
success
(
res
)
{
console
.
log
(
`login 调用成功
${
res
.
code
}
${
res
.
anonymousCode
}
`
);
that
.
post
({
url
:
'/user/ttLogin'
,
data
:
{
channel
:
channel
,
channel
:
'douyin'
,
code
:
res
.
code
,
anonymousCode
:
res
.
anonymousCode
,
productType
:
product_type
,
vedioId
:
vedio_id
,
remark1
:
remark1
,
remark2
:
remark2
,
remark3
:
remark3
,
os
:
zs_os
,
vedioIndex
:
vedio_index
,
freeIndex
:
free_index
,
mid1
:
mid1
,
mid2
:
mid2
,
mid3
:
mid3
,
mid4
:
mid4
,
mid5
:
mid5
,
thirdParam
:
thirdParam
,
zsChannel
:
zs_channel
thirdParam
:
thirdParam
},
showLoading
:
false
,
success
:
({
...
...
@@ -172,7 +105,7 @@
<
style
lang=
"scss"
>
.body
{
background-color
:
white
;
background
:
linear-gradient
(
to
bottom
,
#F2F1FF
,
#FBFBFF
);
//
background: linear-gradient(to bottom, #F2F1FF, #FBFBFF);
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
...
...
vedio/pagesA/vipPay/vipPay.vue
View file @
8543445a
This diff is collapsed.
Click to expand it.
vedio/pagesD/dotRecord/dotRecord.vue
View file @
8543445a
<
template
>
<view
class=
"body"
>
<!--
<status-title
:showBack=
"true"
>
看点记录
</status-title>
-->
<z-paging
class=
"flex-1"
ref=
"paging"
v-model=
"dataList"
@
query=
"queryList"
>
<view
v-for=
"(item, i) in dataList"
:key=
"i"
>
<view
class=
"flex m-20 pd-20"
style=
"background-color:white;border-radius:10rpx;"
>
...
...
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