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
855de56c
Commit
855de56c
authored
Sep 03, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
6016a41d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
billboarddetails.vue
pages/kotra/billboard/billboarddetails.vue
+12
-6
No files found.
pages/kotra/billboard/billboarddetails.vue
View file @
855de56c
...
...
@@ -18,7 +18,7 @@
position
:
absolute
;
left
:
5%
;
top
:
0
;
font-size
:
5
8rpx
;
font-size
:
3
8rpx
;
// color: #FFEBD2;字体的渐变
background-image
:
-webkit-linear-gradient
(
bottom
,
#F7D5AC
,
#FFEBD2
,
#F7D5AC
);
-webkit-background-clip
:text
;
...
...
@@ -227,16 +227,17 @@
<view
class=
"box_c_b_item_l"
>
公示时间:
</view>
<view
class=
"box_c_b_item_r"
>
{{
detailsData
.
FinishDate
}}
</view>
</view>
<view
class=
"box_conent_basic_item"
>
<
!--
<
view
class=
"box_conent_basic_item"
>
<view
class=
"box_c_b_item_l"
>
入围名额:
</view>
<view
class=
"box_c_b_item_r"
>
{{
detailsData
.
PrizeNum
}}
个
</view>
</view>
</view>
-->
<view
class=
"details"
style=
"margin-top: 15px;color: #FFF;"
>
<rich-text
:nodes=
"detailsData.Content"
></rich-text>
</view>
</view>
</view>
<view
class=
"details"
style=
"margin-top: 15px;color: #FFF;display:flex;"
v-html=
"detailsData.Content"
>
<!--
<rich-text
:nodes=
"detailsData.Content"
></rich-text>
-->
</view>
<view
class=
"box_conent_basic"
v-if=
"detailsData && detailsData.State==3 && detailsData.RankList.length>0"
>
<view
class=
"box_conent_basic_img"
>
...
...
@@ -434,6 +435,11 @@
uni
.
hideLoading
()
if
(
res
.
resultCode
==
1
)
{
this
.
detailsData
=
res
.
data
// detailsData.Content
let
richtext
=
this
.
detailsData
.
Content
;
let
regex
=
new
RegExp
(
'<p'
,
'gi'
);
this
.
detailsData
.
Content
=
richtext
.
replace
(
regex
,
`<p style="display: flex;flex-direction: column;"`
);
//图片超出的处理
console
.
log
(
this
.
detailsData
.
Content
)
if
(
this
.
detailsData
.
EnrollList
&&
this
.
detailsData
.
EnrollList
.
length
>
0
){
this
.
detailsData
.
EnrollList
.
forEach
(
x
=>
{
x
.
Content
=
JSON
.
parse
(
x
.
Content
)
...
...
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