|  | @@ -8,7 +8,7 @@
 | 
	
		
			
				|  |  |  				<view class="subTitle" @click="setEnv">新手赚钱帮助 ></view>
 | 
	
		
			
				|  |  |  				<view class="levelDiv"
 | 
	
		
			
				|  |  |  					style="background: url('https://dm.static.elab-plus.com/yezhu/h5/icon_line_back.png') center/100% 100% no-repeat;">
 | 
	
		
			
				|  |  | -					<view class="level_top" v-if="token">
 | 
	
		
			
				|  |  | +					<view class="level_top" v-if="userInfo.userId">
 | 
	
		
			
				|  |  |  						<image class="level_icon" src="https://dm.static.elab-plus.com/yezhu/h5/icon_Level.png" mode="">
 | 
	
		
			
				|  |  |  						</image>
 | 
	
		
			
				|  |  |  						<view class="level_text">{{userInfo.curlevel}}</view>
 | 
	
	
		
			
				|  | @@ -30,7 +30,7 @@
 | 
	
		
			
				|  |  |  								src="https://dm.static.elab-plus.com/yezhu/h5/icon_right.png" mode=""></image>
 | 
	
		
			
				|  |  |  						</view>
 | 
	
		
			
				|  |  |  					</view>
 | 
	
		
			
				|  |  | -					<view class="level_bottom" v-if="token">
 | 
	
		
			
				|  |  | +					<view class="level_bottom" v-if="userInfo.userId">
 | 
	
		
			
				|  |  |  						<levelView :currentLevel='userInfo.curIncome' :nextLevel='userInfo.nextIncome' :currentLevelTxt='userInfo.curlevel' :nextLevelTxt='userInfo.nextLevel'>
 | 
	
		
			
				|  |  |  						</levelView>
 | 
	
		
			
				|  |  |  					</view>
 | 
	
	
		
			
				|  | @@ -55,7 +55,7 @@
 | 
	
		
			
				|  |  |  					<view class="item_guide">
 | 
	
		
			
				|  |  |  						<image class="guide_img" src="https://dm.static.elab-plus.com/yezhu/icon_yezhu.png" mode="">
 | 
	
		
			
				|  |  |  						</image>
 | 
	
		
			
				|  |  | -						<text class="guide_title">注册业主</text>
 | 
	
		
			
				|  |  | +						<text class="guide_title" @click="clearToken">注册业主</text>
 | 
	
		
			
				|  |  |  						<text class="guide_desc">业主注册审核\n实时等级升级</text>
 | 
	
		
			
				|  |  |  					</view>
 | 
	
		
			
				|  |  |  					<image class="icon_guide" src="https://dm.static.elab-plus.com/yezhu/icon_to_guide.png" mode="">
 | 
	
	
		
			
				|  | @@ -84,19 +84,19 @@
 | 
	
		
			
				|  |  |  			</view>
 | 
	
		
			
				|  |  |  			<view class="content_tab">
 | 
	
		
			
				|  |  |  				<view class="tab_item" @click="toYezhu">
 | 
	
		
			
				|  |  | -					<image class="icon_tab" src="https://dm.static.elab-plus.com/yezhu/icon_zcyz.png" mode=""></image>
 | 
	
		
			
				|  |  | +					<image class="icon_tab"  src="../../static/icons/icon_zcyz_user.png" mode=""></image>
 | 
	
		
			
				|  |  |  					<text class="txt_tab">注册业主</text>
 | 
	
		
			
				|  |  |  				</view>
 | 
	
		
			
				|  |  |  				<view class="tab_item" @click="toShouYiPage">
 | 
	
		
			
				|  |  | -					<image class="icon_tab" src="https://dm.static.elab-plus.com/yezhu/icon_shouyi.png" mode=""></image>
 | 
	
		
			
				|  |  | +					<image class="icon_tab" src="../../static/icons/icon_shouyi_user.png" mode=""></image>
 | 
	
		
			
				|  |  |  					<text class="txt_tab">收益排行榜</text>
 | 
	
		
			
				|  |  |  				</view>
 | 
	
		
			
				|  |  |  				<view class="tab_item" @click="goReportPage">
 | 
	
		
			
				|  |  | -					<image class="icon_tab" src="https://dm.static.elab-plus.com/yezhu/icon_report.png" mode=""></image>
 | 
	
		
			
				|  |  | +					<image class="icon_tab" src="../../static/icons/icon_report_user.png" mode=""></image>
 | 
	
		
			
				|  |  |  					<text class="txt_tab">效果报表</text>
 | 
	
		
			
				|  |  |  				</view>
 | 
	
		
			
				|  |  |  				<view class="tab_item" @click="showMine">
 | 
	
		
			
				|  |  | -					<image class="icon_tab" src="https://dm.static.elab-plus.com/yezhu/icon_myinfo.png" mode=""></image>
 | 
	
		
			
				|  |  | +					<image class="icon_tab" src="../../static/icons/icon_user_mine.png" mode=""></image>
 | 
	
		
			
				|  |  |  					<text class="txt_tab">我的信息</text>
 | 
	
		
			
				|  |  |  				</view>
 | 
	
		
			
				|  |  |  			</view>
 | 
	
	
		
			
				|  | @@ -144,7 +144,7 @@
 | 
	
		
			
				|  |  |  				</view>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  				<view class="list_item" v-for="(item,index) in  houseList" :key='index'>
 | 
	
		
			
				|  |  | -					<image class="house_img" :src="item.image" mode=""></image>
 | 
	
		
			
				|  |  | +					<image class="house_img" :src="item.image" mode="aspectFill"></image>
 | 
	
		
			
				|  |  |  					<view class="item_content" @click="goDetailAction(item)">
 | 
	
		
			
				|  |  |  						<text class="house_name">{{item.name}}</text>
 | 
	
		
			
				|  |  |  						<view class="house_hk" v-if="item.taskCategory">
 | 
	
	
		
			
				|  | @@ -153,11 +153,11 @@
 | 
	
		
			
				|  |  |  						<text class="house_hk" v-else></text>
 | 
	
		
			
				|  |  |  						<view class="house_address">
 | 
	
		
			
				|  |  |  							<image src="https://dm.static.elab-plus.com/yezhu/icon_location.png" mode=""></image>
 | 
	
		
			
				|  |  | -							<text>{{item.city}} · {{item.minPrice}}-{{item.maxPrice}}万/m² · {{item.bizFormat}}</text>
 | 
	
		
			
				|  |  | +							<text style="width: 100%;">{{item.city}} · {{item.minPrice}}-{{item.maxPrice}}万元/m²  {{item.bizFormat?'· '+item.bizFormat:''}}</text>
 | 
	
		
			
				|  |  |  						</view>
 | 
	
		
			
				|  |  |  						<view class="house_num">
 | 
	
		
			
				|  |  |  							<image src="https://dm.static.elab-plus.com/yezhu/icon_family.png" mode=""></image>
 | 
	
		
			
				|  |  | -							<text>{{item.projectLayout}}</text>
 | 
	
		
			
				|  |  | +							<text style="width: 100%;">{{item.projectLayout}}</text>
 | 
	
		
			
				|  |  |  						</view>
 | 
	
		
			
				|  |  |  						<text class="house_desc">{{item.shareRemark}}</text>
 | 
	
		
			
				|  |  |  					</view>
 | 
	
	
		
			
				|  | @@ -168,11 +168,17 @@
 | 
	
		
			
				|  |  |  					</view>
 | 
	
		
			
				|  |  |  					<view class="item_bg"></view>
 | 
	
		
			
				|  |  |  				</view>
 | 
	
		
			
				|  |  | +				
 | 
	
		
			
				|  |  | +				<view class="com_noMore_text" v-if="noMore && houseList.length > 0">没有更多了</view>
 | 
	
		
			
				|  |  | +				
 | 
	
		
			
				|  |  | +				<view class="empty" v-if="houseList.length == 0">
 | 
	
		
			
				|  |  | +					<image class="emptyImg" src="https://dm.static.elab-plus.com/yezhu/h5/icon_empty.png" mode=""></image>
 | 
	
		
			
				|  |  | +					<view class="text">暂无数据</view>
 | 
	
		
			
				|  |  | +				</view>
 | 
	
		
			
				|  |  |  			</view>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  		</view>
 | 
	
		
			
				|  |  | -		<login-notice></login-notice>
 | 
	
		
			
				|  |  |  		<login></login>
 | 
	
		
			
				|  |  |  		<dmMine ref='mine' :userInfo='userInfo'></dmMine>
 | 
	
		
			
				|  |  |  	</view>
 | 
	
	
		
			
				|  | @@ -210,19 +216,23 @@
 | 
	
		
			
				|  |  |  				showGuide:false,
 | 
	
		
			
				|  |  |  				total:0,
 | 
	
		
			
				|  |  |  				pageNo:1,
 | 
	
		
			
				|  |  | -				pageSize:10
 | 
	
		
			
				|  |  | +				pageSize:10,
 | 
	
		
			
				|  |  | +				noMore:false
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  		},
 | 
	
		
			
				|  |  |  		mounted() {
 | 
	
		
			
				|  |  |  			this.color4 = app.globalData.color4;
 | 
	
		
			
				|  |  | -			let token = this.$cache.get('_token_owner_union');
 | 
	
		
			
				|  |  | -			this.token = token;
 | 
	
		
			
				|  |  |  			this.getData();
 | 
	
		
			
				|  |  |  			uni.$on("request",()=>{
 | 
	
		
			
				|  |  | -				let token2 = this.$cache.get('_token_owner_union');
 | 
	
		
			
				|  |  | -				this.token = token2;
 | 
	
		
			
				|  |  |  				this.getData();
 | 
	
		
			
				|  |  |  			})
 | 
	
		
			
				|  |  | +			let projectId = this.getQueryString('projectId');
 | 
	
		
			
				|  |  | +			if(projectId){
 | 
	
		
			
				|  |  | +				let e = {
 | 
	
		
			
				|  |  | +					projectId
 | 
	
		
			
				|  |  | +				}
 | 
	
		
			
				|  |  | +				this.goDetailAction(e)
 | 
	
		
			
				|  |  | +			}
 | 
	
		
			
				|  |  |  		},
 | 
	
		
			
				|  |  |  		onReachBottom() {
 | 
	
		
			
				|  |  |  			if(this.houseList.length<this.total){
 | 
	
	
		
			
				|  | @@ -232,6 +242,13 @@
 | 
	
		
			
				|  |  |  			
 | 
	
		
			
				|  |  |  		},
 | 
	
		
			
				|  |  |  		methods: {
 | 
	
		
			
				|  |  | +			getQueryString(name){
 | 
	
		
			
				|  |  | +				var reg = new RegExp("(^|\\?|&)"+ name +"=([^&]*)(\\s|&|$)", "i");
 | 
	
		
			
				|  |  | +				return reg.test(location.href) ? unescape(RegExp.$2.replace(/\+/g, " ")) : ""
 | 
	
		
			
				|  |  | +			},
 | 
	
		
			
				|  |  | +			clearToken(){
 | 
	
		
			
				|  |  | +				this.$cache.delete('_token_owner_union')
 | 
	
		
			
				|  |  | +			},
 | 
	
		
			
				|  |  |  			getData(){
 | 
	
		
			
				|  |  |  				this.pageNo = 1;
 | 
	
		
			
				|  |  |  				this.getUserInfo();
 | 
	
	
		
			
				|  | @@ -254,7 +271,8 @@
 | 
	
		
			
				|  |  |  						this.houseList = [];
 | 
	
		
			
				|  |  |  					}
 | 
	
		
			
				|  |  |  					this.houseList = this.houseList.concat(houseList);
 | 
	
		
			
				|  |  | -					this.total = pageModel.total||0
 | 
	
		
			
				|  |  | +					this.total = pageModel.total||0;
 | 
	
		
			
				|  |  | +					this.noMore = this.houseList.length==this.total
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  |  			},
 | 
	
		
			
				|  |  |  			async getUserInfo() {
 | 
	
	
		
			
				|  | @@ -296,15 +314,23 @@
 | 
	
		
			
				|  |  |  				})
 | 
	
		
			
				|  |  |  				if (ret.data.success) {
 | 
	
		
			
				|  |  |  				   let single = ret.data.single||null;//:0待审核1通过2拒绝
 | 
	
		
			
				|  |  | -					if(single.approvalStatus==0||single.approvalStatus==1){
 | 
	
		
			
				|  |  | -						uni.navigateTo({
 | 
	
		
			
				|  |  | -							url: '../certificationResultPage/certificationResultPage'
 | 
	
		
			
				|  |  | -						})
 | 
	
		
			
				|  |  | -					}else{
 | 
	
		
			
				|  |  | -						uni.navigateTo({
 | 
	
		
			
				|  |  | -							url: '../ownerCertification/ownerCertification'
 | 
	
		
			
				|  |  | -						})
 | 
	
		
			
				|  |  | -					}
 | 
	
		
			
				|  |  | +				   if(single){
 | 
	
		
			
				|  |  | +					   if(single.approvalStatus==0||single.approvalStatus==1){
 | 
	
		
			
				|  |  | +							uni.navigateTo({
 | 
	
		
			
				|  |  | +								url: '../certificationResultPage/certificationResultPage'
 | 
	
		
			
				|  |  | +							})
 | 
	
		
			
				|  |  | +					   }
 | 
	
		
			
				|  |  | +				   }else{
 | 
	
		
			
				|  |  | +					   uni.navigateTo({
 | 
	
		
			
				|  |  | +					   	url: '../ownerCertification/ownerCertification'
 | 
	
		
			
				|  |  | +					   })
 | 
	
		
			
				|  |  | +				   }
 | 
	
		
			
				|  |  | +					
 | 
	
		
			
				|  |  | +				}else{
 | 
	
		
			
				|  |  | +					uni.showToast({
 | 
	
		
			
				|  |  | +						icon:"none",
 | 
	
		
			
				|  |  | +						title:ret.data.message
 | 
	
		
			
				|  |  | +					})
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  |  				
 | 
	
		
			
				|  |  |  			},
 | 
	
	
		
			
				|  | @@ -323,12 +349,8 @@
 | 
	
		
			
				|  |  |  				if (href.indexOf("?")){
 | 
	
		
			
				|  |  |  					href = href.split('?')[0]
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  | -				let projectPath = href;
 | 
	
		
			
				|  |  | -				if(type==2){
 | 
	
		
			
				|  |  | -					projectPath = href + "pages/houseDetail/houseDetail"
 | 
	
		
			
				|  |  | -				}
 | 
	
		
			
				|  |  |  				uni.navigateTo({
 | 
	
		
			
				|  |  | -					url:'../shareCardPage/shareCardPage?page='+projectPath+"&projectId="+projectId+"&type="+type
 | 
	
		
			
				|  |  | +					url:'../shareCardPage/shareCardPage?page='+href+"&projectId="+projectId+"&type="+type
 | 
	
		
			
				|  |  |  				})
 | 
	
		
			
				|  |  |  			},
 | 
	
		
			
				|  |  |  			toLogin(){
 | 
	
	
		
			
				|  | @@ -338,7 +360,12 @@
 | 
	
		
			
				|  |  |  				this.showGuide = isShow;
 | 
	
		
			
				|  |  |  			},
 | 
	
		
			
				|  |  |  			showMine(){
 | 
	
		
			
				|  |  | -				this.$refs.mine.show()
 | 
	
		
			
				|  |  | +				if(this.userInfo.userId){
 | 
	
		
			
				|  |  | +					this.$refs.mine.show()
 | 
	
		
			
				|  |  | +				}else{
 | 
	
		
			
				|  |  | +					uni.$emit('login')
 | 
	
		
			
				|  |  | +				}
 | 
	
		
			
				|  |  | +				
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  		},
 | 
	
		
			
				|  |  |  		components: {
 | 
	
	
		
			
				|  | @@ -883,7 +910,7 @@
 | 
	
		
			
				|  |  |  						flex-direction: column;
 | 
	
		
			
				|  |  |  						margin-left: 50rpx;
 | 
	
		
			
				|  |  |  						z-index: 11;
 | 
	
		
			
				|  |  | -						max-width: 360rpx;
 | 
	
		
			
				|  |  | +						max-width: 51%;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  						.house_name {
 | 
	
		
			
				|  |  |  							width: 100%;
 | 
	
	
		
			
				|  | @@ -897,6 +924,7 @@
 | 
	
		
			
				|  |  |  						}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  						.house_hk {
 | 
	
		
			
				|  |  | +							width: 100%;
 | 
	
		
			
				|  |  |  							font-size: 26rpx;
 | 
	
		
			
				|  |  |  							font-family: Verdana, Verdana-Regular;
 | 
	
		
			
				|  |  |  							font-weight: 400;
 | 
	
	
		
			
				|  | @@ -909,6 +937,7 @@
 | 
	
		
			
				|  |  |  						}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  						.house_address {
 | 
	
		
			
				|  |  | +							width: 100%;
 | 
	
		
			
				|  |  |  							display: flex;
 | 
	
		
			
				|  |  |  							font-size: 24rpx;
 | 
	
		
			
				|  |  |  							font-family: Verdana, Verdana-Regular;
 | 
	
	
		
			
				|  | @@ -1006,5 +1035,33 @@
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  		
 | 
	
		
			
				|  |  | +		.com_noMore_text{
 | 
	
		
			
				|  |  | +			margin-top: 40rpx;
 | 
	
		
			
				|  |  | +			font-size: 24rpx;
 | 
	
		
			
				|  |  | +			font-family: Verdana, Verdana-Regular;
 | 
	
		
			
				|  |  | +			font-weight: 400;
 | 
	
		
			
				|  |  | +			text-align: center;
 | 
	
		
			
				|  |  | +			color: #999999;
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  | +		
 | 
	
		
			
				|  |  | +		.empty {
 | 
	
		
			
				|  |  | +			display: flex;
 | 
	
		
			
				|  |  | +			flex-direction: column;
 | 
	
		
			
				|  |  | +			align-items: center;
 | 
	
		
			
				|  |  | +			
 | 
	
		
			
				|  |  | +			.emptyImg {
 | 
	
		
			
				|  |  | +				width: 283rpx;
 | 
	
		
			
				|  |  | +				height: 227rpx;
 | 
	
		
			
				|  |  | +			}
 | 
	
		
			
				|  |  | +			.text {
 | 
	
		
			
				|  |  | +				margin-top: -20rpx;
 | 
	
		
			
				|  |  | +				font-size: 28rpx;
 | 
	
		
			
				|  |  | +				font-family: PingFang SC, PingFang SC-Medium;
 | 
	
		
			
				|  |  | +				font-weight: 500;
 | 
	
		
			
				|  |  | +				text-align: center;
 | 
	
		
			
				|  |  | +				color: #b1b3ba;
 | 
	
		
			
				|  |  | +			}
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  | +		
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  |  </style>
 |