Browse Source

房屋图谱不显示居民,人房样式优化

lisu
mk 2 years ago
parent
commit
31cc772056
  1. 2
      pages/resiAndHouse/resiAndHouse.wxml
  2. 5
      pages/resiAndHouse/resiAndHouse.wxss
  3. 3
      subpages/house/pages/housePortrait/component/graph/graph.js

2
pages/resiAndHouse/resiAndHouse.wxml

@ -51,7 +51,7 @@
<scroll-view class="scroll" scroll-y="{{true}}" lower-threshold="{{ lowerThreshold }}" bindscrolltolower="onScrollToLower">
<view class="form_item" wx:for="{{tableData}}" :wx:key="{{index}}" bind:tap="toResiDetail" data-resiId="{{item.resiId}}">
<view class="box_18">
<view style="display: flex;align-items: center;">
<view style="display: flex;align-items: center;max-width: 400rpx;">
<view style="display: flex;">
<image style="width: 40rpx;height: 40rpx;margin-right: 16rpx;" wx:if="{{item.gender=='1'&&item.age>18 &&item.age<60}}" src="https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet/test/internal/20240402/1e21790833b04e9abe61e2a8f40446cb.png" mode="" />
<image style="width: 40rpx;height: 40rpx;margin-right: 16rpx;" wx:if="{{item.gender=='1'&& item.age<18 }}" src="https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet/test/internal/20240402/62c2b6a1ce834f8dae081b562b2579b9.png" mode="" />

5
pages/resiAndHouse/resiAndHouse.wxss

@ -458,7 +458,7 @@ page {
}
.box_18 {
width: 649rpx;
width: 100%;
/* height: 36rpx; */
flex-direction: row;
align-items: center;
@ -1383,9 +1383,10 @@ page {
.resi_tag {
display: flex;
flex-grow: 0;
/* flex-grow: 0; */
/* justify-content: start; */
/* max-width: 302rpx; */
flex: 1;
overflow-x: scroll;
padding: 10rpx 0 0;
box-sizing: border-box;

3
subpages/house/pages/housePortrait/component/graph/graph.js

@ -9,6 +9,9 @@ Component({
houseId: {
type: String,
value: '',
observer(val) {
this.getData()
}
},
houseName:{
type: String,

Loading…
Cancel
Save