Browse Source

新增居民房屋字段核对

dev
mk 2 years ago
parent
commit
4bb2701ad3
  1. 1791
      subpages/addResi/pages/addResi/addResi.js
  2. 7
      subpages/addResi/pages/addResi/addResi.json
  3. 495
      subpages/addResi/pages/addResi/addResi.wxml
  4. 186
      subpages/addResi/pages/addResi/addResi.wxss
  5. 2
      subpages/myTroubleshootDemand/pages/index/index.js

1791
subpages/addResi/pages/addResi/addResi.js

File diff suppressed because it is too large

7
subpages/addResi/pages/addResi/addResi.json

@ -1,8 +1,9 @@
{
"navigationBarTitleText": "新增居民",
"usingComponents": {
"wux-select": "../../../../components/dist/select",
"DynamicForms": "../../../../components/DynamicForms/DynamicForms",
"van-icon": "@vant/weapp/icon/index"
},
"navigationStyle": "custom"
"van-icon": "@vant/weapp/icon/index",
"van-steps": "@vant/weapp/steps/index"
}
}

495
subpages/addResi/pages/addResi/addResi.wxml

@ -1,105 +1,217 @@
<!--subpages/addResi/pages/addResi/addResi.wxml-->
<view class="header">
<image src="../../../../images/back.png" class="back" style=" top: {{statusHeight}}px;width: 50rpx;height: 50rpx;" bindtap="back" mode="" />
<image class="header-bg" src="../images/header.png" mode="widthFix" />
<view class="navigation" style="height: {{navigationHeight}}px; top: {{statusHeight}}px;">
{{formType == 'edit' ? '修改人口信息' : '新增人口信息'}}
</view>
<view class="content">
<view class="h2">填写居民信息</view>
<view class="tag">带 <b>*</b> 号为必填项
</view>
</view>
</view>
<view class="content">
<view class="form_card">
<view class="title">
<text class="tag"></text> 基本信息
<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">
<view class="title">
<text class="tag"></text> 选择居住房屋{{indexP+1}}
</view>
<view class="form_item">
<view class="label">
<text class="must">*</text>
<view class="title">所属组织</view>
</view>
<view class="input">
<picker bindchange="bindPickerChangeGrid" data-indexP="{{indexP}}" range-key="label" value="{{index}}" range="{{gridList}}">
<view class="{{form.resideInfoDtos[indexP].gridName?'':'gray'}}">
{{form.resideInfoDtos[indexP].gridName ? form.resideInfoDtos[indexP].gridName : '请选择'}}
</view>
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_item">
<view class="label">
<text class="must">*</text>
<view class="title">所在小区</view>
</view>
<view class="input">
<picker bindchange="bindPickerChangevillageId" range-key="label" data-indexP="{{indexP}}" value="{{index}}" range="{{form.resideInfoDtos[indexP].optionsV}}">
<view class="{{form.resideInfoDtos[indexP].villageName?'':'gray'}}">
{{form.resideInfoDtos[indexP].villageName ? form.resideInfoDtos[indexP].villageName : '请选择'}}
</view>
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_item">
<view class="label">
<text class="must">*</text>
<view class="title">所在楼栋</view>
</view>
<view class="input">
<picker bindchange="bindPickerChangebuilding" range-key="label" value="{{index}}" range="{{form.resideInfoDtos[indexP].optionsB}}" data-indexP="{{indexP}}">
<view class="{{form.resideInfoDtos[indexP].buildingName?'':'gray'}}">
{{form.resideInfoDtos[indexP].buildingName ? form.resideInfoDtos[indexP].buildingName : '请选择'}}
</view>
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_item">
<view class="label">
<text class="must">*</text>
<view class="title">所在单元</view>
</view>
<view class="input">
<picker bindchange="bindPickerChangeUnit" range-key="label" value="{{index}}" range="{{form.resideInfoDtos[indexP].optionsD}}" data-indexP="{{indexP}}">
<view class="{{form.resideInfoDtos[indexP].unitName?'':'gray'}}">
{{form.resideInfoDtos[indexP].unitName ? form.resideInfoDtos[indexP].unitName : '请选择'}}
</view>
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_item">
<view class="label ">
<text class="must">*</text>
<view class="title">所在房屋</view>
</view>
<view class="input">
<picker bindchange="bindPickerChangeHouse" range-key="label" value="{{index}}" range="{{form.resideInfoDtos[indexP].optionsH}}" data-indexP="{{indexP}}">
<view class="{{form.resideInfoDtos[indexP].houseName?'':'gray'}}">
{{form.resideInfoDtos[indexP].houseName ? form.resideInfoDtos[indexP].houseName : '请选择'}}
</view>
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_item">
<view class="label ">
<view class="title">人房关系</view>
</view>
<view class="input">
<picker bindchange="bindPickerChangeResiHouseRel" range-key="label" value="{{index}}" range="{{resiHouseRelList}}" data-indexP="{{indexP}}">
<view class="{{form.resideInfoDtos[indexP].resiHouseRelName?'':'gray'}}">
{{form.resideInfoDtos[indexP].resiHouseRelName ? form.resideInfoDtos[indexP].resiHouseRelName : '请选择'}}
</view>
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_item">
<view class="label ">
<view class="title">与户主关系</view>
</view>
<view class="input">
<picker bindchange="bindPickerChangehouseHolderRel" range-key="label" value="{{index}}" range="{{dicts.houseHolderRelList}}" data-indexP="{{indexP}}">
<view class="{{form.resideInfoDtos[indexP].houseHolderRelName?'':'gray'}}">
{{form.resideInfoDtos[indexP].houseHolderRelName ? form.resideInfoDtos[indexP].houseHolderRelName : '请选择'}}
</view>
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_item">
<view class="label ">
<view class="title">户籍所在地</view>
</view>
<view class="input">
<input confirm-type="next" bindblur="bindPlaceOfDomicileInput" bindinput="bindPlaceOfDomicileInput"value="{{form.resideInfoDtos[indexP].placeOfDomicile}}" placeholder-class="gray" placeholder="请输入" data-indexP="{{indexP}}" />
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_item">
<view class="label ">
<view class="title">现居住地址</view>
</view>
<view class="input">
<input confirm-type="next" bindblur="bindCurrentResidenceInput" bindinput="bindCurrentResidenceInput" value="{{form.resideInfoDtos[indexP].currentResidence}}" placeholder-class="gray" placeholder="请输入" data-indexP="{{indexP}}"/>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_item">
<view class="label ">
<text class="must">*</text>
<view class="title">迁出时间</view>
</view>
<view class="input">
<picker mode="date" value="{{form.resideInfoDtos[indexP].outOfTime}}" end="{{day}}" bindchange="bindOutOfTimeChange" data-indexP="{{indexP}}">
<view class="{{form.resideInfoDtos[indexP].outOfTime?'':'gray'}}">
{{form.resideInfoDtos[indexP].outOfTime ? form.resideInfoDtos[indexP].outOfTime : '请选择'}}
</view>
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="house_btn">
<button bind:tap="addHouse">+</button>
<button bind:tap="delHouse" data-indexP="{{indexP}}" wx:if="{{form.resideInfoDtos.length>1}}">-</button>
</view>
</view>
</view>
<view class="form_card form_height" wx:if="{{activeForm === 1}}">
<view class="form_item">
<view class="label">
<text class="must">*</text>
<view class="title">所在网格</view>
<view class="title">姓名</view>
</view>
<view class="input">
<picker bindchange="bindPickerChangeGrid" range-key="label" value="{{index}}" range="{{gridList}}">
<view class="{{form.gridName?'':'gray'}}">
{{form.gridName ? form.gridName : '请选择'}}
</view>
</picker>
<image src="../../../../images/right.png" mode="" />
<input confirm-type="next" bindblur="bindNameInput" bindinput="bindNameInput" value="{{form.name}}" placeholder-class="gray" placeholder="请输入" />
</view>
</view>
<view class="form_item">
<view class="label">
<text class="must">*</text>
<view class="title">所在小区</view>
<view class="title">证件类型</view>
</view>
<view class="input">
<picker bindchange="bindPickerChangevillageId" range-key="label" value="{{index}}" range="{{villageList}}">
<view class="{{villageName?'':'gray'}}">
{{villageName ? villageName : '请选择'}}
<picker bindchange="" range-key="label" value="{{index}}" range="{{}}">
<view class="{{form.baseInfoDto.idType?'':'gray'}}">
{{genderName ? genderName : '请选择'}}
</view>
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_item">
<view class="label">
<text class="must">*</text>
<view class="title">所在楼栋</view>
<view class="title">证件号</view>
</view>
<view class="input">
<picker bindchange="bindPickerChangebuilding" range-key="label" value="{{index}}" range="{{buildingList}}">
<view class="{{buildingName?'':'gray'}}">
{{buildingName ? buildingName : '请选择'}}
</view>
</picker>
<image src="../../../../images/right.png" mode="" />
<input confirm-type="next" bindblur="bindIdNumInput" bindinput="bindidNumInput" value="{{form.idNum}}" placeholder-class="gray" placeholder="请输入" />
</view>
</view>
<view class="form_item">
<view class="label">
<text class="must">*</text>
<view class="title">所在单元</view>
<view class="title">国籍</view>
</view>
<view class="input">
<picker bindchange="bindPickerChangeUnit" range-key="label" value="{{index}}" range="{{unitList}}">
<view class="{{unitName?'':'gray'}}">
{{unitName ? unitName : '请选择'}}
<picker bindchange="" range-key="label" value="{{index}}" range="{{}}">
<view class="{{form.baseInfoDto.idType?'':'gray'}}">
{{genderName ? genderName : '请选择'}}
</view>
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_house">
<view class="form_item">
<view class="label ">
<text class="must">*</text>
<view class="title">所在房屋</view>
</view>
<view class="input">
<picker bindchange="bindPickerChangeHouse" range-key="label" value="{{index}}" range="{{houseList}}">
<view class="{{houseName?'':'gray'}}">
{{houseName ? houseName : '请选择'}}
</view>
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_bottom">选项中如无该房屋,请先
<text bind:tap="handelJump">新增房屋</text>
</view>
</view>
<view class="form_item">
<view class="label">
<text class="must">*</text>
<view class="title">姓名</view>
<view class="title">联系电话</view>
</view>
<view class="input">
<input confirm-type="next" bindblur="bindNameInput" bindinput="bindNameInput" value="{{form.name}}" placeholder-class="gray" placeholder="请输入" />
<input confirm-type="next" bindblur="bindMobileInput" bindinput="bindmobileInput" value="{{form.mobile}}" placeholder-class="gray" placeholder="请输入" />
</view>
</view>
<view class="form_item">
<view class="label">
<text class="must">*</text>
@ -128,144 +240,293 @@
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_item">
<view class="label">
<text class="must">*</text>
<view class="title">证件号</view>
<view class="title">民族</view>
</view>
<view class="input">
<input confirm-type="next" bindblur="bindIdNumInput" bindinput="bindidNumInput" value="{{form.idNum}}" placeholder-class="gray" placeholder="请输入" />
<block wx:if="{{resiId}}">
<view bind:tap="showData" wx:if="{{isShowIdNum}}" data-key='idNum'>
<van-icon name="closed-eye" />
<picker bindchange="bindPickerChangeNation" range-key="label" value="{{index}}" range="{{nation}}">
<view class="{{form.nation?'':'gray'}}">
{{form.nation ? nation[form.nation].label : '请选择'}}
</view>
<view bind:tap="hideData" wx:else data-key='idNum'>
<van-icon name="eye-o" />
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_item">
<view class="label">
<view class="title">文化程度</view>
</view>
<view class="input">
<picker bindchange="bindPickerChangeEducation" range-key="label" value="{{index}}" range="{{education}}">
<view class="{{form.eduInfoDto.cultureLevel?'':'gray'}}">
{{form.eduInfoDto.cultureLevel ? education[form.eduInfoDto.cultureLevel].label : '请选择'}}
</view>
</block>
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_item">
<view class="label">
<text class="must">*</text>
<view class="title">联系电话</view>
<view class="title">婚姻状况</view>
</view>
<view class="input">
<input confirm-type="next" bindblur="bindMobileInput" bindinput="bindmobileInput" value="{{form.mobile}}" placeholder-class="gray" placeholder="请输入" />
<block wx:if="{{resiId}}">
<view bind:tap="showData" wx:if="{{isShowIdTel}}" data-key='mobile'>
<van-icon name="closed-eye" />
<picker bindchange="bindPickerChangemarriage" range-key="label" value="{{index}}" range="{{marriageList}}">
<view class="{{form.familyInfoDto.marriage?'':'gray'}}">
{{marriageName ? marriageName : '请选择'}}
</view>
<view bind:tap="hideData" wx:else data-key='mobile'>
<van-icon name="eye-o" />
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_item">
<view class="label">
<view class="title">配偶情况</view>
</view>
<view class="input">
<picker bindchange="" range-key="label" value="{{index}}" range="{{}}">
<view class="{{form.familyInfoDto.marriage?'':'gray'}}">
{{marriageName ? marriageName : '请选择'}}
</view>
</block>
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
</view>
<view class="form_card m-top20">
<view class="title">
<text class="tag"></text> 详细信息
<view class="form_item">
<view class="label">
<view class="title">籍贯</view>
</view>
<view class="input">
<input confirm-type="next" bindblur="bindNativePlaceInput" bindinput="bindNativePlaceInput" value="{{form.resideInfoDto.nativePlace}}" placeholder-class="gray" placeholder="请输入" />
</view>
</view>
<view class="form_item">
<view class="label">
<view class="title">户籍地</view>
<view class="title">本地户籍</view>
</view>
<view class="input">
<input confirm-type="next" bindblur="bindPlaceOfDomicileInput" bindinput="bindPlaceOfDomicileInput" value="{{form.resideInfoDto.placeOfDomicile}}" placeholder-class="gray" placeholder="请输入" />
<picker bindchange="" range-key="label" value="{{index}}" range="{{}}">
<view class="{{form.familyInfoDto.marriage?'':'gray'}}">
{{marriageName ? marriageName : '请选择'}}
</view>
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
</view>
<view wx:if="{{activeForm === 2}}" class="form_card form_height">
<view class="form_item">
<view class="label">
<view class="title">现居地</view>
<!-- <text class="must">*</text> -->
<view class="title">宗教信仰</view>
</view>
<view class="input">
<input confirm-type="next" bindblur="bindCurrentResidenceInput" bindinput="bindCurrentResidenceInput" value="{{form.resideInfoDto.currentResidence}}" placeholder-class="gray" placeholder="请输入" />
<input confirm-type="next" bindblur="" bindinput="" value="{{}}" placeholder-class="gray" placeholder="请输入" />
</view>
</view>
<view class="form_item">
<view class="label">
<view class="title">民族</view>
<!-- <text class="must">*</text> -->
<view class="title">就业状态</view>
</view>
<view class="input">
<picker bindchange="bindPickerChangeNation" range-key="label" value="{{index}}" range="{{nation}}">
<view class="{{form.nation?'':'gray'}}">
{{form.nation ? nation[form.nation].label : '请选择'}}
<picker bindchange="" range-key="label" value="{{index}}" range="{{}}">
<view class="{{form.baseInfoDto.idType?'':'gray'}}">
{{genderName ? genderName : '请选择'}}
</view>
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_item">
<view class="label">
<view class="title">籍贯</view>
<view class="title">工作单位</view>
</view>
<view class="input">
<input confirm-type="next" bindblur="bindNativePlaceInput" bindinput="bindNativePlaceInput" value="{{form.resideInfoDto.nativePlace}}" placeholder-class="gray" placeholder="请输入" />
<input confirm-type="next" bindblur="" bindinput="" value="{{}}" placeholder-class="gray" placeholder="请输入" />
</view>
</view>
<view class="form_item">
<view class="label">
<view class="title">文化程度</view>
<view class="title">职业</view>
</view>
<view class="input">
<picker bindchange="bindPickerChangeEducation" range-key="label" value="{{index}}" range="{{education}}">
<view class="{{form.eduInfoDto.cultureLevel?'':'gray'}}">
{{form.eduInfoDto.cultureLevel ? education[form.eduInfoDto.cultureLevel].label : '请选择'}}
<input confirm-type="next" bindblur="" bindinput="" value="{{}}" placeholder-class="gray" placeholder="请输入" />
</view>
</view>
<view class="form_item">
<view class="label">
<view class="title">月收入</view>
</view>
<view class="input">
<input confirm-type="next" bindblur="" bindinput="" value="{{}}" placeholder-class="gray" placeholder="请输入" />
</view>
</view>
<view class="form_item">
<view class="label">
<view class="title">原工作单位</view>
</view>
<view class="input">
<input confirm-type="next" bindblur="" bindinput="" value="{{}}" placeholder-class="gray" placeholder="请输入" />
</view>
</view>
<view class="form_item">
<view class="label">
<view class="title">失业时间</view>
</view>
<view class="input">
<picker mode="date" value="{{}}" end="{{day}}" bindchange="bindDateChange">
<view class="{{form.birthday?'':'gray'}}">
{{form.birthday ? form.birthday : '请选择'}}
</view>
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_item">
<view class="label">
<view class="title">失业证号</view>
</view>
<view class="input">
<input confirm-type="next" bindblur="" bindinput="" value="{{}}" placeholder-class="gray" placeholder="请输入" />
</view>
</view>
<view class="form_item">
<view class="label">
<view class="title">婚姻状况</view>
<view class="title">失业原因</view>
</view>
<view class="input">
<picker bindchange="bindPickerChangemarriage" range-key="label" value="{{index}}" range="{{marriageList}}">
<view class="{{form.familyInfoDto.marriage?'':'gray'}}">
{{marriageName ? marriageName : '请选择'}}
<picker bindchange="" range-key="label" value="{{index}}" range="{{}}">
<view class="{{form.baseInfoDto.idType?'':'gray'}}">
{{genderName ? genderName : '请选择'}}
</view>
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_item ">
<view class="form_item">
<view class="label">
<view class="title">宗教信仰</view>
<view class="title">再就业优惠证号</view>
</view>
<view class="input">
<input confirm-type="next" bindblur="bindReligionInput" bindinput="bindReligionInput" value="{{form.religionDto.religion}}" placeholder-class="gray" placeholder="请输入" />
<input confirm-type="next" bindblur="" bindinput="" value="{{}}" placeholder-class="gray" placeholder="请输入" />
</view>
</view>
</view>
<view class="form_card m-top20">
<view class="title">
<text class="tag"></text> 居民类别
<view class="form_item">
<view class="label">
<view class="title">技术特长</view>
</view>
<view class="input">
<input confirm-type="next" bindblur="" bindinput="" value="{{}}" placeholder-class="gray" placeholder="请输入" />
</view>
</view>
<view class="form_item">
<view class="label">
<view class="title">居民类别</view>
<view class="title">是否领取失业金</view>
</view>
<view class="input" bind:tap="onClick3">
<view class="residentCategorySty {{residentCategorySty?'':'gray'}}" style="text-align: left;">
{{residentCategorySty ? residentCategorySty : '请选择'}}
</view>
<image src="../../../../images/right.png" mode="" />
<view class="input">
<radio-group class="radio_group" bindchange="">
<radio value="1" checked="true" color="#3974f6" />是
<radio value="0" checked="true" color="#3974f6" />否
</radio-group>
</view>
</view>
<view class="form_item">
<view class="label">
<view class="title">是否就业困难对象</view>
</view>
<view class="input">
<radio-group class="radio_group" bindchange="">
<radio value="1" checked="true" color="#3974f6" />是
<radio value="0" checked="true" color="#3974f6" />否
</radio-group>
</view>
</view>
<view class="form_item" wx:for="{{residentTypeFormCell}}" :key="index" bind:tap="openDynamicForms" data-title="{{item.title}}" data-formtype="{{item.value}}">
<view class="form_item">
<view class="label">
<view class="title">{{item.title}}</view>
<view class="title">劳动就业愿望</view>
</view>
<view class="input text-right">
<view class="input">
<picker bindchange="" range-key="label" value="{{index}}" range="{{}}">
<view class="{{form.baseInfoDto.idType?'':'gray'}}">
{{genderName ? genderName : '请选择'}}
</view>
</picker>
<image src="../../../../images/right.png" mode="" />
</view>
</view>
<view class="form_item">
<view class="label">
<view class="title">有无赡养老人</view>
</view>
<view class="input">
<radio-group class="radio_group" bindchange="">
<radio value="1" checked="true" color="#3974f6" />是
<radio value="0" checked="true" color="#3974f6" />否
</radio-group>
</view>
</view>
</view>
<view class="bottom_btn" bind:tap="submit">提交</view>
</view>
<view class="bot_btn">
<button type="default" plain="true" class="bottom_btn bottom_btn_close" bind:tap="close" wx:if="{{activeForm === 0}}">取消</button>
<button type="default" plain="true" class="bottom_btn bottom_btn_close" bind:tap="backStep" wx:else>上一步</button>
<button type="primary" class=" btn_bule bottom_btn" bind:tap="nextStep" wx:if="{{activeForm !== 3}}">下一步</button>
<button type="primary" class=" btn_bule bottom_btn" bind:tap="nextStep" wx:if="{{activeForm === 3}}">提交</button>
</view>
<wux-select id="wux-select3" />
<DynamicForms show="{{isShowDynamicForms}}" title="{{dynamicFormsTitle}}" bind:close="closeDynamicForms" bind:ok="okDynamicForms" formController="{{formController}}" />
<!-- <DynamicForms show="{{isShowDynamicForms}}" title="{{dynamicFormsTitle}}" bind:close="closeDynamicForms" bind:ok="okDynamicForms" formController="{{formController}}" /> -->

