Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
marketing-web
marketing
Commits
71884b56
Commit
71884b56
authored
Jun 14, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 小屏幕适配
parent
a7a2e907
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
4 deletions
+23
-4
info.vue
src/views/game/cmh/info.vue
+23
-4
No files found.
src/views/game/cmh/info.vue
View file @
71884b56
...
...
@@ -60,7 +60,7 @@
<
el
-
tag
v
-
if
=
"item.status == 1"
size
=
"mini"
type
=
"danger"
class
=
"tagIcon"
>
删除
<
/el-tag
>
<
el
-
tag
v
-
if
=
"item.status == 2"
size
=
"mini"
type
=
"danger"
class
=
"tagIcon"
>
失效
<
/el-tag
>
<
el
-
tooltip
:
content
=
"item.cardName"
placement
=
"top"
>
<
div
class
=
"ellips"
>
{{
item
.
cardName
}}
<
/div
>
<
div
class
=
"ellips
maxW
"
>
{{
item
.
cardName
}}
<
/div
>
<
/el-tooltip
>
<
/div
>
<
div
v
-
if
=
"item.prizeType == 1"
>
...
...
@@ -71,7 +71,7 @@
<
/div
>
<
/td
>
<
td
class
=
"cell"
style
=
"minWidth:200px"
>
<
div
class
=
"ellips"
style
=
"max-width: 200px;"
>
{{
item
.
prizeName
}}
<
/div
>
<
div
class
=
"ellips
maxW
"
style
=
"max-width: 200px;"
>
{{
item
.
prizeName
}}
<
/div
>
<
/td
>
<
td
class
=
"cell"
style
=
"minWidth:100px"
>
<
img
:
src
=
"item.prizeImageUrl"
v
-
if
=
"item.prizeType != 0"
/>
...
...
@@ -83,7 +83,7 @@
<
/td
>
<
td
class
=
"cell"
style
=
"minWidth:200px"
>
<
el
-
tooltip
:
content
=
"item.prizeDesc"
placement
=
"top"
>
<
div
class
=
"ellips"
>
{{
item
.
prizeDesc
}}
<
/div
>
<
div
class
=
"ellips
maxW
"
>
{{
item
.
prizeDesc
}}
<
/div
>
<
/el-tooltip
>
<
/td
>
<
td
class
=
"cell"
style
=
"minWidth:80px"
>
{{
item
.
prizeRate
}}
%<
/td
>
...
...
@@ -295,6 +295,25 @@ export default {
<
/script
>
<
style
lang
=
"scss"
scoped
>
/*媒体查询*/
/*当页面大于1200px 时,大屏幕,主要是PC 端*/
@
media
(
min
-
width
:
1200
px
)
{
.
maxW
{
width
:
300
px
;
}
}
/*在992 和1199 像素之间的屏幕里,中等屏幕,分辨率低的PC*/
@
media
(
min
-
width
:
992
px
)
and
(
max
-
width
:
1199
px
)
{
.
maxW
{
width
:
150
px
;
}
}
/*在768 和991 像素之间的屏幕里,小屏幕,主要是PAD*/
@
media
(
min
-
width
:
768
px
)
and
(
max
-
width
:
991
px
)
{
.
maxW
{
width
:
100
px
;
}
}
.
rightForm
{
padding
:
30
px
20
px
0
30
px
;
box
-
sizing
:
border
-
box
;
...
...
@@ -313,7 +332,7 @@ export default {
white
-
space
:
nowrap
;
text
-
overflow
:
ellipsis
;
overflow
:
hidden
;
max
-
width
:
300
px
;
display
:
inline
-
block
;
}
.
section
{
...
...
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