Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mp-enterprise-people-recruitment-h5
Project
Project
Details
Activity
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
彭佳妮(贵阳日报)
mp-enterprise-people-recruitment-h5
Commits
9f1a0ec6
Commit
9f1a0ec6
authored
Oct 10, 2024
by
石建新(贵阳日报)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
播放图标
parent
05c7dcba
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
2 deletions
+26
-2
index.vue
src/components/articleList/index.vue
+24
-2
index.vue
src/pages/dynamic/index.vue
+1
-0
index.vue
src/pages/policy/index.vue
+1
-0
play.png
src/static/image/icon/play.png
+0
-0
No files found.
src/components/articleList/index.vue
View file @
9f1a0ec6
...
...
@@ -7,7 +7,10 @@
class="item flex-between"
:class="[v.infoType == 1 ? 'layout1' : 'layout2']"
>
<img
:src=
"evn.APP_IMAGE_BASE_API + v.thumbnailPath"
v-if=
"v.infoType == 2"
/>
<view
class=
"video"
v-if=
"v.infoType == 2"
>
<image
class=
"video-img"
mode=
"widthFill"
:src=
"evn.APP_IMAGE_BASE_API + v.thumbnailPath"
>
</image>
<image
class=
"play-icon"
v-if=
"v.videoPath"
src=
"../../static/image/icon/play.png"
></image>
</view>
<view>
<view
class=
"title"
>
{{
v
.
title
}}
</view>
<view
class=
"flex-align-center"
>
...
...
@@ -82,10 +85,29 @@ function navigateTo(url) {
letter-spacing
:
0rpx
;
}
}
.video
{
height
:
100%
;
width
:
100%
;
position
:
relative
;
.video-img
{
height
:
100%
;
height
:
294rpx
;
z-index
:
0
;
}
.play-icon
{
position
:
absolute
;
z-index
:
1
;
height
:
80rpx
;
width
:
80rpx
;
top
:
calc
(
50%
-
40rpx
);
left
:
calc
(
50%
-
40rpx
);
}
}
.layout2
{
flex-direction
:
column
;
align-items
:
flex-start
;
img
{
image
{
width
:
100%
;
height
:
294rpx
;
margin
:
0
;
...
...
src/pages/dynamic/index.vue
View file @
9f1a0ec6
...
...
@@ -90,6 +90,7 @@ changeType({ id: "" });
display
:
flex
;
flex-direction
:
column
;
height
:
100%
;
padding-bottom
:
100rpx
;
}
.tab-name
{
display
:
flex
;
...
...
src/pages/policy/index.vue
View file @
9f1a0ec6
...
...
@@ -84,6 +84,7 @@ changeType({ id: "" });
display
:
flex
;
flex-direction
:
column
;
height
:
100%
;
padding-bottom
:
100rpx
;
}
.tab-name
{
display
:
flex
;
...
...
src/static/image/icon/play.png
0 → 100644
View file @
9f1a0ec6
1.28 KB
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