Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
mallapp
Commits
319ac63f
Commit
319ac63f
authored
Mar 19, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
da4ddee7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
activeInnerDetail.vue
pages/kotra/activeInnerDetail.vue
+5
-1
No files found.
pages/kotra/activeInnerDetail.vue
View file @
319ac63f
...
...
@@ -114,7 +114,7 @@
<view
class=
"acdetailBottom"
>
<u-divider
color=
"#0B0B0B;"
half-width=
"50"
border-color=
"#0B0B0B"
fontSize=
"35"
>
活动详情
</u-divider>
<view
class=
"acdetail_Intro"
v-html=
"dataList.ActivityInfo"
>
<rich-text
:nodes=
"dataList.ActivityInfo"
></rich-text>
</view>
</view>
<template
v-if=
"isShowBtn"
>
...
...
@@ -191,6 +191,10 @@
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
;
let
richtext
=
res
.
data
.
ActivityInfo
;
let
regex
=
new
RegExp
(
'<img'
,
'gi'
);
richtext
=
richtext
.
replace
(
regex
,
`<img width="100%"`
);
//图片超出的处理
this
.
dataList
.
ActivityInfo
=
richtext
}
}
);
...
...
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