视频列表添加是否显示吊装图标

This commit is contained in:
jiayu 2024-09-14 15:20:50 +08:00
parent ef2feb1388
commit 1c8fa0a21c
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M17.0923 15.6561L13.3403 12.5045C13.597 12.3764 13.833 12.2106 14.0407 12.0126C14.3964 11.7502 14.6965 11.4197 14.9234 11.0403C15.1502 10.6609 15.2994 10.2402 15.3623 9.80266C15.4251 9.3651 15.4004 8.91941 15.2894 8.49151C15.1785 8.0636 14.9835 7.66203 14.716 7.31012L14.616 7.18506C14.4663 7.00204 14.2987 6.83445 14.1157 6.6848C13.9823 6.56807 13.8406 6.45134 13.6905 6.34295L13.3403 5.99277H13.2986L13.2152 5.94275C13.0719 5.85393 12.9523 5.73166 12.8666 5.58644C12.7809 5.44122 12.7317 5.27738 12.7233 5.10898C12.7162 5.05362 12.7162 4.99758 12.7233 4.94222H15.4831C15.8148 4.94222 16.1329 4.81046 16.3674 4.57592C16.602 4.34137 16.7337 4.02326 16.7337 3.69157C16.7337 3.35988 16.602 3.04177 16.3674 2.80723C16.1329 2.57268 15.8148 2.44092 15.4831 2.44092H8.55446C8.22277 2.44092 7.90466 2.57268 7.67012 2.80723C7.43558 3.04177 7.30381 3.35988 7.30381 3.69157C7.30381 4.02326 7.43558 4.34137 7.67012 4.57592C7.90466 4.81046 8.22277 4.94222 8.55446 4.94222H10.914C10.9023 5.1096 10.9285 5.27747 10.9906 5.43336C11.0526 5.58925 11.149 5.72915 11.2725 5.84269L11.4727 6.05947C12.0968 6.65555 12.6007 7.36602 12.9568 8.15223C13.0924 8.42263 13.1631 8.72098 13.1631 9.02352C13.1631 9.32605 13.0924 9.62441 12.9568 9.89481C12.8298 10.143 12.6274 10.3444 12.3787 10.4703C12.13 10.5961 11.8478 10.6399 11.5727 10.5952C11.2726 10.559 10.9891 10.4378 10.7557 10.2457C10.5222 10.0536 10.3486 9.7988 10.2554 9.51127C10.1886 9.33618 10.1136 9.16109 10.0469 8.97766C9.86348 8.50241 9.68005 8.01049 9.46327 7.55192C9.36178 7.34064 9.21689 7.15314 9.03805 7.00163L8.95467 6.93493C8.84953 6.8974 8.73464 6.8974 8.6295 6.93493C8.58785 7.03798 8.57072 7.1493 8.57948 7.2601C8.64618 7.88543 8.71288 8.50241 8.79626 9.1194C8.79626 9.37787 8.85462 9.63634 8.88797 9.89481C8.93835 10.7672 9.32012 11.5874 9.95519 12.1877C10.189 12.381 10.4504 12.5384 10.7306 12.6546H10.7973L6.9036 15.6561H1.35904C1.00004 15.6561 0.655622 15.7982 0.40099 16.0512C0.146359 16.3043 0.00220245 16.6479 0 17.0069L0 20.2335C0.00220246 20.5925 0.146359 20.9361 0.40099 21.1891C0.655622 21.4422 1.00004 21.5842 1.35904 21.5842H4.69412C4.71615 21.5435 4.74123 21.5045 4.76916 21.4675L10.4555 15.6311H8.938L12.173 13.1298L15.1579 15.6311H11.5977C11.5806 15.6721 11.555 15.7091 11.5227 15.7395L5.83638 21.5842H13.3903C13.4069 21.5546 13.4265 21.5266 13.4487 21.5009L18.6431 15.6645L17.0923 15.6561ZM22.6452 15.6561H19.7353C19.719 15.6912 19.6994 15.7247 19.6769 15.7562L14.4909 21.5926H22.6452C23.0027 21.5904 23.345 21.4474 23.5978 21.1945C23.8507 20.9417 23.9937 20.5994 23.9959 20.2419V17.0069C23.9937 16.6493 23.8507 16.307 23.5978 16.0542C23.345 15.8013 23.0027 15.6583 22.6452 15.6561Z" fill="#214A9F"/>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -22,6 +22,8 @@
<span class="custom-tree-node"> <span class="custom-tree-node">
<img v-if="data.deviceType == 2 && data.videoId" src="@/assets/images/icon-video-blue.png" /> <img v-if="data.deviceType == 2 && data.videoId" src="@/assets/images/icon-video-blue.png" />
<img v-else-if="data.deviceType != 2 && data.videoId" src="@/assets/images/icon-video-blue.png" /> <img v-else-if="data.deviceType != 2 && data.videoId" src="@/assets/images/icon-video-blue.png" />
<!-- 是否显示吊装图标 -->
<img v-if="data.isFlowPass" style="width: 20px" src="@/assets/images/hoisting.svg" />
<span :title="data.name">{{ data.name }}</span> <span :title="data.name">{{ data.name }}</span>
</span> </span>
</template> </template>