feat:完善首页

This commit is contained in:
zjc
2025-03-11 19:14:49 +08:00
parent 999d99b68c
commit 666549a430
17 changed files with 3 additions and 65 deletions

View File

@@ -1,58 +0,0 @@
let __unconfig_data;
let __unconfig_stub = function (data = {}) { __unconfig_data = data };
__unconfig_stub.default = (data = {}) => { __unconfig_data = data };
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
import AutoImport from 'unplugin-auto-import/vite'
import Components from 'unplugin-vue-components/vite'
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
// import vueDevTools from 'vite-plugin-vue-devtools'
// https://vite.dev/config/
const __unconfig_default = defineConfig({
plugins: [
vue(),
vueJsx(),
AutoImport({
imports: ['vue'],
dts: 'src/auto-import.d.ts',
resolvers: [ElementPlusResolver()]
}),
Components({
resolvers: [ElementPlusResolver()]
})
// vueDevTools(),
],
base: '/largeScreen/',
server: {
hmr: true,
host: '0.0.0.0'
// proxy: {
// '/': {
// // 目标服务器的地址
// target: 'http://36.138.38.16:8001',
// changeOrigin: true
// }
// }
},
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
},
extensions: ['.js', '.vue']
},
css: {
preprocessorOptions: {
scss: {
additionalData: '@use "@/styles/screen.scss" as *;',
javascriptEnabled: true
}
}
}
})
if (typeof __unconfig_default === "function") __unconfig_default(...[{"command":"serve","mode":"development"}]);export default __unconfig_data;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 MiB

After

Width:  |  Height:  |  Size: 6.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 479 KiB

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 555 KiB

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 518 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 415 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 691 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 599 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 360 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 MiB

After

Width:  |  Height:  |  Size: 7.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 708 KiB

After

Width:  |  Height:  |  Size: 281 KiB

View File

@@ -123,9 +123,7 @@
setOption(params) setOption(params)
} }
onMounted(() => { onMounted(() => {})
init()
})
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">

View File

@@ -2,7 +2,7 @@
<div class="video-box"> <div class="video-box">
<ul class="videos"> <ul class="videos">
<li class="video-item" v-for="item in 8" :key="item"> <li class="video-item" v-for="item in 8" :key="item">
<img src="@/assets/images/map-img-1.jpg" alt="" /> <img src="@/assets/images/four-t-1.png" alt="" />
<p> <p>
<span>核心路段这是一条信息说明</span> <span>核心路段这是一条信息说明</span>
</p> </p>

View File

@@ -1,9 +1,7 @@
<template> <template>
<!-- 安全检测 --> <!-- 安全检测 -->
<div class="box-1"> <div class="box-1">
<div class="detection-top"> <div class="detection-top"> </div>
<img class="map-img" src="@/assets/images/map-img-1.jpg" />
</div>
<div class="flex"> <div class="flex">
<div class="monitor"> <div class="monitor">
<div class="t-title"> <div class="t-title">