瀏覽代碼

用工管理 发布招工信息

常志远 2 年之前
父節點
當前提交
dcbedd63d7

+ 18 - 0
pages.json

@@ -175,6 +175,24 @@
             }
             
         }
+        ,{
+            "path" : "pages/mine/employmentService/laborManagement/laborManagement",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "用工管理",
+                "enablePullDownRefresh": false
+            }
+            
+        }
+        ,{
+            "path" : "pages/mine/employmentService/laborManagement/postMessage",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "发布求职信息",
+                "enablePullDownRefresh": false
+            }
+            
+        }
     ],
 	"globalStyle": {
 		"navigationStyle": "custom", // 隐藏系统导航栏

+ 219 - 0
pages/mine/employmentService/laborManagement/laborManagement.vue

@@ -0,0 +1,219 @@
+<template>
+	<view>
+		<u-navbar back-text="用工管理" back-icon-size="28" back-icon-color="#ffffff"
+			:background="{backgroundColor: '#2795FD',}" :back-text-style="{color: '#ffffff'}"></u-navbar>
+		<!-- 标签 -->
+		<view class="tabs">
+			<u-tabs :list="list" :is-scroll="false" :current="current" @change="change"></u-tabs>
+		</view>
+		<!-- 发布中 -->
+		<view class="my-registration" v-if="current==0">
+			<view class="card">
+				<view class="positon-salary">
+					<view class="positon">
+						摄影助理
+					</view>
+					<view class="salary">
+						200元/天
+					</view>
+				</view>
+				<view class="tags-date">
+					<view class="tags">
+						招聘1人
+					</view>
+					<view class="date">
+						报名时间:2023-06-01
+					</view>
+				</view>
+				<u-line color="#E6E6E6"></u-line>
+				<view class="buttons">
+					<view class="btn refresh">
+						刷新
+					</view>
+					<view class="btn amend">
+						修改
+					</view>
+					<view class="btn delete">
+						删除
+					</view>
+				</view>
+			</view>
+		</view>
+		
+	 <!-- 待审核 -->
+	 <view class="my-registration" v-if="current==1">
+	 	<view class="card">
+	 		<view class="positon-salary">
+	 			<view class="positon">
+	 				摄影助理
+	 			</view>
+	 			<view class="salary">
+	 				200元/天
+	 			</view>
+	 		</view>
+	 		<view class="tags-date">
+	 			<view class="tags">
+	 				招聘1人
+	 			</view>
+	 			<view class="date">
+	 				报名时间:2023-06-01
+	 			</view>
+	 		</view>
+	 		<u-line color="#E6E6E6"></u-line>
+	 		<view class="buttons">
+	 			
+	 			<view class="btn amend">
+	 				修改
+	 			</view>
+	 			<view class="btn delete">
+	 				删除
+	 			</view>
+	 		</view>
+	 	</view>
+	 </view>
+	 <!-- 未通过 -->
+	 <view class="my-registration" v-if="current==2">
+	 	<view class="card">
+	 		<view class="positon-salary">
+	 			<view class="positon">
+	 				摄影助理
+	 			</view>
+	 			<view class="salary">
+	 				200元/天
+	 			</view>
+	 		</view>
+	 		<view class="tags-date">
+	 			<view class="tags">
+	 				招聘1人
+	 			</view>
+	 			<view class="date">
+	 				报名时间:2023-06-01
+	 			</view>
+	 		</view>
+	 		<u-line color="#E6E6E6"></u-line>
+	 		<view class="buttons">
+	 			
+	 			<view class="btn amend">
+	 				修改
+	 			</view>
+	 			<view class="btn delete">
+	 				删除
+	 			</view>
+	 		</view>
+	 	</view>
+	 </view>
+	     
+		 <!-- 底部 -->
+		 <view class="bottom">
+		 	<button class="issue">发布用工需求
+</button>
+		 </view>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				list: [{
+					name: '发布中'
+				}, {
+					name: '待审核'
+				},{
+					name:'未通过'
+				}],
+				current: 0
+			}
+		},
+		methods: {
+			change(index) {
+				this.current = index;
+			}
+		}
+	}
+</script>
+<style>
+	page {
+		background: #F0F0F2;
+		padding-bottom: 150px;
+	}
+</style>
+<style scoped lang="scss">
+	.card{
+		margin: 24rpx 32rpx;
+		background-color: #fff;
+		padding: 24rpx;
+		border-radius: 12px;
+		.positon-salary{
+			display: flex;
+			justify-content: space-between;
+			align-items: center;
+			.positon{
+				color: rgba(16, 16, 16, 1);
+				font-size: 36rpx;
+				
+				font-family: 'PingFangSC-medium';
+			}
+			.salary{
+				color: rgba(255, 61, 0, 1);
+				font-size: 32rpx;
+				font-family: 'PingFangSC-medium';
+			}
+		}
+		.tags-date{
+			display: flex;
+			justify-content: space-between;
+			align-items: center;
+			margin-top: 16rpx;
+			margin-bottom: 24rpx;
+			.tags{
+				
+				color: rgba(102, 102, 102, 1);
+			}
+			
+			.date{
+				color: rgba(153, 153, 153, 1);
+				font-size: 24rpx;
+			}
+		}
+		// 按钮
+		.buttons{
+			display: flex;
+			justify-content: flex-end;
+			margin-top: 24rpx;
+			.btn{
+				width: 120rpx;
+				height: 56rpx;
+				line-height: 56rpx;
+				border-radius: 50px;
+				background-color: rgba(255, 255, 255, 1);
+				color: rgba(119, 119, 119, 1);
+				text-align: center;
+				font-family: Microsoft Yahei;
+				border: 1px solid rgba(207, 210, 213, 1);
+				margin-left: 24rpx;
+			}
+			.delete{
+				color: rgba(238, 49, 56, 1);
+			}
+		}
+	}
+
+   .bottom{
+	   position: fixed;
+	   left: 0;
+	   right: 0;
+	   bottom: 0;
+	   .issue{
+		   height: 96rpx;
+		   line-height: 96rpx;
+		   border-radius: 50px;
+		   background-color: rgba(34, 149, 255, 1);
+		   color: rgba(241, 241, 241, 1);
+		   font-size: 36rpx;
+		   text-align: center;
+		   box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.03);
+		   margin: 24rpx 32rpx;
+	   }
+   }
+</style>

