Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
tjty-app
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
王永飞
tjty-app
Commits
db0219b5
Commit
db0219b5
authored
Nov 23, 2022
by
王宝峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新媒体服务样式修改
parent
19532d92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
20 deletions
+21
-20
tity_new_media.vue
tjty-app/pages_new_media/tity_new_media/tity_new_media.vue
+21
-20
No files found.
tjty-app/pages_new_media/tity_new_media/tity_new_media.vue
View file @
db0219b5
<
template
>
<view>
<noData
v-if=
"flag == 0"
></noData>
<uni-card
class=
"newMedia-card-main"
v-if=
"flag == 1"
>
<uni-card
class=
"newMedia-card-main"
v-if=
"flag == 1"
>
<text
class=
"title-text"
>
{{
!
issue
.
titleName
?
'--'
:
issue
.
titleName
}}
</text>
<view
class=
"message-view"
>
<text
style=
"color: #3B7CDE"
>
{{
!
issueBranch
?
"--"
:
issueBranch
}}
</text>
...
...
@@ -12,7 +12,7 @@
<!--
<view
v-for=
"item in listImg"
>
<image
:src=
"base_url + item"
:webp=
"true"
></image>
</view>
-->
<view
style=
"width: 6
5
0rpx;"
>
<view
style=
"width: 6
3
0rpx;"
>
<rich-text
:nodes=
"issue.detail"
></rich-text>
</view>
</view>
...
...
@@ -46,11 +46,11 @@
phoneNumber
:
'188222333444'
,
issue
:
{},
listImg
:
[],
address
:
'天津'
,
detail
:
''
,
address
:
'天津'
,
detail
:
''
,
pushTime
:
''
,
base_url
:
'https://www.aiwanyundong.com/api'
,
// base_url: 'http://192.168.0.97:8080',
// base_url: 'http://192.168.0.97:8080',
flag
:
''
,
// 查询参数
isloading
:
false
,
...
...
@@ -117,14 +117,15 @@
// if(this.issue.pushTime){
// this.pushTime = this.issue.pushTime.substring(0, 16).replace('T', ' ')
// }
if
(
this
.
issue
.
updateTime
)
{
if
(
this
.
issue
.
updateTime
)
{
this
.
pushTime
=
this
.
issue
.
updateTime
.
substring
(
0
,
16
).
replace
(
'T'
,
' '
)
if
(
this
.
issue
.
address
){
this
.
address
=
this
.
issue
.
address
}}
var
reg
=
new
RegExp
(
'<body*>'
,
'gi'
)
var
reg1
=
new
RegExp
(
'</body*>'
,
'gi'
)
if
(
this
.
issue
.
address
)
{
this
.
address
=
this
.
issue
.
address
}
}
var
reg
=
new
RegExp
(
'<body*>'
,
'gi'
)
var
reg1
=
new
RegExp
(
'</body*>'
,
'gi'
)
this
.
issue
.
detail
=
this
.
issue
.
detail
.
replace
(
reg
,
''
)
this
.
issue
.
detail
=
this
.
issue
.
detail
.
replace
(
reg1
,
''
)
console
.
log
(
"处理后的内容--->"
,
this
.
issue
.
detail
)
...
...
@@ -171,10 +172,10 @@
min-height
:
1330
rpx
;
height
:
auto
;
width
:
670
rpx
;
margin-bottom
:
166px
;
/* margin-bottom: 166px; */
transform
:
translateX
(
-12
rpx
);
}
.newMedia-button-view
{
display
:
flex
;
/* margin-bottom: 50rpx; */
...
...
@@ -196,10 +197,10 @@
}
.button-hover
{
{
background-color
:
rgba
(
144
,
238
,
144
,
0.5
);
opacity
:
0.7
;
}
background-color
:
rgba
(
144
,
238
,
144
,
0.5
);
opacity
:
0.7
;
}
/* 标题css */
...
...
@@ -221,8 +222,8 @@
/* 正文样式 */
.content-view
{
margin-bottom
:
1
5
0
rpx
;
margin-right
:
20
rpx
;
margin-bottom
:
1
2
0
rpx
;
/* margin-right: 20rpx; */
}
...
...
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