Jelajahi Sumber

Merge branch 'master' of https://git.nanodreamtech.com/Boss/yizhizan-h5

# Conflicts:
#	pages/public/loginphone.vue
7 bulan lalu
induk
melakukan
ee0e182351

+ 9 - 9
manifest.json

@@ -63,7 +63,7 @@
                 "payment" : {
                     "weixin" : {
                         "__platform__" : [ "android" ],
-                        "appid" : "wxeaffcaea958472d3",
+                        "appid" : "wx6b884c8431f096c4",
                         "UniversalLinks" : "https://maxiong.xianmxkj.com/"
                     },
                     "alipay" : {
@@ -72,14 +72,14 @@
                 },
                 "share" : {
                     "weixin" : {
-                        "appid" : "wxeaffcaea958472d3",
+                        "appid" : "wx6b884c8431f096c4",
                         "UniversalLinks" : "https://maxiong.xianmxkj.com/"
                     }
                 },
                 "oauth" : {
                     "weixin" : {
-                        "appid" : "wxeaffcaea958472d3",
-                        "appsecret" : "32f6f3ce599abff2fa0191a36780c66c",
+                        "appid" : "wx6b884c8431f096c4",
+                        "appsecret" : "30d3fd06ab473f07b0a4b45e1048b5cb",
                         "UniversalLinks" : "https://maxiong.xianmxkj.com/"
                     }
                 },
@@ -199,11 +199,11 @@
                         "^/TencentGet" : ""
                     }
                 },
