Explorar o código

了解门墩儿

Xiao_123 hai 4 meses
pai
achega
cb5e1be14e

+ 6 - 0
pages.json

@@ -291,6 +291,12 @@
 				},
 				{
 					"path": "about/index",
+					"style": {
+						"navigationBarTitleText": "了解门墩儿"
+					}
+				},
+				{
+					"path": "contactUs/index",
 					"style": {
 						"navigationBarTitleText": "联系我们"
 					}

+ 1 - 0
pages/index/my.vue

@@ -112,6 +112,7 @@ const list = ref([
 	{	title: '新用户邀请记录',	path: '/pagesB/inviteRecord/index'	},
 	{ title: '门墩儿商城', appId: 'wx6decdf12f9e7a061' },
 	{ title: '我要招聘', key: 'recruit' },
+	{ title: '联系我们', path: '/pagesB/contactUs/index' },
 	{ title: '协议中心', path: '/pagesB/agreement/index', open: true }
 ])
 watch(

+ 1 - 1
pages/index/position.vue

@@ -124,7 +124,7 @@ const gridList = [
   { label: '精选企业', icon: '/static/img/enterprise.png', path: '/pagesB/recommendEnterprise/index' },
   { label: '酒店英语', icon: '/static/img/group.png', path: '' },
   { label: '早报资讯', icon: '/static/img/information.png', id: 'morningNews' },
-  { label: '联系我们', icon: '/static/img/contact.png', path: '/pagesB/about/index' }
+  { label: '了解门墩儿', icon: '/static/img/contact.png', path: '/pagesB/about/index' }
 ]
 
 // 跳转企业详情

+ 11 - 0
pagesB/contactUs/index.vue

@@ -0,0 +1,11 @@
+<template>
+  <ContactUs :showTitle="false" />
+</template>
+
+<script setup>
+// 联系我们
+import ContactUs from '../headhunting/components/contact.vue'
+</script>
+
+<style lang="scss" scoped>
+</style>

+ 7 - 1
pagesB/headhunting/components/contact.vue

@@ -1,6 +1,6 @@
 <template>
   <view class="main">
-    <uni-title type="h1" title="联系我们" align="center"></uni-title>
+    <uni-title v-if="showTitle" type="h1" title="联系我们" align="center"></uni-title>
     <view class="main-footer">
       <uni-title type="h3" title="欢迎关注,了解门墩儿的新动态。"></uni-title>
       <view class="subTitle">门墩儿在所有主流社交媒体都有账号。欢迎关注我们,以便了解关于发展趋势和领导力问题的最新见解。</view>
@@ -21,6 +21,12 @@
 </template>
 
 <script setup>
+	defineProps({ 
+		showTitle: {
+			type: Boolean,
+			default: true
+		}
+	})
 
 </script>