提交 35c52158 authored 作者: yanpeng's avatar yanpeng

bugfix-1

上级 c91ffbf6
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<el-carousel <el-carousel
ref="carouselRef" ref="carouselRef"
height="370px" height="370px"
:autoplay="true" :autoplay="false"
:interval="3000" :interval="3000"
arrow="never" arrow="never"
indicator-position="none" indicator-position="none"
...@@ -59,9 +59,7 @@ ...@@ -59,9 +59,7 @@
<el-carousel-item v-for="(item, index) in entitiesDataInfoList" :key="item.id + index"> <el-carousel-item v-for="(item, index) in entitiesDataInfoList" :key="item.id + index">
<div> <div>
<div class="box1-top"> <div class="box1-top">
<div class="box1-top-title"> <div class="box1-top-title">{{ item.postDate }}——{{ item.name }}</div>
{{ item.postDate }}——BIS《实体清单增列与修订条目》
</div>
<div class="box1-top-content"> <div class="box1-top-content">
<div class="box1-top-content-item"> <div class="box1-top-content-item">
<span class="box1-top-content-item-title">· 发布机构:</span> <span class="box1-top-content-item-title">· 发布机构:</span>
...@@ -73,13 +71,7 @@ ...@@ -73,13 +71,7 @@
</div> </div>
<div class="box1-top-content-item"> <div class="box1-top-content-item">
<span class="box1-top-content-item-title">· 涉及领域:</span> <span class="box1-top-content-item-title">· 涉及领域:</span>
<!-- <div
class="box1-top-content-item-tags"
v-for="(domainItem, index) in item.domains"
:key="index"
>
<el-tag :type="getTagType(domainItem)">{{ domainItem }}</el-tag>
</div> -->
<AreaTag <AreaTag
v-for="(domainItem, index) in item.domains" v-for="(domainItem, index) in item.domains"
:key="index" :key="index"
...@@ -146,7 +138,7 @@ ...@@ -146,7 +138,7 @@
}}</span> }}</span>
</div> </div>
<div class="box1-absolute-num"> <div class="box1-absolute-num">
{{ item.cnEntityCount }}{{ item.sanTypeId == allSanTypeIds[0] ? "家" : "" }} {{ item.cnEntityCount }}{{ item.sanTypeId == allSanTypeIds[0] ? "家" : "" }}
</div> </div>
</div> </div>
</div> </div>
...@@ -1961,11 +1953,12 @@ const handleMediaClick = item => { ...@@ -1961,11 +1953,12 @@ const handleMediaClick = item => {
flex-direction: column; flex-direction: column;
gap: 20px; gap: 20px;
position: relative; position: relative;
width: 1036px;
.box1-left-arrow { .box1-left-arrow {
position: absolute; position: absolute;
z-index: 9999; z-index: 9999;
left: -20px; left: -24px;
top: 135px; top: 135px;
width: 24px !important; width: 24px !important;
height: 48px; height: 48px;
...@@ -1989,7 +1982,7 @@ const handleMediaClick = item => { ...@@ -1989,7 +1982,7 @@ const handleMediaClick = item => {
.box1-right-arrow { .box1-right-arrow {
position: absolute; position: absolute;
z-index: 9999; z-index: 9999;
right: -20px; right: 0px;
top: 135px; top: 135px;
width: 24px; width: 24px;
height: 48px; height: 48px;
...@@ -2053,6 +2046,10 @@ const handleMediaClick = item => { ...@@ -2053,6 +2046,10 @@ const handleMediaClick = item => {
color: $base-color; color: $base-color;
margin-top: 10px; margin-top: 10px;
margin-bottom: 15px; margin-bottom: 15px;
max-width: 80%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
&-content { &-content {
...@@ -2079,7 +2076,7 @@ const handleMediaClick = item => { ...@@ -2079,7 +2076,7 @@ const handleMediaClick = item => {
height: 172px; height: 172px;
padding-top: 16px; padding-top: 16px;
box-sizing: border-box; box-sizing: border-box;
padding-right: 24px;
&-title { &-title {
font-size: 16px; font-size: 16px;
font-weight: 700; font-weight: 700;
......
...@@ -60,9 +60,10 @@ ...@@ -60,9 +60,10 @@
<div> <div>
<div class="box1-top"> <div class="box1-top">
<div class="box1-top-title"> <div class="box1-top-title">
{{ item.postDate }}——{{ <!-- {{ item.postDate }}——{{
item.sanTypeId == allSanTypeIds[0] ? "OFAC" : "DoD" item.sanTypeId == allSanTypeIds[0] ? "OFAC" : "DoD"
}}《实体清单增列与修订条目》 }}《实体清单增列与修订条目》 -->
{{ item.postDate }}——{{ item.name }}
</div> </div>
<div class="box1-top-content"> <div class="box1-top-content">
<div class="box1-top-content-item"> <div class="box1-top-content-item">
...@@ -1073,7 +1074,7 @@ const handleToEntityList = item => { ...@@ -1073,7 +1074,7 @@ const handleToEntityList = item => {
console.log("这是什么数据1 =>", item); console.log("这是什么数据1 =>", item);
let id = item?.id; let id = item?.id;
let sanTypeId = item?.sanTypeId || 1; let sanTypeId = item?.sanTypeId || 1;
let date = entitiesDataInfoList.value[currentCarouselIndex.value].postDate let date = entitiesDataInfoList.value[currentCarouselIndex.value].postDate;
if (!id) { if (!id) {
const currentItem = entitiesDataInfoList.value[currentCarouselIndex.value]; const currentItem = entitiesDataInfoList.value[currentCarouselIndex.value];
id = currentItem?.id; id = currentItem?.id;
...@@ -1953,11 +1954,12 @@ const handleMediaClick = item => { ...@@ -1953,11 +1954,12 @@ const handleMediaClick = item => {
flex-direction: column; flex-direction: column;
gap: 20px; gap: 20px;
position: relative; position: relative;
width: 1036px;
.box1-left-arrow { .box1-left-arrow {
position: absolute; position: absolute;
z-index: 9999; z-index: 9999;
left: -20px; left: -24px;
top: 135px; top: 135px;
width: 24px !important; width: 24px !important;
height: 48px; height: 48px;
...@@ -1981,7 +1983,7 @@ const handleMediaClick = item => { ...@@ -1981,7 +1983,7 @@ const handleMediaClick = item => {
.box1-right-arrow { .box1-right-arrow {
position: absolute; position: absolute;
z-index: 9999; z-index: 9999;
right: -20px; right: 0px;
top: 135px; top: 135px;
width: 24px; width: 24px;
height: 48px; height: 48px;
...@@ -2046,6 +2048,10 @@ const handleMediaClick = item => { ...@@ -2046,6 +2048,10 @@ const handleMediaClick = item => {
color: $base-color; color: $base-color;
margin-top: 10px; margin-top: 10px;
margin-bottom: 15px; margin-bottom: 15px;
max-width: 80%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
&-content { &-content {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论