Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bm-info-window出现抖动 #22

Open
1770679549 opened this issue Dec 30, 2022 · 1 comment
Open

bm-info-window出现抖动 #22

1770679549 opened this issue Dec 30, 2022 · 1 comment

Comments

@1770679549
Copy link

<bm-info-window :closeOnClick="false" :show="infoWindow.show" :position="infoWindow.info"
@close="infoWindowClose(infoWindow)" @OPEN="infoWindowOpen()" :width="400" :height="400">




车牌:{{infoWindow.name}}


车辆状态:
离线
在线
休眠


运输单位:




最后上传时间:{{parseTime(infoWindow.lasttime) }}


位置:{{infoWindow.address}}




没有司机信息




机主:{{infoWindow.owner}}


终端类型:
主设备
副设备


电话号码:{{infoWindow.phoneNumber}}


设备图片:






<el-button class="elbutton" :icon="View" @click="dianji(infoWindow)">预览

        </bm-info-window>``

tabs切换会出现页面抖动

@1770679549
Copy link
Author

1770679549 commented Dec 30, 2022

<bm-info-window :closeOnClick="false" :show="infoWindow.show" :position="infoWindow.info"
@close="infoWindowClose(infoWindow)" @open="infoWindowOpen()" :width="400" :height="400">
<div>
<el-tabs v-model="activeName" style="height: 282px;margin-top: -12px;" class="demo-tabs">
<el-tab-pane label="车辆信息" name="first">
<p>车牌:{{infoWindow.name}}</p>
<p>车辆状态:
<span class="disable"
v-show="infoWindow.online === 0 ||infoWindow.online === null">离线</span>
<span class="enable" v-show="infoWindow.online === 1">在线</span>
<span class="yell" v-show="infoWindow.online === 2">休眠</span>
</p>
<p class="info"><span>运输单位:</span>
<span>
<dict-tag :options="company" :value="infoWindow.tranType" />
</span>
</p>
<p>最后上传时间:{{parseTime(infoWindow.lasttime) }}</p>
<p>位置:{{infoWindow.address}}</p>
</el-tab-pane>
<el-tab-pane label="司机信息" name="second">
<p>没有司机信息</p>
</el-tab-pane>
<el-tab-pane label="设备信息" name="third">
<p>机主:{{infoWindow.owner}}</p>
<p>终端类型:
<span v-show="infoWindow.terminalType === 1">主设备</span>
<span v-show="infoWindow.terminalType === 2">副设备</span>
</p>
<p>电话号码:{{infoWindow.phoneNumber}}</p>
<p>设备图片: <ImagePreview
:src="infoWindow.photo&&infoWindow.photo!=''?infoWindow.photo:'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png'"`
width="38px" height="38px"></ImagePreview>
</p>
</el-tab-pane>
</el-tabs>
<el-divider />
<el-row class="elrowbutton">
<el-button class="elbutton" :icon="View" @click="dianji(infoWindow)">预览</el-button>
</el-row>
</div>

```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant