123456789101112131415161718192021 |
- <!-- 模型查看页面 -->
- <div class="main-view">
- <mynavbar :barData='navbar'/>
- <div id="mapDiv" ref="webgl"></div>
- <canvas id="canvas_webgl" type="webgl" ref="glcanvas" width="100vw" height="100vh"></canvas>
- <div v-show="showLables && gltf.text.length>0" v-for="(gltf,index) in lableItem" :key="index" class="word-view"
- :style="{'transform':gltf.transform}">
- <span user-select="false">{{gltf.text}}</span>
- </div>
- <!-- 楼层 -->
- <div class="floor-view" v-if="floorList&&floorList.length>1">
- <div class="floor-item rows justify-center" :class="floorId==floor.layoutId?'active':''"
- v-for="(floor,index) in floorList" :key="index" @click="floorChange(floor)">
- {{floor.houseFloor?floor.houseFloor+'F':''}}
- </div>
- </div>
- <!-- 定位视图 -->
- <div class="location-view rows justify-center" @click.stop="locationHandle">
- <span class="iconfont icon-pipei" style="color: #000;font-size: 44rpx;"></span>
- </div>
- </div>
|