|
|
@@ -11,10 +11,10 @@
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<router-link :to="`/article/detail/${item.CONTENT}`" target="_blank">
|
|
|
+ <!-- http://ndsupload.ekhkad.com/files/2022/0526/573c9560dca111eca0a40ae051ba5350.jpg -->
|
|
|
<img ref="bannerHeight" @load="imgLoad" style="width:100%" src="http://ndsupload.ekhkad.com/files/2022/0526/573c9560dca111eca0a40ae051ba5350.jpg" alt="" >
|
|
|
</router-link>
|
|
|
</template>
|
|
|
-
|
|
|
</el-carousel-item>
|
|
|
</el-carousel>
|
|
|
</el-row>
|
|
|
@@ -24,12 +24,12 @@
|
|
|
<el-col :xs="{span: 24}" :sm="{span: 24}" :md="{span: 24}" :lg="{span: 12}" :xl="{span: 12}" style="padding-right:8px;margin-bottom:30px;">
|
|
|
<transaction-table />
|
|
|
</el-col>
|
|
|
- <el-col :xs="{span: 24}" :sm="{span: 12}" :md="{span: 12}" :lg="{span: 6}" :xl="{span: 6}" style="margin-bottom:30px;">
|
|
|
+ <!-- <el-col :xs="{span: 24}" :sm="{span: 12}" :md="{span: 12}" :lg="{span: 6}" :xl="{span: 6}" style="margin-bottom:30px;">
|
|
|
<todo-list />
|
|
|
</el-col>
|
|
|
<el-col :xs="{span: 24}" :sm="{span: 12}" :md="{span: 12}" :lg="{span: 6}" :xl="{span: 6}" style="margin-bottom:30px;">
|
|
|
<box-card />
|
|
|
- </el-col>
|
|
|
+ </el-col> -->
|
|
|
</el-row>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -44,7 +44,6 @@ import BarChart from './components/BarChart'
|
|
|
import TransactionTable from './components/TransactionTable'
|
|
|
import TodoList from './components/TodoList'
|
|
|
import BoxCard from './components/BoxCard'
|
|
|
-import i18n from '@/lang'
|
|
|
|
|
|
const lineChartData = {
|
|
|
newVisitis: {
|
|
|
@@ -109,7 +108,7 @@ export default {
|
|
|
let _this = this
|
|
|
if (_this.$refs.bannerHeight) {
|
|
|
_this.$nextTick(function () {
|
|
|
- _this.bannerHeight = _this.$refs.bannerHeight[0].height
|
|
|
+ _this.bannerHeight = _this.$refs.bannerHeight[0] && _this.$refs.bannerHeight[0].height ? _this.$refs.bannerHeight[0].height : _this.bannerHeight
|
|
|
})
|
|
|
}
|
|
|
}
|