图片显示问题。不能有中文,不然会转码失败。
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
@ -283,11 +283,11 @@ const showMaxValueTooltip = () => {
|
||||
onMounted(() => {
|
||||
initChart();
|
||||
if (props.title.indexOf('灌溉') !== -1) {
|
||||
Pics.value = [getAssetsFile('images/mockPic/智能灌溉.png')];
|
||||
Pics.value = [getAssetsFile('images/mockPic/IrrigationReport.png')];
|
||||
} else if (props.title.indexOf('浸种') !== -1) {
|
||||
Pics.value = [getAssetsFile('images/mockPic/智能浸种.png')];
|
||||
Pics.value = [getAssetsFile('images/mockPic/seedReport.png')];
|
||||
} else if (props.title.indexOf('配肥') !== -1) {
|
||||
Pics.value = [getAssetsFile('images/mockPic/智能配肥.png')];
|
||||
Pics.value = [getAssetsFile('images/mockPic/fertilizerReport.png')];
|
||||
}
|
||||
});
|
||||
// 组件卸载前销毁图表
|
||||
|
@ -6,7 +6,7 @@ import { getAssetsFile } from '@/utils/index.js';
|
||||
|
||||
const currentDevice = ref(0);
|
||||
const imgUrl = ref('/images/smartFarm/banner.png');
|
||||
const srcList = ref([getAssetsFile('images/mockPic/水质检测.png')]);
|
||||
const srcList = ref([getAssetsFile('images/mockPic/waterReport.png')]);
|
||||
const devices = ref([
|
||||
{
|
||||
name: 'A-001',
|
||||
@ -182,7 +182,7 @@ const chooseIcon = (type) => {
|
||||
<div style="margin-top: 20px">
|
||||
<el-image
|
||||
style="width: 100%"
|
||||
:src="getAssetsFile('images/mockPic/水质检测.png')"
|
||||
:src="getAssetsFile('images/mockPic/waterReport.png')"
|
||||
:zoom-rate="1.2"
|
||||
:max-scale="7"
|
||||
:min-scale="0.2"
|
||||
|