Browse Source

添加目录文件

306132416@qq.com 4 years ago
parent
commit
86bc8d0802

+ 1 - 0
.gitignore

@@ -0,0 +1 @@
+/unpackage

+ 69 - 2
pages.json

@@ -3,14 +3,81 @@
 		{
 			"path": "pages/index/index",
 			"style": {
-				"navigationBarTitleText": "uni-app"
+				"navigationBarTitleText": "空i企"
+			}
+		},
+		{
+			"path": "pages/selfCenter/index",
+			"style": {
+				"navigationBarTitleText": "我的"
+			}
+		},
+		{
+			"path": "pages/appeal/index",
+			"style": {
+				"navigationBarTitleText": "提建议"
+			}
+		},
+		{
+			"path": "pages/policy/index",
+			"style": {
+				"navigationBarTitleText": "搜政策"
+			}
+		},
+		{
+			"path": "pages/park/index",
+			"style": {
+				"navigationBarTitleText": "找园区"
+			}
+		},
+		{
+			"path": "pages/activity/index",
+			"style": {
+				"navigationBarTitleText": "找活动"
+			}
+		},
+		{
+			"path": "pages/supply/index",
+			"style": {
+				"navigationBarTitleText": "发供需"
+			}
+		},
+		{
+			"path": "pages/enterprise/index",
+			"style": {
+				"navigationBarTitleText": "查企业"
+			}
+		},
+		{
+			"path": "pages/service/index",
+			"style": {
+				"navigationBarTitleText": "找服务"
 			}
 		}
 	],
 	"globalStyle": {
 		"navigationBarTextStyle": "black",
-		"navigationBarTitleText": "uni-app",
+		"navigationBarTitleText": "空i企",
 		"navigationBarBackgroundColor": "#F8F8F8",
 		"backgroundColor": "#F8F8F8"
+	},
+	"tabBar": {
+		"color": "#d8d8d8",
+		"selectedColor": "#4a4a4a",
+		"borderStyle": "white",
+		"backgroundColor": "#FFFFFF",
+		"list": [{
+				"pagePath": "pages/index/index",
+				"iconPath": "/static/tabbar/page_off.png",
+				"selectedIconPath": "/static/tabbar/page_on.png",
+				"text": "首页"
+			},
+			{
+				"pagePath": "pages/selfCenter/index",
+				"iconPath": "/static/tabbar/self_off.png",
+				"selectedIconPath": "/static/tabbar/self_on.png",
+				"text": "我的"
+			}
+		]
 	}
 }

+ 49 - 0
pages/activity/index.vue

@@ -0,0 +1,49 @@
+<template>
+	<view class="content">
+		{{message}}
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				message:'找活动'
+			}
+		},
+		onLoad() {
+
+		},
+		methods: {
+			
+       }
+	}
+</script>
+
+<style>
+	.content {
+		display: flex;
+		flex-direction: column;
+		align-items: center;
+		justify-content: center;
+	}
+
+	.logo {
+		height: 200rpx;
+		width: 200rpx;
+		margin-top: 200rpx;
+		margin-left: auto;
+		margin-right: auto;
+		margin-bottom: 50rpx;
+	}
+
+	.text-area {
+		display: flex;
+		justify-content: center;
+	}
+
+	.title {
+		font-size: 36rpx;
+		color: #8f8f94;
+	}
+</style>

+ 49 - 0
pages/appeal/index.vue

@@ -0,0 +1,49 @@
+<template>
+	<view class="content">
+		{{message}}
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				message:'提诉求'
+			}
+		},
+		onLoad() {
+
+		},
+		methods: {
+			
+       }
+	}
+</script>
+
+<style>
+	.content {
+		display: flex;
+		flex-direction: column;
+		align-items: center;
+		justify-content: center;
+	}
+
+	.logo {
+		height: 200rpx;
+		width: 200rpx;
+		margin-top: 200rpx;
+		margin-left: auto;
+		margin-right: auto;
+		margin-bottom: 50rpx;
+	}
+
+	.text-area {
+		display: flex;
+		justify-content: center;
+	}
+
+	.title {
+		font-size: 36rpx;
+		color: #8f8f94;
+	}
+</style>

