Commit 24e42dd9 authored by shilei's avatar shilei

处理产业政策标签为null

parent 6e2ce828
......@@ -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"
......
......@@ -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;
......
......@@ -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]"
>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment