|
|
|
|
@ -50,8 +50,15 @@
|
|
|
|
|
<view class="question-header">
|
|
|
|
|
<view class="question-number">{{ index + 1 }}</view>
|
|
|
|
|
<view class="question-title">
|
|
|
|
|
<text>{{ q.name }}</text>
|
|
|
|
|
<text v-if="q.rule && q.rule.includes('required')" class="required-mark">*</text>
|
|
|
|
|
<view class="question-title-item">
|
|
|
|
|
<text>{{ q.name }}</text>
|
|
|
|
|
<text v-if="q.rule && q.rule.includes('required')" class="required-mark">*</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="q.course_content" class="question-title-theme">
|
|
|
|
|
<text>{{ q.course_content.theme }}{{ q.course_content.teacher?' -- '+q.course_content.teacher.name:'' }}</text>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- <text>{{ q.name }}</text>
|
|
|
|
|
<text v-if="q.rule && q.rule.includes('required')" class="required-mark">*</text> -->
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="question-content">
|
|
|
|
|
@ -525,7 +532,12 @@
|
|
|
|
|
line-height: 1.4;
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.question-title-theme{
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #6c757d;
|
|
|
|
|
line-height: 1.6;
|
|
|
|
|
// margin-bottom: 30rpx;
|
|
|
|
|
}
|
|
|
|
|
.required-mark {
|
|
|
|
|
color: #e74c3c;
|
|
|
|
|
margin-left: 8rpx;
|
|
|
|
|
|