Browse Source

02

master
xiaoheiiskinder 1 year ago
parent
commit
e085c4fddd
18 changed files with 2403 additions and 497 deletions
  1. +1559
    -225
      montier/package-lock.json
  2. +6
    -4
      montier/package.json
  3. BIN
      montier/src/assets/img/FFE/1.jpg
  4. BIN
      montier/src/assets/img/Kitchen/01.jpg
  5. BIN
      montier/src/assets/img/Kitchen/02.jpg
  6. BIN
      montier/src/assets/img/Kitchen/03.jpg
  7. BIN
      montier/src/assets/img/Kitchen/04.jpg
  8. BIN
      montier/src/assets/img/Kitchen/05.jpg
  9. BIN
      montier/src/assets/img/center06.jpg
  10. BIN
      montier/src/assets/img/servicebg.jpg
  11. +8
    -8
      montier/src/components/HeaderPage.vue
  12. +4
    -2
      montier/src/pages/AboutUs.vue
  13. +2
    -1
      montier/src/pages/NewsMessage.vue
  14. +34
    -15
      montier/src/pages/Productmessage.vue
  15. +8
    -8
      montier/src/pages/ProjectCase.vue
  16. +14
    -9
      montier/src/pages/Service.vue
  17. +16
    -0
      montier/src/store/modules/homepage.ts
  18. +752
    -225
      montier/yarn.lock

+ 1559
- 225
montier/package-lock.json
File diff suppressed because it is too large
View File


+ 6
- 4
montier/package.json View File

@ -9,16 +9,18 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"animate.css": "^4.1.1",
"axios": "^1.5.0",
"docx-preview": "^0.1.18",
"element-plus": "^2.3.9", "element-plus": "^2.3.9",
"less": "^4.2.0", "less": "^4.2.0",
"less-loader": "^11.1.3", "less-loader": "^11.1.3",
"pinia": "^2.1.6", "pinia": "^2.1.6",
"swiper": "7.4.1", "swiper": "7.4.1",
"wow.js": "^1.2.2",
"wowjs": "^1.1.3",
"animate.css": "^4.1.1",
"vue": "^3.3.4", "vue": "^3.3.4",
"vue-router": "^4.2.4"
"vue-router": "^4.2.4",
"wow.js": "^1.2.2",
"wowjs": "^1.1.3"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^20.4.9", "@types/node": "^20.4.9",


BIN
montier/src/assets/img/FFE/1.jpg View File

Before After
Width: 2048  |  Height: 1248  |  Size: 553 KiB

BIN
montier/src/assets/img/Kitchen/01.jpg View File

Before After
Width: 1197  |  Height: 596  |  Size: 173 KiB

BIN
montier/src/assets/img/Kitchen/02.jpg View File

Before After
Width: 1462  |  Height: 897  |  Size: 152 KiB

BIN
montier/src/assets/img/Kitchen/03.jpg View File

Before After
Width: 1077  |  Height: 589  |  Size: 149 KiB

BIN
montier/src/assets/img/Kitchen/04.jpg View File

Before After
Width: 473  |  Height: 739  |  Size: 92 KiB

BIN
montier/src/assets/img/Kitchen/05.jpg View File

Before After
Width: 666  |  Height: 603  |  Size: 89 KiB

BIN
montier/src/assets/img/center06.jpg View File

Before After
Width: 860  |  Height: 1167  |  Size: 47 KiB Width: 721  |  Height: 981  |  Size: 198 KiB

BIN
montier/src/assets/img/servicebg.jpg View File

Before After
Width: 1300  |  Height: 731  |  Size: 342 KiB

+ 8
- 8
montier/src/components/HeaderPage.vue View File

