服务项目

This commit is contained in:
jhy 2023-09-05 10:26:27 +08:00
parent d7091e2b5a
commit 7ca554d080
5 changed files with 95 additions and 37 deletions

View File

@ -11,38 +11,38 @@ const changeHandler = (active) => {
<template> <template>
<div class="navigation"> <div class="navigation">
<div class="menu"> <div class="menu">
<t-head-menu <t-head-menu class="menu_shadow" v-model="menu1Value" theme="dark" height="150px" @change="changeHandler">
v-model="menu1Value" <template #logo>
theme="dark" <div class="text">黑龙江东印科技</div>
height="150px" </template>
@change="changeHandler" <t-menu-item value="item1" class="menu" to="/"> 首页 </t-menu-item>
> <t-menu-item value="item2" class="menu" to="/ServicesProject"> 服务项目 </t-menu-item>
<template #logo> <t-menu-item value="item3" class="menu"> 联系我们 </t-menu-item>
<div class="text">黑龙江东印科技</div>
</template>
<t-menu-item value="item1" class="menu"> 首页 </t-menu-item>
<t-menu-item value="item2" class="menu"> 服务项目 </t-menu-item>
<t-menu-item value="item3" class="menu"> 联系我们 </t-menu-item>
</t-head-menu> </t-head-menu>
</div> </div>
</div> </div>
</template> </template>
<style scoped> <style scoped>
.navigation {
box-sizing: border-box;
}
.navigation{
width: 100vw;
}
.text{
line-height: 80px;
color: #fff;
font-size: 26px;
margin-left: 450px;
margin-right: 600px;
}
.t-menu__item.t-is-active{
background-color:#88888863
}
.menu_shadow {
box-shadow: 0px -7px 50px 0px orange;
}
.text {
line-height: 80px;
color: #fff;
font-size: 26px;
margin-left: 450px;
margin-right: 600px;
}
.t-menu__item.t-is-active {
background-color: #88888863
}
</style> </style>

View File

@ -10,8 +10,6 @@
<style scoped> <style scoped>
.footer { .footer {
width: 100%; width: 100%;
position: fixed;
bottom: 0px;
text-align: center; text-align: center;
height: 150px; height: 150px;
background-color: black; background-color: black;

View File

@ -1,5 +1,6 @@
import { createRouter, createWebHistory } from 'vue-router' import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue' import HomeView from '../views/HomeView.vue'
import ServicesProject from "../views/ServicesProject.vue"
const router = createRouter({ const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL), history: createWebHistory(import.meta.env.BASE_URL),
@ -9,6 +10,11 @@ const router = createRouter({
name: 'home', name: 'home',
component: HomeView component: HomeView
}, },
{
path: '/ServicesProject',
name: 'project',
component: ServicesProject
}
// { // {
// path: '/about', // path: '/about',
// name: 'about', // name: 'about',

View File

@ -7,7 +7,13 @@ const image = [
{ url: 'https://yingyongge.com/zb_users/theme/FY_Qo/style/images/2.jpg', text: "小程序开发" }, { url: 'https://yingyongge.com/zb_users/theme/FY_Qo/style/images/2.jpg', text: "小程序开发" },
{ url: 'https://yingyongge.com/zb_users/theme/FY_Qo/style/images/3.jpg', text: "企业网站开发" }, { url: 'https://yingyongge.com/zb_users/theme/FY_Qo/style/images/3.jpg', text: "企业网站开发" },
] ]
const projectlist = [
{ text: "APP软件开发", icon: "system-marked" },
{ text: "小程序开发", icon: "system-messages" },
{ text: "网站开发", icon: "system-messages" }
]
const images = ref(image) const images = ref(image)
const project_list = ref(projectlist)
const text = ref('APP软件开发') const text = ref('APP软件开发')
</script> </script>
@ -34,16 +40,19 @@ const text = ref('APP软件开发')
<span>1111</span> <span>1111</span>
</div> </div>
<div class="special_service_type"> <div class="special_service_type">
<div class="special_service_typeone"> <div class="special_service_typeone" v-for="(item, index) in project_list" :key="index">
<!-- 圆圈 -->
<div class="special_service_yuan"> <div class="special_service_yuan">
<!-- 图标 -->
<span class="icon"> <span class="icon">
<icon name="system-marked" color="orange" style="color:orange;" /> <icon :name="item.icon" color="orange" style="color:orange;" />
</span> </span>
</div> </div>
<span class="special_service_wenzi"><strong>APP软件开发</strong></span> <!-- 文字 -->
<span class="special_service_wenzi"><strong>{{ item.text }}</strong></span>
</div> </div>
<div class="special_service_typeone"> <!-- <div class="special_service_typeone">
<div class="special_service_yuan"> <div class="special_service_yuan">
<span class="icon"> <span class="icon">
<icon name="system-code" color="orange" /> <icon name="system-code" color="orange" />
@ -59,7 +68,7 @@ const text = ref('APP软件开发')
</span> </span>
</div> </div>
<span class="special_service_wenzi"><strong>网站开发</strong></span> <span class="special_service_wenzi"><strong>网站开发</strong></span>
</div> </div> -->
</div> </div>
</div> </div>
@ -119,9 +128,10 @@ const text = ref('APP软件开发')
} }
.special_service { .special_service {
/* height: 500px; */ width: 100%;
box-sizing: border-box;
background-color: #f5f5f5; background-color: #f5f5f5;
padding: 60px; padding: 60px 0px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
@ -151,7 +161,6 @@ const text = ref('APP软件开发')
} }
.special_service_type { .special_service_type {
width: 60%; width: 60%;
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;

View File

@ -0,0 +1,45 @@
<script>
import pagefooter from '../components/pagefooter/pagefooter.vue'
export default {
components: { pagefooter },
}
</script>
<template>
<div class="body">
<div class=" content">
<div class="content_text"><strong>服务项目</strong></div>
<div class="content_des"></div>
</div>
<pagefooter></pagefooter>
</div>
</template>
<style scoped>
.body {
width: 100%;
box-sizing: border-box;
height: 530px;
background-color: #f5f5f5;
}
.content {
box-sizing: border-box;
width: 100%;
text-align: center;
margin-bottom: 100px;
}
.content_text {
font-size: 30px;
width: 100%;
height: 140px;
line-height: 140px;
}
.content_des {
width: 100%;
height: 140px;
background-color: #fff;
}
</style>