mirror of
https://gitee.com/java110/PropertyApp.git
synced 2026-02-23 21:36:39 +08:00
优化代码
This commit is contained in:
parent
c60b8a2759
commit
dbbf82daf2
@ -21,10 +21,11 @@
|
|||||||
<view class="undo-title">
|
<view class="undo-title">
|
||||||
<text class="text-bold">监控相机</text>
|
<text class="text-bold">监控相机</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-list grid margin-top" :class="'col-2'">
|
<view class="cu-list grid " :class="'col-2'">
|
||||||
<view class="cu-item" @click="_toPlayVideo(item);" v-for="(item,index) in machines" :key="index">
|
<view class="cu-item" @click="_toPlayVideo(item);" v-for="(item,index) in machines" :key="index">
|
||||||
<view>
|
<view>
|
||||||
<image src="/static/image/barrier.png" style="width: 80upx;height: 80upx;"></image>
|
<image :src="item.photoUrl" v-if="item.photoUrl" class="radius-sm" style="width: 90%;height: 200upx;"></image>
|
||||||
|
<image src="/static/image/noPhoto.jpg" class="radius-sm" v-else style="width: 90%;height: 200upx;"></image>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
<text>{{item.machineName}}</text>
|
<text>{{item.machineName}}</text>
|
||||||
|
|||||||
BIN
static/image/noPhoto.jpg
Normal file
BIN
static/image/noPhoto.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
Loading…
Reference in New Issue
Block a user