新增招标文件
28
.gitignore
vendored
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# Logs
|
||||||
|
logs
|
||||||
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
pnpm-debug.log*
|
||||||
|
lerna-debug.log*
|
||||||
|
|
||||||
|
node_modules
|
||||||
|
.DS_Store
|
||||||
|
dist
|
||||||
|
dist-ssr
|
||||||
|
coverage
|
||||||
|
*.local
|
||||||
|
|
||||||
|
/cypress/videos/
|
||||||
|
/cypress/screenshots/
|
||||||
|
|
||||||
|
# Editor directories and files
|
||||||
|
.vscode/*
|
||||||
|
!.vscode/extensions.json
|
||||||
|
.idea
|
||||||
|
*.suo
|
||||||
|
*.ntvs*
|
||||||
|
*.njsproj
|
||||||
|
*.sln
|
||||||
|
*.sw?
|
||||||
3
.vscode/extensions.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
|
||||||
|
}
|
||||||
35
README.md
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
# sgy-www
|
||||||
|
|
||||||
|
This template should help get you started developing with Vue 3 in Vite.
|
||||||
|
|
||||||
|
## Recommended IDE Setup
|
||||||
|
|
||||||
|
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
||||||
|
|
||||||
|
## Customize configuration
|
||||||
|
|
||||||
|
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
||||||
|
|
||||||
|
## Project Setup
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm install
|
||||||
|
```
|
||||||
|
|
||||||
|
### Compile and Hot-Reload for Development
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm run dev
|
||||||
|
```
|
||||||
|
|
||||||
|
### Compile and Minify for Production
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm run build
|
||||||
|
```
|
||||||
|
|
||||||
|
### Run Unit Tests with [Vitest](https://vitest.dev/)
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm run test:unit
|
||||||
|
```
|
||||||
17
index.html
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<link rel="icon" href="/favicon.ico">
|
||||||
|
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||||
|
<meta name="keyword" contect="水感应,水感应官网,水感应喷雾,水感应美妆健康,水感应健康,美妆健康">
|
||||||
|
<meta name="description" contect="水感应(深圳)美妆健康管理有限公司,水感应官网,水感应喷雾,水感应美妆健康,水感应健康,美妆健康">
|
||||||
|
<meta name="format-detection" content="telephone=no">
|
||||||
|
<title>水感应</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="app"></div>
|
||||||
|
<script type="module" src="/src/main.js"></script>
|
||||||
|
<script charset="utf-8" src="https://map.qq.com/api/js?v=2.exp&key=MDGBZ-WDNC4-P6EUO-DOPPE-JAMMJ-ZNBA4"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
2039
package-lock.json
generated
Normal file
24
package.json
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"name": "sgy-www",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"private": true,
|
||||||
|
"scripts": {
|
||||||
|
"dev": "vite",
|
||||||
|
"build": "vite build",
|
||||||
|
"preview": "vite preview",
|
||||||
|
"test:unit": "vitest"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"vue": "^3.2.47",
|
||||||
|
"vue-router": "^4.1.6",
|
||||||
|
"vue3-video-play": "^1.3.1-beta.6"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@craco/craco": "^7.1.0",
|
||||||
|
"@vitejs/plugin-vue": "^4.0.0",
|
||||||
|
"@vue/test-utils": "^2.3.0",
|
||||||
|
"jsdom": "^21.1.0",
|
||||||
|
"vite": "^4.1.4",
|
||||||
|
"vitest": "^0.29.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
public/favicon.ico
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
56
src/App.vue
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
<script setup>
|
||||||
|
import { RouterLink, RouterView } from 'vue-router'
|
||||||
|
import Footer from "@/components/Footer.vue";
|
||||||
|
import { onMounted } from "vue";
|
||||||
|
import Header from "@/components/Header.vue";
|
||||||
|
onMounted(() => {
|
||||||
|
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {}
|
||||||
|
},
|
||||||
|
|
||||||
|
mounted () {
|
||||||
|
// 根据不同路由跳转不同页面
|
||||||
|
let goUrl = this.isMobile();
|
||||||
|
if (goUrl === 1) {
|
||||||
|
this.$router.push({path: '/'})
|
||||||
|
}else{
|
||||||
|
//pc地址
|
||||||
|
location ='https://www.shuiganying.com';
|
||||||
|
}
|
||||||
|
|
||||||
|
// if (this._isMobile() != null && window.location.href.indexOf('/h5') < 0) {
|
||||||
|
// window.location.href="https://www.shuiganying.com/h5/"
|
||||||
|
// } else {
|
||||||
|
// window.location.href="https://www.shuiganying.com/"
|
||||||
|
// }
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
isMobile(){
|
||||||
|
let flag = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i);
|
||||||
|
localStorage.setItem('ismobile',flag?1:0);
|
||||||
|
let goUrl = flag ? 1 : 0;
|
||||||
|
return goUrl;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<Header/>
|
||||||
|
<RouterView />
|
||||||
|
<Footer />
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
header {
|
||||||
|
line-height: 1.5;
|
||||||
|
max-height: 100vh;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
74
src/assets/base.css
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
/* color palette from <https://github.com/vuejs/theme> */
|
||||||
|
:root {
|
||||||
|
--vt-c-white: #ffffff;
|
||||||
|
--vt-c-white-soft: #f8f8f8;
|
||||||
|
--vt-c-white-mute: #f2f2f2;
|
||||||
|
|
||||||
|
--vt-c-black: #181818;
|
||||||
|
--vt-c-black-soft: #222222;
|
||||||
|
--vt-c-black-mute: #282828;
|
||||||
|
|
||||||
|
--vt-c-indigo: #2c3e50;
|
||||||
|
|
||||||
|
--vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
|
||||||
|
--vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
|
||||||
|
--vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
|
||||||
|
--vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
|
||||||
|
|
||||||
|
--vt-c-text-light-1: var(--vt-c-indigo);
|
||||||
|
--vt-c-text-light-2: rgba(60, 60, 60, 0.66);
|
||||||
|
--vt-c-text-dark-1: var(--vt-c-white);
|
||||||
|
--vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* semantic color variables for this project */
|
||||||
|
:root {
|
||||||
|
--color-background: var(--vt-c-white);
|
||||||
|
--color-background-soft: var(--vt-c-white-soft);
|
||||||
|
--color-background-mute: var(--vt-c-white-mute);
|
||||||
|
|
||||||
|
--color-border: var(--vt-c-divider-light-2);
|
||||||
|
--color-border-hover: var(--vt-c-divider-light-1);
|
||||||
|
|
||||||
|
--color-heading: var(--vt-c-text-light-1);
|
||||||
|
--color-text: var(--vt-c-text-light-1);
|
||||||
|
|
||||||
|
--section-gap: 160px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
:root {
|
||||||
|
--color-background: var(--vt-c-black);
|
||||||
|
--color-background-soft: var(--vt-c-black-soft);
|
||||||
|
--color-background-mute: var(--vt-c-black-mute);
|
||||||
|
|
||||||
|
--color-border: var(--vt-c-divider-dark-2);
|
||||||
|
--color-border-hover: var(--vt-c-divider-dark-1);
|
||||||
|
|
||||||
|
--color-heading: var(--vt-c-text-dark-1);
|
||||||
|
--color-text: var(--vt-c-text-dark-2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
*,
|
||||||
|
*::before,
|
||||||
|
*::after {
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin: 0;
|
||||||
|
position: relative;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
min-height: 100vh;
|
||||||
|
color: var(--color-text);
|
||||||
|
background: var(--color-background);
|
||||||
|
transition: color 0.5s, background-color 0.5s;
|
||||||
|
line-height: 1.6;
|
||||||
|
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
|
||||||
|
Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
||||||
|
font-size: 15px;
|
||||||
|
text-rendering: optimizeLegibility;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
}
|
||||||
1
src/assets/logo.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
|
||||||
|
After Width: | Height: | Size: 276 B |
13
src/assets/main.css
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
@import './base.css';
|
||||||
|
|
||||||
|
a { text-decoration: none; transition: all .3s; }
|
||||||
|
|
||||||
|
/*@media (hover: hover) {*/
|
||||||
|
/* a:hover {*/
|
||||||
|
/* background-color: hsla(160, 100%, 37%, 0.2);*/
|
||||||
|
/* }*/
|
||||||
|
/*}*/
|
||||||
|
/*
|
||||||
|
@media (min-width: 1024px) {
|
||||||
|
.content{ width: 1080px; margin: 0 auto; }
|
||||||
|
} */
|
||||||
94
src/components/Footer.vue
Normal file
@@ -0,0 +1,94 @@
|
|||||||
|
|
||||||
|
<script setup>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="code">
|
||||||
|
<img class="codeImg" src="@/static/mobile/codeBack.png" alt="" />
|
||||||
|
<div class="codeCont">
|
||||||
|
<img class="codeCont-img" src="@/static/code.jpg" alt="" />
|
||||||
|
<div class="codeCont-text">扫码关注了解更多</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="footer">
|
||||||
|
<div class="footerTop">
|
||||||
|
<span>联系方式:13542083986</span>
|
||||||
|
<span>邮箱:yy_sykl@126.com </span>
|
||||||
|
<span>地址:深圳市南山区西丽街道曙光社区茶光路1044号波顿科技园二期A2201</span>
|
||||||
|
<img class="footerTop-img" src="@/static/footer.png" alt="">
|
||||||
|
</div>
|
||||||
|
<div class="footerDown">
|
||||||
|
<span>版权所有 © 水感应(深圳)美妆健康管理有限公司</span>
|
||||||
|
<span>粤ICP备2022131235号-2</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.code {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
padding-top: 63%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.codeImg {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.codeCont {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
bottom: calc(50% - 60px);
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.codeCont-img {
|
||||||
|
width: 98px;
|
||||||
|
height: 98px;
|
||||||
|
border-radius: 5px;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.codeCont-text {
|
||||||
|
font-size: 12px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footerTop {
|
||||||
|
background-color: #0b499c;
|
||||||
|
width: 100%;
|
||||||
|
padding: 15px 30px 40px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
color: white;
|
||||||
|
font-size: 14px;
|
||||||
|
position: relative;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footerTop-img {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 30px;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footerTop span,
|
||||||
|
.footerDown span {
|
||||||
|
display: block;
|
||||||
|
line-height: 26px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footerDown {
|
||||||
|
font-size: 13px;
|
||||||
|
padding: 10px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
165
src/components/Header.vue
Normal file
@@ -0,0 +1,165 @@
|
|||||||
|
<template>
|
||||||
|
<div class="header">
|
||||||
|
<div class="headerTop">
|
||||||
|
<img class="headerTop-logo" src="@/static/logo.png" alt="" />
|
||||||
|
<img class="headerTop-nav" src="@/static/navIcon.png" alt="" @click="navClick" />
|
||||||
|
</div>
|
||||||
|
<div class="headerFlex" :class="navShow ? 'active' : ''">
|
||||||
|
<div class="headerFlex-item" @click="changeClick(index, item.path)" v-for="(item, index) in navList"
|
||||||
|
:class="index == selectIndex ? 'show' : ''">{{ item.name }}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="headerBack" :class="navShow ? 'active' : ''"></div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
props: {
|
||||||
|
selectIndex: Number
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
navShow : false,
|
||||||
|
selectIndex: 0,
|
||||||
|
navList: [{
|
||||||
|
name: '首页',
|
||||||
|
path: '/'
|
||||||
|
}, {
|
||||||
|
name: '水感应喷雾',
|
||||||
|
path: '/spray'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "ONLY WATER",
|
||||||
|
path: '/only'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "妆容服帖秘籍",
|
||||||
|
path: '/secret'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "危肌特工队",
|
||||||
|
path: '/team'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "皮肤研究中心",
|
||||||
|
path: '/center'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "关于水感应",
|
||||||
|
path: '/about'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "招标文件",
|
||||||
|
path: '/tenders'
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
console.log(this.selectIndex)
|
||||||
|
this.selectIndex = 0
|
||||||
|
// if (localStorage.getItem("selectIndex") != null) {
|
||||||
|
// this.selectIndex = localStorage.getItem("selectIndex")
|
||||||
|
// } else {
|
||||||
|
// this.selectIndex = 0
|
||||||
|
// }
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
changeClick(index, path) {
|
||||||
|
this.selectIndex = index
|
||||||
|
// localStorage.setItem("selectIndex", index);//保存数据
|
||||||
|
this.$router.push({
|
||||||
|
path: path,
|
||||||
|
query: index
|
||||||
|
})
|
||||||
|
|
||||||
|
this.navShow = false
|
||||||
|
|
||||||
|
document.body.scrollTop = 50;
|
||||||
|
},
|
||||||
|
|
||||||
|
navClick() {
|
||||||
|
this.navShow = !this.navShow
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
.header {
|
||||||
|
background-color: white;
|
||||||
|
width: 100%;
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
z-index: 999;
|
||||||
|
height: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headerTop-nav {
|
||||||
|
position: absolute;
|
||||||
|
width: 24px;
|
||||||
|
height: 24px;
|
||||||
|
right: 20px;
|
||||||
|
top: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headerTop {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 60px;
|
||||||
|
text-align: center;
|
||||||
|
box-shadow: 0 0 4px rgba(0, 0, 0, .1);
|
||||||
|
background-color: white;
|
||||||
|
z-index: 1999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headerTop-logo {
|
||||||
|
width: 56px;
|
||||||
|
height: 56px;
|
||||||
|
margin-top: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headerFlex {
|
||||||
|
width: 100%;
|
||||||
|
background-color: white;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
padding: 6px 20px 8px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
top: -1000%;
|
||||||
|
z-index: 900;
|
||||||
|
transition: .5s;
|
||||||
|
}
|
||||||
|
.headerFlex.active {
|
||||||
|
top: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headerFlex-item {
|
||||||
|
line-height: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headerFlex-item.show {
|
||||||
|
color: #0b49a0;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headerBack {
|
||||||
|
position: fixed;
|
||||||
|
z-index: -1;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
background-color: rgba(0, 0, 0, .4);
|
||||||
|
width: 100vw;
|
||||||
|
height: 100vh;
|
||||||
|
opacity: 0;
|
||||||
|
transition: .2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headerBack.active {
|
||||||
|
opacity: 1;
|
||||||
|
z-index: 99;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
</style>
|
||||||
43
src/components/HelloWorld.vue
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
<script setup>
|
||||||
|
defineProps({
|
||||||
|
msg: {
|
||||||
|
type: String,
|
||||||
|
required: true
|
||||||
|
}
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="greetings">
|
||||||
|
<h1 class="green">{{ msg }}</h1>
|
||||||
|
<h3>
|
||||||
|
You’ve successfully created a project with
|
||||||
|
<a href="https://vitejs.dev/" target="_blank" rel="noopener">Vite</a> +
|
||||||
|
<a href="https://vuejs.org/" target="_blank" rel="noopener">Vue 3</a>.
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
h1 {
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 2.6rem;
|
||||||
|
top: -10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.greetings h1,
|
||||||
|
.greetings h3 {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1024px) {
|
||||||
|
.greetings h1,
|
||||||
|
.greetings h3 {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
85
src/components/WelcomeItem.vue
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
<template>
|
||||||
|
<div class="item">
|
||||||
|
<i>
|
||||||
|
<slot name="icon"></slot>
|
||||||
|
</i>
|
||||||
|
<div class="details">
|
||||||
|
<h3>
|
||||||
|
<slot name="heading"></slot>
|
||||||
|
</h3>
|
||||||
|
<slot></slot>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.item {
|
||||||
|
margin-top: 2rem;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.details {
|
||||||
|
flex: 1;
|
||||||
|
margin-left: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
i {
|
||||||
|
display: flex;
|
||||||
|
place-items: center;
|
||||||
|
place-content: center;
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-bottom: 0.4rem;
|
||||||
|
color: var(--color-heading);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1024px) {
|
||||||
|
.item {
|
||||||
|
margin-top: 0;
|
||||||
|
padding: 0.4rem 0 1rem calc(var(--section-gap) / 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
i {
|
||||||
|
top: calc(50% - 25px);
|
||||||
|
left: -26px;
|
||||||
|
position: absolute;
|
||||||
|
border: 1px solid var(--color-border);
|
||||||
|
background: var(--color-background);
|
||||||
|
border-radius: 8px;
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item:before {
|
||||||
|
content: ' ';
|
||||||
|
border-left: 1px solid var(--color-border);
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
bottom: calc(50% + 25px);
|
||||||
|
height: calc(50% - 25px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.item:after {
|
||||||
|
content: ' ';
|
||||||
|
border-left: 1px solid var(--color-border);
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: calc(50% + 25px);
|
||||||
|
height: calc(50% - 25px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.item:first-of-type:before {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item:last-of-type:after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
11
src/components/__tests__/HelloWorld.spec.js
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
import { describe, it, expect } from 'vitest'
|
||||||
|
|
||||||
|
import { mount } from '@vue/test-utils'
|
||||||
|
import HelloWorld from '../HelloWorld.vue'
|
||||||
|
|
||||||
|
describe('HelloWorld', () => {
|
||||||
|
it('renders properly', () => {
|
||||||
|
const wrapper = mount(HelloWorld, { props: { msg: 'Hello Vitest' } })
|
||||||
|
expect(wrapper.text()).toContain('Hello Vitest')
|
||||||
|
})
|
||||||
|
})
|
||||||
7
src/components/icons/IconCommunity.vue
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<template>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
|
||||||
|
<path
|
||||||
|
d="M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</template>
|
||||||
7
src/components/icons/IconDocumentation.vue
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<template>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" fill="currentColor">
|
||||||
|
<path
|
||||||
|
d="M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</template>
|
||||||
7
src/components/icons/IconEcosystem.vue
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<template>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" fill="currentColor">
|
||||||
|
<path
|
||||||
|
d="M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</template>
|
||||||
7
src/components/icons/IconSupport.vue
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<template>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
|
||||||
|
<path
|
||||||
|
d="M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</template>
|
||||||
19
src/components/icons/IconTooling.vue
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
<!-- This icon is from <https://github.com/Templarian/MaterialDesign>, distributed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) license-->
|
||||||
|
<template>
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
aria-hidden="true"
|
||||||
|
role="img"
|
||||||
|
class="iconify iconify--mdi"
|
||||||
|
width="24"
|
||||||
|
height="24"
|
||||||
|
preserveAspectRatio="xMidYMid meet"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z"
|
||||||
|
fill="currentColor"
|
||||||
|
></path>
|
||||||
|
</svg>
|
||||||
|
</template>
|
||||||
18
src/main.js
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
import { createApp } from 'vue'
|
||||||
|
import App from './App.vue'
|
||||||
|
import router from './router'
|
||||||
|
|
||||||
|
import './assets/main.css'
|
||||||
|
|
||||||
|
const getImageUrl = (path) => {
|
||||||
|
return new URL(`./static/${path}`, import.meta.url).href
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const app = createApp(App)
|
||||||
|
|
||||||
|
app.use(router)
|
||||||
|
|
||||||
|
app.config.globalProperties.$url = getImageUrl
|
||||||
|
|
||||||
|
app.mount('#app')
|
||||||
51
src/router/index.js
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
import { createRouter, createWebHistory } from 'vue-router'
|
||||||
|
import HomeView from '../views/HomeView.vue'
|
||||||
|
|
||||||
|
const router = createRouter({
|
||||||
|
history: createWebHistory(import.meta.env.BASE_URL),
|
||||||
|
// history: createWebHistory(import.meta.env.BASE_URL),
|
||||||
|
routes: [
|
||||||
|
{
|
||||||
|
path: '/',
|
||||||
|
name: 'home',
|
||||||
|
component: HomeView
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/spray',
|
||||||
|
name: 'spray',
|
||||||
|
component: () => import('../views/sprayView.vue')
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/only',
|
||||||
|
name: 'only',
|
||||||
|
component: () => import('../views/OnlyView.vue')
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/secret',
|
||||||
|
name: 'secret',
|
||||||
|
component: () => import('../views/secretView.vue')
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/team',
|
||||||
|
name: 'team',
|
||||||
|
component: () => import('../views/teamView.vue')
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/center',
|
||||||
|
name: 'center',
|
||||||
|
component: () => import('../views/centerView.vue')
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/about',
|
||||||
|
name: 'about',
|
||||||
|
component: () => import('../views/aboutView.vue')
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/tenders',
|
||||||
|
name: 'tenders',
|
||||||
|
component: () => import('../views/tendersView.vue')
|
||||||
|
}
|
||||||
|
]
|
||||||
|
})
|
||||||
|
|
||||||
|
export default router
|
||||||
BIN
src/static/code.jpg
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
src/static/footer.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
src/static/logo.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
src/static/mobile/aboutImg01.png
Normal file
|
After Width: | Height: | Size: 365 KiB |
BIN
src/static/mobile/aboutImg02.png
Normal file
|
After Width: | Height: | Size: 901 KiB |
BIN
src/static/mobile/aboutImg03.png
Normal file
|
After Width: | Height: | Size: 518 KiB |
BIN
src/static/mobile/aboutImg04.png
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
BIN
src/static/mobile/aboutImg05.png
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
BIN
src/static/mobile/centerImg01.png
Normal file
|
After Width: | Height: | Size: 65 KiB |
BIN
src/static/mobile/centerImg02.png
Normal file
|
After Width: | Height: | Size: 141 KiB |
BIN
src/static/mobile/centerImg03.png
Normal file
|
After Width: | Height: | Size: 363 KiB |
BIN
src/static/mobile/codeBack.png
Normal file
|
After Width: | Height: | Size: 195 KiB |
BIN
src/static/mobile/index01.png
Normal file
|
After Width: | Height: | Size: 764 KiB |
BIN
src/static/mobile/index02.png
Normal file
|
After Width: | Height: | Size: 631 KiB |
BIN
src/static/mobile/index03.png
Normal file
|
After Width: | Height: | Size: 764 KiB |
BIN
src/static/mobile/index04.png
Normal file
|
After Width: | Height: | Size: 696 KiB |
BIN
src/static/mobile/index05.png
Normal file
|
After Width: | Height: | Size: 652 KiB |
BIN
src/static/mobile/index06.png
Normal file
|
After Width: | Height: | Size: 771 KiB |
BIN
src/static/mobile/index07.png
Normal file
|
After Width: | Height: | Size: 444 KiB |
BIN
src/static/mobile/onlyImg01.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
src/static/mobile/onlyImg02.png
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
src/static/mobile/onlyImg03.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
src/static/mobile/onlyImg04.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
src/static/mobile/secretImg01.png
Normal file
|
After Width: | Height: | Size: 208 KiB |
BIN
src/static/mobile/secretImg02.png
Normal file
|
After Width: | Height: | Size: 608 KiB |
BIN
src/static/mobile/secretImg03.png
Normal file
|
After Width: | Height: | Size: 599 KiB |
BIN
src/static/mobile/secretImg04.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
src/static/mobile/secretImg05.png
Normal file
|
After Width: | Height: | Size: 642 KiB |
BIN
src/static/mobile/secretImg06.png
Normal file
|
After Width: | Height: | Size: 649 KiB |
BIN
src/static/mobile/secretImg07.png
Normal file
|
After Width: | Height: | Size: 362 KiB |
BIN
src/static/mobile/secretImg08.png
Normal file
|
After Width: | Height: | Size: 763 B |
BIN
src/static/mobile/sprayImg01.png
Normal file
|
After Width: | Height: | Size: 951 KiB |
BIN
src/static/mobile/sprayImg02.png
Normal file
|
After Width: | Height: | Size: 961 KiB |
BIN
src/static/mobile/sprayImg03.png
Normal file
|
After Width: | Height: | Size: 985 KiB |
BIN
src/static/mobile/sprayImg04.png
Normal file
|
After Width: | Height: | Size: 977 KiB |
BIN
src/static/mobile/sprayImg05.png
Normal file
|
After Width: | Height: | Size: 872 KiB |
BIN
src/static/mobile/sprayImg06.png
Normal file
|
After Width: | Height: | Size: 3.3 MiB |
BIN
src/static/mobile/sprayImg_02.png
Normal file
|
After Width: | Height: | Size: 782 B |
BIN
src/static/mobile/teamImg01.png
Normal file
|
After Width: | Height: | Size: 101 KiB |
BIN
src/static/mobile/teamImg02.png
Normal file
|
After Width: | Height: | Size: 100 KiB |
BIN
src/static/mobile/teamImg03.png
Normal file
|
After Width: | Height: | Size: 300 KiB |
BIN
src/static/mobile/teamImg04.png
Normal file
|
After Width: | Height: | Size: 299 KiB |
BIN
src/static/mobile/teamImg05.png
Normal file
|
After Width: | Height: | Size: 264 KiB |
BIN
src/static/mobile/tendersImg.png
Normal file
|
After Width: | Height: | Size: 703 KiB |
BIN
src/static/navIcon.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
src/static/video-1.mp4
Normal file
BIN
src/static/video.mp4
Normal file
91
src/views/HomeView.vue
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
<script setup>
|
||||||
|
import "vue3-video-play/dist/style.css";
|
||||||
|
import { videoPlay } from "vue3-video-play";
|
||||||
|
import { onMounted, reactive } from "vue"
|
||||||
|
import videoSrc from "@/static/video-1.mp4"
|
||||||
|
component: {
|
||||||
|
videoPlay
|
||||||
|
}
|
||||||
|
|
||||||
|
const options = reactive({
|
||||||
|
id: 'vvv',
|
||||||
|
width: '100%',
|
||||||
|
height: '180px',
|
||||||
|
src: videoSrc,
|
||||||
|
type: 'video/MP4',
|
||||||
|
control: true
|
||||||
|
})
|
||||||
|
|
||||||
|
const onplay = () => {
|
||||||
|
console.log('播放一下视频')
|
||||||
|
}
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
window.scrollTo(0, 0)
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<main>
|
||||||
|
<div class="indexCont">
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/index01.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/index02.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/index03.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/index04.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/index05.png" alt="" />
|
||||||
|
<div class="indexCont-vieo">
|
||||||
|
<img class="indexCont-vieo-img" src="@/static/mobile/index06.png" alt="" />
|
||||||
|
<div class="indexCont-vieo-see">
|
||||||
|
<div class="indexCont-vieo-Play">
|
||||||
|
<videoPlay
|
||||||
|
style="margin: 0 auto;"
|
||||||
|
v-bind="options"
|
||||||
|
poster="https://sgy-www.oss-cn-hangzhou.aliyuncs.com/video.84e61354.png"
|
||||||
|
@play="onplay()"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/index07.png" alt="" />
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.indexCont {
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indexCont-img {
|
||||||
|
width: 100%;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indexCont-vieo {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
padding-top: 164%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indexCont-vieo-img {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indexCont-vieo-see {
|
||||||
|
width: 90%;
|
||||||
|
position: absolute;
|
||||||
|
left: 5%;
|
||||||
|
bottom: 28%;
|
||||||
|
padding: 0 20px 35px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indexCont-vieo-Play {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
25
src/views/OnlyView.vue
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
<script setup>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<main>
|
||||||
|
<div class="indexCont">
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/onlyImg01.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/onlyImg02.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/onlyImg03.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/onlyImg04.png" alt="" />
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.indexCont {
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indexCont-img {
|
||||||
|
width: 100%;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
64
src/views/aboutView.vue
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
<script setup>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<main>
|
||||||
|
<div class="indexCont">
|
||||||
|
<div class="sprayTop">
|
||||||
|
<img class="sprayTop-img" src="@/static/mobile/aboutImg01.png" alt="" />
|
||||||
|
<img class="sprayTop-arrow" src="@/static/mobile/sprayImg_02.png" alt="" />
|
||||||
|
</div>
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/aboutImg02.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/aboutImg03.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/aboutImg04.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/aboutImg05.png" alt="" />
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.indexCont {
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indexCont-img {
|
||||||
|
width: 100%;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sprayTop {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
padding-top: 68%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sprayTop-img {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sprayTop-arrow {
|
||||||
|
width: 18px;
|
||||||
|
position: absolute;
|
||||||
|
left: calc(50% - 9px);
|
||||||
|
bottom: 2%;
|
||||||
|
animation: bounce-down 2s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes bounce-down {
|
||||||
|
25% {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
50%,
|
||||||
|
100% {
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
75% {
|
||||||
|
transform: translateY(2px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
85
src/views/centerView.vue
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
<script setup>
|
||||||
|
import "vue3-video-play/dist/style.css";
|
||||||
|
import { videoPlay } from "vue3-video-play";
|
||||||
|
import { onMounted, reactive } from "vue"
|
||||||
|
import videoSrc from "@/static/video-1.mp4"
|
||||||
|
component: {
|
||||||
|
videoPlay
|
||||||
|
}
|
||||||
|
|
||||||
|
const options = reactive({
|
||||||
|
id: 'vvv',
|
||||||
|
width: '100%',
|
||||||
|
height: '200px',
|
||||||
|
src: videoSrc,
|
||||||
|
control: true
|
||||||
|
})
|
||||||
|
|
||||||
|
const onplay = () => {
|
||||||
|
console.log('播放一下视频')
|
||||||
|
}
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
window.scrollTo(0, 0)
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<main>
|
||||||
|
<div class="indexCont">
|
||||||
|
<div class="sprayTop">
|
||||||
|
<img class="sprayTop-img" src="@/static/mobile/centerImg01.png" alt="" />
|
||||||
|
<img class="sprayTop-arrow" src="@/static/mobile/secretImg08.png" alt="" />
|
||||||
|
</div>
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/centerImg02.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/centerImg03.png" alt="" />
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.indexCont {
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indexCont-img {
|
||||||
|
width: 100%;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sprayTop {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
padding-top: 57%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sprayTop-img {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sprayTop-arrow {
|
||||||
|
width: 18px;
|
||||||
|
position: absolute;
|
||||||
|
left: calc(50% - 9px);
|
||||||
|
bottom: 2%;
|
||||||
|
animation: bounce-down 2s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes bounce-down {
|
||||||
|
25% {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
50%,
|
||||||
|
100% {
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
75% {
|
||||||
|
transform: translateY(2px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
89
src/views/secretView.vue
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
<script setup>
|
||||||
|
import "vue3-video-play/dist/style.css";
|
||||||
|
import { videoPlay } from "vue3-video-play";
|
||||||
|
import { onMounted, reactive } from "vue"
|
||||||
|
import videoSrc from "@/static/video-1.mp4"
|
||||||
|
component: {
|
||||||
|
videoPlay
|
||||||
|
}
|
||||||
|
|
||||||
|
const options = reactive({
|
||||||
|
id: 'vvv',
|
||||||
|
width: '100%',
|
||||||
|
height: '200px',
|
||||||
|
src: videoSrc,
|
||||||
|
control: true
|
||||||
|
})
|
||||||
|
|
||||||
|
const onplay = () => {
|
||||||
|
console.log('播放一下视频')
|
||||||
|
}
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
window.scrollTo(0, 0)
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<main>
|
||||||
|
<div class="indexCont">
|
||||||
|
<div class="sprayTop">
|
||||||
|
<img class="sprayTop-img" src="@/static/mobile/secretImg01.png" alt="" />
|
||||||
|
<img class="sprayTop-arrow" src="@/static/mobile/secretImg08.png" alt="" />
|
||||||
|
</div>
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/secretImg02.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/secretImg03.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/secretImg04.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/secretImg05.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/secretImg06.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/secretImg07.png" alt="" />
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.indexCont {
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indexCont-img {
|
||||||
|
width: 100%;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sprayTop {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
padding-top: 61%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sprayTop-img {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sprayTop-arrow {
|
||||||
|
width: 22px;
|
||||||
|
position: absolute;
|
||||||
|
left: calc(50% - 11px);
|
||||||
|
bottom: 2%;
|
||||||
|
animation: bounce-down 2s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes bounce-down {
|
||||||
|
25% {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
50%,
|
||||||
|
100% {
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
75% {
|
||||||
|
transform: translateY(2px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
88
src/views/sprayView.vue
Normal file
@@ -0,0 +1,88 @@
|
|||||||
|
<script setup>
|
||||||
|
import "vue3-video-play/dist/style.css";
|
||||||
|
import { videoPlay } from "vue3-video-play";
|
||||||
|
import { onMounted, reactive } from "vue"
|
||||||
|
import videoSrc from "@/static/video-1.mp4"
|
||||||
|
component: {
|
||||||
|
videoPlay
|
||||||
|
}
|
||||||
|
|
||||||
|
const options = reactive({
|
||||||
|
id: 'vvv',
|
||||||
|
width: '100%',
|
||||||
|
height: '200px',
|
||||||
|
src: videoSrc,
|
||||||
|
control: true
|
||||||
|
})
|
||||||
|
|
||||||
|
const onplay = () => {
|
||||||
|
console.log('播放一下视频')
|
||||||
|
}
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
window.scrollTo(0, 0)
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<main>
|
||||||
|
<div class="indexCont">
|
||||||
|
<div class="sprayTop">
|
||||||
|
<img class="sprayTop-img" src="@/static/mobile/sprayImg01.png" alt="" />
|
||||||
|
<img class="sprayTop-arrow" src="@/static/mobile/sprayImg_02.png" alt="" />
|
||||||
|
</div>
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/sprayImg02.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/sprayImg03.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/sprayImg04.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/sprayImg05.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/sprayImg06.png" alt="" />
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.indexCont {
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indexCont-img {
|
||||||
|
width: 100%;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sprayTop {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
padding-top: 84%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sprayTop-img {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sprayTop-arrow {
|
||||||
|
width: 28px;
|
||||||
|
position: absolute;
|
||||||
|
left: calc(50% - 14px);
|
||||||
|
bottom: 15%;
|
||||||
|
animation: bounce-down 2s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes bounce-down {
|
||||||
|
25% {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
50%,
|
||||||
|
100% {
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
75% {
|
||||||
|
transform: translateY(2px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
87
src/views/teamView.vue
Normal file
@@ -0,0 +1,87 @@
|
|||||||
|
<script setup>
|
||||||
|
import "vue3-video-play/dist/style.css";
|
||||||
|
import { videoPlay } from "vue3-video-play";
|
||||||
|
import { onMounted, reactive } from "vue"
|
||||||
|
import videoSrc from "@/static/video-1.mp4"
|
||||||
|
component: {
|
||||||
|
videoPlay
|
||||||
|
}
|
||||||
|
|
||||||
|
const options = reactive({
|
||||||
|
id: 'vvv',
|
||||||
|
width: '100%',
|
||||||
|
height: '200px',
|
||||||
|
src: videoSrc,
|
||||||
|
control: true
|
||||||
|
})
|
||||||
|
|
||||||
|
const onplay = () => {
|
||||||
|
console.log('播放一下视频')
|
||||||
|
}
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
window.scrollTo(0, 0)
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<main>
|
||||||
|
<div class="indexCont">
|
||||||
|
<div class="sprayTop">
|
||||||
|
<img class="sprayTop-img" src="@/static/mobile/teamImg01.png" alt="" />
|
||||||
|
<img class="sprayTop-arrow" src="@/static/mobile/secretImg08.png" alt="" />
|
||||||
|
</div>
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/teamImg02.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/teamImg03.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/teamImg04.png" alt="" />
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/teamImg05.png" alt="" />
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.indexCont {
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indexCont-img {
|
||||||
|
width: 100%;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sprayTop {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
padding-top: 61%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sprayTop-img {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sprayTop-arrow {
|
||||||
|
width: 20px;
|
||||||
|
position: absolute;
|
||||||
|
left: calc(50% - 10px);
|
||||||
|
bottom: 2%;
|
||||||
|
animation: bounce-down 2s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes bounce-down {
|
||||||
|
25% {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
50%,
|
||||||
|
100% {
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
75% {
|
||||||
|
transform: translateY(2px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
22
src/views/tendersView.vue
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
<script setup>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<main>
|
||||||
|
<div class="indexCont">
|
||||||
|
<img class="indexCont-img" src="@/static/mobile/tendersImg.png" alt="" />
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.indexCont {
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indexCont-img {
|
||||||
|
width: 100%;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
15
vite.config.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
import { fileURLToPath, URL } from 'node:url'
|
||||||
|
|
||||||
|
import { defineConfig } from 'vite'
|
||||||
|
import vue from '@vitejs/plugin-vue'
|
||||||
|
|
||||||
|
// https://vitejs.dev/config/
|
||||||
|
export default defineConfig({
|
||||||
|
base: process.env.NODE_ENV === 'production' ? '/h5/' : '/',//放服务器二级目录
|
||||||
|
plugins: [vue()],
|
||||||
|
resolve: {
|
||||||
|
alias: {
|
||||||
|
'@': fileURLToPath(new URL('./src', import.meta.url))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
15
vitest.config.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
import { fileURLToPath } from 'node:url'
|
||||||
|
import { mergeConfig } from 'vite'
|
||||||
|
import { configDefaults, defineConfig } from 'vitest/config'
|
||||||
|
import viteConfig from './vite.config'
|
||||||
|
|
||||||
|
export default mergeConfig(
|
||||||
|
viteConfig,
|
||||||
|
defineConfig({
|
||||||
|
test: {
|
||||||
|
environment: 'jsdom',
|
||||||
|
exclude: [...configDefaults.exclude, 'e2e/*'],
|
||||||
|
root: fileURLToPath(new URL('./', import.meta.url))
|
||||||
|
}
|
||||||
|
})
|
||||||
|
)
|
||||||