addressacid.vue 27 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096
  1. <template>
  2. <view class="index">
  3. <view class="sous_sear">
  4. <view class="sous_box" @click="getSearch">
  5. <image :src="searimg" class="sous_img"></image>
  6. <input placeholder="请输入身份证号或姓名进行查询" class="sous_input" disabled/>
  7. </view>
  8. </view>
  9. <p style="height: 28upx; background-color: #f2f2f2;"></p>
  10. <view class="tab">
  11. <!-- //表格 -->
  12. <view class="exele">
  13. <view class="box">
  14. <table @change="change">
  15. <tr class="tr_one">
  16. <th style="width: 100upx; text-align: center;">姓名</th>
  17. <th style="width: 270upx; text-align: center;">身份证号</th>
  18. <th style="width: 170upx; text-align: center;">联系方式(核酸检测登记)</th>
  19. <th style="width: 80upx; text-align: center;">采集乡镇</th>
  20. <th style="width: 50upx; text-align: center;">操作</th>
  21. </tr>
  22. <view class="scrollbox">
  23. <scroll-view scroll-y class="scroll-view" upper-threshold="40" lower-threshold="40" @scrolltolower="bot_btn">
  24. <tr v-for="(item,index) in list" :key="index" :class=" [index%2 ==0 ? 'two_tr two_trtwo':'two_tr']" >
  25. <td style="width: 100upx; text-align: center;" >{{ item.xm == null ? '暂无信息' : item.xm}}</td>
  26. <td style="width: 270upx; text-align: center;">{{item.zjhm == null? '暂无信息' : item.zjhm }}</td>
  27. <td style="width: 170upx; text-align: center;" >{{ item.lxdh == null? '暂无信息' : item.lxdh}}</td>
  28. <td style="width: 80upx; text-align: center;" >{{item.cjssxq == null? '暂无信息' : item.cjssxq}}</td>
  29. <td style="width: 50upx; color: #32B16C;" @click.stop="goDetail(item)">查看</td>
  30. </tr>
  31. <div class="shax" v-if="list.length>0">
  32. {{wtdt}}
  33. </div>
  34. <div class="zanwu " v-else><span>暂无数据</span></div>
  35. </scroll-view>
  36. <!-- 水印 -->
  37. <view class="syone" v-if="list.length>0">{{telephone}}</view>
  38. <view class="sytwo" v-if="list.length>0">{{telephone}}</view>
  39. <view class="sythree" v-if="list.length>0">{{telephone}}</view>
  40. </view>
  41. </table>
  42. </view>
  43. </view>
  44. </view>
  45. <!-- <view class="xinse">
  46. <view class="xinsel" @click="getTfn">统计功能</view>
  47. <view class="xinser" @click="getImport">导出</view>
  48. </view> -->
  49. <!-- <div class="xinse" @click="addVacFrom">新增户主</div> -->
  50. <!-- <div class="xinse" @click.stop="showPicker($event)">选择地址</div> -->
  51. <!-- 弹窗 -->
  52. <!-- 搜索弹窗 -->
  53. <view class='bgbox' v-if="searchflag"></view>
  54. <view class="sfixed" v-if="searchflag">
  55. <view class="sfixedtop">
  56. <view class="sfixed_tit">筛选查询</view>
  57. <image :src="closeimg" class="sfixed_clo" @click="getSearClose"></image>
  58. <view class="sfixed_box">
  59. <input placeholder="请输入身份证号进行查询" class="sfixed_inp" type="text" value="" v-model="formData.zjhm" />
  60. <input placeholder="请输入姓名进行查询" class="sfixed_inp" type="text" value="" v-model="formData.xm"/>
  61. <input placeholder="请输入手机号进行查询" class="sfixed_inp" maxlength="11" type="number" value="" v-model="formData.lxdh" v-if="roles"/>
  62. <view class="sfixed_line"></view>
  63. <view class="sfixed_flex">
  64. <view class="sfixed_a">筛选条件</view>
  65. <view class="sfixed_ar" @click="getClearFn">重置</view>
  66. </view>
  67. <view class="address">
  68. <view class="addtita">区域地址</view>
  69. <view class="addressa" @click="showPlace">
  70. <view class="addsa" :style="cjssxq?'':'color:#AAAAAA;'">{{cjssxq||'选择区域'}}</view>
  71. <image :src="rimg" class="addsimg"></image>
  72. </view>
  73. </view>
  74. <!-- 开始时间 -->
  75. <view class="address">
  76. <view class="addtita">开始时间</view>
  77. <view class="addressa" >
  78. <uni-datetime-picker placeholder='选择采集开始时间' :border="false" v-model="formData.params.startTime" />
  79. <image :src="rimg" class="addsimg"></image>
  80. </view>
  81. </view>
  82. <!-- 结束日期 -->
  83. <view class="address">
  84. <view class="addtita">结束时间</view>
  85. <view class="addressa">
  86. <uni-datetime-picker placeholder='选择采集结束时间' :border="false" v-model="formData.params.endTime" />
  87. <image :src="rimg" class="addsimg"></image>
  88. </view>
  89. </view>
  90. </view>
  91. <view class="sfixed_btn" @click="Seach">查询</view>
  92. </view>
  93. </view>
  94. <view class="bgbox" v-if="houseflag"></view>
  95. <!-- 地址筛选 -->
  96. <selectPicker ref="placeselet" :list="placelist" title="请选择" @vacChange="vacSureChange"></selectPicker>
  97. <selectMorePicker
  98. ref="picker"
  99. :title="auiPicker.title"
  100. :layer="auiPicker.layer"
  101. :titflag='auiPicker.titflag'
  102. :data="auiPicker.data"
  103. @callback="pickerCallback"
  104. ></selectMorePicker>
  105. <!-- 时间弹窗 -->
  106. <!-- <dataTimePicke ref="setpicker" type="datetime-all" toolBarTitle="请选择时间" @change="dataconfirm"></dataTimePicke> -->
  107. </view>
  108. </template>
  109. <script>
  110. import selectPicker from '@/_components/picker/selectPicker.vue'
  111. import selectMorePicker from '@/_components/picker/selectMorePicker.vue'
  112. import encoding from '@/js_sdk/encoding.js'
  113. // import dataTimePicke from '@/_components/picker/dataTimePicke.vue'
  114. export default {
  115. components:{selectPicker,selectMorePicker},
  116. data() {
  117. return {
  118. background: {
  119. backgroundColor: '#009FE8'
  120. },
  121. navidx:1,
  122. navbg:require("@/static/image/titbg.png"),
  123. searimg:require("@/static/image/search.png"),
  124. closeimg:require("@/static/image/del.png"),
  125. searchflag:false,
  126. rimg:require('@/static/image/icon_mine_listenter.png'),
  127. upimg:require("@/static/image/up.png"),
  128. activeTab: 0, //tab切换
  129. //列表数据
  130. list: [],
  131. roles:false,
  132. show: false,
  133. tabsta: [{
  134. "text": '全部',
  135. "nume": 0
  136. },
  137. {
  138. "text": '已核酸',
  139. "nume": 0
  140. },
  141. {
  142. "text": '未核酸',
  143. "nume": 0
  144. },
  145. ],
  146. currentTab: 0, //tab切换
  147. Collected: false, //判断已采集未采集 false 已采集 true未采集
  148. cjssxq:'',
  149. formData: { //上拉刷新
  150. pageNum: 1,
  151. pageSize: 20,
  152. zjhm:'',
  153. cjqxqh:"",
  154. xm:'',
  155. lxdh:'',
  156. params:{
  157. 'startTime':'',
  158. 'endTime':'',
  159. }
  160. },
  161. villageTowns:'',
  162. village:'',
  163. keyword: '',
  164. haveMore: true,
  165. wtdt: '上拉加载更多',
  166. shwtie:0,
  167. townslist:[],//乡镇
  168. villagelist:[],//村,
  169. villageTownsId:'',
  170. villageId:'',
  171. searchresult:'',//搜索区域显示
  172. placelist:[],
  173. sureselet:false,
  174. houseflag:false,
  175. auiPicker: {
  176. title: '选择区域',
  177. layer: null,
  178. titflag:true,
  179. data: []
  180. },
  181. houseobj:{
  182. id:'',
  183. code:''
  184. },
  185. housetypflag:false,
  186. telephone:'',
  187. importflag:false
  188. };
  189. },
  190. onShow() {
  191. let type = uni.getStorageSync('token')
  192. if (!type) {
  193. uni.redirectTo({
  194. url: '/pages/login/login'
  195. })
  196. }else{
  197. let roles=uni.getStorageSync('roles')||false
  198. this.roles=roles
  199. }
  200. this.importflag=false;
  201. },
  202. onLoad(option) {
  203. // 水印
  204. this.telephone = uni.getStorageSync('phone')||''
  205. // 水印
  206. uni.$on('refreshData',(data) => {
  207. this.formData.pageNum = 1;
  208. this.list = []
  209. this.lists(this.formData)
  210. })
  211. // this.getTownsFn();
  212. this.formData.pageNum = 1;
  213. this.importflag=false;
  214. this.list = []
  215. // 修改 获取列表的
  216. // 获取时间
  217. var time = new Date().getTime()-24*60*60*1000;
  218. this.formData.params.startTime =this.Format(new Date(time),"yyyy-MM-dd hh:mm:ss");
  219. this.formData.params.endTime = this.Format(new Date(),"yyyy-MM-dd hh:mm:ss");
  220. this.lists(this.formData)
  221. this.getHesuanplace()
  222. },
  223. beforeDestroy() {
  224. uni.$off("refreshData")
  225. },
  226. created() {
  227. },
  228. methods: {
  229. // 时间格式化
  230. Format(time,fmt) { // author: meizz
  231. var o = {
  232. "M+": time.getMonth() + 1, // 月份
  233. "d+": time.getDate(), // 日
  234. "h+": time.getHours(), // 小时
  235. "m+": time.getMinutes(), // 分
  236. "s+": time.getSeconds(), // 秒
  237. // "q+": Math.floor((time.getMonth() + 3) / 3), // 季度
  238. // "S": time.getMilliseconds() // 毫秒
  239. };
  240. if (/(y+)/.test(fmt))
  241. fmt = fmt.replace(RegExp.$1, (time.getFullYear() + "").substr(4 - RegExp.$1.length));
  242. for (var k in o)
  243. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  244. return fmt;
  245. },
  246. //查看统计
  247. getTfn(){
  248. uni.navigateTo({
  249. url: '/home/pages/recordthree/statistics'
  250. })
  251. },
  252. // 导出
  253. getImport(){
  254. // 判断是否在导出
  255. if(this.importflag){
  256. uni.showToast({
  257. title: '正在导出,请勿多次重复导出',
  258. duration: 1000,
  259. icon: 'none'
  260. });
  261. return
  262. }else{
  263. this.importflag=true;
  264. }
  265. // 删除导出的临时文件
  266. const fsm = wx.getFileSystemManager()
  267. const _dirPath=`${wx.env.USER_DATA_PATH}`
  268. fsm.readdir({
  269. dirPath: _dirPath,
  270. success: (reds)=> {
  271. const {errMsg,files} = reds;
  272. if(errMsg=='readdir:ok'){
  273. files.forEach((item)=>{
  274. if(item.indexOf('xlsx')){
  275. fsm.unlink({
  276. filePath:_dirPath + '/'+item
  277. })
  278. }
  279. })
  280. }
  281. }
  282. })
  283. var url='boman-web-core/core/account/exportHsd',txt='采集点核酸信息';
  284. // 去除分页现在
  285. var formData={}
  286. for(var i in this.formData){
  287. if(i!='pageNum'&&i!='pageSize'){
  288. formData[i]=this.formData[i]
  289. }
  290. }
  291. this.$http.downfile(url,'post',formData).then(res =>{
  292. // 判断是二进制流还是json
  293. if(res){
  294. try {
  295. let enc = new encoding.TextDecoder('utf-8')
  296. let data = JSON.parse(enc.decode(new Uint8Array(res)))
  297. if(data.code && data.code!=200){
  298. this.importflag=false;
  299. uni.showToast({
  300. title: data.msg,
  301. duration: 1000,
  302. icon: 'none'
  303. });
  304. }else{
  305. this.importflag=false;
  306. this.$http.dowmload(res,txt)
  307. }
  308. } catch(e) {
  309. this.importflag=false;
  310. this.$http.dowmload(res,txt)
  311. }
  312. }
  313. })
  314. },
  315. getSearch(){
  316. this.searchflag=true
  317. },
  318. getSearClose(){
  319. this.searchflag=false
  320. },
  321. //是否核酸
  322. showPlace(){
  323. this.$refs.placeselet.show();
  324. },
  325. vacSureChange(e){
  326. this.cjssxq=e[0].label
  327. this.formData.cjqxqh=e[0].value;
  328. },
  329. getHesuanplace(){
  330. this.$http.get('system/dict/data/type/sys_hesuan_place',{},true).then(res=>{
  331. if (res.code == 200) {
  332. this.placelist = res.data.map(v => {
  333. return {
  334. label: v.dictLabel,
  335. value: v.dictValue
  336. }
  337. })
  338. }
  339. })
  340. },
  341. //显示picker多级联动弹窗
  342. showPicker(e){
  343. const _this = this;
  344. _this.$refs.picker.open().then(function(){
  345. console.log('picker打开');
  346. });
  347. },
  348. //picker多级联动回调
  349. pickerCallback(e){
  350. const _this = this;
  351. let result = '';
  352. e.data.forEach(function(item, index){
  353. if(index==0){
  354. result += item.name;
  355. }else{
  356. result +='/'+ item.name;
  357. }
  358. });
  359. _this.searchresult=result;
  360. var formData={
  361. pageNum: 1,
  362. pageSize: 20,
  363. zjhm:this.formData.zjhm,
  364. cjqxqh:this.formData.cjqxqh,
  365. xm:this.formData.xm,
  366. lxdh:this.formData.lxdh,
  367. params:{
  368. startTime:this.formData.params.startTime,
  369. endTime:this.formData.params.endTime,
  370. }
  371. }
  372. var length=e.data.length;
  373. // console.log(this.formData.queryType,33)
  374. if(this.formData.queryType=='hj'){
  375. switch (length) {
  376. case 0:
  377. break;
  378. case 1:
  379. formData.provinceId = e.data[0].areaid;
  380. break;
  381. case 2:
  382. formData.cityId = e.data[1].areaid;
  383. break;
  384. case 3:
  385. formData.regionId = e.data[2].areaid;
  386. break;
  387. case 4:
  388. formData.villageTownsId = e.data[3].areaid;
  389. break;
  390. case 5:
  391. formData.villageId = e.data[4].areaid;
  392. break;
  393. default:
  394. break;
  395. }
  396. }else{
  397. switch (length) {
  398. case 0:
  399. break;
  400. case 1:
  401. formData.provinceIdXjd = e.data[0].areaid;
  402. break;
  403. case 2:
  404. formData.cityIdXjd = e.data[1].areaid;
  405. break;
  406. case 3:
  407. formData.regionIdXjd = e.data[2].areaid;
  408. break;
  409. case 4:
  410. formData.villageTownsIdXjd = e.data[3].areaid;
  411. break;
  412. case 5:
  413. formData.villageIdXjd = e.data[4].areaid;
  414. break;
  415. default:
  416. break;
  417. }
  418. }
  419. //搜索
  420. this.formData=JSON.parse(JSON.stringify(formData));
  421. },
  422. getClearFn(){
  423. this.searchresult='';
  424. // 获取时间
  425. var time = new Date().getTime()-24*60*60*1000;
  426. var startTime =this.Format(new Date(time),"yyyy-MM-dd hh:mm:ss");
  427. var endTime = this.Format(new Date(),"yyyy-MM-dd hh:mm:ss");
  428. this.cjssxq='';
  429. var formData={
  430. pageNum: 1,
  431. pageSize: 20,
  432. zjhm:'',
  433. lxdh:'',
  434. xm:'',
  435. cjqxqh:'',
  436. params:{
  437. startTime:startTime,
  438. endTime:endTime,
  439. }
  440. }
  441. // this.list = []
  442. this.formData=JSON.parse(JSON.stringify(formData));
  443. // this.lists(this.formData)
  444. },
  445. goDetail(e) {
  446. uni.navigateTo({
  447. url: '/add/pages/addvacfrom/nucleindetail?type=0&id=' + e.id
  448. })
  449. return
  450. if(this.navidx==1){
  451. // 户籍
  452. this.houseflag=true;
  453. this.houseobj.code=e.code;
  454. this.houseobj.id=e.id;
  455. if(e.houseType=='是'){
  456. this.housetypflag=true
  457. }else{
  458. this.housetypflag=false
  459. }
  460. }else{
  461. //常驻
  462. if(e.houseType=='是'){
  463. this.houseflag=true;
  464. this.houseobj.code=e.code;
  465. this.houseobj.id=e.id;
  466. this.housetypflag=true
  467. }else{
  468. this.housetypflag=false
  469. var isnrl=0
  470. if(this.currentTab==2){
  471. isnrl=1
  472. }
  473. uni.navigateTo({
  474. url: '/add/pages/addvacfrom/addpeople?id=' + e.id+'&isnrl='+isnrl+'&navidx='+this.navidx
  475. })
  476. }
  477. // 未认领
  478. }
  479. },
  480. lists(formData) {
  481. this.importflag=false;
  482. var params={}
  483. // 判断时间是否为空
  484. if(!this.formData.params.startTime){
  485. uni.showToast({
  486. title: '请选择采集开始时间',
  487. duration: 1000,
  488. icon: 'none'
  489. });
  490. return
  491. }
  492. if(!this.formData.params.endTime){
  493. uni.showToast({
  494. title: '请选择采集结束时间',
  495. duration: 1000,
  496. icon: 'none'
  497. });
  498. return
  499. }
  500. for(var i in formData){
  501. if(i!='params'){
  502. params[i]=this.formData[i]
  503. }
  504. }
  505. params['params[startTime]']=this.formData.params.startTime
  506. params['params[endTime]']=this.formData.params.endTime
  507. this.$http.get("boman-web-core/core/account/nucleicAcid/jcd", params).then(res => {
  508. //停止下拉加载
  509. uni.hideNavigationBarLoading()
  510. uni.stopPullDownRefresh()
  511. if (res.code == 200) {
  512. if (res.rows.length < formData.pageSize) {
  513. this.haveMore = false
  514. this.wtdt='到底了~';
  515. } else {
  516. var num=parseInt(res.rows.length)+parseInt(formData.pageSize)*parseInt(formData.pageNum-1)
  517. if(num<res.total){
  518. this.haveMore = true
  519. this.wtdt='上拉加载更多'
  520. }else{
  521. this.haveMore = false
  522. this.wtdt='到底了~';
  523. }
  524. }
  525. if(formData.pageNum==1){
  526. this.list = res.rows
  527. }else{
  528. this.list = this.list.concat(res.rows)
  529. }
  530. } else {
  531. uni.showToast({
  532. title: res.msg,
  533. duration: 1000,
  534. icon: 'none'
  535. });
  536. }
  537. })
  538. },
  539. //刷新
  540. bot_btn() {
  541. if (this.haveMore) {
  542. this.formData.pageNum++
  543. this.lists(this.formData)
  544. }
  545. },
  546. //搜索
  547. Seach() {
  548. // 判断时间是否为空
  549. if(!this.formData.params.startTime){
  550. uni.showToast({
  551. title: '请选择采集开始时间',
  552. duration: 1000,
  553. icon: 'none'
  554. });
  555. return
  556. }
  557. if(!this.formData.params.endTime){
  558. uni.showToast({
  559. title: '请选择采集结束时间',
  560. duration: 1000,
  561. icon: 'none'
  562. });
  563. return
  564. }
  565. this.list = [];
  566. this.searchflag=false;
  567. this.formData.pageNum = 1;
  568. this.formData.pageSize=20;
  569. this.lists(this.formData)
  570. },
  571. // 点击新增
  572. addVacFrom () {
  573. uni.navigateTo({
  574. url: '/add/pages/addvacfrom/addpeople?type=house'
  575. })
  576. }
  577. }
  578. }
  579. </script>
  580. <style lang="scss" scoped>
  581. /deep/ .uni-date__x-input{text-align: right;font-size: 26rpx;height:40rpx;}
  582. /deep/ .uniui-calendar {display: none;}
  583. // 水印
  584. .syone{position: absolute;font-size: 40rpx;color: rgba(0,0,0,0.3);top: 200rpx;left: 50%;transform: translateX(-50%) rotate(45deg);}
  585. .sytwo{position: absolute;font-size: 40rpx;color: rgba(0,0,0,0.3);top: 420rpx;left: 50%;transform: translateX(-50%) rotate(45deg);}
  586. .sythree{position: absolute;font-size: 40rpx;color: rgba(0,0,0,0.3);top: 620rpx;left: 50%;transform: translateX(-50%) rotate(45deg);}
  587. .bgbox{position: fixed;left: 0;right: 0;top: 0;bottom: 0;z-index: 999;
  588. background: rgba(0,0,0,0.5);}
  589. .housebox{position: fixed;left: 0;right: 0;bottom: 0;z-index: 1000;background: #FFFFFF;border-radius: 30rpx 30rpx 0 0;
  590. .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;
  591. .house_titl{font-size: 30rpx;color: #333333;flex: 0 0 auto;height: 100rpx;width: 120rpx;text-align: center;line-height:100rpx;}
  592. .house_titr{flex: 0 0 auto;font-size: 30rpx;color: #197DE0;height:100rpx;width:120rpx;text-align: center;line-height: 100rpx;}
  593. .house_titc{line-height: 40rpx;font-size: 34rpx;color: #333;padding: 30rpx;box-sizing: border-box;flex: 1;text-align: center;}
  594. }
  595. .houselist{width: 100%;text-align: center;font-size: 30rpx;color: #333333;line-height: 88rpx;
  596. &.act{color: #197DE0;}
  597. &:last-child{padding-bottom: 20rpx;}
  598. }
  599. }
  600. .nav_box{display: flex;align-items: center;justify-content: center;flex: 1;
  601. .nav_boxa{position: relative;width: 214rpx;height: 86rpx;
  602. .nav_boxb{width: 100%;height: 100%;display: none;}
  603. .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;}
  604. &.act{color: #FFFFFF;
  605. .nav_boxb{display: block;}
  606. .nav_boxa1{color: #FFFFFF;}
  607. }
  608. }
  609. }
  610. .address{
  611. display: flex;align-items: center;
  612. margin-top: 38rpx;
  613. .addtita{flex: 0 0 auto;font-size: 28rpx;font-weight: bold;
  614. color: #343434;}
  615. .addressa{
  616. display: flex;align-items: center;
  617. flex: 1;
  618. display: flex;align-items: center;justify-content: flex-end;
  619. overflow: hidden;
  620. .addsa{font-size: 26rpx;color: #333333;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;
  621. flex: 1;text-align: right;
  622. }
  623. .addsimg{width: 16rpx;height: 24rpx;margin-left: 10rpx;flex: 0 0 auto;}
  624. // .adds{
  625. // display: flex;align-items: center;justify-content: flex-start;padding:10rpx 20rpx;min-width: 220rpx;box-sizing: border-box;}
  626. }
  627. .addclear{color: #EA2929;font-size: 26rpx;flex: 0 0 auto;height: 60rpx;line-height: 60rpx;width: 128rpx;text-align:center}
  628. }
  629. .coie{
  630. width: 100%;
  631. box-sizing: border-box;
  632. padding: 0 33upx;
  633. .coie_nav{
  634. border-top: 1upx solid #E5E5E5;
  635. display: flex;
  636. flex-wrap: wrap;
  637. padding-bottom: 28upx;
  638. p{
  639. width: 33.33%;
  640. text-align: center;
  641. display: flex;
  642. flex-direction: column;
  643. margin-top: 53upx;
  644. span{
  645. font-size: 28upx;
  646. }
  647. i{
  648. font-size: 28upx;
  649. color: #333;
  650. margin-top: 28upx;
  651. }
  652. }
  653. }
  654. }
  655. .ieju{
  656. height: 17upx;
  657. width: 100%;
  658. background-color: #eee;
  659. margin-bottom: 33upx;
  660. }
  661. //暂无数据
  662. .zanwu {
  663. text-align: center;
  664. padding-top: 20upx;
  665. span {
  666. font-size: 24upx;
  667. }
  668. }
  669. .scrollbox{position: relative;}
  670. .scroll-view {
  671. max-height: calc(100vh - 280upx);
  672. }
  673. .shax {
  674. // height: 83upx;
  675. font-size: 25upx;
  676. color: #666;
  677. text-align: center;
  678. }
  679. .index {
  680. // padding-top: 33upx;
  681. max-height: 100vh;
  682. .sous {
  683. padding: 24upx 33upx 0;
  684. // display: flex;
  685. .input {
  686. height: 80upx;
  687. border: 1upx solid #E5E5E5;
  688. flex: 1;
  689. margin-right: 28upx;
  690. padding-left: 10upx;
  691. box-sizing: border-box;
  692. }
  693. button {
  694. // width: 125upx;
  695. height: 80upx;
  696. background-color: #1678FF;
  697. text-size: 28upx;
  698. color: #fff;
  699. text-align: center;
  700. line-height: 80upx;
  701. }
  702. }
  703. //tab
  704. .tab {
  705. padding-top:33upx;
  706. // padding-bottom: 100upx;
  707. .tabs {
  708. display: flex;
  709. padding: 0 20upx;
  710. box-sizing: border-box;
  711. height: 111upx;
  712. justify-content: space-between;
  713. box-shadow: 0px 7px 7px 0px rgba(229, 229, 229, 0.5);
  714. .one_tab {
  715. color: #1678FF !important;
  716. // width: 140upx;
  717. // text-align: center;
  718. // .twotabs {
  719. // font-size: 31upx;
  720. // color: #666666;
  721. // ;
  722. // font-weight: 500;
  723. // }
  724. // .twosrtabs {
  725. // color: #1678FF;
  726. // }
  727. // .twotabstwo {
  728. // font-size: 24upx;
  729. // color: #AAAAAA;
  730. // }
  731. }
  732. .one_tabqie {
  733. border-bottom: 8upx solid #1678FF;
  734. }
  735. }
  736. }
  737. //表格
  738. .exele {
  739. .box {
  740. .tr_one {
  741. display: flex;
  742. padding: 0 20upx;
  743. box-sizing: border-box;
  744. justify-content: space-between;
  745. th {
  746. // flex: 1;
  747. font-size: 24upx;
  748. font-family: PingFang SC;
  749. font-weight: 500;
  750. color: #333333;
  751. display: flex;
  752. align-items: center;
  753. justify-content: center;
  754. // line-height: 14upx;
  755. // overflow: hidden;
  756. // text-overflow: ellipsis;
  757. // white-space: nowrap;
  758. // line-height: 83upx;
  759. height: 83upx;
  760. }
  761. }
  762. .two_tr {
  763. display: flex;
  764. padding: 0 20upx;
  765. box-sizing: border-box;
  766. justify-content: space-between;
  767. td {
  768. // flex: 1;
  769. font-size: 24upx;
  770. font-family: PingFang SC;
  771. font-weight: 500;
  772. color: #333333;
  773. line-height: 83upx;
  774. height: 83upx;
  775. overflow: hidden;
  776. text-overflow: ellipsis;
  777. white-space: nowrap;
  778. }
  779. .tdse {
  780. color: #E60012 !important;
  781. }
  782. .apply_span_xl{
  783. color: #32B16C !important;
  784. }
  785. .apply_span_xltwo{
  786. color: #ffa200 !important;
  787. }
  788. .apply_span_xlfive{
  789. color: #4c4b4b !important;
  790. }
  791. .apply_span_xlthreo{
  792. color: #f00404 !important;
  793. }
  794. .apply_span_xlforu{
  795. color: #aaaaaa !important;
  796. }
  797. // .apply_span_xla{
  798. // color: #1678FF;
  799. // text-decoration: underline ;
  800. // }
  801. .coiu {
  802. color: #EC1717;
  803. }
  804. }
  805. .two_trtwo {
  806. background-color: #F6F9FC;
  807. }
  808. }
  809. }
  810. }
  811. .banj {
  812. height: 86upx;
  813. width: 100%;
  814. // text-align: center;
  815. line-height: 86upx;
  816. // background-color: #F6F9FC;
  817. color: #AAAAAA;
  818. margin-top: 20upx;
  819. display: flex;
  820. justify-content: space-around;
  821. }
  822. .apply_box{
  823. .apply_item_input{
  824. padding: 0 33upx;
  825. // border-top: 1upx solid #F4F4F4;
  826. display: flex;
  827. height: 68upx;
  828. align-items: center;
  829. .apply_span_x{
  830. font-size: 28upx;
  831. color: #363535;
  832. span{
  833. color: #F22346;
  834. }
  835. }
  836. .input_r{
  837. font-size: 28upx;
  838. height: 100%;
  839. flex: 1;
  840. text-align: right;
  841. }
  842. .input_rtwo{
  843. line-height:68upx;
  844. }
  845. .input_rtwoss{
  846. color: #1678FF;
  847. }
  848. .input_rtwosss{
  849. color: #FF0000;
  850. }
  851. }
  852. .apply_title_jt{
  853. height: 130upx;
  854. border-top: 1upx solid #F4F4F4;
  855. display: flex;
  856. justify-content: space-between;
  857. align-items: center;
  858. padding: 0 32upx;
  859. span{
  860. font-size: 36upx;
  861. color: #333;
  862. font-weight: bold;
  863. }
  864. .apply_title_btn{
  865. width: 160upx;
  866. height: 60upx;
  867. font-size: 24upx;
  868. color: #fff;
  869. display: flex;
  870. justify-content: center;
  871. align-items: center;
  872. background: #FF568C;
  873. border-radius: 8upx;
  874. .img{
  875. width: 30upx;
  876. height: 30upx;
  877. margin-right: 10upx;
  878. }
  879. }
  880. }
  881. .apply_title_jts{
  882. border:none;
  883. }
  884. .apply_title_jt_item{
  885. border-bottom: 9upx solid #F4F4F4;
  886. .apply_item_input_qx{
  887. color: #FF5185;
  888. height: 100%;
  889. display: flex;
  890. justify-content: center;
  891. align-items: center;
  892. height: 112upx;
  893. font-size: 30upx;
  894. }
  895. }
  896. .apply_item_sfz{
  897. padding: 42upx 20upx;
  898. border-bottom: 9upx solid #F4F4F4;
  899. .apply_item_sfz_title{
  900. font-weight: bold;
  901. font-size: 34upx;
  902. margin-bottom: 40upx;
  903. margin-left: 2upx;
  904. }
  905. .apply_item_phones{
  906. display: flex;
  907. justify-content: space-between;
  908. .apply_item_phone{
  909. width: 340upx;
  910. height: 218upx;
  911. .img{
  912. width: 100%;
  913. height: 100%;
  914. border-radius: 20upx;
  915. }
  916. }
  917. }
  918. }
  919. .apply_item_zdxx{
  920. padding: 0 26upx;
  921. font-size: 34upx;
  922. font-weight: bold;
  923. color: #333;
  924. height: 112upx;
  925. line-height: 112upx;
  926. border: 1upx solid #F4F4F4;
  927. }
  928. .qt_div{
  929. height: 112upx;
  930. border-top: 1upx solid #F4F4F4;
  931. padding: 0 32upx;
  932. border-bottom: 9upx solid #F9F9F9;
  933. .input_l{
  934. height: 100%;
  935. font-size: 30upx;
  936. }
  937. }
  938. }
  939. .tabld{
  940. display: flex;
  941. // height: 90upx;
  942. box-shadow: 0px 7px 5px 0px rgba(218, 218, 218, 0.35);
  943. view {
  944. font-size:26upx ;
  945. font-family: PingFang SC;
  946. font-weight: 500;
  947. color: #191919;
  948. text-align: center;
  949. flex: 1;
  950. // line-height: 70upx;
  951. display: flex;
  952. flex-direction: column;
  953. padding: 18rpx 0 20rpx;
  954. }
  955. .one_tabhu{
  956. color: #009FE8;
  957. position: relative;
  958. ::after{width: 28rpx;height: 6rpx;background: #009FE8;position: absolute;left: 50%;margin-left: -14rpx;bottom: 0;content: "";}
  959. }
  960. }
  961. .nbhe{
  962. display: flex;
  963. margin-bottom: 44upx;
  964. p{
  965. font-size: 25upx;
  966. flex: 1;
  967. padding: 0 77upx;
  968. display: flex;
  969. align-items: center;
  970. }
  971. p:nth-child(2){
  972. justify-content: flex-end;
  973. }
  974. img{
  975. width: 31upx;
  976. height: 29upx;
  977. margin-right: 11upx;
  978. }
  979. }
  980. .xinse{
  981. position: fixed;
  982. width: 100%;
  983. bottom: 0;
  984. left: 0;
  985. font-size: 33upx;
  986. font-family: PingFang SC;
  987. font-weight: 500;
  988. color: #FFFFFF;
  989. height: 90upx;
  990. background-color: #00B034;
  991. text-align: center;
  992. line-height: 90upx;
  993. z-index: 2;
  994. display: flex;align-items: center;
  995. .xinsel{
  996. width: 50%;
  997. background: #009FE8;
  998. }
  999. .xinser{
  1000. flex: 1;
  1001. background: #00B034;
  1002. }
  1003. }
  1004. .sous_sear{
  1005. padding: 24rpx 34rpx;background: #FFFFFF;
  1006. .sous_box{width: 100%;height:90rpx;background: #F2F2F2;border-radius: 6rpx;display: flex;align-items: center;padding: 0 34rpx;box-sizing: border-box;
  1007. .sous_img{width: 32rpx;height: 34rpx;margin-right: 18rpx;flex: 0 0 auto;}
  1008. .sous_input{font-size: 30rpx;color: #AAAAAA;flex: 1;}
  1009. }
  1010. }
  1011. // 搜索条件width: 562rpx;
  1012. .sfixed{background: #FFFFFF;border-radius: 14rpx;box-sizing: border-box;position: fixed;left: 60rpx;right: 60rpx;top: 50%;transform: translateY(-50%);
  1013. z-index: 1100;
  1014. .sfixedtop{
  1015. min-height: 840rpx;width: 100%;height: 100%;overflow: auto;padding: 40rpx 34rpx;box-sizing: border-box;max-height: calc(100vh - 280rpx);
  1016. }
  1017. .sfixed_tit{font-size: 28rpx;font-weight: bold;color: #343434;line-height: 44rpx;text-align: center;}
  1018. .sfixed_clo{width: 34rpx;height: 34rpx;position: absolute;right: 34rpx;top: 44rpx;}
  1019. .sfixed_box{
  1020. padding-top: 20rpx;
  1021. .sfixed_inp{width: 100%;height: 76rpx;background:#F2F2F2;padding: 0 34rpx;box-sizing: border-box;font-size: 28rpx;color: #333333;margin-top: 30rpx;}
  1022. .sfixed_line{width: 62rpx;height: 6rpx;background: #009FE8;margin: 38rpx auto 32rpx;}
  1023. .sfixed_flex{display: flex;align-items: center;justify-content: space-between;
  1024. .sfixed_a{font-size: 26rpx;font-weight: bold;color: #666666;}
  1025. .sfixed_ar{font-size: 26rpx;font-weight: bold;color: #DF0024;}
  1026. }
  1027. }
  1028. .sfixed_btn{width: 100%;height: 76rpx;background: #00B034;border: 0px solid #00B034;border-radius: 6rpx;font-size: 28rpx;font-weight: bold;
  1029. color: #FFFFFF;text-align: center;line-height: 76rpx;margin-top: 62rpx;}
  1030. }
  1031. </style>