+ 255 - 0
pages/mine/employmentService/laborManagement/postMessage.vue

@@ -0,0 +1,255 @@
+<template>
+	<view>
+		<u-navbar back-text="发布求职信息" back-icon-size="28" back-icon-color="#ffffff"
+			:background="{backgroundColor: '#2795FD',}" :back-text-style="{color: '#ffffff'}"></u-navbar>
+		<!-- 基本信息 -->
+		<view class="information-group">
+			<view class="headline">
+				基本信息
+			</view>
+			<!-- 职位名称 -->
+			<view class="item">
+				<view class="title">
+					<text>*</text>职位名称
+				</view>
+				<view class="input">
+					<input type="text" placeholder="请填写职位名称">
+				</view>
+			</view>
+			<!-- *薪资待遇 -->
+			<view class="item">
+				<view class="title">
+					<text>*</text>薪资待遇
+				</view>
+				<view class="input">
+					<input type="text" placeholder="请填写薪资待遇">
+				</view>
+				<view class="unit">
+					计件
+				</view>
+				<view class="icon">
+					<u-icon name="arrow-right" color="#999999"></u-icon>
+				</view>
+
+			</view>
+			<!--结算形式 -->
+			<view class="item">
+				<view class="title">
+					<text>*</text>结算形式
+				</view>
+				<view class="input">
+					<input type="text" placeholder="请选择结算形式">
+				</view>
+				<view class="icon">
+					<u-icon name="arrow-right" color="#999999"></u-icon>
+				</view>
+			</view>
+			<!-- 行业 -->
+			<view class="item">
+				<view class="title">
+					<text>*</text>行业
+				</view>
+				<view class="input">
+					<input type="text" placeholder="请选择行业">
+				</view>
+				<view class="icon">
+					<u-icon name="arrow-right" color="#999999"></u-icon>
+				</view>
+			</view>
+			<!-- 招聘人数 -->
+			<view class="item">
+				<view class="title">
+					<text>*</text>招聘人数
+				</view>
+				<view class="input">
+					<input type="text" placeholder="请填写招聘人数">
+				</view>
+
+			</view>
+
+
+
+
+		</view>
+		<!-- 工作描述 -->
+		<view class="job-description">
+			<view class="title">
+				<text>*</text>工作描述
+			</view>
+			<textarea class="textarea" placeholder="请简单描述工作内容及职位要求"></textarea>
+		</view>
+		<!-- 个人信息 -->
+		<view class="information-group">
+					<view class="headline">
+						基本信息
+					</view>
+					<!-- 联系人 -->
+					<view class="item">
+						<view class="title">
+							<text>*</text>联系人
+						</view>
+						<view class="input">
+							<input  type="text" placeholder="李">
+						</view>
+					</view>
+					<!-- 联系电话 -->
+					<view class="item">
+						<view class="title">
+							<text>*</text>联系电话
+						</view>
+						<view class="input">
+							<input type="text" placeholder="15500001111">
+						</view>
+						
+						
+						
+					</view>
+					<!--工作地区 -->
+					<view class="item">
+						<view class="title">
+							<text>*</text>工作地区
+						</view>
+						<view class="input">
+							<input type="text" placeholder="开发区">
+						</view>
+						<view class="icon">
+							<u-icon name="arrow-right" color="#999999"></u-icon>
+						</view>
+					</view>
+					<!-- 详细地址 -->
+					
+					<view class="item">
+						<view class="title">
+							<text>*</text>详细地址
+						</view>
+						<view class="input">
+							<input type="text" placeholder="请填写详细的工作地址">
+						</view>
+						<view class="icon">
+							<u-icon name="arrow-right" color="#999999"></u-icon>
+						</view>
+					</view>
+					
+					
+					
+					
+					
+					
+				</view>
+		<button class="issue" type="default">发布</button>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+
+
+			}
+		},
+		methods: {
+
+		}
+	}
+</script>
+<style>
+	page {
+		background: #F0F0F2;
+		padding-bottom: 150px;
+	}
+</style>
+
+<style lang="scss" scoped>
+	.information-group {
+		margin: 32rpx;
+		padding: 24rpx 32rpx;
+		background-color: #fff;
+        border-radius: 24rpx;
+		.headline {
+			color: rgba(16, 16, 16, 1);
+			font-size: 36rpx;
+			margin-bottom: 24rpx;
+
+			font-family: 'PingFangSC-medium';
+		}
+
+		.item {
+			display: flex;
+			align-items: center;
+			padding: 24rpx 0;
+			border-bottom: 1px solid #f1f1f1;
+
+			.title {
+				color: rgba(51, 51, 51, 1);
+				font-size: 32rpx;
+				width: 148rpx;
+
+				text {
+					color: #EE3138
+				}
+			}
+
+			.input {
+				width: 350rpx;
+				margin-left: 24rpx;
+
+				/deep/.uni-input-input {
+					color: rgba(51, 51, 51, 1);
+				}
+			}
+
+			.icon {
+				margin-left: auto;
+			}
+
+			.unit {
+				margin-left: auto;
+				color: rgba(51, 51, 51, 1);
+				font-size: 32rpx;
+			}
+		}
+	}
+
+	// 工作描述
+	.job-description {
+		margin: 24rpx 32rpx;
+		background-color: #fff;
+		border-radius: 12px;
+		padding: 24rpx 32rpx;
+
+		.title {
+			color: #333333;
+			font-size: 18px;
+			font-family: 'PingFangSC-medium';
+		}
+
+		text {
+			color: #FF0000;
+		}
+
+		.textarea {
+			margin-top: 24rpx;
+			line-height: 40rpx;
+			width: 100%;
+			height: 200rpx;
+
+		}
+
+	}
+
+	/* 发布 */
+	.issue {
+		background-color: rgba(34, 149, 255, 1);
+		color: rgba(241, 241, 241, 1);
+		font-size: 18px;
+		height: 96rpx;
+		line-height: 96rpx;
+		border-radius: 50px;
+		position: fixed;
+		left: 32rpx;
+		right: 32rpx;
+		bottom: 20rpx;
+		z-index: 999;
+	}
+</style>