This commit is contained in:
parent
1765100a56
commit
6573ff18ea
|
|
@ -14,7 +14,7 @@
|
||||||
<div v-for="(stageItem, stageIndex) in listStage" :key="stageIndex" :title="stageItem.stageName">
|
<div v-for="(stageItem, stageIndex) in listStage" :key="stageIndex" :title="stageItem.stageName">
|
||||||
<div class="item-stage" @click="handleShow(stageItem)">
|
<div class="item-stage" @click="handleShow(stageItem)">
|
||||||
<span style="font-size: 18px; margin: 0 10px">{{ stageItem.stageName }}</span>
|
<span style="font-size: 18px; margin: 0 10px">{{ stageItem.stageName }}</span>
|
||||||
<u-icon :name="stageItem.isShow ? 'arrow-down' : 'arrow-up'" size="20" />
|
<u-icon :name="!stageItem.isShow ? 'arrow-down' : 'arrow-up'" size="20" style="margin: 0 5px" />
|
||||||
</div>
|
</div>
|
||||||
<div v-if="stageItem.isShow">
|
<div v-if="stageItem.isShow">
|
||||||
<div v-for="(content, conIndex) in stageItem.listStageContent" :key="conIndex">
|
<div v-for="(content, conIndex) in stageItem.listStageContent" :key="conIndex">
|
||||||
|
|
@ -173,7 +173,7 @@ export default {
|
||||||
this.$verificationToken()
|
this.$verificationToken()
|
||||||
uni.request({
|
uni.request({
|
||||||
method: 'post',
|
method: 'post',
|
||||||
url: config.bmwUrl + '/studyWork/StudyWorkAll',
|
url: config.bmwUrl + '/studyWork/StudyWorkAllApp',
|
||||||
data: params,
|
data: params,
|
||||||
header: {
|
header: {
|
||||||
'Content-Type': 'application/x-www-form-urlencoded',
|
'Content-Type': 'application/x-www-form-urlencoded',
|
||||||
|
|
@ -205,7 +205,7 @@ export default {
|
||||||
stageId: content.stageId, // 阶段id
|
stageId: content.stageId, // 阶段id
|
||||||
stageContentId: content.id, // 阶段内容id
|
stageContentId: content.id, // 阶段内容id
|
||||||
stageType: content.stageType, // 阶段类型
|
stageType: content.stageType, // 阶段类型
|
||||||
studyCourseId: content.forgeId || '',
|
studyCourseId: item.id || '',
|
||||||
sourceId: item.id, // 素材id
|
sourceId: item.id, // 素材id
|
||||||
path: item.path, // 视频路径
|
path: item.path, // 视频路径
|
||||||
studyDuration: item.studyDuration || 0, // 学习时长
|
studyDuration: item.studyDuration || 0, // 学习时长
|
||||||
|
|
@ -342,7 +342,7 @@ export default {
|
||||||
font-style: 20px;
|
font-style: 20px;
|
||||||
|
|
||||||
.item-stage {
|
.item-stage {
|
||||||
height: 50px;
|
height: 30px;
|
||||||
margin: 8px 0;
|
margin: 8px 0;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -444,12 +444,13 @@ export default {
|
||||||
|
|
||||||
.list-wrapper {
|
.list-wrapper {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
min-height: 90px;
|
min-height: 60px;
|
||||||
|
height: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
/* padding: 20px 0; */
|
/* padding: 20px 0; */
|
||||||
margin-bottom: 10px;
|
margin-bottom: 3px;
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
border-bottom: 1px solid #f0f0f0;
|
border-bottom: 1px solid #f0f0f0;
|
||||||
color: #b0b0b0;
|
color: #b0b0b0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue