前台加word-break: break-all;

This commit is contained in:
gaoyuanwei 2022-07-19 09:42:41 +08:00
parent 74168d8a2c
commit f1de4b860e
61 changed files with 837 additions and 710 deletions

View File

@ -257,6 +257,7 @@
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
margin-bottom: 20px; margin-bottom: 20px;
word-break: break-all;
} }
.content-fangwenliang { .content-fangwenliang {
width: 215px; width: 215px;
@ -268,6 +269,7 @@
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
color: #999999; color: #999999;
margin-bottom: 20px; margin-bottom: 20px;
word-break: break-all;
} }
} }
} }

View File

@ -599,6 +599,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.num { .num {
width: 100px; width: 100px;
@ -719,6 +720,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
div:nth-of-type(1) { div:nth-of-type(1) {
@ -757,6 +759,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
span:hover { span:hover {
border: 1px solid #147ad8; border: 1px solid #147ad8;

View File

@ -139,6 +139,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
.item:nth-of-type(1) { .item:nth-of-type(1) {

View File

@ -302,6 +302,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 5; -webkit-line-clamp: 5;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
} }

View File

@ -177,6 +177,7 @@
display: -webkit-box; display: -webkit-box;
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
word-break: break-all;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
.tab-top-down { .tab-top-down {
@ -269,6 +270,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 6; -webkit-line-clamp: 6;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
} }

View File

@ -160,6 +160,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.associated-ability-card-content { .associated-ability-card-content {
width: 100%; width: 100%;
@ -175,6 +176,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 5; -webkit-line-clamp: 5;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
} }

View File

@ -110,6 +110,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 5; -webkit-line-clamp: 5;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.content-footer { .content-footer {
position: absolute; position: absolute;

View File

@ -258,6 +258,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.label-content { .label-content {
position: relative; position: relative;
@ -291,6 +292,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
.bottom { .bottom {

View File

@ -377,6 +377,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
} }
@ -436,6 +437,7 @@
line-height: 0.2rem; line-height: 0.2rem;
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
word-break: break-all;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
flex-direction: column; flex-direction: column;
@ -447,6 +449,7 @@
margin-bottom: 0.08rem; margin-bottom: 0.08rem;
white-space: nowrap; white-space: nowrap;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
word-break: break-all;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
margin-right: 0.15rem; margin-right: 0.15rem;

View File

@ -153,6 +153,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
word-break: break-all;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
} }

View File

@ -175,6 +175,7 @@
display: -webkit-box; display: -webkit-box;
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
word-break: break-all;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
.associated-ability-card-content { .associated-ability-card-content {
@ -190,6 +191,7 @@
display: -webkit-box; display: -webkit-box;
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 5; -webkit-line-clamp: 5;
word-break: break-all;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
} }

View File

@ -138,6 +138,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
word-break: break-all;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
} }

View File

@ -7,26 +7,42 @@
<DetalsTitle :title="dataFrom.attrType" type="INTRODUCE"></DetalsTitle> <DetalsTitle :title="dataFrom.attrType" type="INTRODUCE"></DetalsTitle>
</div> </div>
<div class="tab"> <div class="tab">
<div v-for="(itemSonTitle, indexSonTitle) in dataFrom.attrValue" :key="itemSonTitle.name" <div
@click="tabSwitch(itemSonTitle.name)" class="tab-son" :class=" v-for="(itemSonTitle, indexSonTitle) in dataFrom.attrValue"
:key="itemSonTitle.name"
@click="tabSwitch(itemSonTitle.name)"
class="tab-son"
:class="
tabIndexClass(indexSonTitle, dataFrom.name, dataFrom.attrValue) tabIndexClass(indexSonTitle, dataFrom.name, dataFrom.attrValue)
"> "
>
<a-tooltip> <a-tooltip>
<template #title>{{ itemSonTitle.name }}</template> <template #title>{{ itemSonTitle.name }}</template>
<div class="tab-top" :class=" <div
class="tab-top"
:class="
tabInitialize() == itemSonTitle.name ? 'tab-top-down' : '' tabInitialize() == itemSonTitle.name ? 'tab-top-down' : ''
"> "
>
{{ itemSonTitle.name }} {{ itemSonTitle.name }}
</div> </div>
</a-tooltip> </a-tooltip>
<div class="tab-bottom" v-if="tabInitialize() == itemSonTitle.name"></div> <div
class="tab-bottom"
v-if="tabInitialize() == itemSonTitle.name"
></div>
</div> </div>
</div> </div>
<template v-for="itemSonTitle in dataFrom.attrValue" :key="itemSonTitle"> <template v-for="itemSonTitle in dataFrom.attrValue" :key="itemSonTitle">
<div class="content" v-if="tabindex == itemSonTitle.name"> <div class="content" v-if="tabindex == itemSonTitle.name">
<div class="content-left"> <div class="content-left">
<div class="content-left-scene" v-if="!itemSonTitle.img"></div> <div class="content-left-scene" v-if="!itemSonTitle.img"></div>
<a-image :width="635" :height="340" :src="itemSonTitle.img" v-if="itemSonTitle.img"></a-image> <a-image
:width="635"
:height="340"
:src="itemSonTitle.img"
v-if="itemSonTitle.img"
></a-image>
</div> </div>
<div class="content-right"> <div class="content-right">
<div class="content-right-scene"> <div class="content-right-scene">
@ -146,6 +162,7 @@ function tabSwitch(name) {
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
text-align: center; text-align: center;
word-break: break-all;
} }
.tab-top-down { .tab-top-down {
@ -247,6 +264,7 @@ function tabSwitch(name) {
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 6; -webkit-line-clamp: 6;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
} }

View File

@ -236,6 +236,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.label-content { .label-content {
@ -275,6 +276,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }

View File

@ -293,6 +293,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 5; -webkit-line-clamp: 5;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
} }

View File

@ -178,6 +178,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.tab-top-down { .tab-top-down {
min-width: 120px; min-width: 120px;
@ -269,6 +270,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 6; -webkit-line-clamp: 6;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
} }

View File

@ -160,6 +160,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.associated-ability-card-content { .associated-ability-card-content {
width: 100%; width: 100%;
@ -175,6 +176,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 5; -webkit-line-clamp: 5;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
} }

View File

@ -158,6 +158,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.tab-top-down { .tab-top-down {
min-width: 1.2rem; min-width: 1.2rem;
@ -244,6 +245,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 6; -webkit-line-clamp: 6;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
} }

View File

@ -243,6 +243,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.label-content { .label-content {
@ -282,6 +283,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }

View File

@ -297,6 +297,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
} }
@ -358,6 +359,7 @@
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
flex-direction: column; flex-direction: column;
word-break: break-all;
p { p {
// width: 1.60rem; // width: 1.60rem;
@ -369,6 +371,7 @@
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
margin-right: 0.15rem; margin-right: 0.15rem;
word-break: break-all;
span { span {
cursor: pointer; cursor: pointer;

View File

@ -302,6 +302,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 5; -webkit-line-clamp: 5;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
} }

View File

@ -178,6 +178,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.tab-top-down { .tab-top-down {
min-width: 120px; min-width: 120px;
@ -269,6 +270,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 6; -webkit-line-clamp: 6;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
} }

View File

@ -160,6 +160,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.associated-ability-card-content { .associated-ability-card-content {
width: 100%; width: 100%;
@ -175,6 +176,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 5; -webkit-line-clamp: 5;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
} }

View File

@ -158,6 +158,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.tab-top-down { .tab-top-down {
min-width: 1.2rem; min-width: 1.2rem;
@ -244,6 +245,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 6; -webkit-line-clamp: 6;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
} }

View File

@ -248,6 +248,7 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
word-break: break-all;
} }
} }
} }
@ -272,6 +273,7 @@
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
overflow: hidden; overflow: hidden;
word-break: break-all;
} }
} }
.right { .right {

View File

@ -245,6 +245,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
word-break: break-all;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
.label-content { .label-content {
@ -278,6 +279,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
word-break: break-all;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
} }

View File

@ -138,6 +138,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
.main-center { .main-center {

View File

@ -293,6 +293,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 5; -webkit-line-clamp: 5;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
} }

View File

@ -178,6 +178,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.tab-top-down { .tab-top-down {
min-width: 120px; min-width: 120px;
@ -269,6 +270,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 6; -webkit-line-clamp: 6;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
} }

View File

@ -160,6 +160,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.associated-ability-card-content { .associated-ability-card-content {
width: 100%; width: 100%;
@ -175,6 +176,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 5; -webkit-line-clamp: 5;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
} }

View File

@ -252,6 +252,7 @@
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
} }