+ 49 - 0
pages/enterprise/index.vue

@@ -0,0 +1,49 @@
+<template>
+	<view class="content">
+		{{message}}
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				message:'查企业'
+			}
+		},
+		onLoad() {
+
+		},
+		methods: {
+			
+       }
+	}
+</script>
+
+<style>
+	.content {
+		display: flex;
+		flex-direction: column;
+		align-items: center;
+		justify-content: center;
+	}
+
+	.logo {
+		height: 200rpx;
+		width: 200rpx;
+		margin-top: 200rpx;
+		margin-left: auto;
+		margin-right: auto;
+		margin-bottom: 50rpx;
+	}
+
+	.text-area {
+		display: flex;
+		justify-content: center;
+	}
+
+	.title {
+		font-size: 36rpx;
+		color: #8f8f94;
+	}
+</style>

+ 89 - 7
pages/index/index.vue

@@ -1,9 +1,26 @@
 <template>
 	<view class="content">
-		<image class="logo" src="/static/logo.png"></image>
-		<view class="text-area">
-			<text class="title">{{title}}</text>
-		</view>
+		<view class="page-section-spacing" style="width: 100%;">
+		 	<swiper class="swiper" 
+		 		indicator-dots="true" 
+				 autoplay="true" 
+		 		 duration="500"	>
+		 		<swiper-item v-for="(item , index) in swiperList" :key="index">
+		 			<image :src="item.img" mode="aspectFill" style="width: 100%;height: 100%;"></image>
+		 		</swiper-item>
+		 	</swiper>
+		 </view>
+		 
+		 <view class="page-nav-box">	
+		 
+		    <navigator v-for="(item , index) in navList" :key="index" :url="item.path" open-type="navigate" class="nav-content">
+				 <image :src="item.url" mode="aspectFit" style="width: 38px;height: 38px;"></image>
+				 <view>{{item.content}}</view>
+			</navigator>
+		 
+		 </view>
+		 
+		 
 	</view>
 </template>
 
@@ -11,15 +28,60 @@
 	export default {
 		data() {
 			return {
-				title: '空i企'
+			    swiperList:[
+					{
+						img:'https://f.xazhima.com/userfiles/upload/indexpic/202005251007104506.jpg'
+					},
+					{
+						img:'https://f.xazhima.com/userfiles/upload/indexpic/202005251007104506.jpg'
+					},
+				],
+			    navList:[
+					{
+						url:'/static/navList/7.png',
+						path:'/pages/appeal/index',
+						content:'提诉求'
+					},
+					{
+						url:'/static/navList/7.png',
+						path:'/pages/policy/index',
+						content:'搜政策'
+					},
+					{
+						url:'/static/navList/7.png',
+						path:'/pages/park/index',
+						content:'找园区'
+					},
+					{
+						url:'/static/navList/7.png',
+						path:'/pages/activity/index',
+						content:'找活动'
+					},
+					{
+						url:'/static/navList/7.png',
+						path:'/pages/supply/index',
+						content:'发供需'
+					},
+					{
+						url:'/static/navList/7.png',
+						path:'/pages/enterprise/index',
+						content:'查企业'
+					},
+					{
+						url:'/static/navList/7.png',
+						path:'/pages/service/index',
+						content:'找服务'
+					},
+					
+					
+				]
 			}
 		},
 		onLoad() {
 
 		},
 		methods: {
-
-		}
+    }
 	}
 </script>
 
@@ -49,4 +111,24 @@
 		font-size: 36rpx;
 		color: #8f8f94;
 	}
+	
+	.page-nav-box {
+		width: 100%;
+		display: flex;
+		flex-wrap: wrap;
+		padding: 10rpx 10rpx 30rpx 10rpx;
+		border-bottom: 10rpx solid #e9e9e9;
+	}
+	.nav-content {
+		
+		width: 25%;
+		height: 150rpx;
+		display: flex;
+		flex-direction: column;
+		align-items: center;
+		margin-top: 20rpx;
+		font-size: 26rpx;
+		justify-content: space-around;
+	}
+	
 </style>

+ 49 - 0
pages/park/index.vue

