Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
3fe862d7
Commit
3fe862d7
authored
Mar 25, 2020
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
f2392546
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
src/components/livedModel/livedGoodsDia.vue
+12
-0
src/components/livedModel/livedIsEnded.vue
+12
-0
No files found.
src/components/livedModel/livedGoodsDia.vue
View file @
3fe862d7
...
...
@@ -10,6 +10,7 @@
<div
class=
"list"
v-if=
"list.length>0"
>
<div
class=
"item"
v-for=
"(item,index) in list"
:key=
"index"
>
<div
class=
"img"
@
click=
"toGoodsInfo(item)"
>
<div
class=
"num"
>
{{
item
.
number
}}
</div>
<img
v-if=
"item.productImgUrl"
:src=
"item.productImgUrl"
alt
/>
</div>
<div
class=
"info"
>
...
...
@@ -213,11 +214,22 @@ export default {
border-radius
:
6px
;
overflow
:
hidden
;
background
:
#999
;
position
:
relative
;
img
{
width
:
100%
;
height
:
100%
;
object-fit
:
cover
;
}
.num
{
position
:
absolute
;
top
:
0
;
left
:
0
;
color
:
#fff
;
font-size
:
12px
;
background
:
#666
;
padding
:
2px
6px
;
border-bottom-right-radius
:
6px
;
}
}
.info
{
flex
:
1
;
...
...
src/components/livedModel/livedIsEnded.vue
View file @
3fe862d7
...
...
@@ -30,6 +30,7 @@
<div
class=
"list"
>
<div
class=
"item"
v-for=
"(item,index) in list"
:key=
"index"
:class=
"
{'itemBorder':index!=list.length-1}">
<div
class=
"img"
@
click=
"toGoodsInfo(item)"
>
<div
class=
"num"
>
{{
item
.
number
}}
</div>
<img
:src=
"item.productImgUrl"
alt
/>
</div>
<div
class=
"info"
>
...
...
@@ -281,11 +282,22 @@ export default {
height
:
100px
;
border-radius
:
6px
;
overflow
:
hidden
;
position
:
relative
;
img
{
width
:
100%
;
height
:
100%
;
object-fit
:
cover
;
}
.num
{
position
:
absolute
;
top
:
0
;
left
:
0
;
color
:
#fff
;
font-size
:
12px
;
background
:
#666
;
padding
:
2px
6px
;
border-bottom-right-radius
:
6px
;
}
}
.info
{
flex
:
1
;
...
...
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