Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
ty_patentSys
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanxiao
ty_patentSys
Commits
0828541d
Commit
0828541d
authored
Feb 28, 2024
by
heshihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修改下标展示问题
parent
f24b7e9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
src/views/patent/patentDetails.vue
+11
-3
No files found.
src/views/patent/patentDetails.vue
View file @
0828541d
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment