|
@@ -13,18 +13,20 @@
|
|
|
</template>
|
|
|
</a-table>
|
|
|
|
|
|
- <a-modal title="双碳新闻" v-model="showNews" width="60%" :footer="null" centered style="height: 500px">
|
|
|
- <p style="font-size: 20px;font-weight: bold;color:#000;">{{ currNews.tital }}</p>
|
|
|
- <div style="margin-bottom:10px;border-bottom: 1px solid #CCCCCC;">{{ currNews.date }}</div>
|
|
|
- <div
|
|
|
- style="max-height: calc(100vh - 300px);overflow:auto;background: rgba(10,100,100,0.05);font-size:16px;"
|
|
|
- v-if="currNews.content && currNews.content.indexOf(`<p>`) != -1"
|
|
|
- v-html="currNews.content"
|
|
|
- ></div>
|
|
|
- <p v-else style="font-size: 16px;font-weight:400;color:#000;background: rgba(10,100,100,0.05);">
|
|
|
- {{ currNews.content }}
|
|
|
- </p>
|
|
|
- <div style="margin-top:10px;border-top: 1px solid #CCCCCC;">{{ currNews.writer }}</div>
|
|
|
+ <a-modal title="双碳新闻" v-model="showNews" width="60%" :footer="null" centered >
|
|
|
+ <div style="height: 500px;overflow-y: auto">
|
|
|
+ <p style="font-size: 20px;font-weight: bold;color:#000;">{{ currNews.tital }}</p>
|
|
|
+ <div style="margin-bottom:10px;border-bottom: 1px solid #CCCCCC;">{{ currNews.date }}</div>
|
|
|
+ <div
|
|
|
+ style="max-height: calc(100vh - 300px);overflow:auto;background: rgba(10,100,100,0.05);font-size:16px;"
|
|
|
+ v-if="currNews.content && currNews.content.indexOf(`<p>`) != -1"
|
|
|
+ v-html="currNews.content"
|
|
|
+ ></div>
|
|
|
+ <p v-else style="font-size: 16px;font-weight:400;color:#000;background: rgba(10,100,100,0.05);">
|
|
|
+ {{ currNews.content }}
|
|
|
+ </p>
|
|
|
+ <div style="margin-top:10px;border-top: 1px solid #CCCCCC;">{{ currNews.writer }}</div>
|
|
|
+ </div>
|
|
|
</a-modal>
|
|
|
|
|
|
</div>
|