Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
liyeyun
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cfld-frontend
liyeyun
Commits
24e42dd9
Commit
24e42dd9
authored
Dec 26, 2023
by
shilei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理产业政策标签为null
parent
6e2ce828
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
list-policy-item.vue
src/components/list/list-policy-item.vue
+1
-1
HomeView.vue
src/views/home/HomeView.vue
+1
-1
IndustryPolicyDetail.vue
src/views/industry/IndustryPolicyDetail.vue
+2
-2
No files found.
src/components/list/list-policy-item.vue
View file @
24e42dd9
...
...
@@ -5,7 +5,7 @@
</div>
<div
class=
"media-right w-0 flex-1"
>
<p
class=
"mb-[16px] text-lg font-semibold text-[#1a1a1a]"
>
{{
detail
.
title
}}
</p>
<div
class=
"mb-[17px] flex h-[22px] flex-wrap overflow-hidden"
>
<div
class=
"mb-[17px] flex h-[22px] flex-wrap overflow-hidden"
v-if=
"detail.industryList"
>
<span
v-for=
"item in detail.industryList?.split(',')"
:key=
"item"
...
...
src/views/home/HomeView.vue
View file @
24e42dd9
...
...
@@ -577,7 +577,7 @@ watchEffect(async () => {
</
script
>
<
style
lang=
"scss"
scoped
>
.header-bg
{
background
:
url('https://cfld-obs-pro01.obs.cn-north-4.myhuaweicloud.com/img/system/%E7%AB%8B%E4%B8%9A%E4%BA%91%E9%A6%96%E9%A1%B5%E8%83%8C%E6%99%AF%E5%9B%BE1%20.png?x-image-process=image/quality,q_80')
background
:
url('https://cfld-obs-pro01.obs.cn-north-4.myhuaweicloud.com/img/system/%E7%AB%8B%E4%B8%9A%E4%BA%91%E9%A6%96%E9%A1%B5%E8%83%8C%E6%99%AF%E5%9B%BE1%20.png?x-image-process=image/quality,q_80
/format,jpg
')
center
center
no-repeat
;
background-size
:
cover
;
color
:
#ffffff
;
...
...
src/views/industry/IndustryPolicyDetail.vue
View file @
24e42dd9
...
...
@@ -17,9 +17,9 @@
<div
class=
"mb-5 mt-4 text-sm leading-[22px] text-[#4d4d4d]"
>
<div
class=
"flex items-center"
>
{{
infos
}}
</div>
</div>
<div
class=
"mb-[17px] flex flex-wrap"
>
<div
class=
"mb-[17px] flex flex-wrap"
v-if=
"detail.industryList"
>
<span
v-for=
"item in detail.industryList.split(',')"
v-for=
"item in detail.industryList
?
.split(',')"
:key=
"item"
class=
"mb-2 mr-[13px] flex-wrap bg-[rgba(44,104,255,0.08)] px-3 text-sm leading-[22px] text-[#2C68FF]"
>
...
...
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