jiangzixin 1 жил өмнө
parent
commit
b113c95d5b
1 өөрчлөгдсөн 35 нэмэгдсэн , 16 устгасан
  1. 35 16
      pages/index/index.vue

+ 35 - 16
pages/index/index.vue

@@ -27,7 +27,7 @@
 		<view class="summary">
 
 			<view class="topMenu">
-				<view class="topMenu-item"  @click="goLPage('/pages/comjobs/recruitFast')">
+				<view class="topMenu-item" @click="goLPage('/pages/comjobs/recruitFast')">
 					<image class="item-icon" :src="$getImageUrl('static/images/applet/index/topMenuA.png')"></image>
 					<view class="item-title">晋快招</view>
 					<view class="item-explain">悬赏招聘</view>
@@ -38,13 +38,13 @@
 					<view class="item-explain">家政服务</view>
 				</view>
 				<view class="topMenu-item" @tap="develop()">
-				<!-- <view class="topMenu-item" @tap="goLPage('/pages/comjobs/jobDemands')"> -->
+					<!-- <view class="topMenu-item" @tap="goLPage('/pages/comjobs/jobDemands')"> -->
 					<image class="item-icon" :src="$getImageUrl('static/images/applet/index/topMenuC.png')"></image>
 					<view class="item-title">晋全能</view>
 					<view class="item-explain">零工服务</view>
 				</view>
 				<view class="topMenu-item" @tap="develop()">
-				<!-- <view class="topMenu-item" @tap="goLPage('/pages/comjobs/businessHelp')"> -->
+					<!-- <view class="topMenu-item" @tap="goLPage('/pages/comjobs/businessHelp')"> -->
 					<image class="item-icon" :src="$getImageUrl('static/images/applet/index/topMenuD.png')"></image>
 					<view class="item-title">晋企帮</view>
 					<view class="item-explain">订单分包</view>
@@ -131,7 +131,11 @@
 					<view class="card-infor-right">
 						<view class="right-money card-center">
 							<image class="card-icon" :src="$getImageUrl('static/images/applet/index/cardC.png')">
-							</image><text>赏金</text><text class="right-money-num">{{item.retmoney}}元</text>
+							</image>
+							<view class="right-money-text">赏金<text class="right-money-num">{{item.retmoney}}元</text>
+							</view>
+							<image class="card-iconA" v-if="item.is_pay == 1"
+								:src="$getImageUrl('static/images/applet/other/paid.png')">
 						</view>
 						<view class="right-place card-center">
 							<image class="card-icon" :src="$getImageUrl('static/images/applet/index/cardD.png')">
@@ -146,7 +150,7 @@
 			</view>
 			<uni-load-more :status="pstatus"></uni-load-more>
 		</view>
-		
+
 		<view class="developing" style="text-align: center;padding: 30rpx 0;color:#797979" v-if="selectID != 0">
 			正在开发中,敬请期待
 		</view>
@@ -521,13 +525,13 @@
 					showCancel: false
 				});
 			},
-			goJbangjia(path='') {
+			goJbangjia(path = '') {
 				uni.navigateToMiniProgram({
 					appId: 'wx7c3f5350fb154209',
 					path: path,
 					envVersion: 'release',
 					success(res) {
-						console.log("跳转小程序成功!",res);
+						console.log("跳转小程序成功!", res);
 					}
 				})
 			},
@@ -789,12 +793,12 @@
 				height: 60rpx;
 				margin-bottom: 20rpx;
 			}
-			
+
 			.item-title {
 				font-weight: 600;
 				color: #000000;
 			}
-			
+
 			.item-explain {
 				margin-top: 10rpx;
 				font-size: 23rpx;
@@ -991,6 +995,12 @@
 					height: 35rpx;
 				}
 
+				.card-iconA {
+					margin-left: 10rpx;
+					width: 40rpx;
+					height: 40rpx;
+				}
+
 				.card-center {
 					height: 56rpx;
 					display: flex;
@@ -998,7 +1008,7 @@
 				}
 
 				.card-infor-left {
-					width: 60%;
+					width: 50%;
 
 					.left-job {
 						margin-bottom: 30rpx;
@@ -1018,16 +1028,25 @@
 
 
 				.card-infor-right {
-					width: 40%;
+					width: 45%;
 
 					.right-money {
 						margin-bottom: 30rpx;
 
-						.right-money-num {
-							margin-left: 10rpx;
-							font-size: 40rpx;
-							color: #FF0000;
-							font-weight: 600;
+						.right-money-text {
+							overflow: hidden;
+							text-overflow: ellipsis;
+							-webkit-line-clamp: 1;
+							display: -webkit-box;
+							-webkit-box-orient: vertical;
+
+							.right-money-num {
+								margin-left: 10rpx;
+								font-size: 30rpx;
+								color: #FF0000;
+								font-weight: 600;
+
+							}
 						}
 					}
 				}