Browse Source

首页人房信息背景

data-paga-xiaowang
是小王呀\24601 1 year ago
parent
commit
97d6d13429
  1. 1
      app.wxss
  2. 7
      pages/index/index.wxml
  3. 18
      pages/index/index.wxss
  4. 4
      subpages/addResi/pages/addResi/addResi.wxml
  5. 3
      subpages/addResi/pages/addResi/addResi.wxss
  6. 4
      utils/config.js

1
app.wxss

@ -14,4 +14,5 @@ page {
--button-danger-background-color: linear-gradient(87deg, #81B5FB 0%, #3E92FF 100%);
--button-danger-border-color: 'none';
--calendar-selected-day-background-color: #3E92FF;
}

7
pages/index/index.wxml

@ -45,8 +45,8 @@
<text lines="1" class="text_7">人房信息采集</text>
</view>
<view class="block_1">
<view class="group_3" style="background-image: url('../../images/index/house.png');" >
<view class="group_3">
<image src="../../images/index/house.png" class="imge1" />
<view class="text-group_4" >
<text lines="1" class="text_8">{{collectedHouseCount?collectedHouseCount:'--'}}</text>
<text lines="1" class="text_9">录入房屋</text>
@ -58,7 +58,8 @@
</view>
<view class="group_4" style="background-image: url('../../images/index/JM.png');">
<view class="group_4">
<image src="../../images/index/JM.png" class="imge2" />
<view class="text-group_6">
<text lines="1" class="text_12">{{collectedPopulationCount?collectedPopulationCount:'--'}}</text>
<text lines="1" class="text_13">录入居民</text>

18
pages/index/index.wxss

@ -572,6 +572,7 @@
margin-top: 12rpx;
}
.group_4 {
width: 309rpx;
height: 290rpx;
background-size: 100% 100%;
@ -584,6 +585,7 @@
height: 290rpx;
}
.text-group_6 {
position: absolute;
width: 114rpx;
height: 80rpx;
display: flex;
@ -616,12 +618,14 @@
margin: 14rpx 0 0 43rpx;
}
.text-group_7 {
box-sizing: border-box;
position: absolute;
bottom: 20rpx;
right: 75rpx;
display: flex;
flex-direction: column;
margin: 45rpx 0rpx 20rpx 50rpx ;
margin: 0rpx 0rpx 60rpx 50rpx ;
}
.text_14 {
width: 113rpx;
@ -637,6 +641,7 @@
margin-left: 67rpx;
}
.text_15 {
box-sizing: border-box;
width: 180rpx;
height: 25rpx;
overflow-wrap: break-word;
@ -650,6 +655,7 @@
margin-top: 14rpx;
margin-left: 35rpx;
}
.group_5 {
background-color: rgba(255,255,255,1.000000);
@ -1007,3 +1013,11 @@ line-height: 40rpx;
height: 30rpx;
margin-right: 10rpx;
}
.imge1{
width: 309rpx;
height: 300rpx;
}
.imge2{
width: 309rpx;
height: 300rpx;
}

4
subpages/addResi/pages/addResi/addResi.wxml

@ -1,6 +1,6 @@
<view class="content">
<view class="form_card" style="height: 100rpx;overflow: hidden;">
<van-steps steps="{{ stepsList }}" custom-class="steps" inactive-color="" active-color="#3974f6" active="{{ activeForm }}" :></van-steps>
<view class="form_card" style="height: 100rpx;overflow: hidden; font-size: 50rpx;">
<van-steps steps="{{ stepsList }}" custom-class="steps" inactive-color="" active-color="#3974f6" active="{{ activeForm }}": ></van-steps>
</view>
<view class="house_box" wx:if="{{activeForm === 0}}">
<view class=" form_height_all" wx:for="{{form.resideInfoDtos}}" class="form_card" style="margin-bottom: 20rpx;" wx:for-index="indexP" wx:key="indexP">

3
subpages/addResi/pages/addResi/addResi.wxss

@ -13,6 +13,7 @@ page {
}
.steps{
height: 140rpx;
--van-step-font-size: 30px; /* 设置步骤文本的字体大小为15像素 */
}
.content{
@ -31,8 +32,8 @@ page {
margin-top: 20rpx;
box-sizing: border-box;
}
/* .form_height{
height:calc(100vh - 120rpx - 140rpx) ;
margin-top: 20rpx;

4
utils/config.js

@ -5,8 +5,8 @@ module.exports = {
};
function BASEURL() {
return 'https://epmet-preview.elinkservice.cn/api/' // 演示环境
// return 'http://192.168.1.144/api/' //测试环境
// return 'https://epmet-preview.elinkservice.cn/api/' // 演示环境
return 'http://192.168.1.144/api/' //测试环境
// return 'http://219.146.91.110:30801/api/'
// return 'https://epmet-preview.elinkservice.cn/api/' // 演示环境

Loading…
Cancel
Save