【前端】智能库房综合管理系统前端项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.6 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. <template>
  2. <div class="warehouse">
  3. <div class="warehouse-left">
  4. <div class="left-3d">
  5. <h2 class="title-arrow">
  6. 3D库房
  7. </h2>
  8. <iframe
  9. ref="iframe"
  10. class="iframe_box"
  11. src="/webTotal/index.html"
  12. frameborder="0"
  13. scrolling="no"
  14. />
  15. </div>
  16. </div>
  17. <warehouse-warning :width="'458px'" :height="'calc(100% - 40px)'" />
  18. </div>
  19. </template>
  20. <script>
  21. import WarehouseWarning from '@/views/components/WarehouseWarning'
  22. export default {
  23. name: 'FullView',
  24. components: { WarehouseWarning },
  25. data() {
  26. return {
  27. cameraNameId: null
  28. }
  29. },
  30. mounted() {
  31. // 监听'全景图' iframe 获取摄像头name得id
  32. // window.addEventListener('message', this.handleMessageCamera)
  33. },
  34. methods: {
  35. // handleMessageCamera(event) {
  36. // const _this = this
  37. // if (event.data && event.data.data) {
  38. // const data = event.data.data
  39. // _this.cameraNameId = data
  40. // }
  41. // },
  42. destroyed() {
  43. window.removeEventListener('message', this.handleMessageCamera)
  44. }
  45. }
  46. }
  47. </script>
  48. <style lang="scss" scoped>
  49. @import '~@/assets/styles/lend-manage.scss';
  50. .warehouse-left{
  51. position: relative;
  52. h2{
  53. // position: absolute;
  54. // left: 50%;
  55. // top: 0;
  56. // transform: translateX(-50%);
  57. display: block;
  58. width: 460px !important;
  59. color: #fff;
  60. font-size: 16px;
  61. text-align: center;
  62. margin: 0 auto;
  63. }
  64. }
  65. </style>