186
subpages/addResi/pages/addResi/addResi.wxss

@ -11,87 +11,58 @@ page {
.m-top20{
margin-top: 20rpx;
}
.header {
width: 100%;
height: 444rpx;
overflow: hidden;
/* position: fixed;
top: 0;
left: 0;
z-index: 1000; */
}
.header .header-bg {
width: 100%;
height: 444rpx;
position: absolute;
height: 100%;
z-index: -999;
}
.back {
width: 30rpx;
height: 30rpx;
margin-left: 20rpx;
position: absolute;
margin-top: 20rpx;
border-radius: 0rpx;
z-index: 101;
}
.header .navigation {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
color: #333333;
font-size: 32rpx;
position: relative;
z-index: 100;
}
.header .content{
margin: 160rpx 0 0 50rpx;
}
.header .content .h2{
font-size: 44rpx;
font-family: PingFang SC;
font-weight: 800;
color: #333333;
margin-bottom: 28rpx;
}
.header .content .tag{
width: 200rpx;
height: 50rpx;
position: relative;
line-height: 48rpx;
font-size: 28rpx;
font-family: PingFang SC;
font-weight: 500;
color: #94A6C2;
padding-left: 15rpx;
}
.header .content .tag b {
color: #FF2A00;
}
.header .content .tag image {
width: 170rpx;
height: 50rpx;
position: absolute;
top: 0;
left: 0;
z-index: -888;
.steps{
height: 140rpx;
}
.content{
width: 100%;
height: auto;
padding: 0 20rpx;
box-sizing: border-box;
position: relative;
top: -30rpx;
height:calc(100vh - 120rpx ) ;
overflow-y: scroll;
}
.form_card {
background-color: #fff;
border-radius: 10rpx;
padding: 0 30rpx;
margin-bottom: 20rpx;
box-sizing: border-box;
height: auto;
}
/* .form_height{
height:calc(100vh - 120rpx - 140rpx) ;
margin-top: 20rpx;
overflow-y: scroll;
} */
.house_box{
height:calc(100% - 120rpx ) ;
}
.house_box .house_btn{
height: 80rpx;
width: 50%;
display: flex;
align-items: center;
justify-content: start;
}
.house_box .house_btn button{
margin: 0 30rpx 0 0;
width: 40rpx;
height: 40rpx;
border-radius: 50%;
text-align: center;
line-height: 40rpx;
color: #fff;
/* font-size: 50rpx; */
padding: 0;
}
.house_box .house_btn :nth-child(2){
background-color:#f56c6c;
}
.house_box .house_btn :nth-child(1){
background-color:#3974f6;
}
.form_card > .title{
height: 90rpx;
@ -115,23 +86,9 @@ page {
.form_card .form_item{
display: flex;
align-items: center;
border-top: 1px solid #EAEAEA;
border-bottom: 1px solid #EAEAEA;
height: 100rpx;
}
.form_card .form_house{
height: 139rpx;
display: flex;
flex-direction: column;
}
.form_card .form_house .form_bottom{
font-size: 24rpx;
color:#C1C1C1;
position: relative;
top: -10rpx;
}
.form_card .form_house .form_bottom text{
color:#3A80E7 ;
}
.form_card .form_item .label{
min-width: 130rpx;
height: 100%;
@ -174,17 +131,60 @@ page {
height: 22rpx;
width: 22rpx;
}
.bottom_btn{
width: 600rpx;
height: 86rpx;
background: linear-gradient(87deg, #81B5FB 0%, #3E92FF 100%);
.form_card .form_item .input .radio_group{
width: 100%;
display: flex;
justify-content: space-around;
}
.bot_btn{
display: flex;
background-color: #fff;
width: 100%;
justify-content: space-between;
position: fixed;
bottom: 0;
left: 50%;
transform: translateX(-50%);
padding: 12rpx 90rpx;
box-sizing: border-box;
}
.bot_btn .bottom_btn{
width: 240rpx;
height: 76rpx;
border-radius: 43rpx;
text-align: center;
color: #fff;
margin: 30rpx auto 0;
line-height: 86rpx;
line-height: 76rpx;
font-size: 32rpx;
}
.text-right {
text-align: right!important;
justify-content: flex-end!important;
}
}
.bot_btn .btn_bule{
background:#3974F6;
color: #fff;
}
.bottom_btn_close{
border-color:#999999 !important;
}
radio .wx-radio-input {
border-radius: 50%;
width: 24px;
height: 24px;
}
radio .wx-radio-input {
border-color: #87858a;
}
radio .wx-radio-input.wx-radio-input-checked {
border-color: #0073ff !important;
background: #ebf3fe !important;
}
radio .wx-radio-input.wx-radio-input-checked::before {
border-radius: 50%;
width: 26px;
height: 26px;
content: "√";
color: #3974f6;
text-align: center;
font-size: 40rpx;
}

2
subpages/myTroubleshootDemand/pages/index/index.js

@ -9,7 +9,7 @@ Page({
data: {
tableData:[],
pageNo:1,
pageSize:7,
pageSize:8,
lowerThreshold:'10',
loadMoreVisible:false,
loadMoreType: "none",

Loading…
Cancel
Save