@ -4,37 +4,37 @@ import { useRouter } from "vue-router";
let caselist = ref<any>([ let caselist = ref<any>([
{ {
detail: { detail: {
title: 'Door', position: 'Door'
title: 'Hotel FFE', position: 'Hotel FFE', name: 0
} }
}, },
{ {
detail: { detail: {
title: 'Window', position: 'Window'
title: 'Door', position: 'Door', name: 1
} }
}, },
{ {
detail: { detail: {
title: 'Railing', position: 'Railing'
title: 'Window', position: 'Window', name: 2
} }
}, },
{ {
detail: { detail: {
title: 'Building Materials', position: 'Building Materials',
title: 'Railing', position: 'Railing', name: 3
} }
}, },
{ {
detail: { detail: {
title: 'Kitchen Cabinets with Customization', position: 'Kitchen Cabinets with Customization'
title: 'Building Materials', position: 'Building Materials', name: 4
} }
}, },
{ {
detail: { detail: {
title: 'Kitchen faucet and sink', position: 'Kitchen faucet and sink'
title: 'Kitchen Cabinets with Customization', position: 'Kitchen Cabinets with Customization', name: 5
} }
}, },
{ {
detail: { detail: {
title: 'Sanitary Ware', position: 'Sanitary Ware',
title: 'Sanitary Ware', position: 'Sanitary Ware', name: 6
} }
} }
]) ])
@ -149,7 +149,7 @@ const getProduct = async () => {
<div class="menu-container mt-1"> <div class="menu-container mt-1">
<ul> <ul>
<li class="nav-item text-center" v-for="(item, index) in caselist" :key="index" <li class="nav-item text-center" v-for="(item, index) in caselist" :key="index"
@click="goPage(`/productcenter/${item.detail.position}`)">
@click="goPage(`/productcenter/${item.detail.name}`)">
<div> <div>
<div class="nav-item-link px-16-px text-overflow-ellipsis" :title="item.detail.title">{{ <div class="nav-item-link px-16-px text-overflow-ellipsis" :title="item.detail.title">{{
item.detail.title }}</div> item.detail.title }}</div>


+ 4
- 2
montier/src/pages/AboutUs.vue View File

@ -72,7 +72,7 @@ const goPage = () => {
} }
.procurement-max-width{ .procurement-max-width{
width: 100%; width: 100%;
height: 100%;
height: 35rem;
} }
.second-img{ .second-img{
top: 50%; top: 50%;
@ -111,6 +111,8 @@ const goPage = () => {
/*text-indent: 20px;*/ /*text-indent: 20px;*/
} }
@media (max-width: 1000px) { @media (max-width: 1000px) {
.procurement-max-width{
height: 18rem;
}
} }
</style> </style>

+ 2
- 1
montier/src/pages/NewsMessage.vue View File

@ -45,4 +45,5 @@ let title = ref<any>({
margin-bottom: 11.9rem; margin-bottom: 11.9rem;
} }
} }
}</style>
}
</style>

+ 34
- 15
montier/src/pages/Productmessage.vue View File

