lyuis 7 сар өмнө
parent
commit
7aceac28fe

+ 4 - 4
common/config.js

@@ -3,8 +3,8 @@ if (process.env.NODE_ENV !== 'development') {
 	//正式环境
 	const ROOTPATH = "https://yizhizan.edccc.cn/sqx_fast";
 	const ROOTPATH1 = "https://yizhizan.edccc.cn/sqx_fast";
-	const ROOTPATH2 = "wss://zp.xianmaxiong.com/wss/websocket/"; //联系客服
-	const ROOTPATH3 = "wss://zp.xianmaxiong.com/wss/chatSocket/" ; //聊天
+	const ROOTPATH2 = "wss://yizhizan.edccc.cn/wss/websocket/"; //联系客服
+	const ROOTPATH3 = "wss://yizhizan.edccc.cn/wss/chatSocket/" ; //聊天
 	const ROOTPATH4 = "https://yizhizan.edccc.cn";
 	module.exports = {
 		APIHOST: ROOTPATH,
@@ -18,8 +18,8 @@ if (process.env.NODE_ENV !== 'development') {
 	//测试环境
 	const ROOTPATH = "/sqx_fast";
 	const ROOTPATH1 = "/sqx_fast";
-	const ROOTPATH2 = "wss://zp.xianmaxiong.com/wss/websocket/"; //联系客服
-	const ROOTPATH3 = "wss://zp.xianmaxiong.com/wss/chatSocket/"; //聊天
+	const ROOTPATH2 = "wss://yizhizan.edccc.cn/wss/websocket/"; //联系客服
+	const ROOTPATH3 = "wss://yizhizan.edccc.cn/wss/chatSocket/"; //聊天
 	const ROOTPATH4 = "";
 	module.exports = {
 		APIHOST: ROOTPATH,

+ 1 - 1
components/btnPopous/btnPopous.vue

@@ -71,7 +71,7 @@
 							<view class="jobAll-item-box-item-info flex justify-between align-center">
 								<view class="jobAll-item-box-item-info-l flex align-center">
 									<image :src="item.hr&&item.hr.hrImg?item.hr.hrImg:'../../static/logo.png'"
-										style="width: 58rpx;height: 58rpx;border-radius: 50%;margin-right: 20rpx;" mode=""></image>
+										style="width: 58rpx;height: 58rpx;border-radius: 50%;" mode="aspectFill"></image>
 									<view class="company-info-text" v-if="item.company">
 										{{item.user&&item.user.userName?item.user.userName:'未知'}}·{{item.hr&&item.hr.hrPosition||'人事总监'}}
 									</view>

+ 27 - 7
pages/msg/im.vue

@@ -149,12 +149,12 @@
 							<view class="gwList-box-item-box-info flex justify-between align-center">
 								<view class="gwList-box-item-box-info-l flex align-center">
 									<image
-										:src="postPushInfo.company?postPushInfo.company.companyLogo:'../../static/logo.png'"
+										:src="postPushInfo.hr&&postPushInfo.hr.hrImg?postPushInfo.hr.hrImg:'../../static/logo.png'"
 										style="width: 58rpx;height: 58rpx;border-radius: 50%;margin-right: 20rpx;"
 										mode=""></image>
-									<view class="people" v-if="postPushInfo.company">
-										{{postPushInfo.company.companyLegalPerson?postPushInfo.company.companyLegalPerson:'未知'}}
-									</view>·创始人
+									<view class="people">
+										{{postPushInfo.user&&postPushInfo.user.userName?postPushInfo.user.userName:'未知'}}
+									</view>·{{postPushInfo.hr&&postPushInfo.hr.hrPosition||'创始人'}}
 								</view>
 								<!-- 
 									<view class="gwList-box-item-box-info-r flex justify-end">
@@ -168,8 +168,8 @@
 								<view class="time-text">
 									7月24日 14:34 向你发起的沟通
 								</view>
-								<view class="favorite-btn flex align-center" @click.stop="toggleFavorite">
-									<text class="favorite-icon"></text>
+								<view :class="['favorite-btn  flex align-center',postPushInfo.isCollect?'collectActived':'']" @click.stop="setCollection(postPushInfo.postPushId)">
+									<text class="favorite-icon"><u-icon :name="postPushInfo.isCollect?'star-fill':'star'"></u-icon></text>
 									<text class="favorite-text">收藏职位</text>
 								</view>
 							</view>
@@ -500,7 +500,7 @@
 							style="height: 200rpx;width: 200rpx;margin-right: 20rpx;"></image>
 						<image class="chat-listitem-text textColor" @longpress="caozuoActive(item)"
 							@tap="viewImg(item.content)" v-if="item.content && item.messageType === 4"
-							:src="'https://zp.118zp.com/emoji/' +item.content"
+							:src="'../../static/emoji/' +item.content"
 							style="height: 80rpx;width: 80rpx;margin-right: 20rpx;">
 						</image>
 
@@ -2528,6 +2528,7 @@
 						setTimeout(() => {
 							that.getTimeOrListItem1();
 							that.content = '';
+							that.hideDrawer();
 						}, 50);
 
 						console.log(that.content);
@@ -2626,6 +2627,22 @@
 					urls: imgsArray
 				});
 			},
+			/**
+			 * 收藏岗位
+			 */
+			setCollection(postPushId) {
+				this.$Request.postT("/app/myCollection/saveCollection", {
+					postPushId: postPushId,
+					type: 1
+				}).then(res => {
+					if (res.code == 0) {
+						uni.showToast({
+							title: res.msg
+						})
+						this.getInfo()
+					}
+				})
+			},
 		},
 	};
 </script>
