Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea_resources_pc
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
张伯涛
tea_resources_pc
Commits
9dcaf639
Commit
9dcaf639
authored
Jul 25, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式修改
parent
4b42124d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
+19
-19
index.vue
src/views/courseResources/courseMall/index.vue
+2
-2
index.vue
src/views/courseResources/index.vue
+17
-17
No files found.
src/views/courseResources/courseMall/index.vue
View file @
9dcaf639
...
...
@@ -944,7 +944,7 @@ export default {
}
.card-bottom
{
padding
:
24
px
20px
16px
;
padding
:
16
px
20px
16px
;
.title
{
height
:
89px
;
...
...
@@ -952,7 +952,7 @@ export default {
font-family
:
Source
Han
Sans
CN
,
Source
Han
Sans
CN-700
;
font-weight
:
700
;
color
:
#000000
;
line-height
:
2
3
px
;
line-height
:
2
4
px
;
margin-bottom
:
16px
;
//text-overflow: ellipsis;
//display: -webkit-box; /* 适用于 WebKit 浏览器,如 Chrome 和 Safari */
...
...
src/views/courseResources/index.vue
View file @
9dcaf639
...
...
@@ -128,9 +128,9 @@
fit=
"cover"
/>
</div>
<div
v-if=
"course.lessonPrice !== 0"
:class=
"'status status-' + (course.lessonIsPay === 1 ? 'purchased' : 'unPurchased')"
>
{{
course
.
lessonIsPay
===
1
?
'已购'
:
'未购'
}}
</div
>
<!--
<div
v-if=
"course.lessonPrice !== 0"
:class=
"'status status-' + (course.lessonIsPay === 1 ? 'purchased' : 'unPurchased')"
>
--
>
<!--
{{
course
.
lessonIsPay
===
1
?
'已购'
:
'未购'
}}
-->
<!--
</div>
--
>
</div>
<div
class=
"card-bottom"
>
<div
class=
"title"
>
{{
course
.
lessonName
}}
</div>
...
...
@@ -190,9 +190,9 @@
fit=
"cover"
/>
</div>
<div
:class=
"'status status-' + (course.lessonIsPay === 1 ? 'purchased' : 'unPurchased')"
>
{{
course
.
lessonIsPay
===
1
?
'已购'
:
'未购'
}}
</div
>
<!--
<div
:class=
"'status status-' + (course.lessonIsPay === 1 ? 'purchased' : 'unPurchased')"
>
--
>
<!--
{{
course
.
lessonIsPay
===
1
?
'已购'
:
'未购'
}}
-->
<!--
</div>
--
>
</div>
<div
class=
"card-bottom"
>
<div
class=
"title"
>
{{
course
.
lessonName
}}
</div>
...
...
@@ -829,7 +829,7 @@ export default {
.course-card
{
cursor
:
pointer
;
height
:
288
px
;
height
:
317
px
;
background
:
#ffffff
;
border-radius
:
6px
;
box-shadow
:
0
0
10px
0
rgba
(
0
,
0
,
0
,
0
.15
);
...
...
@@ -878,22 +878,22 @@ export default {
}
.card-bottom
{
padding
:
24px
20
px
;
padding
:
16px
20px
16
px
;
.title
{
height
:
23
px
;
height
:
89
px
;
font-size
:
20px
;
font-family
:
Microsoft
YaHei
,
Microsoft
YaHei-700
,
serif
;
font-weight
:
700
;
color
:
#000000
;
line-height
:
2
3
px
;
margin-bottom
:
2
6px
;
text-overflow
:
ellipsis
;
display
:
-
webkit-box
;
/* 适用于 WebKit 浏览器,如 Chrome 和 Safari */
-webkit-line-clamp
:
1
;
/* 限制显示的行数,此处设置为 1 行 */
-webkit-box-orient
:
vertical
;
/* 使内容按垂直方向排列 */
overflow
:
hidden
;
/* 隐藏超出部分 */
word-break
:
break-all
;
/* 强制在任意字符处换行 */
line-height
:
2
4
px
;
margin-bottom
:
1
6px
;
//
text-overflow: ellipsis;
//
display: -webkit-box; /* 适用于 WebKit 浏览器,如 Chrome 和 Safari */
//
-webkit-line-clamp: 1; /* 限制显示的行数,此处设置为 1 行 */
//
-webkit-box-orient: vertical; /* 使内容按垂直方向排列 */
//
overflow: hidden; /* 隐藏超出部分 */
//
word-break: break-all; /* 强制在任意字符处换行 */
}
.title
:hover
,
...
...
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