初始化项目
|
@ -0,0 +1,26 @@
|
|||
.DS_Store
|
||||
node_modules
|
||||
/dist
|
||||
|
||||
|
||||
# local env files
|
||||
.env.local
|
||||
.env.*.local
|
||||
|
||||
# Log files
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
|
||||
# Editor directories and files
|
||||
.idea
|
||||
.vscode
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
|
||||
# node modules
|
||||
/node_modules/*
|
|
@ -0,0 +1,5 @@
|
|||
module.exports = {
|
||||
presets: [
|
||||
'@vue/cli-plugin-babel/preset'
|
||||
]
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
"name": "wjjc_pc",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build"
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^0.21.1",
|
||||
"core-js": "^3.6.5",
|
||||
"echarts": "^5.0.2",
|
||||
"element-ui": "^2.15.1",
|
||||
"node-sass": "^4.14.1",
|
||||
"swiper": "^6.5.0",
|
||||
"vue": "^2.6.11",
|
||||
"vue-baidu-map": "^0.21.22",
|
||||
"vue-count-to": "^1.0.13",
|
||||
"vue-router": "^3.5.1",
|
||||
"vuex": "^3.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vue/cli-plugin-babel": "^4.5.0",
|
||||
"@vue/cli-plugin-router": "^4.5.0",
|
||||
"@vue/cli-plugin-vuex": "^4.5.0",
|
||||
"@vue/cli-service": "^4.5.0",
|
||||
"less": "^3.9",
|
||||
"less-loader": "5.0.0",
|
||||
"node-sass": "^4.12.0",
|
||||
"sass-loader": "^8.0.2",
|
||||
"vue-awesome-swiper": "^3.1.3",
|
||||
"vue-template-compiler": "^2.6.11"
|
||||
},
|
||||
"browserslist": [
|
||||
"> 1%",
|
||||
"last 2 versions",
|
||||
"not dead"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<!-- <link rel="icon" href="./web_lobo.ico"> -->
|
||||
<meta name="Keywords" content="">
|
||||
<meta name="Description" content="">
|
||||
<script src="./jq.js"></script>
|
||||
<title>天亿</title>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,442 @@
|
|||
<template>
|
||||
<div id="app" v-loading="setLoading">
|
||||
<Header class="header"></Header>
|
||||
<router-view />
|
||||
<Footer
|
||||
class="my_footer"
|
||||
v-if="
|
||||
$route.path == '/about' ||
|
||||
$route.path == '/networkMarket' ||
|
||||
$route.path == '/server' ||
|
||||
$route.path == '/news' ||
|
||||
$route.path == '/listOfCases' ||
|
||||
$route.path == '/serverDetail'
|
||||
"
|
||||
></Footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getBackground, getFloorList, getConfig } from "./http/api.js";
|
||||
export default {
|
||||
name: "App",
|
||||
components: {},
|
||||
computed: {
|
||||
setLoading() {
|
||||
return this.$store.state.setLoading;
|
||||
},
|
||||
},
|
||||
async mounted() {
|
||||
await getBackground().then((res) => {
|
||||
this.$store.commit("baclgroundInfo", res.data);
|
||||
});
|
||||
await getFloorList().then((res) => {
|
||||
this.$store.commit("floorData", res.data);
|
||||
localStorage.setItem("floorData", JSON.stringify(res.data));
|
||||
});
|
||||
await getConfig().then((res) => {
|
||||
this.$store.commit("ConfigData", res.data);
|
||||
});
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
@import "./assets/css/index";
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
cursor: url('./assets/cursor.png');
|
||||
}
|
||||
|
||||
#inddex {
|
||||
overflow: hidden !important;
|
||||
}
|
||||
.header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 9;
|
||||
}
|
||||
.my_footer {
|
||||
z-index: 99;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
#FloorBannerPage {
|
||||
.swiper-pagination .swiper-pagination-bullet:focus {
|
||||
outline: none;
|
||||
}
|
||||
.swiper-pagination-clickable .swiper-pagination-bullet {
|
||||
cursor: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.el-carousel::-webkit-scrollbar {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.TianYuanfirst {
|
||||
.pagination {
|
||||
position: absolute;
|
||||
bottom: 115px !important;
|
||||
z-index: 99;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
width: 100vw !important;
|
||||
justify-content: center;
|
||||
.swiper-pagination-bullet {
|
||||
width: 142px;
|
||||
height: 1px;
|
||||
background: #ffffff;
|
||||
margin: 0 42px !important;
|
||||
}
|
||||
.swiper-pagination-bullet-active {
|
||||
width: 142px;
|
||||
height: 1px;
|
||||
background: #ffffff;
|
||||
}
|
||||
.swiper-pagination-bullet-active::after {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
animation: myafter 5s linear;
|
||||
background-color: #0fffff;
|
||||
width: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
height: 1px;
|
||||
}
|
||||
@keyframes myafter {
|
||||
0% {
|
||||
width: 0;
|
||||
}
|
||||
100% {
|
||||
width: 142px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#FloorBannerPage {
|
||||
.swiper-pagination {
|
||||
position: absolute;
|
||||
right: 50px;
|
||||
.swiper-pagination-bullet {
|
||||
margin: 60px 0;
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
background: #ffffff;
|
||||
opacity: 1;
|
||||
color: transparent;
|
||||
border-radius: 50%;
|
||||
position: relative;
|
||||
cursor: pointer !important;
|
||||
}
|
||||
|
||||
.swiper-pagination-bullet .swiperspan {
|
||||
display: none;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
|
||||
.swiper-pagination-bullet:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.swiper-pagination-bullet {
|
||||
.top {
|
||||
display: none;
|
||||
}
|
||||
.bottom {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.swiper-pagination-bullet:last-child {
|
||||
.bottom {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
.swiper-pagination-bullet:first-child {
|
||||
.top {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.swiper-pagination-bullet::before {
|
||||
content: "......." !important;
|
||||
display: inline-block !important;
|
||||
writing-mode: tb-rl !important;
|
||||
width: 1px;
|
||||
position: absolute;
|
||||
// right: -14px;
|
||||
right: -9px;
|
||||
top: 18px;
|
||||
color: #ffffff;
|
||||
}
|
||||
.swiper-pagination-bullet:last-child::before {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.swiper-pagination-bullet-active::before {
|
||||
position: absolute;
|
||||
// right: -7px;
|
||||
right: -2px;
|
||||
top: 40px;
|
||||
}
|
||||
.swiper-pagination-bullet-active {
|
||||
position: relative;
|
||||
padding: 5px;
|
||||
border: 1px solid #0fffff;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
transform: translateX(-10px);
|
||||
background: transparent;
|
||||
.swiperspan {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 40px;
|
||||
font-size: 14px;
|
||||
font-family: Arial;
|
||||
font-weight: bold;
|
||||
line-height: 34px;
|
||||
color: #0fffff;
|
||||
top: -7px;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
.top {
|
||||
display: inline-block;
|
||||
color: #fff;
|
||||
position: absolute;
|
||||
top: -25px;
|
||||
right: 4px;
|
||||
}
|
||||
.bottom {
|
||||
display: inline-block;
|
||||
color: #fff;
|
||||
position: absolute;
|
||||
bottom: -20px;
|
||||
right: 4px;
|
||||
}
|
||||
.dian {
|
||||
display: inline-block !important;
|
||||
width: 10px !important;
|
||||
height: 10px !important;
|
||||
background: #0fffff !important;
|
||||
border-radius: 50% !important;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
// .FloorSecond{
|
||||
// .carousel_box{
|
||||
// .is-active{
|
||||
// width:988px !important;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
#TianYuanBannerPage {
|
||||
.swiper-pagination {
|
||||
position: absolute;
|
||||
right: 50px;
|
||||
.swiper-pagination-bullet {
|
||||
margin: 60px 0;
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
background: #ffffff;
|
||||
opacity: 1;
|
||||
border-radius: 50%;
|
||||
position: relative;
|
||||
cursor: pointer !important;
|
||||
}
|
||||
|
||||
.swiper-pagination-bullet .swiperspan {
|
||||
display: none;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
|
||||
.swiper-pagination-bullet:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.swiper-pagination-bullet {
|
||||
.top {
|
||||
display: none;
|
||||
}
|
||||
.bottom {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.swiper-pagination-bullet:last-child {
|
||||
.bottom {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
.swiper-pagination-bullet:first-child {
|
||||
.top {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.swiper-pagination-bullet::before {
|
||||
content: "......." !important;
|
||||
display: inline-block !important;
|
||||
writing-mode: tb-rl !important;
|
||||
width: 1px;
|
||||
position: absolute;
|
||||
right: -9px;
|
||||
top: 18px;
|
||||
color: #ffffff;
|
||||
}
|
||||
.swiper-pagination-bullet:last-child::before {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.swiper-pagination-bullet-active::before {
|
||||
position: absolute;
|
||||
right: -2px;
|
||||
top: 40px;
|
||||
}
|
||||
.swiper-pagination-bullet-active {
|
||||
position: relative;
|
||||
padding: 5px;
|
||||
border: 1px solid #0fffff;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
transform: translateX(-10px);
|
||||
background: transparent;
|
||||
.swiperspan {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 40px;
|
||||
font-size: 14px;
|
||||
font-family: Arial;
|
||||
font-weight: bold;
|
||||
line-height: 34px;
|
||||
color: #0fffff;
|
||||
top: -7px;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
.top {
|
||||
display: inline-block;
|
||||
color: #fff;
|
||||
position: absolute;
|
||||
top: -25px;
|
||||
right: 4px;
|
||||
}
|
||||
.bottom {
|
||||
display: inline-block;
|
||||
color: #fff;
|
||||
position: absolute;
|
||||
bottom: -20px;
|
||||
right: 4px;
|
||||
}
|
||||
.dian {
|
||||
display: inline-block !important;
|
||||
width: 10px !important;
|
||||
height: 10px !important;
|
||||
background: #0fffff !important;
|
||||
border-radius: 50% !important;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.DevelopmentHistory {
|
||||
.control_box {
|
||||
.pagi_box {
|
||||
.swiper-pagination {
|
||||
width: 750px;
|
||||
height: 120px;
|
||||
display: flex;
|
||||
overflow-x: auto !important;
|
||||
justify-content: center;
|
||||
.swiper-pagination-bullet {
|
||||
display:block;
|
||||
width: 100px;
|
||||
height: 120px;
|
||||
border-radius: 0;
|
||||
border-left: 1px solid #c8c8c8;
|
||||
background: transparent;
|
||||
opacity: 1;
|
||||
transition: all 0.5s;
|
||||
margin-left: 20px !important;
|
||||
span {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
text-align: center;
|
||||
line-height: 120px;
|
||||
font-size: 26px;
|
||||
font-family: Microsoft YaHei;
|
||||
font-weight: 400;
|
||||
color: #c8c8c8;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
}
|
||||
.swiper-pagination-bullet:focus {
|
||||
outline: none;
|
||||
}
|
||||
.swiper-pagination-bullet-active {
|
||||
display: inline-block;
|
||||
width: 100px;
|
||||
height: 120px;
|
||||
border-radius: 0;
|
||||
border-left: 1px solid #0fffff;
|
||||
background: transparent;
|
||||
transition: all 0.5s;
|
||||
span {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
text-align: center;
|
||||
line-height: 120px;
|
||||
font-size: 26px;
|
||||
font-family: Microsoft YaHei;
|
||||
font-weight: 400;
|
||||
color: #0fffff;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.min_swiper{
|
||||
.swiper-slide-active{
|
||||
border-left: 1px solid #0fffff;
|
||||
.min_text{
|
||||
color: #0fffff !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.problem {
|
||||
.el-collapse-item__header {
|
||||
background: transparent !important;
|
||||
// color: #ffffff;
|
||||
font-size: 18px;
|
||||
font-family: Microsoft YaHei;
|
||||
font-weight: 400;
|
||||
line-height: 24px;
|
||||
color: #ffffff;
|
||||
height: 80px !important;
|
||||
}
|
||||
.el-collapse-item__wrap {
|
||||
background: transparent !important;
|
||||
.el-collapse-item__content {
|
||||
color: #ffffff !important;
|
||||
font-size: 14px;
|
||||
font-family: Microsoft YaHei;
|
||||
font-weight: 400;
|
||||
line-height: 20px;
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
After Width: | Height: | Size: 335 KiB |
After Width: | Height: | Size: 2.4 MiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 7.2 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 8.6 KiB |
After Width: | Height: | Size: 6.6 KiB |
After Width: | Height: | Size: 2.9 MiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 383 B |
After Width: | Height: | Size: 97 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 654 KiB |
After Width: | Height: | Size: 9.3 MiB |
After Width: | Height: | Size: 814 KiB |
After Width: | Height: | Size: 816 KiB |
After Width: | Height: | Size: 300 KiB |
After Width: | Height: | Size: 188 KiB |
After Width: | Height: | Size: 339 KiB |
After Width: | Height: | Size: 160 KiB |
After Width: | Height: | Size: 280 KiB |
After Width: | Height: | Size: 352 KiB |
After Width: | Height: | Size: 1.7 MiB |
After Width: | Height: | Size: 756 KiB |
After Width: | Height: | Size: 1.9 MiB |
After Width: | Height: | Size: 3.5 MiB |
After Width: | Height: | Size: 1.1 MiB |
After Width: | Height: | Size: 2.1 MiB |
After Width: | Height: | Size: 533 KiB |
After Width: | Height: | Size: 3.2 MiB |
After Width: | Height: | Size: 8.8 MiB |
After Width: | Height: | Size: 857 KiB |
After Width: | Height: | Size: 1.8 MiB |
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 448 KiB |
After Width: | Height: | Size: 7.7 KiB |
After Width: | Height: | Size: 7.6 KiB |
After Width: | Height: | Size: 8.0 KiB |
After Width: | Height: | Size: 6.4 KiB |
After Width: | Height: | Size: 7.6 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 8.2 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 1.6 MiB |
After Width: | Height: | Size: 139 KiB |
After Width: | Height: | Size: 3.3 MiB |
After Width: | Height: | Size: 2.9 MiB |
|
@ -0,0 +1,11 @@
|
|||
.img_cover{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.img_contain{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 3.3 MiB |
After Width: | Height: | Size: 1.7 MiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 4.7 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 5.8 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 1.3 MiB |
After Width: | Height: | Size: 1.2 MiB |
After Width: | Height: | Size: 1.2 MiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 838 B |
After Width: | Height: | Size: 539 B |
After Width: | Height: | Size: 1.8 MiB |
After Width: | Height: | Size: 960 KiB |
After Width: | Height: | Size: 335 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 5.8 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 228 KiB |
After Width: | Height: | Size: 206 KiB |