lsw 11 months ago
parent
commit
b7f0d3c0d9

+ 1 - 1
app/App.vue

@@ -30,7 +30,7 @@ button::after {
 /**挂载iconfont字体图标*/
 @font-face {
 	font-family: 'iconfont';
-	src: url('https://at.alicdn.com/t/c/font_4507607_95t3t8zqybs.ttf?t=1715334134260') format('truetype');
+	src: url('https://at.alicdn.com/t/c/font_4507607_geqhqn0bpir.ttf?t=1715393385727') format('truetype');
 	/* src: url('~@/static/font/iconfont.ttf') format('truetype'); */
 }
 .icon {

+ 8 - 1
app/manifest.json

@@ -51,7 +51,14 @@
             },
             /* SDK配置 */
             "sdkConfigs" : {
-                "ad" : {}
+                "ad" : {},
+                "maps" : {
+                    "amap" : {
+                        "name" : "clsd",
+                        "appkey_ios" : "",
+                        "appkey_android" : ""
+                    }
+                }
             },
             "icons" : {
                 "android" : {

+ 7 - 0
app/pages.json

@@ -100,6 +100,13 @@
 			{
 				"navigationBarTitleText" : "工作详情"
 			}
+		},
+		{
+			"path" : "pages/clsd/job/company",
+			"style" : 
+			{
+				"navigationBarTitleText" : "公司信息"
+			}
 		}
 
 	],

+ 44 - 4
app/pages/clsd/index/index.vue

@@ -16,16 +16,16 @@
 		</view>
 		<!--找工作-->
 		<view class="tab">
-			<u-tabs :list="tab" :current="current"></u-tabs>
+			<u-tabs :scrollable="false"  :inactiveStyle="{fontSize:'17px'}" :activeStyle="{color:'#3c9cff',fontSize:'17px'}" :list="tab" :current="current" @click="click"></u-tabs>
 		</view>
-		<view class="jobs">
-			<view class="full_time" v-for="(item, index) in jobs" :key="index">
+		<view class="jobs" v-if="current==0">
+			<view class="full_time" v-for="(item, index) in jobs" :key="index" @click="detail(item)">
 				<view class="out">
 					<view class="int">
 						<image :src="item.url" mode="aspectFill"></image>
 						<view class="title omit">{{ item.name }}</view>
 						<view class="desc">{{ item.job }}</view>
-						<view class="price">{{ item.price }}元/日</view>
+						<view class="price">{{ item.price }}/月</view>
 						<view class="address">
 							<text class="icon">&#xe62e;</text>
 							<text>南宁青秀山</text>
@@ -34,6 +34,33 @@
 				</view>
 			</view>
 		</view>
+		<view class="jobs" v-if="current==1">
+			<view class="full_time" v-for="(item, index) in jobs" :key="index"  @click="detail(item)">
+				<view class="out">
+					<view class="int">
+						<image :src="item.url" mode="aspectFill"></image>
+						<view class="title omit">{{ item.name }}</view>
+						<view class="desc">{{ item.job }}</view>
+						<view class="price">{{ item.price }}元/月</view>
+						<view class="address">
+							<text class="icon">&#xe62e;</text>
+							<text>距你2km</text>
+						</view>
+					</view>
+				</view>
+			</view>
+		</view>
+		<view class="jobs" v-if="current==2">
+			<view class="part_time" v-for="(item, index) in jobs" :key="index"  @click="detail(item)">
+				<view class="title omit">兼职{{ item.job }}</view>
+				<view class="price">300/天<text class="icon">&#xe619;</text>日结</view>
+				<text class="date">4.16-4.17</text>
+				<view class="address">
+					<text @click.stop="company()">{{ item.name }}</text>
+					<text class="add">申请</text>
+				</view>
+			</view>
+		</view>
 	</view>
 </template>
 <script>
@@ -94,6 +121,19 @@
 			this.getData();
 		},
 		methods: {
+			detail() {
+				uni.navigateTo({
+					url: '/pages/clsd/job/detail'
+				})
+			},
+			company() {
+				uni.navigateTo({
+					url: '/pages/clsd/job/company'
+				})
+			},
+			click(e) {
+				this.current = e.index;
+			},
 			getUserInfo() {
 				this.http.request({
 					url: '/app/user/info',

+ 139 - 0
app/pages/clsd/job/company.vue

@@ -0,0 +1,139 @@
+<template>
+	<view>
+		<view class="main">
+			<view class="ms" @click="detail()">
+				<image src="../../../static/favicon.png" mode="widthFix"></image>
+				<view class="con">
+					<view class="mti">广西龙坚贸易有限公司</view>
+					<view class="address">南宁青秀山航洋城1433</view>
+				</view>
+			</view>
+		</view>
+		<view class="bos">
+			<view class="mtitle">公司介绍</view>
+			<view class="item">淘宝店-有料素材店是一个基于UI界面设计师的素材模板售卖网店,面向设计社区,设计师、平面设计师和创意行业人员,在这里可以买到自己需要或者学习的设计素材,可供于学习使用。</view>
+			<view class="item">这里是公司介绍信息文字示例,淘宝店-有料素材店是一个基于UI界面设计师的素材模板售卖网店,是要来面向设计社区,设计师、平面设计师和创意行业人员</view>
+			<view class="rows">
+				<view class="r50">
+					<view class="int">
+						<view class="out">
+							<image src="../../../static/a1.png" mode="widthFix"></image>
+						</view>
+					</view>
+				</view>
+				<view class="r50">
+					<view class="int">
+						<view class="out">
+							<image src="../../../static/a1.png" mode="widthFix"></image>
+						</view>
+					</view>
+				</view>
+			</view>
+			<view class="mtitle">更多信息</view>
+			<view class="item b">公司地址:</view>
+			<view class="item">北京市海淀区银谷大厦某某号楼某</view>
+			<view class="item b">法定代表人:</view>
+			<view class="item">杨从</view>
+			<view class="item b">注册资金:</view>
+			<view class="item">100万人民币</view>
+			<view class="item b">公司行业:</view>
+			<view class="item">传媒</view>
+			<map style="width: 100%; height: 150px" :latitude="latitude" :longitude="longitude" :markers="covers"></map>
+		</view>
+	</view>
+</template>
+
+<script>
+export default {
+	data() {
+		return {
+			latitude: 39.909,
+			longitude: 116.39742,
+			covers: [
+				{
+					latitude: 39.909,
+					longitude: 116.39742,
+					iconPath: '../../../static/location.png'
+				},
+				{
+					latitude: 39.9,
+					longitude: 116.39,
+					iconPath: '../../../static/location.png'
+				}
+			]
+		};
+	},
+	methods: {
+		detail() {
+			uni.navigateTo({
+				url: '/pages/clsd/job/company'
+			});
+		}
+	}
+};
+</script>
+
+<style lang="scss">
+.ms {
+	overflow: hidden;
+	.mtitle {
+		font-weight: bold;
+		margin-bottom: 10px;
+	}
+	image {
+		float: left;
+		width: 55px;
+		height: 55px;
+		border-radius: 50%;
+	}
+	.con {
+		float: left;
+		padding-left: 10px;
+		.mti {
+			font-weight: bold;
+			padding-bottom: 5px;
+		}
+		.address {
+			font-size: 14px;
+		}
+	}
+}
+.bos {
+	background-color: white;
+	padding: 20px;
+	border-radius: 25px 25px 0px 0px;
+	.mtitle {
+		font-weight: bold;
+		margin-bottom: 10px;
+	}
+	.item {
+		font-size: 14px;
+		padding-top: 7px;
+	}
+	.b{
+		font-weight: bold;
+	}
+	.rows {
+		overflow: hidden;
+		margin-left: -5px;
+		margin-right: -5px;
+		margin-top: 15px;
+		.r50 {
+			.int {
+				.out {
+					padding: 5px;
+					image{
+						width: 100%;
+						border-radius: 5px;
+					}
+				}
+			}
+		}
+	}
+	map {
+		border-radius: 8px;
+		overflow: hidden;
+		margin-top: 15px;
+	}
+}
+</style>

+ 122 - 7
app/pages/clsd/job/detail.vue

@@ -1,19 +1,134 @@
 <template>
 	<view>
-		
+		<view class="main">
+			<view class="title">快递装卸工</view>
+			<view class="price">5000/月</view>
+			<view class="desc">两班倒 · 需10人 · 学历不限 · 经验不限</view>
+		</view>
+		<view class="bos">
+			<view class="ms" style="margin-top: 0px;">
+				<view class="mtitle">职位描述</view>
+				<view class="item">1、装车、卸货、扫码计重</view>
+				<view class="item">2、3~4人装卸一辆17.5米的大货车,每车货物重33吨左右,每个小组装卸量约3辆车/天;</view>
+				<view class="item">3、年龄要求18~45岁以内,低于18岁超过45岁均不安排:</view>
+				<view class="item">4、底薪(保底货量)+奖金(超保底货量),装蓰儱瘕卸多少吨货,给多少工资,做多得多,上不封顶5、免费住宿,伙食补贴12.5/天:</view>
+				<view class="item">5、上班时间两个班次19:00~凌晨5:00,中途有休息,或凌晨12:00~早上9点,均为固定长期夜班。</view>
+				<view class="item">6、暑假工/临时工勿扰</view>
+			</view>
+			<view class="ms" @click="detail()">
+				<image src="../../../static/favicon.png" mode="widthFix"></image>
+				<view class="con">
+					<view class="mti">广西龙坚贸易有限公司</view>
+					<view class="address">南宁青秀山航洋城1433</view>
+				</view>
+				<text class="icon">&#xe62b;</text>
+			</view>
+			<map style="width: 100%; height: 150px" :latitude="latitude" :longitude="longitude" :markers="covers"></map>
+		</view>
+		<view class="footer">
+			<view class="td">
+				<button class="btn">投递简历</button>
+			</view>
+		</view>
 	</view>
 </template>
 
 <script>
-	export default {
-		data() {
-			return {
-				
-			};
+export default {
+	data() {
+		return {
+			latitude: 39.909,
+			longitude: 116.39742,
+			covers: [
+				{
+					latitude: 39.909,
+					longitude: 116.39742,
+					iconPath: '../../../static/location.png'
+				},
+				{
+					latitude: 39.9,
+					longitude: 116.39,
+					iconPath: '../../../static/location.png'
+				}
+			]
+		};
+	},
+	methods: {
+		detail() {
+			uni.navigateTo({
+				url: '/pages/clsd/job/company'
+			});
 		}
 	}
+};
 </script>
 
 <style lang="scss">
-
+.title {
+	font-weight: bold;
+}
+.price {
+	padding-top: 5px;
+	font-size: 15px;
+	font-weight: bold;
+	color: #ff5722;
+}
+.desc {
+	padding-top: 5px;
+	font-size: 14px;
+}
+.bos {
+	background-color: white;
+	padding: 20px;
+	border-radius: 25px 25px 0px 0px;
+}
+.ms {
+	margin-top: 20px;
+	overflow: hidden;
+	.mtitle {
+		font-weight: bold;
+		margin-bottom: 10px;
+	}
+	.item {
+		font-size: 14px;
+		padding-top: 7px;
+	}
+	image {
+		float: left;
+		width: 55px;
+		height: 55px;
+		border-radius: 50%;
+	}
+	.con {
+		float: left;
+		padding-left: 10px;
+		.mti {
+			font-weight: bold;
+			padding-bottom: 5px;
+		}
+		.address {
+			font-size: 14px;
+		}
+	}
+	.icon {
+		float: right;
+		margin-top: 14px;
+	}
+}
+map {
+	border-radius: 8px;
+	overflow: hidden;
+	margin-top: 15px;
+}
+.footer {
+	position: fixed;
+	width: 100%;
+	bottom: 20px;
+	.td {
+		width: 100%;
+		.btn {
+			width: 60%;
+		}
+	}
+}
 </style>

+ 7 - 2
app/pages/clsd/job/part_time.vue

@@ -9,12 +9,12 @@
 			<u-tabs :list="tab" :current="current"></u-tabs>
 		</view>
 		<view class="jobs">
-			<view class="part_time" v-for="(item, index) in jobs" :key="index">
+			<view class="part_time" v-for="(item, index) in jobs" :key="index" @click="detail()">
 				<view class="title omit">兼职{{ item.job }}</view>
 				<view class="price">{{ item.price }}元/天</view>
 				<text class="date">4.16-4.17</text>
 				<view class="address">
-					<text>{{ item.name }}</text>
+					<text @click.stop="company()">{{ item.name }}</text>
 					<text class="add">申请</text>
 				</view>
 			</view>
@@ -71,6 +71,11 @@ export default {
 	onShow() {},
 	onLoad() {},
 	methods: {
+		detail() {
+			uni.navigateTo({
+				url: '/pages/clsd/job/detail'
+			})
+		},
 		go(url) {
 			if (this.hasLogin()) {
 			} else {

+ 5 - 2
app/pages/clsd/my/index.vue

@@ -72,11 +72,11 @@
 					</view>
 				</view>
 			</view>
-			<view class="cd">
+			<view class="cd" @click="go('index')">
 				<view class="out">
 					<view class="int">
 						<view class="icon" style="background-color: #03A9F4">&#xe725;</view>
-						<view class="title">企业入驻</view>
+						<view class="title">承揽广场</view>
 					</view>
 				</view>
 			</view>
@@ -163,6 +163,9 @@
 			},
 			go(url) {
 				if (this.hasLogin()) {
+					if (url == 'index') {
+						uni.navigateTo({ url: '/pages/index/index' });
+					}
 					if (url == 'auth') {
 						uni.navigateTo({ url: '/pages/auth/index' });
 					}

+ 8 - 0
app/pages/clsd/serve/index.vue

@@ -38,6 +38,14 @@
 					</view>
 				</view>
 			</view>
+			<view class="cd" @click="go('/pages/index/index')">
+				<view class="out">
+					<view class="int">
+						<view class="icon" style="background-color: #03A9F4">&#xe725;</view>
+						<view class="title">承揽广场</view>
+					</view>
+				</view>
+			</view>
 			<view class="cd" @click="go('/pages/clsd/job/full_time')">
 				<view class="out">
 					<view class="int">

BIN
app/static/a1.png