张文飞 преди 3 години
родител
ревизия
ba00df3369
променени са 6 файла, в които са добавени 11 реда и са изтрити 9 реда
  1. 1 1
      App.vue
  2. 10 8
      pages/homePage/homePage.vue
  3. BIN
      static/icons/icon_report_user.png
  4. BIN
      static/icons/icon_shouyi_user.png
  5. BIN
      static/icons/icon_user_mine.png
  6. BIN
      static/icons/icon_zcyz_user.png

+ 1 - 1
App.vue

@@ -4,7 +4,7 @@
 		onLaunch: function() {
 			let href = location.href;
 			let code  = this.getQueryString('code');
-			if(!code){
+			if(!code&&false){
 				href = encodeURIComponent(href.split('#')[0].substring(0,href.split('#')[0].length-1));
 				let url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid="+config.appid+"&redirect_uri="+href+"&response_type=code&scope=snsapi_base&state=123&connect_redirect=1#wechat_redirect"
 				window.location.href = url;

+ 10 - 8
pages/homePage/homePage.vue

@@ -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>
@@ -903,7 +903,7 @@
 						flex-direction: column;
 						margin-left: 50rpx;
 						z-index: 11;
-						max-width: 360rpx;
+						max-width: 51%;
 
 						.house_name {
 							width: 100%;
@@ -917,6 +917,7 @@
 						}
 
 						.house_hk {
+							width: 100%;
 							font-size: 26rpx;
 							font-family: Verdana, Verdana-Regular;
 							font-weight: 400;
@@ -929,6 +930,7 @@
 						}
 
 						.house_address {
+							width: 100%;
 							display: flex;
 							font-size: 24rpx;
 							font-family: Verdana, Verdana-Regular;

BIN
static/icons/icon_report_user.png


BIN
static/icons/icon_shouyi_user.png


BIN
static/icons/icon_user_mine.png


BIN
static/icons/icon_zcyz_user.png