Commit 358b6b79 authored by 周宏民's avatar 周宏民

fix: 演示功能入口 视频 修改,字段修改

parent 913777c8
Pipeline #85517 passed with stages
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
...@@ -59,8 +59,8 @@ const BottomItem = props => { ...@@ -59,8 +59,8 @@ const BottomItem = props => {
{col['所属行业'] === '能源' ? '节水' : col['所属行业']} {col['所属行业'] === '能源' ? '节水' : col['所属行业']}
</div> </div>
<div className={styles.list_item_info_name}> <div className={styles.list_item_info_name}>
<Tooltip title={col['客户名称']} color="#1685FF"> <Tooltip title={col['平台名称']} color="#1685FF">
{col['客户名称']} {col['平台名称']}
</Tooltip> </Tooltip>
</div> </div>
<div className={styles.list_item_info_address}>{col['城市']}</div> <div className={styles.list_item_info_address}>{col['城市']}</div>
......
...@@ -201,6 +201,10 @@ ...@@ -201,6 +201,10 @@
background: url('@{imgSrc}/排水.png') no-repeat center/100% 100%; background: url('@{imgSrc}/排水.png') no-repeat center/100% 100%;
} }
.list_item_info_tip[type='农饮水'] {
background: url('@{imgSrc}/农饮水.png') no-repeat center/100% 100%;
}
.list_item_info_name { .list_item_info_name {
flex: 1; flex: 1;
......
...@@ -264,8 +264,8 @@ const Demonstration = props => { ...@@ -264,8 +264,8 @@ const Demonstration = props => {
}); });
Promise.all([req1, req2, req3]).then(result => { Promise.all([req1, req2, req3]).then(result => {
const dataStr1 = result[0]?.data?.jsonData || ''; const dataStr1 = result[0]?.data?.jsonData || '';
let data1 = dataStr1 ? JSON.parse(dataStr1) : []; const data1 = dataStr1 ? JSON.parse(dataStr1) : [];
data1 = data1.filter(d => projectType.includes(d['所属行业'])); // data1 = data1.filter(d => projectType.includes(d['所属行业']));
const dataStr2 = result[1]?.data?.jsonData || ''; const dataStr2 = result[1]?.data?.jsonData || '';
let data2 = dataStr2 ? JSON.parse(dataStr2) : []; let data2 = dataStr2 ? JSON.parse(dataStr2) : [];
const dataStr3 = result[2]?.data?.jsonData || ''; const dataStr3 = result[2]?.data?.jsonData || '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment