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
64ac8765
Commit
64ac8765
authored
Jun 05, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
fe52ecb8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
follow.vue
vedio/components/home/follow.vue
+1
-1
index.vue
vedio/components/home/index.vue
+2
-2
my.vue
vedio/components/home/my.vue
+1
-1
recommendVideo.vue
vedio/components/home/recommendVideo.vue
+1
-1
No files found.
vedio/components/home/follow.vue
View file @
64ac8765
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
style=
"width:31%; position: relative; border-radius:20rpx;margin-bottom: 10rpx;margin-left: 14rpx;"
style=
"width:31%; position: relative; border-radius:20rpx;margin-bottom: 10rpx;margin-left: 14rpx;"
@
click
.
stop=
"click(value)"
@
longpress
.
stop=
"longClick(key)"
>
@
click
.
stop=
"click(value)"
@
longpress
.
stop=
"longClick(key)"
>
<image
class=
"integral-mall-goods"
mode=
"aspectFill"
:src=
"value.coverImage"
></image>
<image
class=
"integral-mall-goods"
mode=
"aspectFill"
:src=
"value.coverImage"
></image>
<view
class=
"text"
style=
"font-size: 26rpx;color: black;height: 36
rpx;margin-left: 5rpx;"
>
<view
style=
"font-size: 26rpx;color: black;height: 60
rpx;margin-left: 5rpx;"
>
{{
value
.
title
}}
{{
value
.
title
}}
</view>
</view>
<view
class=
"text"
style=
"font-size: 22rpx;color: gray;height: 30rpx;margin-left: 5rpx;"
>
<view
class=
"text"
style=
"font-size: 22rpx;color: gray;height: 30rpx;margin-left: 5rpx;"
>
...
...
vedio/components/home/index.vue
View file @
64ac8765
...
@@ -172,7 +172,7 @@
...
@@ -172,7 +172,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"ellipsis"
style=
"font-size: 30rpx;margin-top: 10rpx;margin-left: 12rpx;"
>
<view
style=
"font-size: 30rpx;margin-top: 10rpx;margin-left: 12rpx;"
>
{{
item
.
title
}}
{{
item
.
title
}}
</view>
</view>
<!--
<view
style=
"font-size: 22rpx;margin-top: 10rpx;margin-left: 12rpx;"
>
{{
item
.
vedioDesc
}}
</view>
-->
<!--
<view
style=
"font-size: 22rpx;margin-top: 10rpx;margin-left: 12rpx;"
>
{{
item
.
vedioDesc
}}
</view>
-->
...
@@ -520,7 +520,7 @@
...
@@ -520,7 +520,7 @@
background-color
:
#fff
;
background-color
:
#fff
;
break-inside
:
avoid
;
break-inside
:
avoid
;
margin-bottom
:
20rpx
;
margin-bottom
:
20rpx
;
height
:
47
0rpx
;
height
:
50
0rpx
;
}
}
.img
{
.img
{
...
...
vedio/components/home/my.vue
View file @
64ac8765
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
<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;"
>
<view
style=
"font-size: 28rpx;color: #5b1500;"
>
账户余额:
0
看点
</view>
<view
style=
"font-size: 28rpx;color: #5b1500;"
>
账户余额:
{{
userBean
.
point
}}
看点
</view>
</view>
</view>
</view>
</view>
<view
style=
"width: 200rpx;"
>
<view
style=
"width: 200rpx;"
>
...
...
vedio/components/home/recommendVideo.vue
View file @
64ac8765
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<swiper
class=
"swiper"
circular
@
change=
"swiperChange"
:current=
"current"
:vertical=
"true"
duration=
"300"
>
<swiper
class=
"swiper"
circular
@
change=
"swiperChange"
:current=
"current"
:vertical=
"true"
duration=
"300"
>
<swiper-item
v-for=
"(list, index) in displaySwiperList"
:key=
"index"
>
<swiper-item
v-for=
"(list, index) in displaySwiperList"
:key=
"index"
>
<view
v-if=
"Math.abs(displayIndex-index)==0"
style=
"height: 100%;
background-color: aqua;
"
<view
v-if=
"Math.abs(displayIndex-index)==0"
style=
"height: 100%;"
@
click=
"tapVideoHover()"
>
@
click=
"tapVideoHover()"
>
<!--
<video
v-if=
"Math.abs(displayIndex-index)==0"
:id=
"''+list.vedioId"
:controls=
"controls"
<!--
<video
v-if=
"Math.abs(displayIndex-index)==0"
:id=
"''+list.vedioId"
:controls=
"controls"
:autoplay=
"true"
:isplay=
"true"
play-btn-position=
"center"
:loop=
"!isplay"
@
ended=
"ended"
:autoplay=
"true"
:isplay=
"true"
play-btn-position=
"center"
:loop=
"!isplay"
@
ended=
"ended"
...
...
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