|
@@ -73,9 +73,7 @@
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<h3 class="detail-title">{{ currentDetailTitle }}</h3>
|
|
<h3 class="detail-title">{{ currentDetailTitle }}</h3>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="detail-content">
|
|
|
|
|
- <p>{{ currentDetailContent }}</p>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <div class="detail-content" v-html="currentDetailContent"></div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</main>
|
|
</main>
|
|
@@ -472,12 +470,12 @@ onMounted(() => {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.detail-content {
|
|
.detail-content {
|
|
|
- p {
|
|
|
|
|
- font-size: 15px;
|
|
|
|
|
- line-height: 1.8;
|
|
|
|
|
- color: #666;
|
|
|
|
|
|
|
+ font-size: 15px;
|
|
|
|
|
+ line-height: 1.8;
|
|
|
|
|
+ color: #666;
|
|
|
|
|
+
|
|
|
|
|
+ :deep(p) {
|
|
|
margin: 0;
|
|
margin: 0;
|
|
|
- white-space: pre-line;
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|