@@ -0,0 +1,49 @@
+<template>
+	<view class="content">
+		{{message}}
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				message:'找园区'
+			}
+		},
+		onLoad() {
+
+		},
+		methods: {
+			
+       }
+	}
+</script>
+
+<style>
+	.content {
+		display: flex;
+		flex-direction: column;
+		align-items: center;
+		justify-content: center;
+	}
+
+	.logo {
+		height: 200rpx;
+		width: 200rpx;
+		margin-top: 200rpx;
+		margin-left: auto;
+		margin-right: auto;
+		margin-bottom: 50rpx;
+	}
+
+	.text-area {
+		display: flex;
+		justify-content: center;
+	}
+
+	.title {
+		font-size: 36rpx;
+		color: #8f8f94;
+	}
+</style>

+ 49 - 0
pages/policy/index.vue

@@ -0,0 +1,49 @@
+<template>
+	<view class="content">
+		{{message}}
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				message:'搜政策'
+			}
+		},
+		onLoad() {
+
+		},
+		methods: {
+			
+       }
+	}
+</script>
+
+<style>
+	.content {
+		display: flex;
+		flex-direction: column;
+		align-items: center;
+		justify-content: center;
+	}
+
+	.logo {
+		height: 200rpx;
+		width: 200rpx;
+		margin-top: 200rpx;
+		margin-left: auto;
+		margin-right: auto;
+		margin-bottom: 50rpx;
+	}
+
+	.text-area {
+		display: flex;
+		justify-content: center;
+	}
+
+	.title {
+		font-size: 36rpx;
+		color: #8f8f94;
+	}
+</style>

+ 49 - 0
pages/selfCenter/index.vue

@@ -0,0 +1,49 @@
+<template>
+	<view class="content">
+		{{message}}
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				message:'我的'
+			}
+		},
+		onLoad() {
+
+		},
+		methods: {
+			
+       }
+	}
+</script>
+
+<style>
+	.content {
+		display: flex;
+		flex-direction: column;
+		align-items: center;
+		justify-content: center;
+	}
+
+	.logo {
+		height: 200rpx;
+		width: 200rpx;
+		margin-top: 200rpx;
+		margin-left: auto;
+		margin-right: auto;
+		margin-bottom: 50rpx;
+	}
+
+	.text-area {
+		display: flex;
+		justify-content: center;
+	}
+
+	.title {
+		font-size: 36rpx;
+		color: #8f8f94;
+	}
+</style>

+ 49 - 0
pages/service/index.vue

@@ -0,0 +1,49 @@
+<template>
+	<view class="content">
+		{{message}}
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				message:'找服务'
+			}
+		},
+		onLoad() {
+
+		},
+		methods: {
+			
+       }
+	}
+</script>
+
+<style>
+	.content {
+		display: flex;
+		flex-direction: column;
+		align-items: center;
+		justify-content: center;
+	}
+
+	.logo {
+		height: 200rpx;
+		width: 200rpx;
+		margin-top: 200rpx;
+		margin-left: auto;
+		margin-right: auto;
+		margin-bottom: 50rpx;
+	}
+
+	.text-area {
+		display: flex;
+		justify-content: center;
+	}
+
+	.title {
+		font-size: 36rpx;
+		color: #8f8f94;
+	}
+</style>

+ 49 - 0
pages/supply/index.vue

@@ -0,0 +1,49 @@
+<template>
+	<view class="content">
+		{{message}}
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				message:'发供需'
+			}
+		},
+		onLoad() {
+
+		},
+		methods: {
+			
+       }
+	}
+</script>
+
+<style>
+	.content {
+		display: flex;
+		flex-direction: column;
+		align-items: center;
+		justify-content: center;
+	}
+
+	.logo {
+		height: 200rpx;
+		width: 200rpx;
+		margin-top: 200rpx;
+		margin-left: auto;
+		margin-right: auto;
+		margin-bottom: 50rpx;
+	}
+
+	.text-area {
+		display: flex;
+		justify-content: center;
+	}
+
+	.title {
+		font-size: 36rpx;
+		color: #8f8f94;
+	}
+</style>

BIN
static/navList/7.png


BIN
static/tabbar/page_off.png


BIN
static/tabbar/page_on.png


BIN
static/tabbar/self_off.png


BIN
static/tabbar/self_on.png