@ -1,10 +1,9 @@
<template> <template>
<div class="productcenter"> <div class="productcenter">
<div class="door-bgc position-relative"> <div class="door-bgc position-relative">
<img src="../assets/img/door/door.jpg" alt="Door">
<img :src="banner.src" alt="Door">
<span class="position-absolute doortitle color-fff font-bold" <span class="position-absolute doortitle color-fff font-bold"
:class="mobileShow ? 'font-size-16' : 'font-size-50'">Safety, Health, and Environmental
Protection</span>
:class="mobileShow ? 'font-size-16' : 'font-size-50'" v-if="banner.title != ''">{{ banner.title }}</span>
</div> </div>
<div class="box"> <div class="box">
<el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick"> <el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
@ -43,6 +42,11 @@ import useHomeStore from '../store/modules/homepage'
let Home = useHomeStore() let Home = useHomeStore()
let productList = Array<any>([]) let productList = Array<any>([])
let product = Array<any>([]) let product = Array<any>([])
let banner = ref({
src: '',
title: '',
name: ''
})
let activeName = ref<any>('') let activeName = ref<any>('')
let mobileShow = ref<any>(false) let mobileShow = ref<any>(false)
@ -72,7 +76,7 @@ onMounted(() => {
}) })
}) })
if (router.currentRoute.value.params.name == 'Door') {
if (router.currentRoute.value.params.name == '1') {
productList = [ productList = [
{ {
title: 'Entrance Doors' title: 'Entrance Doors'
@ -87,22 +91,37 @@ if (router.currentRoute.value.params.name == 'Door') {
title: 'Sliding Doors' title: 'Sliding Doors'
} }
] ]
banner.value = {
src: new URL("../assets/img/door/door.jpg", import.meta.url).href,
title: 'Safety, Health, and Environmental Protection',
name: 'Door'
}
activeName.value = productList[0].title activeName.value = productList[0].title
product = Home.$state.Entrance product = Home.$state.Entrance
} else if (router.currentRoute.value.params.name == 'Window') {
} else if (router.currentRoute.value.params.name == '2') {
productList = [] productList = []
product = [] product = []
} else if (router.currentRoute.value.params.name == 'Railing') {
} else if (router.currentRoute.value.params.name == '3') {
productList = [] productList = []
product = [] product = []
} else if (router.currentRoute.value.params.name == 'Building Materials') {
} else if (router.currentRoute.value.params.name == '4') {
productList = [] productList = []
product = [] product = []
} else if (router.currentRoute.value.params.name == 'Kitchen Cabinets with Customization') {
} else if (router.currentRoute.value.params.name == '5') {
productList = [] productList = []
product = []
} else if (router.currentRoute.value.params.name == 'Kitchen faucet and sink') {
banner.value = {
src: new URL("../assets/img/Kitchen/01.jpg", import.meta.url).href,
title: '',
name: 'Kitchen'
}
product = Home.$state.Cabinet
} else if (router.currentRoute.value.params.name == '0') {
productList = [] productList = []
banner.value = {
src: new URL('../assets/img/FFE/1.jpg', import.meta.url).href,
title: '',
name: 'Hotel FFE'
}
product = [] product = []
} else if (router.currentRoute.value.params.name == 'Sanitary Ware') { } else if (router.currentRoute.value.params.name == 'Sanitary Ware') {
productList = [] productList = []
@ -164,13 +183,13 @@ if (router.currentRoute.value.params.name == 'Door') {
.all-pic { .all-pic {
width: 95%; width: 95%;
display: flex; display: flex;
flex-wrap: wrap;
margin: auto;
flex-direction: column;
margin-top: 2rem; margin-top: 2rem;
align-items: center;
.pic1 { .pic1 {
width: 30%;
height: 20rem;
width: 70%;
// height: 20rem;
margin: 0 3rem 3rem 0; margin: 0 3rem 3rem 0;
overflow: hidden; overflow: hidden;
@ -196,7 +215,7 @@ if (router.currentRoute.value.params.name == 'Door') {
.productcenter { .productcenter {
.door-bgc { .door-bgc {
width: 100%; width: 100%;
height: 55rem;
height: 95vh;
img { img {
width: 100%; width: 100%;


+ 8
- 8
montier/src/pages/ProjectCase.vue View File

@ -22,7 +22,7 @@
v-else-if="selectIndex === 3"> v-else-if="selectIndex === 3">
<div> <div>
<div class="case-img overflow-hidden position-relative" <div class="case-img overflow-hidden position-relative"
@click="goPage(`/productcenter/${item.name}`, 'productCenter')">
@click="goPage(`/productcenter/${item.position}`, 'productCenter')">
<img :src="item.detail" :alt="item.name" class="width-100 d-block position-relative imgcase" <img :src="item.detail" :alt="item.name" class="width-100 d-block position-relative imgcase"
loading="lazy" /> loading="lazy" />
<span class="position-absolute color-fff project-center-title1 font-size-22 font-700">{{ item.name }}</span> <span class="position-absolute color-fff project-center-title1 font-size-22 font-700">{{ item.name }}</span>
@ -58,13 +58,13 @@ let bannerList = ref<any>([
{ detail: new URL("../assets/img/ProjectCase/08/1.jpg", import.meta.url).href, name: 'Ocean 17', address: 'Carlsbad,CA,USA', position: 7 }, { detail: new URL("../assets/img/ProjectCase/08/1.jpg", import.meta.url).href, name: 'Ocean 17', address: 'Carlsbad,CA,USA', position: 7 },
]) ])
let bannerList2 = ref<any>([ let bannerList2 = ref<any>([
{ detail: new URL("../assets/img/center01.jpg", import.meta.url).href, name: 'Door' },
{ detail: new URL("../assets/img/center02.jpg", import.meta.url).href, name: 'Window' },
{ detail: new URL("../assets/img/center03.jpg", import.meta.url).href, name: 'Railing' },
{ detail: new URL("../assets/img/center04.jpg", import.meta.url).href, name: 'Building Material' },
{ detail: new URL("../assets/img/center05.jpg", import.meta.url).href, name: 'Kitchen Cabinets with Customization' },
{ detail: new URL("../assets/img/center06.jpg", import.meta.url).href, name: 'Kitchen faucet and sink' },
{ detail: new URL("../assets/img/center07.jpg", import.meta.url).href, name: 'Sanitary Ware' },
{ detail: new URL('../assets/img/center06.jpg', import.meta.url).href, name: 'Hotel FFE', position: 0 },
{ detail: new URL("../assets/img/center01.jpg", import.meta.url).href, name: 'Doors', position: 1 },
{ detail: new URL("../assets/img/center02.jpg", import.meta.url).href, name: 'Windows', position: 2 },
{ detail: new URL("../assets/img/center03.jpg", import.meta.url).href, name: 'Railings', position: 3 },
{ detail: new URL("../assets/img/center04.jpg", import.meta.url).href, name: 'Building Materials', position: 4 },
{ detail: new URL("../assets/img/center05.jpg", import.meta.url).href, name: 'Kitchen Cabinets with Customizations', position: 5 },
{ detail: new URL("../assets/img/center07.jpg", import.meta.url).href, name: 'Sanitary Wares', position: 6 },
]) ])
let screenWidth = ref<any>('') let screenWidth = ref<any>('')
let mobileShow = ref<any>(false) let mobileShow = ref<any>(false)


+ 14
- 9
montier/src/pages/Service.vue View File

@ -1,8 +1,8 @@
<template> <template>
<div class="width-100 bannerImg wow animated fadeInUp">
<div class="width-100 bannerImg wow animated fadeInUp" :class="selectIndex == 1 ? 'bannerImg1' : ''">
<!-- 服务 --> <!-- 服务 -->
<div v-if="selectIndex == 1"> <div v-if="selectIndex == 1">
<div class="">
<div class="servicebg">
<div class="gallery-container"> <div class="gallery-container">
<div class="gallery"> <div class="gallery">
<div class="gallery-item position-relative" v-for="item, index in servicelist" :key="index" <div class="gallery-item position-relative" v-for="item, index in servicelist" :key="index"
@ -22,7 +22,7 @@
<!-- <swiper-slide v-for="item, index in newslist" :key="index" class="hover-scale" <!-- <swiper-slide v-for="item, index in newslist" :key="index" class="hover-scale"
@click="goPage1(`/news/${item.title}`)"> --> @click="goPage1(`/news/${item.title}`)"> -->
<swiper-slide v-for="item, index in newslist" :key="index" class="hover-scale"> <swiper-slide v-for="item, index in newslist" :key="index" class="hover-scale">
<div class="case">
<div class="case" @click="goPage1(`/news/${item.position}`)">
<div class="case-img overflow-hidden position-relative"> <div class="case-img overflow-hidden position-relative">
<img :src="item.detail" :alt="item.title" class="width-100 d-block position-relative" <img :src="item.detail" :alt="item.title" class="width-100 d-block position-relative"
loading="lazy"> loading="lazy">
@ -55,8 +55,8 @@ const props = defineProps(['index'])
let selectIndex = props.index let selectIndex = props.index
let newslist = ref<any>([ let newslist = ref<any>([
{ detail: new URL("../assets/img/information.jpg", import.meta.url).href, title: 'What can we do for you?' },
{ detail: new URL("../assets/img/page02.jpg", import.meta.url).href, title: 'Growth History of MONTIER' }
{ detail: new URL("../assets/img/information.jpg", import.meta.url).href, title: 'What can we do for you?', position: 0 },
{ detail: new URL("../assets/img/page02.jpg", import.meta.url).href, title: 'Growth History of MONTIER', position: 1 }
]) ])
let servicelist = ref<any>([ let servicelist = ref<any>([
@ -114,16 +114,16 @@ onMounted(() => {
padding: 0; padding: 0;
box-sizing: border-box; box-sizing: border-box;
} }
.gallery-container { .gallery-container {
margin: 25rem 0; margin: 25rem 0;
display: grid; display: grid;
place-content: center; place-content: center;
margin-right: 25%;
} }
.gallery { .gallery {
// --s: 20vw; // --s: 20vw;
scale: 1.35;
scale: 1.25;
/* control the size */ /* control the size */
--g: -2px; --g: -2px;
/* control the gap */ /* control the gap */
@ -132,7 +132,7 @@ onMounted(() => {
.gallery-item { .gallery-item {
// position: relative; // position: relative;
overflow: hidden; overflow: hidden;
background: rgba(191, 191, 191, 1);
background: #ffffff;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -332,7 +332,12 @@ onMounted(() => {
// background-position: right; // background-position: right;
// width: 2vw; // width: 2vw;
} }
.bannerImg1{
width: 100% !important;
background: url('../assets/img/servicebg.jpg') no-repeat;
background-size: 150%;
background-position: center;
}
.bannerImg { .bannerImg {
width: 80vw; width: 80vw;
margin: 0 auto 10px; margin: 0 auto 10px;


+ 16
- 0
montier/src/store/modules/homepage.ts View File

@ -76,6 +76,22 @@ const useHomeStore = defineStore('Home', {
{ detail: new URL("../../assets/img/Door/108.png", import.meta.url).href, name: 'Interior Doors' } { detail: new URL("../../assets/img/Door/108.png", import.meta.url).href, name: 'Interior Doors' }
] ]
}, },
),
Cabinet: Array<any>(
{
name: 'Kitchen Cabinet',
children: [
{ detail: new URL("../../assets/img/Kitchen/02.jpg", import.meta.url).href, name: 'Kitchen Cabinet' },
{ detail: new URL("../../assets/img/Kitchen/03.jpg", import.meta.url).href, name: 'Kitchen Cabinet' },
{ detail: new URL("../../assets/img/Kitchen/04.jpg", import.meta.url).href, name: 'Kitchen Cabinet' },
]
},
{
name: 'Kitchen Sinks/Faucets',
children: [
{ detail: new URL("../../assets/img/Kitchen/05.jpg", import.meta.url).href, name: 'Kitchen Cabinet' },
]
}
) )
} }
}, },


+ 752
- 225
montier/yarn.lock
File diff suppressed because it is too large
View File


Loading…
Cancel
Save