Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
liyeyun
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
cfld-frontend
liyeyun
Commits
3459fc6b
Commit
3459fc6b
authored
Dec 16, 2023
by
shilei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 首页资源图片显示
parent
6cd9aac0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
HomeView.vue
src/views/home/HomeView.vue
+2
-11
No files found.
src/views/home/HomeView.vue
View file @
3459fc6b
...
@@ -162,7 +162,7 @@
...
@@ -162,7 +162,7 @@
class=
"relative w-[272px] cursor-pointer"
class=
"relative w-[272px] cursor-pointer"
@
click=
"toDetail(item)"
@
click=
"toDetail(item)"
>
>
<
img
class=
"h-[205px] w-[272px] rounded-sm"
:src=
"item.imgUrl"
alt=
""
/>
<
CommonImage
class=
"h-[205px] w-[272px] rounded-sm"
:src=
"item.imgUrl"
alt=
""
/>
<span
<span
v-if=
"item.isSuper"
v-if=
"item.isSuper"
class=
"absolute left-0 top-0 block rounded-tl-sm bg-[#C0322B] px-3 text-sm font-semibold leading-[26px] text-white"
class=
"absolute left-0 top-0 block rounded-tl-sm bg-[#C0322B] px-3 text-sm font-semibold leading-[26px] text-white"
...
@@ -317,7 +317,7 @@ import { useJump } from '@/composable/useJump.ts';
...
@@ -317,7 +317,7 @@ import { useJump } from '@/composable/useJump.ts';
import
{
useRouter
}
from
'vue-router'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
isEmpty
,
uniqueId
}
from
'lodash-es'
;
import
{
isEmpty
,
uniqueId
}
from
'lodash-es'
;
import
type
{
HeaderMenuItem
}
from
'@/types/common'
;
import
type
{
HeaderMenuItem
}
from
'@/types/common'
;
//
import CommonImage from '@/components/common/CommonImage.vue';
import
CommonImage
from
'@/components/common/CommonImage.vue'
;
import
{
filterAddress
,
formatNumber
}
from
'@/utils/filters.ts'
;
import
{
filterAddress
,
formatNumber
}
from
'@/utils/filters.ts'
;
import
ListInfo
from
'@/components/list/ListInfo.vue'
;
import
ListInfo
from
'@/components/list/ListInfo.vue'
;
import
{
useMessage
}
from
'@/composable/useMessage.ts'
;
import
{
useMessage
}
from
'@/composable/useMessage.ts'
;
...
@@ -627,10 +627,6 @@ watchEffect(async () => {
...
@@ -627,10 +627,6 @@ watchEffect(async () => {
border-radius
:
4px
;
border-radius
:
4px
;
}
}
.home-media
{
.home-media
{
.el-image
{
width
:
165px
;
height
:
124px
;
}
.text-xl
{
.text-xl
{
font-size
:
18px
;
font-size
:
18px
;
width
:
180px
;
width
:
180px
;
...
@@ -638,11 +634,6 @@ watchEffect(async () => {
...
@@ -638,11 +634,6 @@ watchEffect(async () => {
white-space
:
nowrap
;
white-space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.ell2
{
-webkit-line-clamp
:
1
;
width
:
272px
;
display
:
block
;
}
.mt-
\
[
17px
\
]
{
.mt-
\
[
17px
\
]
{
margin-top
:
6px
;
margin-top
:
6px
;
}
}
...
...
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