无人机管理后台前端(已迁走)
张含笑
2025-06-13 6ec1ea2266b01f8743457bcbc2789eda5c2694da
src/hooks/components/EventPopUpBox.vue
@@ -9,7 +9,15 @@
      </div>
      <div class="content">
         <div class="medium">
        <!-- <img
          class="quanjing"
          @click="clickpanorama(infoList)"
          v-if="infoList?.resultType === 5"
          :src="infoList?.link"
          alt=""
        /> -->
            <el-image
               class="eventImage"
               :src="getSmallImg(infoList?.link)"
               :preview-src-list="[getSmallImg(infoList?.link)]"
@@ -34,16 +42,23 @@
            </div>
         </div>
      </div>
   </div>
      <!-- 全景预览 -->
    <!-- <PanoramaPopup
   class="quanjing"
      v-model:panoramaParamsShow="panoramaParamsShow"
      v-model:panoramaParamsUrl="panoramaParamsUrl"
    ></PanoramaPopup> -->
</template>
<script setup>
import { ElImage, ElIcon } from 'element-plus'
import { Close,Warning } from '@element-plus/icons-vue'
import _ from 'lodash'
import { ElImage, ElIcon } from 'element-plus';
import { Close, Warning } from '@element-plus/icons-vue';
import _ from 'lodash';
import { getShowImg, getSmallImg } from '@/utils/util';
const props = defineProps(['data', 'removeLabel','detailClick'])
const loading = ref(true)
const props = defineProps(['data', 'removeLabel', 'detailClick']);
const loading = ref(true);
import PanoramaPopup from '@/components/PanoramaPopup/PanoramaPopup.vue'; //全景
const info = ref({
   event_name: '',
   status: 1,
@@ -51,9 +66,15 @@
   longitude: '',
   latitude: '',
   create_time: '04/01 12:41',
})
const infoList = props.data
onMounted(async () => {})
});
const infoList = props.data;
const panoramaParamsShow = ref(false);
const panoramaParamsUrl = ref(null);
const clickpanorama = val => {
  panoramaParamsShow.value = true;
  panoramaParamsUrl.value = val.link;
};
onMounted(async () => {});
</script>
<style scoped lang="scss">