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
15e55906
Commit
15e55906
authored
Jul 25, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
9ebf7f7e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
22 deletions
+26
-22
index.vue
src/components/classesItem/index.vue
+1
-1
index.vue
src/views/courseResources/courseDetails/index.vue
+8
-8
index.vue
src/views/courseResources/courseMall/index.vue
+8
-8
purchased.vue
src/views/learningCenter/children/purchased.vue
+2
-2
index.vue
src/views/learningCenter/individualUser/index.vue
+7
-3
No files found.
src/components/classesItem/index.vue
View file @
15e55906
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"classes-box"
>
<div
class=
"classes-box"
>
<img
v-if=
"item.isExpired == 1"
class=
"guoqiPathClass"
:src=
"guoqiPath"
alt=
""
>
<img
v-if=
"item.isExpired == 1"
class=
"guoqiPathClass"
:src=
"guoqiPath"
alt=
""
>
<!-- 当前课程是必修&&从免费课变成了收费课 || 会员到期(expireTime单位使用开课结束时间,endTrialTime个人开课结束时间)-->
<!-- 当前课程是必修&&从免费课变成了收费课 || 会员到期(expireTime单位使用开课结束时间,endTrialTime个人开课结束时间)-->
<img
v-if=
"(item.isObligatory === '0' && item.priceTrend == 1) ||( (item.expireTime === null && item.endTrialTime === null) && item.isExpired
!
== '1')"
class=
"guoqiPathClass"
:src=
"paidPath"
alt=
""
>
<img
v-if=
"(item.isObligatory === '0' && item.priceTrend == 1) ||( (item.expireTime === null && item.endTrialTime === null) && item.isExpired
=
== '1')"
class=
"guoqiPathClass"
:src=
"paidPath"
alt=
""
>
<template
v-if=
"type == 1"
>
<template
v-if=
"type == 1"
>
<div
class=
"left-image img-out"
>
<div
class=
"left-image img-out"
>
<!-- 过期-->
<!-- 过期-->
...
...
src/views/courseResources/courseDetails/index.vue
View file @
15e55906
...
@@ -27,12 +27,12 @@
...
@@ -27,12 +27,12 @@
<div
v-if=
"token"
>
<div
v-if=
"token"
>
<!-- 不是免费课并且没有买 tryout === '1' 试用-->
<!-- 不是免费课并且没有买 tryout === '1' 试用-->
<div
v-if=
"courseDetails.lessonIsPay === 0 && courseDetails.lessonPrice > 0 && courseDetails.tryout !== '1'"
>
<div
v-if=
"courseDetails.lessonIsPay === 0 && courseDetails.lessonPrice > 0 && courseDetails.tryout !== '1'"
>
<el-button
<!--
<el-button-->
class=
"studyBtn"
<!-- class="studyBtn"-->
round
<!-- round-->
@
click=
"handleToTrialListening"
<!-- @click="handleToTrialListening"-->
>
试听
<!-- >试听-->
</el-button
>
<!--
</el-button>
--
>
</div>
</div>
<div
v-else
>
<div
v-else
>
<!-- isPay === '0'免费课,lessonIsPay === '1'&& isPay === '1' 付费课&&已付费 并且sStudy === 0 || isStudy === null 没有学习过-->
<!-- isPay === '0'免费课,lessonIsPay === '1'&& isPay === '1' 付费课&&已付费 并且sStudy === 0 || isStudy === null 没有学习过-->
...
@@ -1334,7 +1334,7 @@ export default {
...
@@ -1334,7 +1334,7 @@ export default {
.card-top
{
.card-top
{
display
:
flex
;
display
:
flex
;
padding
:
0
25px
;
//
padding: 0 25px;
.avatar
{
.avatar
{
.img
{
.img
{
...
@@ -1364,7 +1364,7 @@ export default {
...
@@ -1364,7 +1364,7 @@ export default {
}
}
.position
{
.position
{
width
:
195
px
;
width
:
260
px
;
height
:
21px
;
height
:
21px
;
line-height
:
21px
;
line-height
:
21px
;
font-size
:
14px
;
font-size
:
14px
;
...
...
src/views/courseResources/courseMall/index.vue
View file @
15e55906
...
@@ -893,7 +893,7 @@ export default {
...
@@ -893,7 +893,7 @@ export default {
.course-card
{
.course-card
{
cursor
:
pointer
;
cursor
:
pointer
;
height
:
256
px
;
height
:
317
px
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
6px
;
border-radius
:
6px
;
box-shadow
:
0
0
10px
0
rgba
(
0
,
0
,
0
,
0
.15
);
box-shadow
:
0
0
10px
0
rgba
(
0
,
0
,
0
,
0
.15
);
...
@@ -947,19 +947,19 @@ export default {
...
@@ -947,19 +947,19 @@ export default {
padding
:
24px
20px
16px
;
padding
:
24px
20px
16px
;
.title
{
.title
{
height
:
23
px
;
height
:
89
px
;
font-size
:
20px
;
font-size
:
20px
;
font-family
:
Source
Han
Sans
CN
,
Source
Han
Sans
CN-700
;
font-family
:
Source
Han
Sans
CN
,
Source
Han
Sans
CN-700
;
font-weight
:
700
;
font-weight
:
700
;
color
:
#000000
;
color
:
#000000
;
line-height
:
23px
;
line-height
:
23px
;
margin-bottom
:
16px
;
margin-bottom
:
16px
;
text-overflow
:
ellipsis
;
//
text-overflow: ellipsis;
display
:
-
webkit-box
;
/* 适用于 WebKit 浏览器,如 Chrome 和 Safari */
//
display: -webkit-box; /* 适用于 WebKit 浏览器,如 Chrome 和 Safari */
-webkit-line-clamp
:
1
;
/* 限制显示的行数,此处设置为 1 行 */
//
-webkit-line-clamp: 1; /* 限制显示的行数,此处设置为 1 行 */
-webkit-box-orient
:
vertical
;
/* 使内容按垂直方向排列 */
//
-webkit-box-orient: vertical; /* 使内容按垂直方向排列 */
overflow
:
hidden
;
/* 隐藏超出部分 */
//
overflow: hidden; /* 隐藏超出部分 */
word-break
:
break-all
;
/* 强制在任意字符处换行 */
//
word-break: break-all; /* 强制在任意字符处换行 */
}
}
.title
:hover
,
.title
:hover
,
...
...
src/views/learningCenter/children/purchased.vue
View file @
15e55906
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
placeholder=
"请输入课程关键词"
placeholder=
"请输入课程关键词"
@
keyup
.
native
.
enter=
"handleQuery"
@
keyup
.
native
.
enter=
"handleQuery"
>
>
<i
slot=
"suffix"
class=
"el-icon-search el-input__icon
"
/></el-input>
<i
slot=
"suffix"
style=
"cursor: pointer"
class=
"el-icon-search el-input__icon"
@
click=
"handleQuery
"
/></el-input>
</div>
</div>
</div>
</div>
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
/>
/>
<div
v-if=
"unPublishTableData.length > 0"
>
<div
v-if=
"unPublishTableData.length > 0"
>
<!-- 分隔线 -->
<!-- 分隔线 -->
<div
class=
"purchasedSeparation"
></div
>
<div
class=
"purchasedSeparation"
/
>
<!-- 未发布标题 -->
<!-- 未发布标题 -->
<div
class=
"purchaseContainer"
>
<div
class=
"purchaseContainer"
>
<spam
class=
"purchaseTitle"
>
未发布课程
</spam>
<spam
class=
"purchaseTitle"
>
未发布课程
</spam>
...
...
src/views/learningCenter/individualUser/index.vue
View file @
15e55906
...
@@ -93,12 +93,11 @@
...
@@ -93,12 +93,11 @@
<div
v-if=
"classDataList.length>0"
>
<div
v-if=
"classDataList.length>0"
>
<classesItem
<classesItem
v-for=
"(i, key) in classDataList"
v-for=
"(i, key) in classDataList"
:item=
"i"
:key=
"key"
:key=
"key"
:item=
"i"
type=
"2"
type=
"2"
refresh=
"getList()"
refresh=
"getList()"
>
/>
</classesItem>
</div>
</div>
<div
v-else
class=
"containerNo"
>
<div
v-else
class=
"containerNo"
>
<el-image
:src=
"require('@/assets/image/zanwushujuP.png')"
/>
<el-image
:src=
"require('@/assets/image/zanwushujuP.png')"
/>
...
@@ -255,6 +254,11 @@ export default {
...
@@ -255,6 +254,11 @@ export default {
},
},
handleChange
()
{
handleChange
()
{
this
.
queryParams
.
lessonIsPay
=
this
.
selectedValues
.
join
(
','
)
this
.
queryParams
.
lessonIsPay
=
this
.
selectedValues
.
join
(
','
)
if
(
this
.
selectedValues
.
includes
(
'1'
))
{
this
.
queryParams
.
isPay
=
'0'
}
else
{
this
.
queryParams
.
isPay
=
''
}
this
.
getList
()
this
.
getList
()
},
},
getPersonalStatistics
()
{
getPersonalStatistics
()
{
...
...
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