View File

@ -239,6 +239,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.label-content { .label-content {
position: relative; position: relative;
@ -273,6 +274,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
.bottom { .bottom {

View File

@ -362,6 +362,7 @@
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
flex-direction: column; flex-direction: column;
word-break: break-all;
p { p {
// width: 1.60rem; // width: 1.60rem;
@ -372,6 +373,7 @@
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
margin-right: 0.15rem; margin-right: 0.15rem;
word-break: break-all;
span { span {
cursor: pointer; cursor: pointer;

View File

@ -1757,5 +1757,6 @@
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
word-break: break-all;
} }
</style> </style>

View File

@ -814,6 +814,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.td-name-text { .td-name-text {

View File

@ -380,6 +380,7 @@
font-size: 0.14rem; font-size: 0.14rem;
color: #666666; color: #666666;
line-height: 0.2rem; line-height: 0.2rem;
word-break: break-all;
} }
} }
.chakangengduo { .chakangengduo {

View File

@ -405,6 +405,7 @@
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
overflow: hidden; overflow: hidden;
word-break: break-all;
} }
.out { .out {
cursor: pointer; cursor: pointer;
@ -487,6 +488,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
word-break: break-all;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
button { button {

View File

@ -968,6 +968,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
/*超出显示为省略号*/ /*超出显示为省略号*/
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
.btn { .btn {
@ -1103,5 +1104,6 @@
text-overflow: ellipsis; text-overflow: ellipsis;
/*超出显示为省略号*/ /*超出显示为省略号*/
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
</style> </style>

View File

@ -114,6 +114,7 @@
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
overflow: hidden; overflow: hidden;
word-break: break-all;
} }
button { button {
margin: 0px; margin: 0px;

View File

@ -450,6 +450,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
.up:hover { .up:hover {
@ -496,6 +497,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
.child:hover { .child:hover {

View File

@ -449,6 +449,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
.up:hover { .up:hover {
@ -495,6 +496,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
} }
.child:hover { .child:hover {

View File

@ -6,21 +6,44 @@
<div class="resultListSearchInput-father"> <div class="resultListSearchInput-father">
<div class="resultListSearchInput-son"> <div class="resultListSearchInput-son">
模糊搜索 模糊搜索
<a-input-search v-model:value="searchValue" placeholder="请输入关键词" enter-button="搜索" size="large" <a-input-search
@search="getAppResources" @change="onSearch" class="resultListSearchInput" /> v-model:value="searchValue"
placeholder="请输入关键词"
enter-button="搜索"
size="large"
@search="getAppResources"
@change="onSearch"
class="resultListSearchInput"
/>
<button class="button-reset" @click="chongzhi()">重置</button> <button class="button-reset" @click="chongzhi()">重置</button>
<div class="hengxian"></div> <div class="hengxian"></div>
</div> </div>
</div> </div>
<searchResultList v-show="resourceList.data && resourceList.data.length > 0" :key="listKey2" <searchResultList
:resourceList="resourceList" :resourceTotal="resourceTotal" selectCardsname="融合服务" /> v-show="resourceList.data && resourceList.data.length > 0"
:key="listKey2"
:resourceList="resourceList"
:resourceTotal="resourceTotal"
selectCardsname="融合服务"
/>
<div class="pagination"> <div class="pagination">
<a-pagination v-if="resourceList.data && resourceList.data.length > 0" v-model:current="currentPage" <a-pagination
v-model:pageSize="currentPageSize" show-size-changer show-less-items show-quick-jumper v-if="resourceList.data && resourceList.data.length > 0"
:total="resourceTotal" :page-size-options="pageSizeOptions" @change="pageChange" v-model:current="currentPage"
@showSizeChange="onShowSizeChange" /> v-model:pageSize="currentPageSize"
show-size-changer
show-less-items
show-quick-jumper
:total="resourceTotal"
:page-size-options="pageSizeOptions"
@change="pageChange"
@showSizeChange="onShowSizeChange"
/>
</div> </div>
<div v-if="resourceList.data && resourceList.data.length <= 0" style="margin-top: 2rem"> <div
v-if="resourceList.data && resourceList.data.length <= 0"
style="margin-top: 2rem"
>
<a-empty /> <a-empty />
</div> </div>
</div> </div>
@ -30,18 +53,9 @@
<script> <script>
import HomeFooter from '@/views/newHome/components/Footer' import HomeFooter from '@/views/newHome/components/Footer'
import mybus from '@/myplugins/mybus' import mybus from '@/myplugins/mybus'
import { import { defineComponent, reactive, ref, toRefs, onMounted, watch } from 'vue'
defineComponent,
reactive,
ref,
toRefs,
onMounted,
watch,
} from 'vue'
import { import { getIntegrationServicesList } from '@/api/home.js'
getIntegrationServicesList,
} from '@/api/home.js'
import { useRouter } from 'vue-router' import { useRouter } from 'vue-router'
import HomeHeader from '@/views/home/components/header' import HomeHeader from '@/views/home/components/header'
import searchResultList from '@/views/home/components/searchResultList.vue' import searchResultList from '@/views/home/components/searchResultList.vue'
@ -95,12 +109,11 @@ export default defineComponent({
paramsGetResources.orderField = 'create_date' paramsGetResources.orderField = 'create_date'
paramsGetResources.orderType = 'DESC' paramsGetResources.orderType = 'DESC'
mybus.emit('chongzhi', { mybus.emit('chongzhi', {
type: '融合服务' type: '融合服务',
}) })
getAppResources() getAppResources()
} }
const getAppResources = () => { const getAppResources = () => {
getIntegrationList() getIntegrationList()
} }
@ -112,17 +125,20 @@ export default defineComponent({
page: currentPage.value, page: currentPage.value,
orderField: paramsGetResources.orderField, orderField: paramsGetResources.orderField,
orderType: paramsGetResources.orderType, orderType: paramsGetResources.orderType,
name: searchValue.value name: searchValue.value,
} }
getIntegrationServicesList(postData).then(res => { getIntegrationServicesList(postData).then(
(res) => {
if (res.data.code !== 0) { if (res.data.code !== 0) {
return message.error(res.data.msg) return message.error(res.data.msg)
} }
resourceList.data = res.data.data.list || [] resourceList.data = res.data.data.list || []
resourceTotal.value = res.data.data.total || 0 resourceTotal.value = res.data.data.total || 0
}, err => { },
(err) => {
message.error(err) message.error(err)
}) }
)
} }
mybus.on('paramsGetResources', (ids) => { mybus.on('paramsGetResources', (ids) => {
@ -163,7 +179,7 @@ export default defineComponent({
} }
onMounted(() => { onMounted(() => {
listKey2.value++; listKey2.value++
getAppResources() getAppResources()
}) })
@ -315,5 +331,6 @@ export default defineComponent({
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
word-break: break-all;
} }
</style> </style>

View File

@ -185,6 +185,7 @@
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
overflow: hidden; overflow: hidden;
word-break: break-all;
} }
button { button {
margin: 0rem; margin: 0rem;

View File

@ -423,6 +423,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.left:hover { .left:hover {
color: #0058e1; color: #0058e1;

View File

@ -328,6 +328,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.name:hover { .name:hover {
color: #0058e1; color: #0058e1;

View File

@ -169,6 +169,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.text { .text {
width: 100%; width: 100%;

View File

@ -298,6 +298,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.text { .text {
width: 100%; width: 100%;

View File

@ -179,6 +179,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.content-top-pingfen { .content-top-pingfen {
background: unset; background: unset;
@ -203,6 +204,7 @@
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
margin-bottom: 0.12rem; margin-bottom: 0.12rem;
cursor: pointer; cursor: pointer;
word-break: break-all;
} }
.num { .num {
font-size: 0.14rem; font-size: 0.14rem;

View File

@ -167,6 +167,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.pulish-time { .pulish-time {
position: absolute; position: absolute;

View File

@ -176,6 +176,7 @@
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
color: #999999; color: #999999;
word-break: break-all;
} }
} }
.content-body-bottom { .content-body-bottom {

View File

@ -300,6 +300,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
.type { .type {
background: #0087ff; background: #0087ff;
color: #fff; color: #fff;
@ -321,6 +322,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.result:hover { .result:hover {
color: #0058e1; color: #0058e1;

View File

@ -192,6 +192,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.result:hover { .result:hover {
color: #0058e1; color: #0058e1;

View File

@ -201,6 +201,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.result:hover { .result:hover {
color: #0058e1; color: #0058e1;

View File

@ -222,6 +222,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.content-body-content { .content-body-content {
margin-top: 10px; margin-top: 10px;
@ -238,6 +239,7 @@
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
color: #999999; color: #999999;
word-break: break-all;
} }
} }
.content-body-bottom { .content-body-bottom {

View File

@ -863,6 +863,7 @@
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
max-width: 8.1rem; max-width: 8.1rem;
line-height: 24px; line-height: 24px;
word-break: break-all;
} }
} }
.content-body-bottom { .content-body-bottom {

View File

@ -195,6 +195,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
} }
.content-body-content { .content-body-content {
margin-top: 10px; margin-top: 10px;
@ -212,6 +213,7 @@
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
color: #999999; color: #999999;
word-break: break-all;
} }
} }
.content-body-bottom { .content-body-bottom {

View File

@ -573,6 +573,7 @@
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all;
color: #999999; color: #999999;
} }
} }

View File

@ -194,6 +194,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
word-break: break-all;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
.result:hover { .result:hover {

View File

@ -213,6 +213,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
word-break: break-all;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
.result:hover { .result:hover {

View File

@ -862,6 +862,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
word-break: break-all;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
} }

View File

@ -198,6 +198,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
word-break: break-all;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
.result:hover { .result:hover {