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
92fa688d
Commit
92fa688d
authored
Nov 20, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
cccbfc8b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
charge.vue
vedio/components/charge/charge.vue
+2
-2
coin-popup.vue
vedio/components/coin-popup/coin-popup.vue
+4
-3
player.vue
vedio/components/player/player.vue
+1
-1
No files found.
vedio/components/charge/charge.vue
View file @
92fa688d
...
@@ -58,17 +58,17 @@
...
@@ -58,17 +58,17 @@
<view
v-else
style=
"display: flex;align-items: center;font-size: 40rpx;
<view
v-else
style=
"display: flex;align-items: center;font-size: 40rpx;
color: #f2b068;
color: #f2b068;
font-weight: 700;"
>
font-weight: 700;"
>
{{
multiply
(
item
.
firstPayPrice
)
}}
<image
style=
"width: 50rpx;height: 50rpx;display: flex;margin-right: 10rpx;"
<image
style=
"width: 50rpx;height: 50rpx;display: flex;margin-right: 10rpx;"
src=
"@/static/ic_zuan.png"
>
src=
"@/static/ic_zuan.png"
>
</image>
</image>
+
{{
multiply
(
item
.
firstPayPrice
)
}}
</view>
</view>
<view
class=
"name row"
v-if=
"item.title!=null&&item.title!=''"
>
<view
class=
"name row"
v-if=
"item.title!=null&&item.title!=''"
>
{{
item
.
title
}}
{{
item
.
title
}}
</view>
</view>
<view
class=
"origin row"
v-if=
"item.remarks!=null&&item.remarks!=''"
>
<view
class=
"origin row"
v-if=
"item.remarks!=null&&item.remarks!=''
&&os=='android'
"
>
{{
item
.
remarks
}}
{{
item
.
remarks
}}
</view>
</view>
</view>
</view>
...
...
vedio/components/coin-popup/coin-popup.vue
View file @
92fa688d
...
@@ -61,17 +61,18 @@
...
@@ -61,17 +61,18 @@
<view
v-else
style=
"display: flex;align-items: center;font-size: 40rpx;
<view
v-else
style=
"display: flex;align-items: center;font-size: 40rpx;
color: #f2b068;
color: #f2b068;
font-weight: 700;"
>
font-weight: 700;"
>
{{
multiply
(
item
.
firstPayPrice
)
}}
<image
style=
"width: 50rpx;height: 50rpx;display: flex;margin-right: 10rpx;"
<image
style=
"width: 50rpx;height: 50rpx;display: flex;margin-right: 10rpx;"
src=
"@/static/ic_zuan.png"
>
src=
"@/static/ic_zuan.png"
>
</image>
</image>
+
{{
multiply
(
item
.
firstPayPrice
)
}}
</view>
</view>
<view
class=
"name row"
v-if=
"item.title!=null&&item.title!=''"
>
<view
class=
"name row"
v-if=
"item.title!=null&&item.title!=''"
>
{{
item
.
title
}}
{{
item
.
title
}}
</view>
</view>
<view
class=
"origin row"
v-if=
"item.remarks!=null&&item.remarks!=''"
>
<view
class=
"origin row"
v-if=
"item.remarks!=null&&item.remarks!=''&&os=='android'"
>
{{
item
.
remarks
}}
{{
item
.
remarks
}}
</view>
</view>
</view>
</view>
...
@@ -230,7 +231,7 @@
...
@@ -230,7 +231,7 @@
});
});
},
},
onVip
()
{
onVip
()
{
navigateTo
(
`/pagesA/vipPay/vipPay?vedioId=`
+
this
.
vedioId
)
navigateTo
(
`/pagesA/vipPay/vipPay?vedioId=`
+
this
.
vedioId
)
this
.
handleClose
();
this
.
handleClose
();
},
},
ttPrePay
(
ttData
,
largeType
)
{
ttPrePay
(
ttData
,
largeType
)
{
...
...
vedio/components/player/player.vue
View file @
92fa688d
...
@@ -167,7 +167,7 @@
...
@@ -167,7 +167,7 @@
return
{
return
{
// 分享数据
// 分享数据
title
:
`第
${
e
.
seq
}
集`
,
title
:
`第
${
e
.
seq
}
集`
,
desc
:
`
这是默认的转发文案,用户可以直接发送,也可以在发布器内修改,分享的episodeId是
${
e
.
episodeId
}
`
,
desc
:
`
海量精品短剧,就在山梨剧场
`
,
path
:
`pagesC/playlet/index?tt_album_id=
${
e
.
albumId
}
&tt_episode_id=
${
e
.
episodeId
}
`
,
// ?后面的参数会在转发页面打开时传入onLoad方法
path
:
`pagesC/playlet/index?tt_album_id=
${
e
.
albumId
}
&tt_episode_id=
${
e
.
episodeId
}
`
,
// ?后面的参数会在转发页面打开时传入onLoad方法
imageUrl
:
""
,
// 支持本地或远程图片,默认是小程序 icon
imageUrl
:
""
,
// 支持本地或远程图片,默认是小程序 icon
templateId
:
"这是开发者后台设置的分享素材模板id"
,
templateId
:
"这是开发者后台设置的分享素材模板id"
,
...
...
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