|
@@ -496,7 +496,7 @@
|
|
<!-- 异常显示 -->
|
|
<!-- 异常显示 -->
|
|
<p class="error-tip" style="min-height: 400px;" v-if="chartInfo.WarnMsg">{{chartInfo.WarnMsg}}</p>
|
|
<p class="error-tip" style="min-height: 400px;" v-if="chartInfo.WarnMsg">{{chartInfo.WarnMsg}}</p>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="3" style="position: absolute;height: 100%;right: 0;">
|
|
|
|
|
|
+ <el-col :span="3" style="position: absolute;height: 100%;right: 0;min-width: 115px;">
|
|
<ul class="right-actions">
|
|
<ul class="right-actions">
|
|
<li>操作</li>
|
|
<li>操作</li>
|
|
<li
|
|
<li
|
|
@@ -637,7 +637,32 @@
|
|
ref="listChartPage"
|
|
ref="listChartPage"
|
|
@scroll="loadMorePublicChart"
|
|
@scroll="loadMorePublicChart"
|
|
>
|
|
>
|
|
- <el-col
|
|
|
|
|
|
+ <div class="chart-list-item-wrap">
|
|
|
|
+ <div class="chart-list-item" v-for="chart in chartPublicList" :key="chart.ChartInfoId">
|
|
|
|
+ <div class="chart-item-top" style="position:relative;">
|
|
|
|
+ <div class="chartEn-mark" v-show="chart.IsEnChart" style="top: -10px;left:-10px;">En</div>
|
|
|
|
+ <span class="text_oneLine" :style="{'padding-left':chart.IsEnChart?'24px':''}">{{ currentLang === 'en' ? (chart.ChartNameEn||chart.ChartName) : chart.ChartName }}</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="chart-item-img" @click="detailShowHandle(chart)"
|
|
|
|
+ :style="chart.ChartImage?{background: `no-repeat top/cover url('${chart.ChartImage}')`}:{}"></div>
|
|
|
|
+ <div class="chart-item-bottom">
|
|
|
|
+ <span>创建时间: {{ chart.CreateTime.slice(0,10) }}</span>
|
|
|
|
+ <span v-permission="permissionBtn.chartLibPermission.chartLib_addMy"
|
|
|
|
+ class="join_txt"
|
|
|
|
+ @click="addMychartHandle(chart)"
|
|
|
|
+ >
|
|
|
|
+ <img
|
|
|
|
+ :src="$icons.chart_join_ico"
|
|
|
|
+ alt=""
|
|
|
|
+ style="width: 13px; height: 12px; vertical-align: middle"
|
|
|
|
+ />
|
|
|
|
+ 加入我的图库
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <!-- <el-col
|
|
:span="6"
|
|
:span="6"
|
|
style="margin-bottom: 20px; padding-right: 20px"
|
|
style="margin-bottom: 20px; padding-right: 20px"
|
|
v-for="chart in chartPublicList"
|
|
v-for="chart in chartPublicList"
|
|
@@ -669,7 +694,7 @@
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</el-card>
|
|
</el-card>
|
|
- </el-col>
|
|
|
|
|
|
+ </el-col> -->
|
|
</div>
|
|
</div>
|
|
<div v-if="!public_total" class="nodata">
|
|
<div v-if="!public_total" class="nodata">
|
|
<tableNoData text="暂无图表"/>
|
|
<tableNoData text="暂无图表"/>
|
|
@@ -2525,6 +2550,7 @@ export default {
|
|
margin-bottom: 20px;
|
|
margin-bottom: 20px;
|
|
.right-actions {
|
|
.right-actions {
|
|
/* max-width: 160px; */
|
|
/* max-width: 160px; */
|
|
|
|
+ min-width: 115px;
|
|
height: 100%;
|
|
height: 100%;
|
|
padding: 20px 10px;
|
|
padding: 20px 10px;
|
|
border-left: 1px solid #DCDFE6;
|
|
border-left: 1px solid #DCDFE6;
|
|
@@ -2608,6 +2634,14 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ .chart-list-item{
|
|
|
|
+ width:23%;
|
|
|
|
+ min-width:230px;
|
|
|
|
+ .chart-item-top,.chart-item-bottom{
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.nodata {
|
|
.nodata {
|
|
@@ -2774,7 +2808,7 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.main-right {
|
|
.main-right {
|
|
- width: 80%;
|
|
|
|
|
|
+ flex:1;
|
|
.mx-datepicker {
|
|
.mx-datepicker {
|
|
width: 220px !important;
|
|
width: 220px !important;
|
|
}
|
|
}
|