xhj há 2 anos atrás
pai
commit
1404fca9c0

+ 1 - 1
App.vue

@@ -19,6 +19,7 @@
 
 	export default {
 		onLaunch: function(options) {
+			req.removeStorage('shareId')
 			// this.globalData.appInitData();
 			this.globalData.InitUpdateManager();
 			this.globalData.getChatList();
@@ -297,7 +298,6 @@
 			req.setStorage('scene', scene)
 			this.globalData.getVideoScene();
 		},
-
 		globalData: {
 			phoneNumber: '',
 			unReadMessageNum: 0,

+ 5 - 2
card/cardDetail/cardDetail.vue

@@ -12,7 +12,7 @@
 			</view>
 			<view class="pf">
 				<view class="pf-title">综合评分</view>
-				<uni-rate style="justify-content: center;" class="ddflex" color="#999999" active-color="#FF4600" :readonly="true" size="18" allow-half :value="evaluateInfo.evaluateDTO.serveScore/2" />
+				<uni-rate style="justify-content: center;" class="ddflex" color="#999999" active-color="#FF4600" :readonly="true" size="18" allow-half :value="evaluateInfo.info.avage/2" />
 			</view>
 			<view class="user-data ddflex">
 				<view>
@@ -44,7 +44,7 @@
 			<view class="user-btn" @click="submit">
 				选TA做专属顾问
 			</view>
-			<view class="user-btn-text" @click="jumpUrl('/card/cardFound/cardFound')">
+			<view class="user-btn-text" @click="jumpUrl('/card/cardList/cardList')">
 				更多专属顾问>
 			</view>
 		</view>
@@ -126,6 +126,9 @@
 			submit(){
 				req.postRequest('/api/visiting/card/bindManageSaleNo',{manageSaleNo:this.cardInfo.jobNumber},res=>{
 					req.msg('已切换专属顾问')
+					let userInfo = req.getStorage('userInfo')
+					userInfo.manageSaleNo = this.cardInfo.jobNumber
+					req.setStorage('userInfo',userInfo)
 					setTimeout(()=>{
 						uni.switchTab({
 							url:'/pages/index/index'

+ 3 - 2
card/cardFound/cardFound.css

@@ -195,8 +195,9 @@
 }
 
 .nearby-text image {
-	width: 23rpx;
-	height: 32rpx;
+	width: 10rpx;
+	height: 19rpx;
+	margin-left: 16rpx;
 }
 
 .bot {

+ 22 - 18
card/cardFound/cardFound.vue

@@ -8,7 +8,7 @@
 			<view class="nearby-yuan"></view>
 			<image src="../../static/images/fj_loca.png" class="loca"></image>
 			<view class="nearby">
-				<view class="nearby-text ddflex">附近<image src="/static/images/fj_loca.png"></image></view>
+				<view class="nearby-text ddflex" @click="jumpUrl('/card/cardList/cardList')">附近<image src="/static/pages/images/more.png"></image></view>
 				<view class="gan"></view>
 			</view>
 		</view>
@@ -23,7 +23,7 @@
 				<view class="flex" style="min-width: 0;">
 					<view class="ddflex">
 						<view class="card-name fflex tover">{{cabInfo.realName?cabInfo.realName:''}}</view>
-						<uni-rate class="ddflex" color="#999999" active-color="#FF4600" :readonly="true" size="16" allow-half :value="4" />
+						<uni-rate class="ddflex" color="#999999" active-color="#FF4600" :readonly="true" size="16" allow-half :value="cabInfo.evaluateScore?cabInfo.evaluateScore/2:5" />
 					</view>
 					<view class="ddflex" style="margin-top: 4rpx;">
 						<view class="card-tag">{{cabInfo.jobName}}</view>
@@ -178,21 +178,25 @@ export default {
 				
 				for(let i=0;i<this.covers.length;i++){
 					let it = this.covers[i]
-					let markerLogo = await this.getMarkerLogo(it.logo,it.id==markerId?2:null)
-					let obj = {
-						latitude: it.latitude,
-						longitude: it.longitude,
-						width: 80,
-						height: 92,
-						logo:it.logo,
-						id:it.id,
-						// iconPath: '/static/images/jg_map_ico.png',
-						// 'https://img.zhiqiyun.com/test/2023/07/27/ec50eeee1ab3358d9ba397c86ae8fcc6.jpeg'
-						iconPath: markerLogo//显示的图标     
-						// radius: it.column_4[0].radius,//检索的半径,单位为米
-						// joinCluster: true
+					if(it.id==markerId){
+						let markerLogo = await this.getMarkerLogo(it.logo,it.id==markerId?2:null)
+						let obj = {
+							latitude: it.latitude,
+							longitude: it.longitude,
+							width: 80,
+							height: 92,
+							logo:it.logo,
+							id:it.id,
+							// iconPath: '/static/images/jg_map_ico.png',
+							// 'https://img.zhiqiyun.com/test/2023/07/27/ec50eeee1ab3358d9ba397c86ae8fcc6.jpeg'
+							iconPath: markerLogo//显示的图标     
+							// radius: it.column_4[0].radius,//检索的半径,单位为米
+							// joinCluster: true
+						}
+						covers.push(obj)
+					}else{
+						covers.push(it)
 					}
-					covers.push(obj)
 				}
 			}
 			this.covers = JSON.parse(JSON.stringify(covers))
@@ -236,6 +240,8 @@ export default {
 			}
 			return new Promise(async(resolve,reject)=>{
 				req.getRequest('/api/visiting/card/cardInfoList',form,async res=>{
+					this.cabList = res.list;
+					this.getCabInfo(0)
 					let data = {list:[]}
 					data.list = res.list.map(item=>{
 						let obj = {
@@ -273,8 +279,6 @@ export default {
 						})
 					}
 					that.covers = covers
-					this.cabList = res.list;
-					this.getCabInfo(0)
 					resolve();
 				})
 			})

+ 123 - 45
card/create/create.vue

@@ -1,5 +1,5 @@
 <template>
-	<view>
+	<view v-if="!loading">
 		<view class="form">
 			<view class="li ddflex">
 				<view class="label">头像</view>
@@ -10,12 +10,12 @@
 			</view>
 			<view class="li ddflex">
 				<view class="label">姓名</view>
-				<input v-model="realName" placeholder="请填写你的真实姓名" placeholder-class="placeholder" class="ipt flex" />
+				<input v-model="realName" :disabled="true" placeholder="请填写你的真实姓名" placeholder-class="placeholder" class="ipt flex" />
 			</view>
 			
 			<view class="li ddflex">
 				<view class="label">工号</view>
-				<input v-model="jobNumber" placeholder="请输入工号" placeholder-class="placeholder" class="ipt flex" />
+				<input v-model="jobNumber" :disabled="true" placeholder="请输入工号" placeholder-class="placeholder" class="ipt flex" />
 			</view>
 			
 			<view class="li ddflex">
@@ -27,7 +27,7 @@
 			
 			<view class="li ddflex">
 				<view class="label">执业证书</view>
-				<input v-model="realName" placeholder="请输入执业证书编号" placeholder-class="placeholder" class="ipt flex" />
+				<input v-model="certificateNo" :disabled="true" placeholder="请输入执业证书编号" placeholder-class="placeholder" class="ipt flex" />
 			</view>
 		</view>
 		
@@ -36,7 +36,7 @@
 			<view class="li ddflex">
 				<view class="label">手机</view>
 				<input v-model="phone" maxlength="11" type="number" placeholder="请填写手机号" placeholder-class="placeholder" class="ipt flex" />
-				<view class="tong ddflex" @click="intWechatNumber"><image src="../static/images/wxth.png"></image>微信同号</view>
+				<!-- <view class="tong ddflex" @click="intWechatNumber"><image src="../static/images/wxth.png"></image>微信同号</view> -->
 			</view>
 			<view class="li ddflex">
 				<view class="label">微信号</view>
@@ -92,11 +92,24 @@
 			<view class="tit ddflex"><view class="flex">公司信息</view></view>
 			<view class="li ddflex">
 				<view class="label">公司</view>
-				<input v-model="companyName" placeholder="请填写公司名称" placeholder-class="placeholder" class="ipt flex" />
+				<input v-model="companyName" :disabled="true" placeholder="请填写公司名称" placeholder-class="placeholder" class="ipt flex" />
+			</view>
+			<view class="li ddflex">
+				<view class="label">公司简介</view>
+				<input v-if="!companyIntroduction" @tap="jumpUrl('/card/editDesc/editDesc?isCompanyIntroduction=true')" :disabled="true"  maxlength="11" type="number" placeholder="请填写公司简介" placeholder-class="placeholder" class="ipt flex" />
+				<view class="fflex" v-else style="color: #47C776;"  @tap="jumpUrl('/card/editDesc/editDesc?isCompanyIntroduction=true')">已完善</view>
+				<image src="../../static/images/rico.png" class="rico"></image>
+			</view>
+			<view class="li ddflex">
+				<view class="label">入司时间</view>
+				<picker mode="date" v-model="inDate" :disabled="true" @change="inDateChange">
+					{{inDate?inDate:'请填写公司名称'}}
+				</picker>
+				<!-- <input v-model="companyName" :disabled="true" placeholder="请填写公司名称" placeholder-class="placeholder" class="ipt flex" /> -->
 			</view>
 			<view class="li ddflex">
 				<view class="label">职位</view>
-				<input v-model="job" placeholder="请填写职位" placeholder-class="placeholder" class="ipt flex" />
+				<input v-model="job" :disabled="true" placeholder="请填写职位" placeholder-class="placeholder" class="ipt flex" />
 			</view>
 			<!-- <view class="li ddflex" @click="jumpUrl('/card/industry/industry?isPoistion=true')">
 				<view class="label">行业</view>
@@ -105,17 +118,10 @@
 			</view> -->
 			<view class="li ddflex">
 				<view class="label">所在地区</view>
-				<view :class="['item flex', city ? 'active' : '']">
-					<!-- #ifdef MP-WEIXIN -->
-					<picker class="picker flex" mode="region" :value="morCity" @change="bindCity">
-						<view :class="city?'':'placeholder'">{{ city ? city : '请选择地区' }}</view>
-					</picker>
-					<!-- #endif -->
-					<!-- #ifdef APP-PLUS -->
-					<pickerAddress class="picker flex" @change="bindAddressChange">
+				<view :class="['item flex', city ? 'active' : '']" @click="chooseLocation()">
+					<!-- <pickerAddress class="picker flex" @change="bindAddressChange" :disabled="true" @click="chooseLocation()"> -->
 						<view :class="city?'':'placeholder'">{{ city ? city : '请选择地区' }}</view>
-					</pickerAddress>
-					<!-- #endif -->
+					<!-- </pickerAddress> -->
 				</view>
 				<image src="../../static/images/rico.png" class="rico"></image>
 				<!-- <picker class="picker flex">
@@ -136,10 +142,10 @@
 
 <script>
 const req = require('../../utils/request.js');
-const api = require('../../utils/api.js');
 const util = require('../../utils/util.js');
+var QQMapWX = require('../../utils/qqmap.js');
 var app = getApp();
-import pickerAddress from '../components/wangding-pickerAddress/wangding-pickerAddress.vue';
+import pickerAddress from '../../components/wangding-pickerAddress/wangding-pickerAddress.vue';
 export default {
 	components: { pickerAddress },
 	data() {
@@ -161,6 +167,8 @@ export default {
 			nums: 0,
 			brief:'',//简介
 			address:'',//详细地址
+			inDate:'',//入司时间
+			companyIntroduction:'',//公司简介
 			
 			honorImgUrls:[],//荣誉
 			
@@ -169,15 +177,27 @@ export default {
 			city: '',
 			areaCode: '',
 			morCity: [],
+			location:{},
+			longitude:'',
+			latitude:'',
 			
 			userCard:null,//用户IP名片
+			employmentInfo:'',
+			saleNo:null,
+			certificateNo:null,
+			loading:true
 		};
 	},
-	onLoad(opt) {
+	async onLoad(opt) {
 		this.isEdit = opt.isEdit;
 		this.id = opt.id;
+		this.saleNo = opt.saleNo
+		
+		await req.silenceLogin(opt.saleNo)
+		this.loading = false
 		console.log('getUserCard')
 		this.getUserCard()
+		this.getEmploymentInfo()
 	},
 
 	methods: {
@@ -185,19 +205,34 @@ export default {
 			return new Promise((resolve,reject)=>{
 				req.getRequest('/api/user/info',{},res=>{
 					this.avatar = res.avatar;
-					this.realName = res.realName ? res.realName : res.nickName;
 					this.phone = res.mobile;
 					resolve();
 				})
 			})
 		},
+		getEmploymentInfo(){
+			return new Promise((resolve,reject)=>{
+				req.getRequest('/api/visiting/card/employmentInfo',{jobNumber:this.saleNo},res=>{
+					if(res.name){
+						this.employmentInfo = res;
+						this.realName = this.employmentInfo.name;
+						this.certificateNo = this.employmentInfo.professionalCertificateNo
+						this.jobNumber = this.employmentInfo.salesNo
+						this.companyName = this.employmentInfo.branchName
+						this.job = this.employmentInfo.actrankName
+						this.inDate = this.employmentInfo.inDate
+					}
+					else return req.msg("员工信息不存在")
+					resolve();
+				})
+			})
+		},
 		// 用户名片信息
 		getUserCard(){
 			req.getRequest('/api/visiting/card/userInfo', {}, res => {
 				console.log('getUserCard',res)
 				this.userCard = res
 				if(!res){
-					// this.getCompanyData()
 					this.getUserInfo()
 				}else{
 					this.id = res.id
@@ -210,30 +245,18 @@ export default {
 					this.wechatCode = res.wechatCode;
 					this.email = res.email;
 					this.companyName = res.companyName;
+					this.companyIntroduction = res.companyIntroduction
 					this.industryName = res.industryName;
 					this.tradeId = res.tradeId;
 					this.address = res.address;
 					this.job = res.job;
-					res.areaCode = JSON.parse(res.areaCode)
-					this.morCity = [res.areaCode.id.substring(0,2)+'0000',res.areaCode.id.substring(0,4)+'00',res.areaCode.id]
-					this.city = res.areaCode.name
+					this.morCity = [res.areaCode.substring(0,2)+'0000',res.areaCode.substring(0,4)+'00',res.areaCode]
+					this.city = res.areaCodeName
 					this.areaCode = this.morCity[2];
 				}
+				this.getEmploymentInfo()
 			});
 		},
-		getCompanyData(){
-			req.getRequest('/api/CKBCompany/info',{},res=>{
-				if(res){
-					this.companyName = res.title
-					this.industryName = res.trade
-					this.tradeId = res.industryId
-					this.address = res.address
-					this.morCity = JSON.parse(res.areaCode).map(item=>{return item.id})
-					this.areaCode = JSON.parse(res.areaCode).map(item=>{return item.id})[2]
-					this.city = JSON.parse(res.areaCode).map(item=>{return item.name}).join('')
-				}
-			})
-		},
 		jumpUrl(url) {
 			uni.navigateTo({
 				url: url
@@ -381,7 +404,55 @@ export default {
 			this.city = data.data[0] + data.data[1] + data.data[2];
 			this.areaCode = data.ids[2];
 		},
-
+		chooseLocation() {
+			var tha = this;
+			uni.chooseLocation({
+				success: function(res) {
+					if (res.name) {
+						tha.address = res.name;
+						tha.reverseGeocoder(res);
+						console.log('地址数据》》》:', res);
+					}
+				}
+			});
+		},
+		reverseGeocoder(location) {
+			// #ifdef H5
+				location = location.latitude + ',' + location.longitude
+				let url = 'https://apis.map.qq.com/ws/geocoder/v1/?address=';
+				this.$jsonp(url, {
+					key: req.public.mapLBSKEY,
+					location: location,
+					output: 'jsonp'
+				}).then(data => {
+					console.log('解析后的地址地址数据:', data);
+					data = data.result
+					this.city = data.ad_info.province+data.ad_info.city+data.ad_info.district
+					this.areaCode = data.ad_info.adcode;
+					this.morCity = [this.areaCode.substring(0,2)+'0000',this.areaCode.substring(0,4)+'00',this.areaCode]
+					this.longitude = data.ad_info.location.lng
+					this.latitude = data.ad_info.location.lat
+				}).catch(err => {
+					console.log(err);
+				});
+			// #endif
+			// #ifndef H5
+				QQMapWX.initMap();
+				QQMapWX.reverseGeocoder(location, data => {
+					console.log('解析后的地址地址数据:', data);
+					
+					this.city = data.ad_info.province+data.ad_info.city+data.ad_info.district
+					this.areaCode = data.ad_info.adcode;
+					this.morCity = [this.areaCode.substring(0,2)+'0000',this.areaCode.substring(0,4)+'00',this.areaCode]
+					this.longitude = data.ad_info.location.lng
+					this.latitude = data.ad_info.location.lat
+				});
+			//#endif
+		},
+		inDateChange(e){
+			console.log(e.detail.value)
+			this.inDate = e.detail.value
+		},
 		/**
 		 * 提交名片
 		 */
@@ -395,9 +466,11 @@ export default {
 			if (!this.wechat) return req.msg('请填写微信号');
 			if (!this.wechatCode) return req.msg('请上传微信二维码');
 			if (!this.companyName) return req.msg('请填写公司名称');
+			if (!this.companyIntroduction) return req.msg('请填写公司简介');
 			if (!this.job) return req.msg('请填写职位')
 			if (!this.areaCode) return req.msg('请选择所在地区');
 			if (!this.address) return req.msg('请填写详细地址');
+			if (!this.inDate) return req.msg("请选择入司时间")
 			var dataP = {};
 			dataP.avatar = this.avatar;
 			dataP.realName = this.realName;
@@ -406,13 +479,18 @@ export default {
 			dataP.wechat = this.wechat;
 			dataP.wechatCode = this.wechatCode;
 			dataP.companyName = this.companyName;
-			dataP.job = this.job;
-			dataP.areaCode = {
-				id:this.areaCode,
-				name :this.city
-			};
-			dataP.areaCode = JSON.stringify(dataP.areaCode)
+			dataP.companyIntroduction = this.companyIntroduction;
+			dataP.job = this.employmentInfo.actrank;
+			dataP.inDate = this.inDate;
+			// dataP.areaCode = {
+			// 	id:this.areaCode,
+			// 	name :this.city
+			// };
+			dataP.areaCode = this.areaCode
+			dataP.areaCodeName = this.city
 			dataP.address = this.address;
+			dataP.longitude = this.longitude;
+			dataP.latitude = this.latitude;
 			dataP.jobNumber = this.jobNumber;
 			dataP.honorImg = this.honorImgUrls.join(',');
 			dataP.styleImg = this.styleImgUrls.join(',');

+ 14 - 5
card/editDesc/editDesc.vue

@@ -3,7 +3,7 @@
 		<editor
 			@ready="onEditorReady"
 			id="editor"
-			placeholder="输入个人简介内容"
+			:placeholder="isCompanyIntroduction?'输入公司简介内容':'输入个人简介内容'"
 			placeholder-class="placeholder"
 			class="textarea"
 			@input="descInput"
@@ -17,13 +17,13 @@
 <script>
 const app = getApp();
 const req = require('../../utils/request.js');
-const api = require('../../utils/api.js');
 export default {
 	data() {
 		return {
 			id: '',
 			brief: '',
-			isReadOnly: true
+			isReadOnly: true,
+			isCompanyIntroduction:false
 		};
 	},
 
@@ -31,7 +31,12 @@ export default {
 		this.id = opt.id;
 		let pages = getCurrentPages();
 		let prevPage = pages[pages.length - 2];
-		this.brief = prevPage.$vm.brief;
+		if(opt.isCompanyIntroduction){
+			this.isCompanyIntroduction = true
+			this.brief = prevPage.$vm.companyIntroduction;
+		}else{
+			this.brief = prevPage.$vm.brief;
+		}
 	},
 
 	methods: {
@@ -63,7 +68,11 @@ export default {
 		save() {
 			let pages = getCurrentPages(); //获取所有页面栈实例列表
 			let prevPage = pages[pages.length - 2]; //上一页页面实例
-			prevPage.$vm.brief = this.brief;
+			if(this.isCompanyIntroduction){
+				prevPage.$vm.companyIntroduction = this.brief;
+			}else{
+				prevPage.$vm.brief = this.brief;
+			}
 			uni.navigateBack({
 				//uni.navigateTo跳转的返回,默认1为返回上一级
 				delta: 1

+ 7 - 1
card/index/index.css

@@ -80,16 +80,22 @@ page {
 	border-radius: 20rpx 20rpx 0 0;
 }
 
-.change {
+.change-option{
 	position: absolute;
 	right: 30rpx;
 	bottom: -40rpx;
+}
+.change {
 	font-size: 24rpx;
 	color: #fff;
 	border-radius: 100%;
 	background-color: #4891EF;
 	width: 80rpx;
 	height: 80rpx;
+	margin-right: 30rpx;
+}
+.change:last-child{
+	margin-right: 0;
 }
 
 .change image {

+ 19 - 14
card/index/index.vue

@@ -22,17 +22,19 @@
 				<view class="photo">
 					<block v-if="cardInfo.avatar">
 						<image :src="cardInfo.avatar" mode="aspectFill" class="poster"></image>
-						<view v-if="cardId" class="change ddflex" style="right: 140rpx;background-color:#27D699;"
-							@click="userBehavior(3)">
-							<image v-if="!cardInfo.isThumbs" style="width: 35rpx;height: 32rpx;"
-								src="/card/static/images/dz1.png"></image>
-							<image v-else style="width: 35rpx;height:32rpx;" src="/card/static/images/dz1_h.png">
-							</image>
-							<!-- 点赞 -->
-						</view>
-						<view v-if="cardId" class="change ddflex" @click="jumpUrl('/card/cardFound/cardFound')">
-							<image src="/card/static/images/change.png"></image>
-							<!-- 更换销售员-->
+						<view class="change-option ddflex">
+							<view v-if="cardId" class="change ddflex" style="right: 140rpx;background-color:#27D699;"
+								@click="userBehavior(3)">
+								<image v-if="!cardInfo.isThumbs" style="width: 35rpx;height: 32rpx;"
+									src="/card/static/images/dz1.png"></image>
+								<image v-else style="width: 35rpx;height:32rpx;" src="/card/static/images/dz1_h.png">
+								</image>
+								<!-- 点赞 -->
+							</view>
+							<view v-if="cardId&&(userInfo.manageSaleNo!=cardInfo.jobNumber)" class="change ddflex" @click="jumpUrl('/card/cardFound/cardFound')">
+								<image src="/card/static/images/change.png"></image>
+								<!-- 更换销售员-->
+							</view>
 						</view>
 					</block>
 				</view>
@@ -49,10 +51,10 @@
 						</view>
 						<view class="company ddflex">
 							<image src="/card/static/images/area.png"></image>
-							服务区域 {{ cardInfo.industryName?cardInfo.industryName:'湖南' }}
+							服务区域 {{ cardInfo.areaCodeName?cardInfo.areaCodeName:'湖南' }}
 						</view>
 						<view class="company">
-							执业证书:02000043090080002013000260
+							执业证书:{{ cardInfo.professionalCertificateNo?cardInfo.professionalCertificateNo:'暂无'}}
 						</view>
 						<view class="ddflex" style="margin-top: 30rpx;" v-if="cardInfo.wechat||cardInfo.wechat">
 							<view class="ddflex fflex" style="background: #F8F8F8;border-radius: 10rpx;padding: 20rpx;font-size: 26rpx;margin-right: 30rpx;" v-if="cardInfo.phone">
@@ -201,7 +203,7 @@
 				</view>
 				<view class="contacts" style="height: 300rpx;margin-top: 20rpx;">
 					<scroll-view scroll-x="true" class="contact" style="height: 300rpx;">
-						<view class=" ry-image" v-for="item in cardInfo.styleImg.split(',')" @click="previewImg(cardInfo.styleImg.split(','),index)">
+						<view class=" ry-image" v-for="item,index in cardInfo.styleImg.split(',')" @click="previewImg(cardInfo.styleImg.split(','),index)">
 							<image :src="item" mode="aspectFill"></image>
 						</view>
 					</scroll-view>
@@ -418,6 +420,8 @@ import util from '../../utils/util.js';
 				userId: '',
 				videoCurrent: null,
 				videoContext: '',
+				
+				userInfo:''
 			};
 		},
 		components:{ serviceContact },
@@ -437,6 +441,7 @@ import util from '../../utils/util.js';
 				await this.loadCodeParams();
 			}
 			await req.silenceLogin(this.options.userId ? this.options.userId : '', '')
+			this.userInfo = req.getStorage('userInfo')
 			this.getCardInfo();
 		},
 		onReachBottom() {

+ 1 - 1
pages/user/user.vue

@@ -91,7 +91,7 @@
 			</view>
 		</view>
 
-		<view class="con" v-if="!userInfos.userType">
+		<view class="con" v-if="!userInfos.userType&&recommendCard">
 			<view class="order">
 				<navigator url="" hover-class="none" class="tits dflex" @click="jumpUrl('mine/order/order')">
 					<view class="flex">我的顾问</view>

+ 3 - 1
topic/content/content.vue

@@ -70,13 +70,14 @@ export default {
 			config: {},
 			userInfo:{},
 			query:{},
-			id:null
+			id:null,
 		};
 	},
 
 	onLoad: async function(options) {
 		this.query = options
 		this.id = options.id;
+		if(options.userId) req.setStorage('shareId',options.userId)
 		await  req.silenceLogin(options.userId, '');
 		setTimeout(()=>{
 			this.userInfo = req.getStorage('userInfo')
@@ -90,6 +91,7 @@ export default {
 		// await this.monitor();
 	},
 	async onShow(){
+		
 		this.getConfig()
 		this.getBrowse();
 	},