|
@@ -5,6 +5,10 @@
|
|
|
<div class="ct-chap-title">{{ chapInfo.dyName }}</div>
|
|
|
<div class="ct-task">任务{{ taskCount + 1 }}</div>
|
|
|
</div>
|
|
|
+ <div class="ct-taskName">
|
|
|
+ <div class="ct-task">任务{{ taskCount + 1 }}</div>
|
|
|
+ <div class="ct-tname" v-if="chapInfo.chapterInfo && chapInfo.chapterInfo[0].taskJson[taskCount].task">{{ chapInfo.chapterInfo[0].taskJson[taskCount].task }}</div>
|
|
|
+ </div>
|
|
|
<div class="ct-detail" v-if="chapInfo.chapterInfo && chapInfo.chapterInfo[0].taskJson[taskCount].taskDetail">
|
|
|
<div class="detail" v-html="chapInfo.chapterInfo[0].taskJson[taskCount].taskDetail"></div>
|
|
|
</div>
|
|
@@ -65,6 +69,25 @@ export default {
|
|
|
min-width: fit-content;
|
|
|
}
|
|
|
}
|
|
|
+ .ct-taskName {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ flex-wrap: nowrap;
|
|
|
+ align-items: center;
|
|
|
+ margin: 15px 0 0 0;
|
|
|
+ .ct-task {
|
|
|
+ padding: 0.1rem;
|
|
|
+ color: #fff;
|
|
|
+ font-size: 12px;
|
|
|
+ background: rgb(73, 161, 241);
|
|
|
+ border-radius: 0.1rem;
|
|
|
+ min-width: fit-content;
|
|
|
+ }
|
|
|
+ .ct-tname{
|
|
|
+ margin-left: 10px;
|
|
|
+ font-size: 16px;
|
|
|
+ }
|
|
|
+ }
|
|
|
/deep/ .ct-detail {
|
|
|
width: 100%;
|
|
|
padding: 10px;
|