Compare commits

...

1 Commits

Author SHA1 Message Date
zhaojisen
d0467888e5 fixed: Restores remote application styles 2024-10-15 16:58:34 +08:00

View File

@@ -6,11 +6,11 @@
:table-url="tableUrl" :table-url="tableUrl"
v-bind="headerActions" v-bind="headerActions"
/> />
<el-row :gutter="10" type="flex" class="the-row"> <el-row :gutter="10" class="the-row">
<IBox v-if="totalData.length === 0" style="width: 100%"> <IBox v-if="totalData.length === 0">
<el-empty :description="$t('NoData')" :image-size="200" class="no-data" style="padding: 20px" /> <el-empty :description="$t('NoData')" :image-size="200" class="no-data" style="padding: 20px" />
</IBox> </IBox>
<el-col v-for="(d, index) in totalData" :key="index" style="max-width: 550px; width: 400px"> <el-col v-for="(d, index) in totalData" :key="index" :lg="8" :md="12" :sm="24" style="min-width: 335px;">
<el-card <el-card
:body-style="{ 'text-align': 'center', 'padding': '15px' }" :body-style="{ 'text-align': 'center', 'padding': '15px' }"
:class="{'is-disabled': isDisabled(d)}" :class="{'is-disabled': isDisabled(d)}"
@@ -56,7 +56,7 @@
</el-col> </el-col>
</el-row> </el-row>
<Pagination <Pagination
v-show="pagination" v-show="pagination && total > paginationSize"
ref="pagination" ref="pagination"
class="pagination" class="pagination"
v-bind="$data" v-bind="$data"
@@ -234,8 +234,6 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.the-row { .the-row {
flex-wrap: wrap;
width: 100%;
margin-top: 15px; margin-top: 15px;
max-width: 1600px; max-width: 1600px;
text-align: center; text-align: center;
@@ -249,13 +247,12 @@ export default {
::v-deep .el-card__body { ::v-deep .el-card__body {
height: 100%; height: 100%;
padding: unset !important;
.el-row { .el-row {
display: flex; display: flex;
flex-wrap: nowrap; flex-wrap: nowrap;
margin-top: 0; margin-top: 0;
height: 190px; height: 100%;
.image { .image {
display: flex; display: flex;
@@ -278,7 +275,6 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: flex-start; align-items: flex-start;
padding: 10px;
.one-line { .one-line {
display: flex; display: flex;
@@ -300,14 +296,15 @@ export default {
.comment { .comment {
display: -webkit-box; display: -webkit-box;
height: 120px;
font-size: 12px; font-size: 12px;
padding: 10px 0; padding: 10px 0;
line-height: 13px;
cursor: pointer; cursor: pointer;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; -webkit-line-clamp: 4;
-webkit-line-clamp: 2; -webkit-box-flex: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
text-align: left;
} }
.tag-zone { .tag-zone {
@@ -315,7 +312,6 @@ export default {
height: 30%; height: 30%;
align-items: center; align-items: center;
cursor: pointer; cursor: pointer;
margin-top: 70px;
} }
} }
} }