Commit 0828541d by heshihao

feat: 修改下标展示问题

parent f24b7e9f
...@@ -32,9 +32,7 @@ ...@@ -32,9 +32,7 @@
<!-- 摘要 --> <!-- 摘要 -->
<div class="patent_con1" id="summary"> <div class="patent_con1" id="summary">
<h2 class="title">摘要</h2> <h2 class="title">摘要</h2>
<p class="desc"> <p class="desc" v-html="details.zy"></p>
{{ details.zy }}
</p>
</div> </div>
<!-- 技术领域 --> <!-- 技术领域 -->
<div class="patent_con1" id="techAera"> <div class="patent_con1" id="techAera">
...@@ -352,6 +350,16 @@ export default { ...@@ -352,6 +350,16 @@ export default {
patentDetail({ id: id }).then((res) => { patentDetail({ id: id }).then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.details = res.data; this.details = res.data;
// this.details.zy = this.details.zy.replaceAll("<Sub>0</Sub>", "₀");
// this.details.zy = this.details.zy.replaceAll("<Sub>1</Sub>", "₁");
// this.details.zy = this.details.zy.replaceAll("<Sub>2</Sub>", "₂");
// this.details.zy = this.details.zy.replaceAll("<Sub>3</Sub>", "₃");
// this.details.zy = this.details.zy.replaceAll("<Sub>4</Sub>", "₄");
// this.details.zy = this.details.zy.replaceAll("<Sub>5</Sub>", "₅");
// this.details.zy = this.details.zy.replaceAll("<Sub>6</Sub>", "₆");
// this.details.zy = this.details.zy.replaceAll("<Sub>7</Sub>", "₇");
// this.details.zy = this.details.zy.replaceAll("<Sub>8</Sub>", "₈");
// this.details.zy = this.details.zy.replaceAll("<Sub>9</Sub>", "₉");
let word_cloud = res.data.word_cloud; let word_cloud = res.data.word_cloud;
this.techArr = []; this.techArr = [];
for (let key in word_cloud) { for (let key in word_cloud) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment