recordstate.vue 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439
  1. <template>
  2. <view class="index">
  3. <p style="height: 20upx; background-color: #f2f2f2;"></p>
  4. <view class="sous_sear" @click="getSearch">
  5. <view class="sous_tit">筛选查询</view>
  6. <input placeholder="请选择筛选条件" class="sous_input" disabled/>
  7. <image :src="searimg" class="sous_img"></image>
  8. </view>
  9. <!-- <view class="sous_sear">
  10. <view class="sous_box" @click="getSearch">
  11. <image :src="searimg" class="sous_img"></image>
  12. <input placeholder="请输入身份证号或姓名进行查询" class="sous_input" disabled/>
  13. </view>
  14. </view> -->
  15. <p style="height: 28upx; background-color: #f2f2f2;"></p>
  16. <div class="tabld">
  17. <view :class="[currentTab==item.value ? 'one_tabhu ' : '']" v-for="(item,index) in tabsta" :key="index" @click="changeTab(item.value)">
  18. <text>{{item.label}}</text>
  19. <!-- <text style="color: #AAAAAA;">{{item.nume}}</text> -->
  20. </view>
  21. </div>
  22. <view class="tab">
  23. <!-- //表格 -->
  24. <view class="exele">
  25. <view class="box">
  26. <table @change="change">
  27. <tr class="tr_one">
  28. <!-- <th style="width: 130upx; text-align: center;">编号</th> -->
  29. <th style="width: 100upx; text-align: center;">姓名</th>
  30. <th style="width: 80upx; text-align: center;">户主</th>
  31. <th style="width: 270upx; text-align: center;">身份证号</th>
  32. <th style="width: 170upx; text-align: center;">联系方式</th>
  33. <!-- <th style="width: 100upx;">联系方式</th> -->
  34. <th style="width: 50upx; text-align: center;">操作</th>
  35. <!-- <th style="width: 60upx;">查看</th> -->
  36. </tr>
  37. <scroll-view scroll-y class="scroll-view" upper-threshold="40" lower-threshold="40" @scrolltolower="bot_btn">
  38. <tr v-for="(item,index) in list" :key="index" :class=" [index%2 ==0 ? 'two_tr two_trtwo':'two_tr']" @click="chakn(item)">
  39. <!-- <td style="width: 130upx; text-align: center;" >{{ item.code == null ? '暂无信息' : item.code}}</td> -->
  40. <td style="width: 100upx; text-align: center;" >{{ item.userName == null ? '暂无信息' : item.userName}}</td>
  41. <td style="width: 80upx; text-align: center;" >{{ item.houseType == null ? '暂无信息' : item.houseType}}</td>
  42. <!-- <td style="width: 40upx; text-align: center;">{{item.gender == null? '暂无信息' : item.gender }}</td> -->
  43. <td style="width: 270upx; text-align: center;">{{item.idCard == null? '暂无信息' : item.idCard }}</td>
  44. <td style="width: 170upx; text-align: center;" >{{ item.phoneNum == null? '暂无信息' : item.phoneNum}}</td>
  45. <!-- <td style="width: 100upx;" :class="[item.phone == '' ? 'tdse' : '' ]" >{{ item.phone == ''? '未完善' : item.phone}}</td> -->
  46. <!-- <td style="width: 100upx; text-align: center;" :class="[item.addtime == null ? 'tdse' : item.addtime == ''? 'tdse' : '' ]">{{ item.addtime ==null ? '未完善' : item.addtime==''? '未完善' : item.addtime}}</td> -->
  47. <!-- <td style="width: 50upx;" class="coiu" @click.stop="dele(item.id)">删除</td> -->
  48. <!-- <td style="width: 50upx; color: #32B16C;" @click.stop="goDetail(item)">查看</td> -->
  49. <td style="width: 50upx; color: #32B16C;" @click.stop="goDetail(item)">查看</td>
  50. </tr>
  51. <div class="shax" v-if="list.length>0">
  52. {{wtdt}}
  53. </div>
  54. <div class="zanwu " v-else><span>暂无数据</span></div>
  55. </scroll-view>
  56. </table>
  57. </view>
  58. </view>
  59. </view>
  60. <!-- <div class="xinse" @click="addVacFrom">新增户主</div> -->
  61. <!-- <div class="xinse" @click.stop="showPicker($event)">选择地址</div> -->
  62. <!-- 弹窗 -->
  63. <!-- 搜索弹窗 -->
  64. <view class='bgbox' v-if="searchflag" @click="getSearClose"></view>
  65. <view class="searfixed" v-if="searchflag">
  66. <view class="searf_top">
  67. <view class="searf_topl" @click="getSearClose">
  68. <image :src="searimg"></image>
  69. </view>
  70. <view class="searf_topr" @click="getClearFn">重置</view>
  71. </view>
  72. <view class="searf_cen">
  73. <view class="searf_cenli">
  74. <view class="searf_cenlitit">身份证号</view>
  75. <input placeholder="请输入身份证号" type="text" value="" v-model="params.idCard" class="searf_cenlin"/>
  76. </view>
  77. <view class="searf_cenli">
  78. <view class="searf_cenlitit">人员姓名</view>
  79. <input placeholder="请输入人员姓名" type="text" value="" v-model="params.userName" class="searf_cenlin"/>
  80. </view>
  81. <view class="searf_cenli" v-if="roles">
  82. <view class="searf_cenlitit">手机号</view>
  83. <input placeholder="请输入手机号进行查询" maxlength="11" type="number" value="" v-model="params.phoneNum" class="searf_cenlin"/>
  84. </view>
  85. <view class="searf_cenli">
  86. <view class="searf_cenlitit" v-if="navidx==0">居住地址</view>
  87. <view class="searf_cenlitit" v-else>户籍地址</view>
  88. <view class="searf_cenlin" @click="showPicker">
  89. <view class="addsa" :style="searchresult?'':'color:#AAAAAA;'">{{searchresult||'选择区域'}}</view>
  90. <image :src="rimg" class="addsimg"></image>
  91. </view>
  92. </view>
  93. <!-- 是否是户主选择 -->
  94. <view class="searf_cenli">
  95. <view class="searf_cenlitit">是否户主</view>
  96. <view class="searf_cenlin" @click="showHouse">
  97. <view class="addsa" :style="params.houseType?'':'color:#AAAAAA;'">{{params.houseType||'选择是否户主'}}</view>
  98. <image :src="rimg" class="addsimg"></image>
  99. </view>
  100. </view>
  101. <!-- 是否确认 -->
  102. <view class="searf_cenli">
  103. <view class="searf_cenlitit">是否确认</view>
  104. <view class="searf_cenlin" @click="showSure">
  105. <view class="addsa" v-if="params.isConfirm" >{{params.isConfirm=='Y'?'是':'否'}}</view>
  106. <view class="addsa" v-else style="color:#AAAAAA">选择是否确认</view>
  107. <image :src="rimg" class="addsimg"></image>
  108. </view>
  109. </view>
  110. <!-- 人员类别 -->
  111. <!-- <view class="searf_cenli">
  112. <view class="searf_cenlitit" style="min-width: 180rpx;">人员类别</view>
  113. <uni-data-checkbox multiple v-model="keyvalue" :localdata="keycategory" >
  114. </uni-data-checkbox>
  115. </view> -->
  116. </view>
  117. <view class="searf_fot" @click="Seach">查询</view>
  118. </view>
  119. <view class="bgbox" v-if="houseflag||delfalg"></view>
  120. <!-- 变更 -->
  121. <view class="delbox" v-if="delfalg">
  122. <view class="deltit">变更原因</view>
  123. <image :src="delimg" class="del_img" @click="getClose"></image>
  124. <view class="del_list">
  125. <view class="del_lista" :class="delvalue==ite.value?'act':''" @click="getDeltab(ite.value)"
  126. v-for="(ite,idx) in deletelist" :key="idx">{{ite.label}}</view>
  127. </view>
  128. <view class="del_btn" @click="deletSure">确认</view>
  129. </view>
  130. <!-- 是否户主 -->
  131. <selectPicker ref="houseselet" :list="houselist" title="请选择" @vacChange="vacHouseChange"></selectPicker>
  132. <!-- 是否确认 -->
  133. <selectPicker ref="sureselet" :list="surelist" title="请选择" @vacChange="vacSureChange"></selectPicker>
  134. <!-- 选择查看 -->
  135. <view class="housebox" v-if="houseflag">
  136. <view class="house_tit">
  137. <view class="house_titl" @click="getClose">取消</view>
  138. <view class="house_titc">请选择</view>
  139. <view class="house_titr"></view>
  140. </view>
  141. <view class="houselist" @click="getCheck(0)">变更</view>
  142. <view class="houselist" @click="getCheck(1)">变更记录</view>
  143. </view>
  144. <selectMorePicker
  145. ref="picker"
  146. :title="auiPicker.title"
  147. :layer="auiPicker.layer"
  148. :titflag='auiPicker.titflag'
  149. :data="auiPicker.data"
  150. @callback="pickerCallback"
  151. ></selectMorePicker>
  152. </view>
  153. </template>
  154. <script>
  155. import selectPicker from '@/_components/picker/selectPicker.vue'
  156. import selectMorePicker from '@/_components/picker/selectMorePicker.vue'
  157. export default {
  158. components:{selectPicker,selectMorePicker},
  159. data() {
  160. return {
  161. background: {
  162. backgroundColor: '#009FE8'
  163. },
  164. navidx:1,
  165. navbg:require("@/static/image/titbg.png"),
  166. searimg:require("@/static/image/icon_mine_listenter.png"),
  167. closeimg:require("@/static/image/del.png"),
  168. searchflag:false,
  169. rimg:require('@/static/image/upr.png'),
  170. upimg:require("@/static/image/up.png"),
  171. delimg: require("@/static/image/del.png"),
  172. activeTab: 0, //tab切换
  173. //列表数据
  174. list: [],
  175. roles:false,
  176. show: false,
  177. tabsta: [],
  178. currentTab: 0, //tab切换
  179. params: { //上拉刷新
  180. pageNum: 1,
  181. pageSize: 20,
  182. idCard:'',
  183. queryType:'hj',
  184. houseType:'',
  185. isConfirm:'',
  186. userName:'',
  187. status:'',
  188. phoneNum:'',
  189. keyCategory:''
  190. },
  191. haveMore: true,
  192. wtdt: '上拉加载更多',
  193. listShow: true, //判断是否有数据 true 有
  194. searchresult:'',//搜索区域显示
  195. houselist:[{
  196. "label": '是',
  197. "value":0
  198. },{
  199. "label": '否',
  200. "value":1
  201. }],
  202. surelist:[{
  203. "label": '是',
  204. "value":'Y'
  205. },{
  206. "label": '否',
  207. "value":'N'
  208. }],
  209. sureselet:false,
  210. houseflag:false,
  211. auiPicker: {
  212. title: '选择区域',
  213. layer: null,
  214. titflag:true,
  215. data: []
  216. },
  217. houseobj:{
  218. id:'',
  219. code:''
  220. },
  221. delfalg:false,
  222. delvalue: '', //删除原因
  223. statid:'',//变更id
  224. delvalue: '', //删除原因
  225. deletelist: [], //删除字典
  226. keycategory:[],//人员类别
  227. keyvalue:[],
  228. };
  229. },
  230. onShow() {
  231. let type = uni.getStorageSync('token')
  232. if (!type) {
  233. uni.reLaunch({
  234. url: '/pages/login/login'
  235. })
  236. }else{
  237. let roles=uni.getStorageSync('roles')||false
  238. this.roles=roles
  239. }
  240. // var iutem = new Date().getFullYear() + 1
  241. // this.maxDate = new Date(iutem,12,1).getTime()
  242. // this.minDate= new Date(2017, 10, 1).getTime()
  243. },
  244. onLoad(option) {
  245. // 获取人员列表
  246. // this.getKeyCateFn()
  247. uni.$on('refreshData',(data) => {
  248. // this.params.userName='';
  249. // this.params.deptId='';
  250. // this.villageTowns='';
  251. // this.village='';
  252. // this.villageTownsId='';
  253. // this.villageId='';
  254. this.params.pageNum = 1;
  255. this.list = []
  256. // 修改 获取列表的
  257. // 获取统计
  258. this.lists(this.params)
  259. })
  260. // this.getTownsFn();
  261. this.params.pageNum = 1
  262. this.list = []
  263. // 修改 获取列表的
  264. // 获取统计
  265. this.getStatelist()
  266. this.getDelectList()
  267. this.getRegionListFirst()
  268. },
  269. beforeDestroy() {
  270. uni.$off("refreshData")
  271. },
  272. created() {
  273. },
  274. //下拉刷新
  275. // onPullDownRefresh() {
  276. // wx.showNavigationBarLoading()
  277. // this.params.pageNum = 1
  278. // this.shwtie = 0;
  279. // this.params = { //上拉刷新
  280. // pageSize: 20,
  281. // pageNum: 1,
  282. // }, //查询
  283. // this.keyword = ''
  284. // this.list = []
  285. // },
  286. methods: {
  287. getKeyCateFn(){
  288. var that = this;
  289. this.$http.get('system/dict/data/type/key_category').then(res => {
  290. if (res.code == 200) {
  291. this.keycategory = res.data.map(v => {
  292. return {
  293. text: v.dictLabel,
  294. value: v.dictValue
  295. }
  296. })
  297. }
  298. })
  299. },
  300. // 字典值
  301. getStatelist(){
  302. // 旧字典值
  303. this.$http.get("system/dict/data/type/people_status").then(res => {
  304. if (res.code == 200) {
  305. this.tabsta = res.data.map(v => {
  306. return {
  307. label: v.dictLabel,
  308. value: v.dictValue
  309. }
  310. })
  311. this.params.status = res.data[0].dictValue
  312. this.currentTab =res.data[0].dictValue;
  313. // 列表
  314. this.lists(this.params)
  315. } else {
  316. uni.showToast({
  317. title: res.msg,
  318. duration: 1000,
  319. icon: 'none'
  320. });
  321. }
  322. })
  323. // this.$http.get("system/dict/data/type/people_status").then(res => {
  324. // if (res.code == 200) {
  325. // this.tabsta = res.data.map(v => {
  326. // return {
  327. // label: v.dictLabel,
  328. // value: v.dictValue
  329. // }
  330. // })
  331. // for(var i=0;i<res.data.length;i++){
  332. // if(res.data[i].dictValue!=1&&res.data[i].dictValue!=2){
  333. // this.params.status = res.data[i].dictValue
  334. // this.currentTab =res.data[i].dictValue;
  335. // break
  336. // }
  337. // }
  338. // // 列表
  339. // this.lists(this.params)
  340. // } else {
  341. // uni.showToast({
  342. // title: res.msg,
  343. // duration: 1000,
  344. // icon: 'none'
  345. // });
  346. // }
  347. // })
  348. },
  349. getDelectList() {
  350. // 删除显示
  351. var that = this;
  352. this.$http.get('system/dict/data/type/person_type').then(res => {
  353. if (res.code == 200) {
  354. this.delvalue = res.data[0].dictValue
  355. this.deletelist = res.data.map(v => {
  356. return {
  357. label: v.dictLabel,
  358. value: v.dictValue
  359. }
  360. })
  361. }
  362. })
  363. },
  364. getSearch(){
  365. this.searchflag=true
  366. // if(this.deletelist.length){
  367. // this.searchflag=true
  368. // }else{
  369. // this.getDelectList()
  370. // this.searchflag=true
  371. // }
  372. },
  373. getSearClose(){
  374. this.searchflag=false
  375. },
  376. getClose(){
  377. this.houseflag=false;
  378. this.delfalg=false;
  379. },
  380. getSure(){
  381. this.houseflag=false
  382. },
  383. // 查看修改
  384. getCheck(e){
  385. // this.houseflag=false
  386. var id=this.statid;
  387. if(e==0){
  388. this.delfalg=true;
  389. this.houseflag=false
  390. }else if(e==1){
  391. this.delfalg=false;
  392. this.houseflag=false
  393. uni.navigateTo({
  394. url: '/home/pages/recordthree/changerecord?id='+id
  395. })
  396. }
  397. },
  398. // 是否户主
  399. showHouse(){
  400. this.$refs.houseselet.show()
  401. },
  402. //是否确认
  403. showSure(){
  404. this.$refs.sureselet.show()
  405. },
  406. vacHouseChange(e){
  407. this.params.houseType=e[0].label;
  408. //搜索
  409. // this.list = []
  410. // this.params.pageNum = 1
  411. // this.params.pageSize = 20
  412. // this.lists(this.params);
  413. },
  414. vacSureChange(e){
  415. this.params.isConfirm=e[0].value;
  416. //搜索
  417. // this.list = []
  418. // this.params.pageNum = 1
  419. // this.params.pageSize = 20
  420. // this.lists(this.params);
  421. },
  422. getRegionListFirst(){
  423. this.$http.post('boman-system/chinaArea/treeSelect',{pid: 0},true).then(res=>{
  424. this.auiPicker.data=res.data
  425. })
  426. },
  427. //显示picker多级联动弹窗
  428. showPicker(e){
  429. const _this = this;
  430. _this.$refs.picker.open().then(function(){
  431. console.log('picker打开');
  432. });
  433. },
  434. //picker多级联动回调
  435. pickerCallback(e){
  436. const _this = this;
  437. let result = '';
  438. e.data.forEach(function(item, index){
  439. if(index==0){
  440. result += item.name;
  441. }else{
  442. result +='/'+ item.name;
  443. }
  444. });
  445. _this.searchresult=result;
  446. var params={
  447. idCard:this.params.idCard,
  448. queryType:this.params.queryType,
  449. // isRl:this.params.isRl,
  450. houseType:this.params.houseType,
  451. isConfirm:this.params.isConfirm,
  452. userName:this.params.userName,
  453. status:this.params.status,
  454. phoneNum:this.params.phoneNum,
  455. keyCategory:this.params.keyCategory,
  456. pageNum:this.params.pageNum,
  457. pageSize:20
  458. }
  459. var length=e.data.length;
  460. // console.log(this.params.queryType,33)
  461. if(this.params.queryType=='hj'){
  462. switch (length) {
  463. case 0:
  464. break;
  465. case 1:
  466. params.provinceId = e.data[0].areaid;
  467. break;
  468. case 2:
  469. params.cityId = e.data[1].areaid;
  470. break;
  471. case 3:
  472. params.regionId = e.data[2].areaid;
  473. break;
  474. case 4:
  475. params.villageTownsId = e.data[3].areaid;
  476. break;
  477. case 5:
  478. params.villageId = e.data[4].areaid;
  479. break;
  480. case 6:
  481. params.gridId = e.data[5].areaid;
  482. break;
  483. case 7:
  484. params.villagerGroupId = e.data[6].areaid;
  485. break;
  486. default:
  487. break;
  488. }
  489. }else{
  490. switch (length) {
  491. case 0:
  492. break;
  493. case 1:
  494. params.provinceIdXjd = e.data[0].areaid;
  495. break;
  496. case 2:
  497. params.cityIdXjd = e.data[1].areaid;
  498. break;
  499. case 3:
  500. params.regionIdXjd = e.data[2].areaid;
  501. break;
  502. case 4:
  503. params.villageTownsIdXjd = e.data[3].areaid;
  504. break;
  505. case 5:
  506. params.villageIdXjd = e.data[4].areaid;
  507. break;
  508. case 6:
  509. params.gridIdJz = e.data[5].areaid;
  510. break;
  511. case 7:
  512. params.villagerGroupIdJz = e.data[6].areaid;
  513. break;
  514. default:
  515. break;
  516. }
  517. }
  518. //搜索
  519. // this.list = []
  520. this.params=JSON.parse(JSON.stringify(params));
  521. // this.params.pageNum = 1
  522. // this.params.pageSize = 20
  523. // this.lists(this.params);
  524. },
  525. getClearFn(){
  526. // this.params.userName='';
  527. // this.params.deptId='';
  528. // this.villageTowns='';
  529. // this.village='';
  530. // this.villageTownsId='';
  531. // this.villageId='';
  532. this.searchresult='';
  533. var params={
  534. pageNum: 1,
  535. pageSize: 20,
  536. idCard:'',
  537. queryType:this.params.queryType,
  538. // isRl:this.params.isRl,
  539. houseType:'',
  540. isConfirm:'',
  541. userName:'',
  542. status:this.params.status,
  543. phoneNum:'',
  544. keyCategory:"",
  545. }
  546. this.keyvalue=[];
  547. // this.list = []
  548. this.params=JSON.parse(JSON.stringify(params));
  549. // this.lists(this.params)
  550. },
  551. goDetail(e) {
  552. // 记录选择的
  553. this.houseflag=true;
  554. this.statid=e.id;
  555. },
  556. goUpstate(e){
  557. this.statid=e.id;
  558. this.houseflag = true;
  559. },
  560. getDeltab(e) {
  561. this.delvalue = e;
  562. },
  563. // 变更
  564. deletSure() {
  565. var that = this;
  566. this.delfalg = false;
  567. var params = {
  568. id: this.statid,
  569. status: this.delvalue
  570. }
  571. this.$http.post('boman-web-core/core/czrk/changeCzrk', params).then(res => {
  572. if (res.code == 200) {
  573. uni.showToast({
  574. title: '变更成功',
  575. icon: "none"
  576. })
  577. this.list = [];
  578. this.params.pageNum = 1
  579. this.lists(this.params)
  580. // setTimeout(function() {
  581. // // 让上个页面进行刷新
  582. // uni.$emit('refreshData');
  583. // uni.navigateBack()
  584. // }, 1000)
  585. } else {
  586. uni.showToast({
  587. title: res.msg,
  588. icon: "none"
  589. })
  590. }
  591. })
  592. },
  593. //查询列表
  594. // 户籍地址
  595. getListHjFn(){
  596. var params=this.params;
  597. this.$http.get("boman-web-core/core/czrk/list", params).then(res => {
  598. //停止下拉加载
  599. uni.hideNavigationBarLoading()
  600. uni.stopPullDownRefresh()
  601. if (res.code == 200) {
  602. if (res.rows.length < params.pageSize) {
  603. this.haveMore = false
  604. this.wtdt='到底了~';
  605. } else {
  606. var num=parseInt(res.rows.length)+parseInt(params.pageSize)*parseInt(params.pageNum-1)
  607. if(num<res.total){
  608. this.haveMore = true
  609. this.wtdt='上拉加载更多'
  610. }else{
  611. this.haveMore = false
  612. this.wtdt='到底了~';
  613. }
  614. }
  615. if(params.pageNum==1){
  616. this.list = res.rows
  617. }else{
  618. this.list = this.list.concat(res.rows)
  619. }
  620. } else {
  621. uni.showToast({
  622. title: res.msg,
  623. duration: 1000,
  624. icon: 'none'
  625. });
  626. }
  627. })
  628. },
  629. //常驻信息
  630. getListCzFn(){
  631. var params=this.params;
  632. this.$http.get("boman-web-core/core/jzdz/list", params).then(res => {
  633. //停止下拉加载
  634. uni.hideNavigationBarLoading()
  635. uni.stopPullDownRefresh()
  636. if (res.code == 200) {
  637. if (res.rows.length < params.pageSize) {
  638. this.haveMore = false
  639. this.wtdt='到底了~';
  640. } else {
  641. var num=parseInt(res.rows.length)+parseInt(params.pageSize)*parseInt(params.pageNum-1)
  642. if(num<res.total){
  643. this.haveMore = true
  644. this.wtdt='上拉加载更多'
  645. }else{
  646. this.haveMore = false
  647. this.wtdt='到底了~';
  648. }
  649. }
  650. if(params.pageNum==1){
  651. this.list = res.rows
  652. }else{
  653. this.list = this.list.concat(res.rows)
  654. }
  655. } else {
  656. uni.showToast({
  657. title: res.msg,
  658. duration: 1000,
  659. icon: 'none'
  660. });
  661. }
  662. })
  663. },
  664. // 人员未认领接口
  665. getListRyrlFn(){
  666. var params=this.params;
  667. // 户籍
  668. if(this.navidx==1){
  669. this.$http.get("boman-web-core/core/czrk/ryrl/listHj", params).then(res => {
  670. //停止下拉加载
  671. uni.hideNavigationBarLoading()
  672. uni.stopPullDownRefresh()
  673. if (res.code == 200) {
  674. if (res.rows.length < params.pageSize) {
  675. this.haveMore = false
  676. this.wtdt='到底了~';
  677. } else {
  678. var num=parseInt(res.rows.length)+parseInt(params.pageSize)*parseInt(params.pageNum-1)
  679. if(num<res.total){
  680. this.haveMore = true
  681. this.wtdt='上拉加载更多'
  682. }else{
  683. this.haveMore = false
  684. this.wtdt='到底了~';
  685. }
  686. }
  687. if(params.pageNum==1){
  688. this.list = res.rows
  689. }else{
  690. this.list = this.list.concat(res.rows)
  691. }
  692. } else {
  693. uni.showToast({
  694. title: res.msg,
  695. duration: 1000,
  696. icon: 'none'
  697. });
  698. }
  699. })
  700. }else{
  701. this.$http.get("boman-web-core/core/czrk/ryrl/listCz", params).then(res => {
  702. //停止下拉加载
  703. uni.hideNavigationBarLoading()
  704. uni.stopPullDownRefresh()
  705. if (res.code == 200) {
  706. if (res.rows.length < params.pageSize) {
  707. this.haveMore = false
  708. this.wtdt='到底了~';
  709. } else {
  710. var num=parseInt(res.rows.length)+parseInt(params.pageSize)*parseInt(params.pageNum-1)
  711. if(num<res.total){
  712. this.haveMore = true
  713. this.wtdt='上拉加载更多'
  714. }else{
  715. this.haveMore = false
  716. this.wtdt='到底了~';
  717. }
  718. }
  719. if(params.pageNum==1){
  720. this.list = res.rows
  721. }else{
  722. this.list = this.list.concat(res.rows)
  723. }
  724. } else {
  725. uni.showToast({
  726. title: res.msg,
  727. duration: 1000,
  728. icon: 'none'
  729. });
  730. }
  731. })
  732. }
  733. // 常驻
  734. },
  735. lists(params) {
  736. this.$http.post("boman-web-core/core/czrk/unusualList", params).then(res => {
  737. //停止下拉加载
  738. uni.hideNavigationBarLoading()
  739. uni.stopPullDownRefresh()
  740. if (res.code == 200) {
  741. if (res.rows.length < params.pageSize) {
  742. this.haveMore = false
  743. this.wtdt='到底了~';
  744. } else {
  745. var num=parseInt(res.rows.length)+parseInt(params.pageSize)*parseInt(params.pageNum-1)
  746. if(num<res.total){
  747. this.haveMore = true
  748. this.wtdt='上拉加载更多'
  749. }else{
  750. this.haveMore = false
  751. this.wtdt='到底了~';
  752. }
  753. }
  754. if(params.pageNum==1){
  755. this.list = res.rows
  756. }else{
  757. this.list = this.list.concat(res.rows)
  758. }
  759. } else {
  760. uni.showToast({
  761. title: res.msg,
  762. duration: 1000,
  763. icon: 'none'
  764. });
  765. }
  766. })
  767. },
  768. //刷新
  769. bot_btn() {
  770. if (this.haveMore) {
  771. this.params.pageNum++
  772. this.lists(this.params)
  773. }
  774. },
  775. //查看
  776. chakn(item) {
  777. // uni.setStorageSync('item', item)
  778. // wx.navigateTo({
  779. // url: '/pages/home/recordtwo'
  780. // })
  781. },
  782. // 删除
  783. dele(item){
  784. this.$http.dele("boman-web-core/core/info/" + item).then(res => {
  785. if(res.code == 200){
  786. this.params.pageNum = 1
  787. this.list = []
  788. this.lists(this.params)
  789. }
  790. })
  791. },
  792. //搜索
  793. Seach() {
  794. this.list = [];
  795. this.searchflag=false;
  796. this.params.pageNum = 1;
  797. this.params.pageSize=20;
  798. //人员类别
  799. if(this.keyvalue.length){
  800. var keyArr=this.keycategory;
  801. var newKey=[];
  802. this.keyvalue.forEach((item,idx)=>{
  803. newKey[idx]=keyArr[item].text
  804. })
  805. this.params.keyCategory=newKey.join(',')
  806. }
  807. this.lists(this.params)
  808. },
  809. //弹
  810. changeTab(index){
  811. this.currentTab = index;
  812. this.params.pageNum=1;
  813. this.list = []
  814. this.params.status=index;
  815. this.lists(this.params)
  816. },
  817. // formatter(type, value){
  818. // if (type === 'year') {
  819. // return `${value}年`;
  820. // } else if (type === 'month') {
  821. // return `${value}月`;
  822. // }
  823. // return value;
  824. // },
  825. // 点击新增
  826. // addVacFrom () {
  827. // uni.navigateTo({
  828. // url: '/add/pages/addvacfrom/addpeople?type=house'
  829. // })
  830. // }
  831. }
  832. }
  833. </script>
  834. <style lang="scss" scoped>
  835. .bgbox{position: fixed;left: 0;right: 0;top: 0;bottom: 0;z-index: 3;
  836. background: rgba(0,0,0,0.5);}
  837. .housebox{position: fixed;left: 0;right: 0;bottom: 0;z-index: 1000;background: #FFFFFF;border-radius: 30rpx 30rpx 0 0;
  838. .house_tit{width: 100%;height: 100rpx;position: relative;z-index: 999;background: #F2F2F2;border-radius: 30rpx 30rpx 0 0;display: flex;align-items: center;margin-bottom: 10rpx;
  839. .house_titl{font-size: 30rpx;color: #333333;flex: 0 0 auto;height: 100rpx;width: 120rpx;text-align: center;line-height:100rpx;}
  840. .house_titr{flex: 0 0 auto;font-size: 30rpx;color: #197DE0;height:100rpx;width:120rpx;text-align: center;line-height: 100rpx;}
  841. .house_titc{line-height: 40rpx;font-size: 34rpx;color: #333;padding: 30rpx;box-sizing: border-box;flex: 1;text-align: center;}
  842. }
  843. .houselist{width: 100%;text-align: center;font-size: 30rpx;color: #333333;line-height: 88rpx;
  844. &.act{color: #197DE0;}
  845. &:last-child{padding-bottom: 20rpx;}
  846. }
  847. }
  848. .nav_box{display: flex;align-items: center;justify-content: center;flex: 1;
  849. .nav_boxa{position: relative;width: 214rpx;height: 86rpx;
  850. .nav_boxb{width: 100%;height: 100%;display: none;}
  851. .nav_boxa1{font-size: 34rpx;font-weight: bold;color: #0678AC;text-align: center;padding-top: 14rpx;box-sizing: border-box;position: absolute;left: 0;top: 0;right: 0;bottom: 0;}
  852. &.act{color: #FFFFFF;
  853. .nav_boxb{display: block;}
  854. .nav_boxa1{color: #FFFFFF;}
  855. }
  856. }
  857. }
  858. .address{
  859. display: flex;align-items: center;
  860. margin-top: 38rpx;
  861. .addtita{flex: 0 0 auto;font-size: 28rpx;font-weight: bold;
  862. color: #343434;}
  863. .addressa{
  864. display: flex;align-items: center;
  865. flex: 1;
  866. display: flex;align-items: center;justify-content: flex-end;
  867. overflow: hidden;
  868. .addsa{font-size: 26rpx;color: #333333;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;
  869. flex: 1;text-align: right;
  870. }
  871. .addsimg{width: 16rpx;height: 24rpx;margin-left: 10rpx;flex: 0 0 auto;}
  872. // .adds{
  873. // display: flex;align-items: center;justify-content: flex-start;padding:10rpx 20rpx;min-width: 220rpx;box-sizing: border-box;}
  874. }
  875. .addclear{color: #EA2929;font-size: 26rpx;flex: 0 0 auto;height: 60rpx;line-height: 60rpx;width: 128rpx;text-align:center}
  876. }
  877. .coie{
  878. width: 100%;
  879. box-sizing: border-box;
  880. padding: 0 33upx;
  881. .coie_nav{
  882. border-top: 1upx solid #E5E5E5;
  883. display: flex;
  884. flex-wrap: wrap;
  885. padding-bottom: 28upx;
  886. p{
  887. width: 33.33%;
  888. text-align: center;
  889. display: flex;
  890. flex-direction: column;
  891. margin-top: 53upx;
  892. span{
  893. font-size: 28upx;
  894. }
  895. i{
  896. font-size: 28upx;
  897. color: #333;
  898. margin-top: 28upx;
  899. }
  900. }
  901. }
  902. }
  903. .ieju{
  904. height: 17upx;
  905. width: 100%;
  906. background-color: #eee;
  907. margin-bottom: 33upx;
  908. }
  909. //暂无数据
  910. .zanwu {
  911. text-align: center;
  912. padding-top: 20upx;
  913. span {
  914. font-size: 24upx;
  915. }
  916. }
  917. .scroll-view {
  918. max-height: calc(100vh - 401upx);
  919. }
  920. .shax {
  921. // height: 83upx;
  922. font-size: 25upx;
  923. color: #666;
  924. text-align: center;
  925. }
  926. .index {
  927. // padding-top: 33upx;
  928. max-height: 100vh;
  929. .sous {
  930. padding: 24upx 33upx 0;
  931. // display: flex;
  932. .input {
  933. height: 80upx;
  934. border: 1upx solid #E5E5E5;
  935. flex: 1;
  936. margin-right: 28upx;
  937. padding-left: 10upx;
  938. box-sizing: border-box;
  939. }
  940. button {
  941. // width: 125upx;
  942. height: 80upx;
  943. background-color: #1678FF;
  944. text-size: 28upx;
  945. color: #fff;
  946. text-align: center;
  947. line-height: 80upx;
  948. }
  949. }
  950. //tab
  951. .tab {
  952. padding-top:30upx;
  953. padding-bottom: 30upx;
  954. .tabs {
  955. display: flex;
  956. padding: 0 20upx;
  957. box-sizing: border-box;
  958. height: 111upx;
  959. justify-content: space-between;
  960. box-shadow: 0px 7px 7px 0px rgba(229, 229, 229, 0.5);
  961. .one_tab {
  962. color: #1678FF !important;
  963. // width: 140upx;
  964. // text-align: center;
  965. // .twotabs {
  966. // font-size: 31upx;
  967. // color: #666666;
  968. // ;
  969. // font-weight: 500;
  970. // }
  971. // .twosrtabs {
  972. // color: #1678FF;
  973. // }
  974. // .twotabstwo {
  975. // font-size: 24upx;
  976. // color: #AAAAAA;
  977. // }
  978. }
  979. .one_tabqie {
  980. border-bottom: 8upx solid #1678FF;
  981. }
  982. }
  983. }
  984. //表格
  985. .exele {
  986. .box {
  987. .tr_one {
  988. display: flex;
  989. padding: 0 20upx;
  990. box-sizing: border-box;
  991. justify-content: space-between;
  992. th {
  993. // flex: 1;
  994. font-size: 24upx;
  995. font-family: PingFang SC;
  996. font-weight: 500;
  997. color: #333333;
  998. line-height: 14upx;
  999. overflow: hidden;
  1000. text-overflow: ellipsis;
  1001. white-space: nowrap;
  1002. line-height: 83upx;
  1003. height: 83upx;
  1004. }
  1005. }
  1006. .two_tr {
  1007. display: flex;
  1008. padding: 0 20upx;
  1009. box-sizing: border-box;
  1010. justify-content: space-between;
  1011. td {
  1012. // flex: 1;
  1013. font-size: 24upx;
  1014. font-family: PingFang SC;
  1015. font-weight: 500;
  1016. color: #333333;
  1017. line-height: 83upx;
  1018. height: 83upx;
  1019. overflow: hidden;
  1020. text-overflow: ellipsis;
  1021. white-space: nowrap;
  1022. }
  1023. .tdse {
  1024. color: #E60012 !important;
  1025. }
  1026. .apply_span_xl{
  1027. color: #32B16C !important;
  1028. }
  1029. .apply_span_xltwo{
  1030. color: #ffa200 !important;
  1031. }
  1032. .apply_span_xlfive{
  1033. color: #4c4b4b !important;
  1034. }
  1035. .apply_span_xlthreo{
  1036. color: #f00404 !important;
  1037. }
  1038. .apply_span_xlforu{
  1039. color: #aaaaaa !important;
  1040. }
  1041. // .apply_span_xla{
  1042. // color: #1678FF;
  1043. // text-decoration: underline ;
  1044. // }
  1045. .coiu {
  1046. color: #EC1717;
  1047. }
  1048. }
  1049. .two_trtwo {
  1050. background-color: #EBEFF2;
  1051. }
  1052. }
  1053. }
  1054. }
  1055. .banj {
  1056. height: 86upx;
  1057. width: 100%;
  1058. // text-align: center;
  1059. line-height: 86upx;
  1060. // background-color: #F6F9FC;
  1061. color: #AAAAAA;
  1062. margin-top: 20upx;
  1063. display: flex;
  1064. justify-content: space-around;
  1065. }
  1066. .apply_box{
  1067. .apply_item_input{
  1068. padding: 0 33upx;
  1069. // border-top: 1upx solid #F4F4F4;
  1070. display: flex;
  1071. height: 68upx;
  1072. align-items: center;
  1073. .apply_span_x{
  1074. font-size: 28upx;
  1075. color: #363535;
  1076. span{
  1077. color: #F22346;
  1078. }
  1079. }
  1080. .input_r{
  1081. font-size: 28upx;
  1082. height: 100%;
  1083. flex: 1;
  1084. text-align: right;
  1085. }
  1086. .input_rtwo{
  1087. line-height:68upx;
  1088. }
  1089. .input_rtwoss{
  1090. color: #1678FF;
  1091. }
  1092. .input_rtwosss{
  1093. color: #FF0000;
  1094. }
  1095. }
  1096. .apply_title_jt{
  1097. height: 130upx;
  1098. border-top: 1upx solid #F4F4F4;
  1099. display: flex;
  1100. justify-content: space-between;
  1101. align-items: center;
  1102. padding: 0 32upx;
  1103. span{
  1104. font-size: 36upx;
  1105. color: #333;
  1106. font-weight: bold;
  1107. }
  1108. .apply_title_btn{
  1109. width: 160upx;
  1110. height: 60upx;
  1111. font-size: 24upx;
  1112. color: #fff;
  1113. display: flex;
  1114. justify-content: center;
  1115. align-items: center;
  1116. background: #FF568C;
  1117. border-radius: 8upx;
  1118. .img{
  1119. width: 30upx;
  1120. height: 30upx;
  1121. margin-right: 10upx;
  1122. }
  1123. }
  1124. }
  1125. .apply_title_jts{
  1126. border:none;
  1127. }
  1128. .apply_title_jt_item{
  1129. border-bottom: 9upx solid #F4F4F4;
  1130. .apply_item_input_qx{
  1131. color: #FF5185;
  1132. height: 100%;
  1133. display: flex;
  1134. justify-content: center;
  1135. align-items: center;
  1136. height: 112upx;
  1137. font-size: 30upx;
  1138. }
  1139. }
  1140. .apply_item_sfz{
  1141. padding: 42upx 20upx;
  1142. border-bottom: 9upx solid #F4F4F4;
  1143. .apply_item_sfz_title{
  1144. font-weight: bold;
  1145. font-size: 34upx;
  1146. margin-bottom: 40upx;
  1147. margin-left: 2upx;
  1148. }
  1149. .apply_item_phones{
  1150. display: flex;
  1151. justify-content: space-between;
  1152. .apply_item_phone{
  1153. width: 340upx;
  1154. height: 218upx;
  1155. .img{
  1156. width: 100%;
  1157. height: 100%;
  1158. border-radius: 20upx;
  1159. }
  1160. }
  1161. }
  1162. }
  1163. .apply_item_zdxx{
  1164. padding: 0 26upx;
  1165. font-size: 34upx;
  1166. font-weight: bold;
  1167. color: #333;
  1168. height: 112upx;
  1169. line-height: 112upx;
  1170. border: 1upx solid #F4F4F4;
  1171. }
  1172. .qt_div{
  1173. height: 112upx;
  1174. border-top: 1upx solid #F4F4F4;
  1175. padding: 0 32upx;
  1176. border-bottom: 9upx solid #F9F9F9;
  1177. .input_l{
  1178. height: 100%;
  1179. font-size: 30upx;
  1180. }
  1181. }
  1182. }
  1183. .tabld{
  1184. display: flex;
  1185. // height: 90upx;
  1186. box-shadow: 0px 7px 5px 0px rgba(218, 218, 218, 0.35);
  1187. view {
  1188. font-size:26upx ;
  1189. font-family: PingFang SC;
  1190. font-weight: 500;
  1191. color: #191919;
  1192. text-align: center;
  1193. flex: 1;
  1194. // line-height: 70upx;
  1195. display: flex;
  1196. flex-direction: column;
  1197. padding: 18rpx 0 20rpx;
  1198. }
  1199. .one_tabhu{
  1200. color: #009FE8;
  1201. position: relative;
  1202. ::after{width: 28rpx;height: 6rpx;background: #009FE8;position: absolute;left: 50%;margin-left: -14rpx;bottom: 0;content: "";}
  1203. }
  1204. }
  1205. .nbhe{
  1206. display: flex;
  1207. margin-bottom: 44upx;
  1208. p{
  1209. font-size: 25upx;
  1210. flex: 1;
  1211. padding: 0 77upx;
  1212. display: flex;
  1213. align-items: center;
  1214. }
  1215. p:nth-child(2){
  1216. justify-content: flex-end;
  1217. }
  1218. img{
  1219. width: 31upx;
  1220. height: 29upx;
  1221. margin-right: 11upx;
  1222. }
  1223. }
  1224. .xinse{
  1225. position: fixed;
  1226. width: 100%;
  1227. bottom: 0;
  1228. left: 0;
  1229. font-size: 33upx;
  1230. font-family: PingFang SC;
  1231. font-weight: 500;
  1232. color: #FFFFFF;
  1233. height: 90upx;
  1234. background-color: #00B034;
  1235. text-align: center;
  1236. line-height: 90upx;
  1237. }
  1238. .sous_sear{
  1239. padding: 0rpx 32rpx;background: #FFFFFF;height: 112rpx;box-sizing: border-box;display: flex;align-items: center;
  1240. .sous_tit{font-size: 28rpx;color: #343434;flex: 0 0 auto;}
  1241. .sous_img{width: 18rpx;height: 32rpx;margin-left: 20rpx;flex: 0 0 auto;}
  1242. .sous_input{font-size: 30rpx;color: #AAAAAA;flex: 1;text-align: right;}
  1243. }
  1244. // 搜索条件width: 562rpx;
  1245. .sfixed{min-height: 840rpx;background: #FFFFFF;border-radius: 14rpx;padding: 40rpx 34rpx;box-sizing: border-box;position: fixed;left: 60rpx;right: 60rpx;top: 50%;transform: translateY(-50%);
  1246. z-index: 1100;max-height: calc(100vh - 280rpx);overflow-y: auto;
  1247. .sfixed_tit{font-size: 28rpx;font-weight: bold;color: #343434;line-height: 44rpx;text-align: center;}
  1248. .sfixed_clo{width: 34rpx;height: 34rpx;position: absolute;right: 34rpx;top: 44rpx;}
  1249. .sfixed_box{
  1250. padding-top: 20rpx;
  1251. .sfixed_inp{width: 100%;height: 76rpx;background:#F2F2F2;padding: 0 34rpx;box-sizing: border-box;font-size: 28rpx;color: #333333;margin-top: 30rpx;}
  1252. .sfixed_line{width: 62rpx;height: 6rpx;background: #009FE8;margin: 38rpx auto 32rpx;}
  1253. .sfixed_flex{display: flex;align-items: center;justify-content: space-between;
  1254. .sfixed_a{font-size: 26rpx;font-weight: bold;color: #666666;}
  1255. .sfixed_ar{font-size: 26rpx;font-weight: bold;color: #DF0024;}
  1256. }
  1257. }
  1258. .sfixed_btn{width: 100%;height: 76rpx;background: #00B034;border: 0px solid #00B034;border-radius: 6rpx;font-size: 28rpx;font-weight: bold;
  1259. color: #FFFFFF;text-align: center;line-height: 76rpx;margin-top: 62rpx;}
  1260. }
  1261. .delbox {
  1262. width: 580rpx;
  1263. background: #FFFFFF;
  1264. border-radius: 14px;
  1265. position: fixed;
  1266. top: 50%;
  1267. left: 80rpx;
  1268. right: 80rpx;
  1269. padding: 48rpx 34rpx 72rpx;
  1270. box-sizing: border-box;
  1271. z-index: 5;
  1272. margin-top: -210rpx;
  1273. .deltit {
  1274. font-size: 28rpx;
  1275. font-weight: bold;
  1276. color: #343434;
  1277. text-align: center;
  1278. line-height: 40rpx;
  1279. }
  1280. .del_img {
  1281. width: 34rpx;
  1282. height: 34rpx;
  1283. position: absolute;
  1284. right: 34rpx;
  1285. top: 44rpx;
  1286. }
  1287. .del_btn {
  1288. width: 100%;
  1289. height: 76rpx;
  1290. background: #00B034;
  1291. border-radius: 6rpx;
  1292. font-size: 28rpx;
  1293. font-weight: bold;
  1294. color: #FFFFFF;
  1295. text-align: center;
  1296. line-height: 76rpx;
  1297. }
  1298. .del_list {
  1299. display: flex;
  1300. padding: 60rpx 0 40rpx;
  1301. flex-wrap: wrap;
  1302. .del_lista {
  1303. width: 116rpx;
  1304. height: 64rpx;
  1305. background: #CACACA;
  1306. border-radius: 32rpx;
  1307. font-size: 26rpx;
  1308. font-weight: 500;
  1309. color: #FFFFFF;
  1310. text-align: center;
  1311. line-height: 64rpx;
  1312. margin: 0 10rpx 20rpx 0;
  1313. &.act {
  1314. background-color: #019FE8;
  1315. }
  1316. }
  1317. }
  1318. }
  1319. // 搜索弹窗新
  1320. .searfixed{width: 648rpx;background: #FFFFFF;z-index: 1200;position: fixed;right: 0;top: 0;bottom: 0;display: flex;flex-direction: column;
  1321. .searf_top{display: flex;align-items: center;justify-content: space-between;padding:20rpx 34rpx 20rpx 0;margin-bottom: 20rpx;flex:0 0 auto;
  1322. .searf_topl{width: 80rpx;height: 50rpx;display: flex;align-items: center;padding-left: 34rpx;box-sizing: border-box;
  1323. image{width: 18rpx;height: 32rpx;transform: rotate(180deg);}
  1324. }
  1325. .searf_topr{width: 98rpx;height: 42rpx;
  1326. background: linear-gradient(-90deg, #3C6AF8, #5E8AC6);
  1327. border-radius: 20rpx;font-size: 26rpx;color: #FFFFFF;line-height: 42rpx;text-align: center;}
  1328. }
  1329. .searf_cen{flex: 1;overflow-y: auto;padding: 0 34rpx;
  1330. .searf_cenli{margin-bottom: 40rpx;
  1331. .searf_cenlitit{font-size: 28rpx;font-weight: bold;color: #343434;margin-bottom: 24rpx;}
  1332. .searf_cenlin{width: 100%;height: 70rpx;background: #F2F2F2;border-radius: 34rpx;padding: 0 40rpx;box-sizing: border-box;line-height: 70rpx;font-size: 28rpx;color: #333333;display: flex;align-items: center;overflow: hidden;
  1333. .addsa{flex: 1;font-size: 28rpx;color: #333333;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
  1334. .addsimg{width: 32rpx;height: 18rpx;flex: 0 0 auto;}
  1335. }
  1336. }
  1337. }
  1338. .searf_fot{width: 100%;height: 90rpx;
  1339. background: linear-gradient(-90deg, #3C6AF8, #5E8AC6);line-height: 90rpx;text-align: center;font-weight: bold;
  1340. color: #FFFFFF;font-size: 30rpx;}
  1341. }
  1342. </style>