update
1.应急事件显示信息过长,精简一下。 2.救护车图标配色调整 3.医院图标增大一点,显示图标及应急求助时的推荐图标 4.急救弹窗添加呼吸效果 5.急救路线搜索框,控制只搜索新疆境内 6.咨询大屏也要监听事件并弹出弹窗
This commit is contained in:
@@ -132,7 +132,7 @@ export const tabList = [
|
||||
export const legendList = [
|
||||
{ img: legend2, text: '健康小屋', color: '#1BEFF6' },
|
||||
{ img: legend1, text: '油田医院', color: '#D86AF7' },
|
||||
{ img: legend3, text: '救护车', color: '#EE7E31' },
|
||||
{ img: legend3, text: '救护车', color: '#45FFA1' },
|
||||
{ img: legend4, text: 'AED', color: '#F23F3D' },
|
||||
];
|
||||
|
||||
@@ -143,11 +143,15 @@ export function infoContent(res: any) {
|
||||
<span class="item-one">单位:</span>
|
||||
<span class="item-two">${res.orgName ? res.orgName : '--'}</span>
|
||||
</div>
|
||||
<div class="modal-item" >
|
||||
<div class="modal-item" style="margin: 5px 0">
|
||||
<span class="item-one">关爱人数:</span>
|
||||
<span class="item-two">${res.loveNum ? res.loveNum : '--'}</span>
|
||||
</div>
|
||||
<div class="modal-item">
|
||||
<div class="modal-item" style="margin: 0 0 5px 0;">
|
||||
<span class="item-one">电话:</span>
|
||||
<span class="item-two">${res.mobile ? res.mobile : '--'}</span>
|
||||
</div>
|
||||
<div class="modal-item" style="margin: 0 0 5px 0;">
|
||||
<span class="item-one">地点:</span>
|
||||
<span class="item-two">${res.name ? res.name : '--'}</span>
|
||||
</div>
|
||||
@@ -158,11 +162,21 @@ export function infoContent(res: any) {
|
||||
}
|
||||
export function infoContent1(res: any) {
|
||||
return `
|
||||
<div class="modal-box modal-box-normal">
|
||||
<div class="modal-box ${res.type === '1' ? 'modal-box-normal' : 'modal-box-normal-1'}">
|
||||
<div class="modal-item">
|
||||
<span class="item-one">${res.type === '1' ? '医院名称' : '救护车名称'}:</span>
|
||||
<span class="item-two">${res.name ? res.name : '--'}</span>
|
||||
</div>
|
||||
${
|
||||
res.type === '1'
|
||||
? `
|
||||
<div class="modal-item" style="margin: 5px 0">
|
||||
<span class="item-one">电话:</span>
|
||||
<span class="item-two">${res.mobile ? res.mobile : '--'}</span>
|
||||
</div>
|
||||
`
|
||||
: ``
|
||||
}
|
||||
<div class="modal-item">
|
||||
<span class="item-one">地点:</span>
|
||||
<span class="item-two">${res.orgName ? res.orgName : '--'}</span>
|
||||
|
||||
Reference in New Issue
Block a user