@@ -2672,6 +2689,9 @@
 				font-size: 12px;
 			}
 		}
+		.collectActived{
+			color: #016BF6;
+		}
 	}
 
 	.avatorm {

+ 8 - 8
pages/my/index.vue

@@ -13,7 +13,7 @@
 					<view class="info-box-btn flex justify-end align-center" style="padding-right: 32rpx;"
 						v-if="token && XCXIsSelect != '否'">
 						<image src="@/static/images/jobApplicant/qiehuan.svg" mode="scaleToFill"
-							style="margin-top: 40rpx" @click="bindQe()" />
+							style="margin-top: 40rpx;" @click="bindQe()" />
 						<!-- <image
               src="../../static/images/my/icon/selectUser.png"
               style="width: 40rpx; height: 100%; margin-right: 40rpx"
@@ -23,8 +23,8 @@
             </image>
             <image
               src="../../static/images/my/icon/set.png"
-              style="width: 44rpx; height: 100%"
-              mode=""
+              style="width: 36rpx; height: 36rpx;margin-top: 40rpx"
+              mode="aspectFill"
             >
             </image> -->
 					</view>
@@ -201,22 +201,22 @@
 									<view class="jobServer-box-btn-item flex justify-center flex-wrap"
 										@click="goNav('/pages/my/onlineResume')">
 										<image src="../../static/images/index/qwzn.svg" mode=""></image>
-										<view class=""> 我的简历 </view>
+										<view class=""> 在线简历 </view>
 									</view>
 									<view class="jobServer-box-btn-item flex justify-center flex-wrap"
 										@click="refresh()">
 										<image src="../../static/images/index/cpbk.svg" mode=""></image>
-										<view class=""> 简历刷新 </view>
+										<view class=""> 附件简历 </view>
 									</view>
 									<view class="jobServer-box-btn-item flex justify-center flex-wrap"
-										@click="goNav('/package/my/pingbi')">
+										@click="goNav('/package/jobIntention/tagManage')">
 										<image src="../../static/images/index/fwzx.svg" mode=""></image>
-										<view class=""> 屏蔽公司 </view>
+										<view class=""> 求职意向 </view>
 									</view>
 									<view class="jobServer-box-btn-item flex justify-center flex-wrap"
 										@click="gojiLuList('/package/records/records', '面试记录')">
 										<image src="../../static/images/index/rmhd.svg" mode=""></image>
-										<view class=""> 我的面试 </view>
+										<view class=""> 项目中心 </view>
 									</view>
 								</view>
 							</view>