| | |
| | | |
| | | <script setup> |
| | | import { onMounted, reactive, ref } from 'vue' |
| | | import lbPng from '@/static/images/lbt.png' |
| | | import lbPng1 from '@/static/images/lbt1.png' |
| | | import lbPng2 from '@/static/images/lbt2.png' |
| | | import lbPng3 from '@/static/images/lbt3.png' |
| | | import kyxxPng from '@/static/images/kyxx.png' |
| | | import fxsqPng from '@/static/images/fxsq.png' |
| | | import flfgPng from '@/static/images/flfg.png' |
| | |
| | | import { useAppStore } from "@/store"; |
| | | const appStore = useAppStore() |
| | | |
| | | const lbList = reactive([]); |
| | | // lbPng 轮播图 5次 |
| | | for (let i = 0; i < 5; i++) { |
| | | lbList.push({ |
| | | image: lbPng, |
| | | const lbList = reactive([ |
| | | { |
| | | image: lbPng1, |
| | | title: '法律政策', |
| | | link: '/pages/legalPolicy/index', |
| | | }) |
| | | } |
| | | }, |
| | | { |
| | | image: lbPng2, |
| | | title: '法律政策', |
| | | link: '/pages/legalPolicy/index', |
| | | }, |
| | | { |
| | | image: lbPng3, |
| | | title: '法律政策', |
| | | link: '/pages/legalPolicy/index', |
| | | }, |
| | | ]); |
| | | // lbPng 轮播图 5次 |
| | | // for (let i = 0; i < 5; i++) { |
| | | // lbList.push({ |
| | | // image: lbPng, |
| | | // title: '法律政策', |
| | | // link: '/pages/legalPolicy/index', |
| | | // }) |
| | | // } |
| | | |
| | | // const change = (index) => { |
| | | // console.log('轮播图切换到第', index + 1, '张'); |