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
69d27797
Commit
69d27797
authored
Nov 03, 2023
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
9615f61c
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
656 additions
and
7 deletions
+656
-7
coin-popup.vue
vedio/components/coin-popup/coin-popup.vue
+5
-3
pages.json
vedio/pages.json
+7
-0
index.vue
vedio/pages/index/index.vue
+4
-4
newVideoDetail.vue
vedio/pagesC/video/newVideoDetail.vue
+640
-0
No files found.
vedio/components/coin-popup/coin-popup.vue
View file @
69d27797
<
template
>
<
template
>
<view>
<view>
<uni-popup
type=
"bottom"
ref=
"select"
:maskClick=
"false"
:isMaskClick=
"false"
>
<uni-popup
type=
"bottom"
ref=
"select"
:maskClick=
"false"
:isMaskClick=
"false"
>
<view
class=
"body"
>
<view
class=
"body"
style=
"width: 100%;height: 100%;"
>
<scroll-view
scroll-y
style=
"height: 80%;"
>
<scroll-view
scroll-y
>
<view
style=
"display: flex;flex-direction: column;align-items: flex-end;"
>
<view
style=
"display: flex;flex-direction: column;align-items: flex-end;"
>
<image
@
click=
"handleClose"
<image
@
click=
"handleClose"
style=
"width: 30rpx;height: 30rpx;display: flex;align-items: right;margin: 15rpx;"
style=
"width: 30rpx;height: 30rpx;display: flex;align-items: right;margin: 15rpx;"
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<
script
>
<
script
>
import
common
from
'@/mixins/common'
;
import
common
from
'@/mixins/common'
;
export
default
{
export
default
{
name
:
'
p
opup'
,
name
:
'
coinP
opup'
,
mixins
:
[
common
],
mixins
:
[
common
],
props
:
{
props
:
{
show
:
{
show
:
{
...
@@ -157,6 +157,8 @@
...
@@ -157,6 +157,8 @@
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.body
{
.body
{
padding
:
20rpx
0
30rpx
0
;
border-radius
:
20rpx
20rpx
0
0
;
background-color
:
white
;
background-color
:
white
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
...
...
vedio/pages.json
View file @
69d27797
...
@@ -90,6 +90,13 @@
...
@@ -90,6 +90,13 @@
"navigationBarBackgroundColor"
:
"#2196f3"
,
"navigationBarBackgroundColor"
:
"#2196f3"
,
"navigationBarTextStyle"
:
"black"
"navigationBarTextStyle"
:
"black"
}
}
},
{
"path"
:
"video/newVideoDetail"
,
"style"
:
{
"navigationStyle"
:
"custom"
,
"navigationBarBackgroundColor"
:
"#2196f3"
,
"navigationBarTextStyle"
:
"black"
}
}]
}]
},
{
},
{
"root"
:
"pagesD"
,
"root"
:
"pagesD"
,
...
...
vedio/pages/index/index.vue
View file @
69d27797
...
@@ -274,16 +274,16 @@
...
@@ -274,16 +274,16 @@
});
});
},
},
handleBanner
(
item
)
{
handleBanner
(
item
)
{
navigateTo
(
`/pagesC/video/
v
ideoDetail?data=`
+
encodeURIComponent
(
JSON
.
stringify
(
item
)));
navigateTo
(
`/pagesC/video/
newV
ideoDetail?data=`
+
encodeURIComponent
(
JSON
.
stringify
(
item
)));
},
},
handleInfo
(
item
)
{
handleInfo
(
item
)
{
navigateTo
(
`/pagesC/video/
v
ideoDetail?data=`
+
encodeURIComponent
(
JSON
.
stringify
(
item
)));
navigateTo
(
`/pagesC/video/
newV
ideoDetail?data=`
+
encodeURIComponent
(
JSON
.
stringify
(
item
)));
},
},
handleTop
(
item
)
{
handleTop
(
item
)
{
navigateTo
(
`/pagesC/video/
v
ideoDetail?data=`
+
encodeURIComponent
(
JSON
.
stringify
(
item
)));
navigateTo
(
`/pagesC/video/
newV
ideoDetail?data=`
+
encodeURIComponent
(
JSON
.
stringify
(
item
)));
},
},
handleBottomPlay
(
item
)
{
handleBottomPlay
(
item
)
{
navigateTo
(
`/pagesC/video/
v
ideoDetail?data=`
+
encodeURIComponent
(
JSON
.
stringify
(
item
)));
navigateTo
(
`/pagesC/video/
newV
ideoDetail?data=`
+
encodeURIComponent
(
JSON
.
stringify
(
item
)));
},
},
handleBottomClose
()
{
handleBottomClose
()
{
this
.
newRecordBean
=
null
;
this
.
newRecordBean
=
null
;
...
...
vedio/pagesC/video/newVideoDetail.vue
0 → 100644
View file @
69d27797
This diff is collapsed.
Click to expand it.
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