update: 新疆大屏
This commit is contained in:
@@ -31,9 +31,21 @@
|
||||
<script setup lang="ts">
|
||||
import { Vue3SeamlessScroll } from 'vue3-seamless-scroll';
|
||||
import { Empty } from 'ant-design-vue';
|
||||
import { ref } from 'vue';
|
||||
import { onMounted, ref } from 'vue';
|
||||
import hospitalPng from '/@/assets/indexSun/hospital.png';
|
||||
const scrollList = ref<any[]>([{}, {}, {}, {}, {}, {}, {}, {}]);
|
||||
import { threeLApi } from '/@/views/indexSun/indexSun.api.ts';
|
||||
const scrollList = ref<any[]>([]);
|
||||
onMounted(() => {
|
||||
getList();
|
||||
});
|
||||
function getList() {
|
||||
threeLApi({}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
console.log(res.result);
|
||||
scrollList.value = res.result;
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.three-new-l {
|
||||
|
||||
Reference in New Issue
Block a user