-				"/sqx_fast": {
-				  "target": "http://192.168.0.10:7155",
-				  "changeOrigin": true,
-				  "secure" : false
-				}
+                "/sqx_fast" : {
+                    "target" : "http://192.168.0.10:7155",
+                    "changeOrigin" : true,
+                    "secure" : false
+                }
             }
         },
         "sdkConfigs" : {

+ 7 - 1
package/jobIntention/addExpectation.vue

@@ -133,7 +133,8 @@ export default {
 			trackWidth: 0,
 			draggingThumb: null, // 'left' 或 'right' 或 null
 			startX: 0,
-			startValue: 0
+			startValue: 0,
+			isWork:false
 		}
 	},
 	computed: {
@@ -322,6 +323,9 @@ export default {
 		    uni.showToast({ title: "请选择从事方向", icon: "none" });
 		    return;
 		  }
+		  if(this.isWork)
+			return
+			this.isWork=true
 			let data={
 				intentionId:this.id,
 				ruleClassifyId:this.jobId,
@@ -339,6 +343,8 @@ export default {
 			}
 		  uni.showLoading({ title: "提交中..." });
 		  this.$Request.postJson("/app/intention/saveUpdate", data).then((res) => {
+			  this.isWork=false
+			  this.industry=''
 			  uni.hideLoading();
 		    if (res.code == 0) {
 		        uni.showToast({ title: "保存成功", icon: "none" });

+ 1 - 0
package/jobIntention/tagManage.vue

@@ -121,6 +121,7 @@ export default {
 	},
 	methods: {
 		goBack() {
+			uni.$emit('updatePosition')
 			uni.navigateBack()
 		},
 		getData(){

+ 145 - 133
pages/index/game/gameList.vue

@@ -317,21 +317,34 @@ export default {
     let systemInfo = uni.getSystemInfoSync();
     this.statusBarHeight = systemInfo.statusBarHeight || 0;
 	let that = this;
-			uni.$on('city', data => {
-				that.city = data.city
-				uni.setStorageSync('city', that.city)
-			})
+	// 更换城市调用getJobSearchList
+	uni.$on('city', data => {
+		that.city = data.city
+		uni.setStorageSync('city', that.city);
+		this.searchPage = 1
+		this.getJobSearchList();
+	})
+	// 监听筛选条件触发getJobSearchList
+	uni.$on('updateRecord', () => {
+	    this.getFilterData();
+	})
+	// 监听工作性质变化
+	uni.$on('updatePosition', () => {
+		this.searchPage = 1;
+		this.page = 1;
+	    this.getTypeList();
+	})
 	if (uni.getStorageSync('city')) {
 		this.city = uni.getStorageSync('city')
 	} else {
 		this.city = ''
 	}
-    this.getTypeList();
     this.getLocation();
-    //this.getJobSearchList();
   },
   onUnload(){
-	uni.$off('city') 
+	uni.$off('city');
+	uni.$off('updateRecord');
+	uni.$off('updatePosition')
   },
   watch: {
   	current(newData, oldData) {
@@ -339,37 +352,37 @@ export default {
   		uni.showLoading({
   			title: '加载中'
   		})
-  		this.page = 1
+  		this.searchPage = 1
   		this.getJobSearchList();
   	},
   	currentSx(newData, oldData) {
   		uni.showLoading({
   			title: '加载中'
   		})
-  		this.page = 1
-  		this.getJobSearchList();
-  	},
-  	currentjob(newData, oldData) {
-  		uni.showLoading({
-  			title: '加载中'
-  		})
-  		this.page = 1
-  		this.getJobSearchList();
-  	},
-  	currentJobSx(newData, oldData) {
-  		uni.showLoading({
-  			title: '加载中'
-  		})
-  		this.page = 1
-  		this.getJobSearchList();
-  	},
-  	currentJobSxs(newData, oldData) {
-  		uni.showLoading({
-  			title: '加载中'
-  		})
-  		this.page = 1
+  		this.searchPage = 1
   		this.getJobSearchList();
   	},
+  	// currentjob(newData, oldData) {
+  	// 	uni.showLoading({
+  	// 		title: '加载中'
+  	// 	})
+  	// 	this.page = 1
+  	// 	this.getJobSearchList();
+  	// },
+  	// currentJobSx(newData, oldData) {
+  	// 	uni.showLoading({
+  	// 		title: '加载中'
+  	// 	})
+  	// 	this.page = 1
+  	// 	this.getJobSearchList();
+  	// },
+  	// currentJobSxs(newData, oldData) {
+  	// 	uni.showLoading({
+  	// 		title: '加载中'
+  	// 	})
+  	// 	this.page = 1
+  	// 	this.getJobSearchList();
+  	// },
   },
   onPageScroll(e) {
     // 监听页面滚动
@@ -380,107 +393,57 @@ export default {
       this.isFixed = false;
     }
   },
-  onShow(){
-	//获取选中的筛选条件
-	if (uni.getStorageSync('filter') && (uni.getStorageSync('filter')).length > 0) {
-		let filter = uni.getStorageSync('filter')
-		this.education = '' //学历
-		this.experience = '' //经验
-		this.industry = '' //行业
-		this.salaryRange = '' //薪资
-		this.companyPeople = '' //公司规模
-		filter.map(item => {
-			let arr = []
-			item.list.map(ite => {
-				if (ite.value != '不限') {
-					arr.push(ite.value)
-				}
-			})
-			switch (item.name) {
-				case '学历要求':
-					this.education = arr.join(',')
-					break;
-				case '薪资范围(单选)':
-					this.salaryRange = arr.join(',')
-					break;
-				case '经验要求':
-					this.experience = arr.join(',')
-					break;
-				case '公司规模':
-					this.companyPeople = arr.join(',')
-					break;
-				case '行业':
-					this.industry = arr.join(',')
-					break;
-			}
-	
-		})
-		// console.log(filter)
-	} else {
-		this.education = '' //学历
-		this.experience = '' //经验
-		this.industry = '' //行业
-		this.salaryRange = '' //薪资
-		this.companyPeople = '' //公司规模
-	} 
-	this.getJobSearchList();
-  },
   methods: {
     // 获取工作性质列表
     getTypeList() {
-	var that=this
-	//行业期望
-	this.$Request.get('/app/intention/getIntentionList', {
-		
-	}).then(res => {
-		if (res.code == 0) {
-			let arr = res.data
-		let classRule=[]
-		let industry=[{id:'不限',name:'不限'}]
-		var industryArr=this.industry==''?[]:this.industry.split(',')
-		industryArr.forEach(function(item){
-			if(that.$queue.array_column(that.directionList,'name').indexOf(item)<0)
-				industry.push({id:item,name:item})
-		})
-		
-		arr.forEach(function(item){
-			var tmp={}
-			tmp.id=item.ruleClassifyId
-			tmp.name=item.ruleClassifyName
-			tmp.label=item.ruleClassifyName
-			classRule.push(tmp)
-			var indus=!item.industry?[]:item.industry.split('/')
-			indus.forEach(function(ind){
-				var tm={}
-				tm.name=ind
-				tm.id=ind
-				if(that.$queue.array_column(industry,'name').indexOf(tm.name)<0)
-					industry.push(tm)
+		var that=this
+		//行业期望
+		this.$Request.get('/app/intention/getIntentionList', {}).then(res => {
+			if (res.code == 0) {
+				let arr = res.data
+			let classRule=[]
+			let industry=[{id:'不限',name:'不限'}]
+			var industryArr=this.industry==''?[]:this.industry.split(',')
+			industryArr.forEach(function(item){
+				if(that.$queue.array_column(that.directionList,'name').indexOf(item)<0)
+					industry.push({id:item,name:item})
+			})
+			
+			arr.forEach(function(item){
+				var tmp={}
+				tmp.id=item.ruleClassifyId
+				tmp.name=item.ruleClassifyName
+				tmp.label=item.ruleClassifyName
+				classRule.push(tmp)
+				var indus=!item.industry?[]:item.industry.split('/')
+				indus.forEach(function(ind){
+					var tm={}
+					tm.name=ind
+					tm.id=ind
+					if(that.$queue.array_column(industry,'name').indexOf(tm.name)<0)
+						industry.push(tm)
+				})
 			})
+				this.typeList = classRule
+				this.directionList=industry
+				that.getJobSearchList();
+				that.getJobList();
+			}
 		})
-			this.typeList = classRule
-			this.directionList=industry
-			console.log(44444)
-			that.getJobList();
-			// console.log(this.typeList, '1111')
-		}
-	})
-	return;
-      this.$Request
-        .getT("/app/dict/list", {
-          type: "工作性质",
-        })
-        .then((res) => {
-          if (res.code == 0) {
-            this.typeList = res.data.map((item) => ({
-              label: item.value,
-              value: item.code,
-            }));
-            // 获取到tabs数据后调用职位列表
-			console.log(3333333)
-            this.getJobList();
-          }
-        });
+		// this.$Request
+		// 	.getT("/app/dict/list", {
+		// 	  type: "工作性质",
+		// 	})
+		// 	.then((res) => {
+		// 	  if (res.code == 0) {
+		// 		this.typeList = res.data.map((item) => ({
+		// 		  label: item.value,
+		// 		  value: item.code,
+		// 		}));
+		// 		// 获取到tabs数据后调用职位列表
+		// 		this.getJobList();
+		// 	  }
+		// });
     },
     // 跳转到搜索页面
     goNavs(url) {
@@ -518,8 +481,7 @@ export default {
           that.getSelectCity(res.longitude,res.latitude)
         },
         fail: function () {
-			console.log('1111')
-          that.getJobList();
+			this.getTypeList();
         },
       });
     },
@@ -530,8 +492,7 @@ export default {
 				// console.log(res, '获取地址信息')
 				this.city = res.data.city ? res.data.city : '区域'
 				uni.setStorageSync('city', res.data.city)
-				console.log('2222')
-				that.getJobList();
+				that.getTypeList();
 			}
 		});
 	},
@@ -540,8 +501,8 @@ export default {
       let data = {
         page: this.page,
         limit: this.limit,
-        /* postType: this.typeList.length > 0 ? this.typeList[this.current].name : "", */
-		ruleClassifyName: this.typeList[this.current].name, //岗位名称
+        postType: this.typeList.length > 0 ? this.typeList[this.current].name : "",
+		ruleClassifyName: this.typeList.length > 0 ? this.typeList[this.current].name : "", //岗位名称
         screen: +this.currentSx + 1, //1推荐 2最新
         city: this.city == "全国" ? "" : this.city,
         lng: this.longitude,
@@ -593,9 +554,55 @@ export default {
     // 刷新职位列表
     refreshJobList() {
       this.page = 1;
-	  console.log(55555)
       this.getJobList();
     },
+	// 筛选求职列表
+	getFilterData(){
+		//获取选中的筛选条件
+		if (uni.getStorageSync('filter') && (uni.getStorageSync('filter')).length > 0) {
+			let filter = uni.getStorageSync('filter')
+			this.education = '' //学历
+			this.experience = '' //经验
+			this.industry = '' //行业
+			this.salaryRange = '' //薪资
+			this.companyPeople = '' //公司规模
+			filter.map(item => {
+				let arr = []
+				item.list.map(ite => {
+					if (ite.value != '不限') {
+						arr.push(ite.value)
+					}
+				})
+				switch (item.name) {
+					case '学历要求':
+						this.education = arr.join(',')
+						break;
+					case '薪资范围(单选)':
+						this.salaryRange = arr.join(',')
+						break;
+					case '经验要求':
+						this.experience = arr.join(',')
+						break;
+					case '公司规模':
+						this.companyPeople = arr.join(',')
+						break;
+					case '行业':
+						this.industry = arr.join(',')
+						break;
+				}
+		
+			})
+			// console.log(filter)
+		} else {
+			this.education = '' //学历
+			this.experience = '' //经验
+			this.industry = '' //行业
+			this.salaryRange = '' //薪资
+			this.companyPeople = '' //公司规模
+		}
+		this.searchPage = 1
+		this.getJobSearchList();
+	},
     // 获取求职列表
     getJobSearchList() {
       let data = {
@@ -608,6 +615,11 @@ export default {
         lat: this.latitude,
 		isDue:1,
         userId: uni.getStorageSync("userId") ? uni.getStorageSync("userId") : "",
+		education:this.education || '',//学历
+		experience:this.experience || '',//经验
+		industry:this.industry || '',//行业
+		salaryRange:this.salaryRange || '',//薪资
+		companyPeople:this.companyPeople || ''//公司规模
       };
       this.$Request.get("/app/postPush/userGetPostPushList", data).then((res) => {
 		  uni.hideLoading()

+ 8 - 6
pages/msg/im.vue

@@ -175,7 +175,7 @@
 							<!-- 时间和收藏 -->
 							<view class="time-favorite flex justify-between align-center">
 								<view class="time-text">
-									7月24日 14:34 向你发起的沟通
+									{{conversationInfo.createTime&&conversationInfo.createTime}} 向你发起的沟通
 								</view>
 								<view :class="['favorite-btn  flex align-center',postPushInfo.isCollection?'collectActived':'']" @click.stop="setCollection(postPushInfo.postPushId)">
 									<text class="favorite-icon"><u-icon :name="postPushInfo.isCollection?'star-fill':'star'"></u-icon></text>
@@ -217,18 +217,18 @@
 							<!-- 当前职位 -->
 							<view class="current-job">
 								<image src="../../static/images/aixin.svg" class="job-icon" mode="aspectFit"></image>
-								<text class="job-text">{{ resumesInfo.companyName }}·{{ resumesInfo.lastWorkPosition }}</text>
+								<text class="job-text">{{ resumesInfo.resumesListDtoList&&resumesInfo.resumesListDtoList.companyName||'' }}·{{ resumesInfo.resumesListDtoList&&resumesInfo.resumesListDtoList.lastWorkPosition||'' }}</text>
 							</view>
 				
 							<!-- 求职期望 -->
 							<view class="job-expectation">
 								<image src="../../static/images/xiangzi.svg" class="job-icon" mode="aspectFit"></image>
-								<text class="expectation-text">求职期望: {{ resumesInfo.expectedPosition }}</text>
+								<text class="expectation-text">{{ resumesInfo.resumesListDtoList&&resumesInfo.resumesListDtoList.companyName||'' }}·{{ resumesInfo.resumesListDtoList&&resumesInfo.resumesListDtoList.profession||'' }}</text>
 							</view>
 				
 							<!-- 技能标签 -->
 							<view class="skill-tags">
-								<view class="skill-tag" v-for="(skill, skillIndex) in resumesInfo.skills" :key="skillIndex">
+								<view class="skill-tag" v-for="(skill, skillIndex) in resumesInfo.resumesListDtoList.intentIndustry&&resumesInfo.resumesListDtoList.intentIndustry.split('/')||[]" :key="skillIndex">
 									{{ skill }}
 								</view>
 							</view>
@@ -240,7 +240,7 @@
 						</view>
 						<view class="time-favorite flex justify-between align-center">
 							<view class="time-text">
-								7月24日 14:34 沟通的职位-亚马逊
+								{{conversationInfo.createTime&&conversationInfo.createTime.substring(0,10)}} 沟通的职位-亚马逊{{resumesInfo.intentionRuleClassifyName}}
 							</view>
 						</view>
 					</view>
@@ -1023,7 +1023,8 @@
 				isVip: false, //是否是会员
 				isVideo: false, //是否打视频
 				ossUrl:configdata.ossUrl,
-				jobStatusList:[]
+				jobStatusList:[],
+				conversationInfo:{}
 			};
 		},
 		onUnload() {
@@ -1720,6 +1721,7 @@
 				}
 				this.$Request.getT("/app/chat/getConversationInfo", data).then(res => {
 					if (res.code == 0) {
+						this.conversationInfo=res.data
 						if (res.data.isSendWx) {
 							this.isSendWx = true
 						} else {

+ 9 - 4
pages/msg/index.vue

@@ -1,5 +1,5 @@
 <template>
-	<view class="msg-box">
+	<view class="msg-box" :style="{ paddingTop: BarHeight + 'px' }">
 		<!-- 顶部导航栏 -->
 		<view class="nav-header">
 			<view class="nav-left" @click="goSearch">
@@ -37,7 +37,7 @@
 				</view>
 			</view>
 		</view>
-		<view class="margin-topW">
+		<!-- <view class="margin-topW">
 			<view class="flex padding-tb radius padding-lr-sm bg" @click="goChat">
 				<view>
 					<image style="width: 80rpx;height: 80rpx;border-radius: 80rpx;"
@@ -56,7 +56,7 @@
 					</view>
 				</view>
 			</view>
-		</view>
+		</view> -->
 
 		<view v-if="chatList.length" class="margin-top-sm  content ">
 			<view class="radius padding-lr-sm bg" style="margin-top: 4rpx;" @click="goIM(item)"
@@ -183,6 +183,7 @@
 		},
 		data() {
 			return {
+				BarHeight:'',
 				page: 1,
 				limit: 100,
 				chatList: [],
@@ -217,6 +218,10 @@
 			}
 		},
 		onShow() {
+			// #ifdef APP-PLUS
+			let systemInfo = uni.getSystemInfoSync();
+			this.BarHeight = systemInfo.statusBarHeight;
+			// #endif
 			let that = this
 			that.userId = uni.getStorageSync('userId')
 			if (that.userId) {
@@ -521,7 +526,7 @@
 
 <style lang="scss">
 	.msg-box {
-		padding-top: 80rpx;
+		// padding-top: 80rpx;
 
 		.chat-title {
 			background: linear-gradient(180deg, rgba(13, 39, 247, 1) 0%, rgb(191, 194, 201) 100%);

+ 6 - 0
pages/my/educationExperience.vue

@@ -136,6 +136,7 @@ export default {
 						"博士",
 						"博士后"
 				],
+			isWork:false
 		}
 	},
 	onLoad(options) {
@@ -209,9 +210,14 @@ export default {
 				degree:this.departments[this.formData.departmentIndex],
 				detail:this.formData.workContent
 			}
+			if(this.isWork)
+				return
+				this.isWork=true
 		  uni.showLoading({ title: "提交中..." });
 		  this.$Request.postJson("/app/userFirst/addEdu", data).then((res) => {
 			  uni.hideLoading();
+			  this.isWork=false
+			  this.formData.companyName=''
 		    if (res.code == 0) {
 		        uni.showToast({ title: "保存成功", icon: "none" });
 		        // 实际开发中可以在这里添加跳转逻辑

+ 2 - 2
pages/my/jobApplicant/workRecord.vue

@@ -336,8 +336,8 @@ export default {
 	  eduList:[{
 			  school: "学校时间",
 			  profession: "专业",
-			  startTime: "在校时间",
-			  endTime: "离校时间",
+			  startTime: "2012-09-1",
+			  endTime: "2016-6-10",
 			  detail: "请填写您的教育经历",
 			  degree: "学历",
 			  }

+ 1 - 1
pages/my/onlineResume.vue

@@ -261,7 +261,7 @@
 				this.$Request.getT("/app/userFirst/getUserResumes", {}).then((res) => {
 				  if (res.code == 0) {
 				     that.detail=res.data
-					  that.hasEcommerceExperience=res.data.resumeList.ifExp?true:false
+					  that.hasEcommerceExperience=res.data.resumeList&&res.data.resumeList.ifExp?true:false
 					  that.detail.degree=that.$queue.getHighestEducation(res.data.eduList)
 					  
 					  res.data.workExps.forEach(function(item) {

+ 7 - 1
pages/my/workExperience.vue

@@ -223,7 +223,8 @@ export default {
 			departments:[],
 			departmentsIds:[],
 			positionLevels:['初级','资深'],
-			operateKey:0
+			operateKey:0,
+			isWork:false
 		}
 	},
 	onLoad(options) {
@@ -454,9 +455,14 @@ export default {
 				},
 				workExpDetails:postData
 			}
+			if(this.isWork)
+				return
+				this.isWork=true
 		  uni.showLoading({ title: "提交中..." });
 		  this.$Request.postJson("/app/userFirst/addWorkExp", data).then((res) => {
 			  uni.hideLoading();
+			  this.isWork=false
+			  this.formData.companyName==''
 		    if (res.code == 0) {
 		        uni.showToast({ title: "保存成功", icon: "none" });
 		        // 实际开发中可以在这里添加跳转逻辑

+ 55 - 8
pages/public/login.vue

@@ -62,13 +62,15 @@
      <!-- <button class="confirm-btn" style="margin-top: 100rpx" @click="register">
         手机号登录
       </button> -->
+	   <!-- #ifdef APP -->
 	  <view class="login-btn wechat" :class="{ disabled: !checked }"
-		:disabled="checked"
+		:disabled="checked" @click="login"
 	    ><image
 	      src="@/static/images/jobApplicant/wx.svg"
 	      mode="scaleToFill"
 	    />微信登录</view
 	  >
+	  <!-- #endif -->
 	  <view class="login-btn password" :class="{ disabled: !checked }"
 		:disabled="checked" @click="register(1)"
 	    ><image
@@ -541,18 +543,63 @@ export default {
                   url: "/pages/public/selectIdentity/selectIdentity",
                 });
               } else {
-                uni.navigateBack();
+                if (res.user.userType == 2) {
+                  // 这里判断一下看是否是第一次登录如果是就跳到引导页,如果不是就正常跳
+                  let firstLogin = uni.getStorageSync("firstLogin") || false;
+                  if (!firstLogin) {
+                    uni.navigateTo({
+                      url: "/pages/my/jobApplicant/guidePage",
+                    });
+                  } else {
+                    uni.reLaunch({
+                      url: "/pages/my/index",
+                    });
+                  }
+                } else {
+                  // 这里判断一下看是否是第一次登录如果是就跳到引导页,如果不是就正常跳
+                  let firstLogin = uni.getStorageSync("firstLogin") || false;
+                  if (!firstLogin) {
+                    uni.navigateTo({
+                      url: "/pages/my/jobApplicant/guidePage",
+                    });
+                  } else {
+                    uni.reLaunch({
+                      url: "/pages/my/index",
+                    });
+                  }
+                }
               }
             } else {
-              uni.navigateBack();
+              if (res.user.userType == 2) {
+                // 这里判断一下看是否是第一次登录如果是就跳到引导页,如果不是就正常跳
+                let firstLogin = uni.getStorageSync("firstLogin") || false;
+                if (!firstLogin) {
+                  uni.navigateTo({
+                    url: "/pages/my/jobApplicant/guidePage",
+                  });
+                } else {
+                  uni.reLaunch({
+                    url: "/pages/my/index",
+                  });
+                }
+              } else {
+                // 这里判断一下看是否是第一次登录如果是就跳到引导页,如果不是就正常跳
+                let firstLogin = uni.getStorageSync("firstLogin") || false;
+                if (!firstLogin) {
+                  uni.navigateTo({
+                    url: "/pages/my/jobApplicant/guidePage",
+                  });
+                } else {
+                  uni.reLaunch({
+                    url: "/pages/my/index",
+                  });
+                }
+              }
             }
           });
         } else {
-          uni.showModal({
-            showCancel: false,
-            title: "登录失败",
-            content: res.msg,
-          });
+          uni.hideLoading();
+          this.$queue.showToast(res.msg);
         }
       });
     },

+ 9 - 1
pages/public/loginphone.vue

@@ -186,7 +186,6 @@
 												uni.reLaunch({
 													url: "/pages/my/index",
 												});
-
 												// 这里判断一下看是否是第一次登录如果是就跳到引导页,如果不是就正常跳
 												// let firstLogin = uni.getStorageSync("firstLogin") || false;
 												// if (!firstLogin) {
@@ -275,11 +274,20 @@
 		text-align: left;
 	}
 
+<<<<<<< .mine
 	page {
 		height: 100%;
 		background: #fff;
 	}
 
+=======
+.send-msg {
+  color: rgba(1, 107, 246, 1);
+  font-size: 28rpx;
+  font-weight: 400;
+}
+>>>>>>> .theirs
+
 	.forgot-password {
 		text-align: left;
 		margin-top: 8rpx;

+ 2 - 2
pages/public/register.vue

@@ -409,8 +409,8 @@ export default {
           this.$queue.setData("userId", res.data.userId);
           this.$queue.setData("userName", res.data.userName);
           this.$queue.setData("phone", res.data.phone);
-          this.$queue.setData("invitationCode", res.user.invitationCode);
-          this.$queue.setData("inviterCode", res.user.inviterCode);
+          this.$queue.setData("invitationCode", res.data.invitationCode);
+          this.$queue.setData("inviterCode", res.data.inviterCode);
 
           this.userName = res.data.userName;
           this.invitationCode = res.data.invitationCode;