patrolPlanAdd.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791
  1. <!-- 安全检查-发起巡查计划 -->
  2. <template>
  3. <view class="examine">
  4. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  5. <view class="basics">
  6. <view class="title">
  7. <view class="title_t">计划标题</view>
  8. <textarea class="title_b" type="text" v-model="form.title" maxlength="200" placeholder="请输入检查计划标题" placeholder-style="color:#999999;font-size:30rpx;"></textarea>
  9. </view>
  10. <view class="type">
  11. <view class="type_l">检查类型</view>
  12. <input class="type_r" type="text" v-model="form.checkTypeName" placeholder="" disabled maxlength="20">
  13. </view>
  14. <view class="period">
  15. <view class="period_l">检查周期</view>
  16. <view class="period_r">
  17. <picker mode="date" @change="startChange(form,$event)">
  18. <input class="picker-text" disabled type="text" v-model="form.cycleStartTime" placeholder="开始时间">
  19. </picker>
  20. <view>至</view>
  21. <picker mode="date" @change="endChange(form,$event)">
  22. <input class="picker-text2" disabled type="text" v-model="form.cycleEndTime" placeholder="结束时间">
  23. </picker>
  24. </view>
  25. </view>
  26. <view class="tiem_quick">
  27. <view @click="tiemQuick(index)" :class="item.type?'tiem_quick_a':'tiem_quick_b'" v-for="(item,index) in tiemQuickList">{{item.name}}</view>
  28. </view>
  29. <view class="scope">
  30. <view class="scope_l">检查范围</view>
  31. <picker @change="scopeChange" :value="scopeIndex" :range="scopeArray" class="scope_r">
  32. <view class="scope_r_n">
  33. <view>{{form.checkRange?(form.checkRange==1?'全校':(form.checkRange==2?'学院':'实验室')):'选择检查范围'}}</view>
  34. <img src="@/images/Version3.3.3/icon_06.png">
  35. </view>
  36. </picker>
  37. </view>
  38. <view class="scope_btn" v-if="scopeIndex==1 || scopeIndex==2" @click="collegeOrLab()">{{scopeIndex==1?'选择学院':'选择实验室'}}</view>
  39. <view class="scope_text" v-if="scopeIndex==0 || scopeIndex==1">已选择<text>{{form.collegeNum}}</text>个学院,共<text>{{form.subjectNum}}</text>间实验室</view>
  40. <view class="scope_text" v-if="scopeIndex==2">已选择<text>{{form.subjectNum}}</text>间实验室</view>
  41. </view>
  42. <view class="patrol_group">
  43. <view class="patrol">
  44. <view class="patrol_l">巡查组</view>
  45. <view class="patrol_r_n" @click="patrolChange">
  46. <view>{{form.checkGroupName?form.checkGroupName:'请选择巡查组'}}</view>
  47. <img src="@/images/Version3.3.3/icon_06.png">
  48. </view>
  49. </view>
  50. <view class="list">
  51. <view class="list_title"><img src="@/images/Version3.3.3/icon_jcjh_cy.png">成员</view>
  52. <view class="list_header"><text>工号</text><text>姓名</text></view>
  53. <view class="list_li" v-for="(item,index) in form.checkGroupMemberList"><text>12345678</text><text>{{item.name}}</text></view>
  54. <view class="list_bottom" v-if="form.checkGroupMemberList.length==0">无数据</view>
  55. </view>
  56. </view>
  57. </scroll-view>
  58. <view class="bottom_btn" @click="submitForm()">保存</view>
  59. <!-- 选择学院-->
  60. <view class="shade" v-if="dialogVisible">
  61. <view class="null-box" @click="dialogClose()"></view>
  62. <view class="shade_n">
  63. <view class="shade_n_title"><text>选择学院</text><text @click="collegeConfirm">确定</text></view>
  64. <view class="shade_n_b">
  65. <view class="shade_n_b_li" v-for="(item,index) in collegeList" :key="index" @click="collegeSelete(index)">
  66. <text :class="item.type?'color_B':'color_A'">{{item.deptName}}</text>
  67. <img v-if="item.type" src="@/images/Version3.3.3/icon_xzwt_xz.png">
  68. </view>
  69. </view>
  70. </view>
  71. </view>
  72. </view>
  73. </template>
  74. <script>
  75. import { config } from '@/api/request/config.js'
  76. import { checkPlanAdd,conditionCollegeInfo,getAllSubNum} from '@/api/index.js'
  77. export default {
  78. name: "rectifyList",
  79. components: {
  80. },
  81. data() {
  82. return {
  83. pageType:0,
  84. //列表请求参数
  85. getData:{
  86. pageNum:1,
  87. pageSize:20,
  88. },
  89. form:{
  90. title:'',
  91. checkType:'1',//1校院巡查 2实验室自查
  92. checkTypeName:'校院巡查',//1校院巡查 2实验室自查
  93. cycleStartTime:'',
  94. cycleEndTime:'',
  95. checkRange:0,//检查范围 1全校 2学院 3实验室
  96. checkGroupId:[],//巡查组id
  97. checkLevel:'',//巡查组层级
  98. checkGroupMemberList:[],//巡查组成员
  99. collegeIds:'',//学院id组
  100. collegeNum:0,//学院数量
  101. subIds:'',//实验室id组
  102. subjectNum:0,//实验室数量
  103. tiemQuickList:[],
  104. scopeIndex:'',
  105. seleteListLab:[],
  106. seleteListMember:[],
  107. },
  108. tiemQuickList:[{name:'本月',type:false},{name:'本季度',type:false},{name:'全年',type:false}],
  109. scopeIndex:0,
  110. scopeArray:['全校','学院','实验室'],
  111. dialogVisible:false,
  112. collegeList:[]
  113. }
  114. },
  115. onLoad(option) {
  116. if(option.form){
  117. this.form=JSON.parse(decodeURIComponent(option.form));
  118. this.tiemQuickList=this.form.tiemQuickList//时间快捷
  119. this.scopeIndex=this.form.scopeIndex//检查范围
  120. console.log(this.form)
  121. }
  122. if(option.pageType){
  123. if(option.pageType==1){//校院巡查
  124. this.form.checkType=option.pageType;
  125. this.form.checkTypeName='校院巡查';
  126. }else if(option.pageType==2){//实验室自查
  127. this.form.checkType=option.pageType;
  128. this.form.checkTypeName='实验室自查';
  129. }
  130. }
  131. },
  132. onShow() {
  133. },
  134. mounted(){
  135. },
  136. methods: {
  137. //滚动事件
  138. scrollGet(){
  139. },
  140. //顶部tab点击
  141. tabClick(index) {
  142. this.curTab = index;
  143. },
  144. //开始时间选中事件
  145. startChange(form,e){
  146. if(new Date(e.target.value).getTime()>=new Date(form.cycleEndTime).getTime()){
  147. uni.showToast({
  148. title: '结束时间不能小于开始时间',
  149. icon:"none",
  150. mask:true,
  151. duration: 2000
  152. });
  153. }else{
  154. form.cycleStartTime=e.target.value
  155. }
  156. },
  157. //结束时间选中事件
  158. endChange(form,e){
  159. if(new Date(form.cycleStartTime).getTime()>=new Date(e.target.value).getTime()){
  160. uni.showToast({
  161. title: '结束时间不能小于开始时间',
  162. icon:"none",
  163. mask:true,
  164. duration: 2000
  165. });
  166. }else{
  167. form.cycleEndTime=e.target.value
  168. }
  169. },
  170. //检查周期快捷
  171. tiemQuick(index){
  172. this.tiemQuickList[index].type = !this.tiemQuickList[index].type
  173. let _this = this;
  174. if (_this.tiemQuickList[index].type == true) {
  175. _this.tiemQuickList.forEach(function(item2) {
  176. if (item2.name == _this.tiemQuickList[index].name) {
  177. item2.type = true
  178. } else {
  179. item2.type = false
  180. }
  181. })
  182. //快捷本月-本季度-全年
  183. _this.timeSlotChange(_this.tiemQuickList[index].name)
  184. }else{
  185. console.log('取消选中')
  186. _this.form.cycleStartTime='';
  187. _this.form.cycleEndTime='';
  188. }
  189. },
  190. //检查范围
  191. scopeChange(e){
  192. let _this=this;
  193. uni.showModal({
  194. content: '重新选择会删除现有选择的实验室,是否重选?',
  195. cancelColor:"#999",
  196. confirmColor:"#0183FA",
  197. success: function (res) {
  198. if (res.confirm) {
  199. _this.scopeIndex = e.target.value;
  200. _this.form.checkRange=Number(e.target.value)+1;//检查范围
  201. _this.form.collegeIds ='';
  202. _this.form.collegeNum =0;
  203. _this.form.subIds ='';
  204. _this.form.subjectNum =0;
  205. if(e.target.value==1){//选择学院
  206. _this.conditionCollegeInfo();
  207. }else if(e.target.value==0){//全校
  208. _this.getAllSubNum();
  209. }else if(e.target.value==2){
  210. console.log('选择实验室')
  211. }
  212. } else if (res.cancel) {
  213. }
  214. }
  215. });
  216. },
  217. timeSlotChange (val) {
  218. let _this=this;
  219. let cycleStartTime, cycleEndTime;
  220. let now = new Date(); //当前日期
  221. let nowDayOfWeek = now.getDay(); //今天本周的第几天
  222. let nowDay = now.getDate(); //当前日
  223. let nowMonth = now.getMonth(); //当前月
  224. let nowYear = now.getFullYear(); //当前年
  225. let jd=Math.ceil((nowMonth + 1) / 3)
  226. switch (val) {
  227. case "本周":
  228. cycleStartTime = new Date(nowYear, nowMonth, nowDay - nowDayOfWeek)
  229. cycleEndTime = new Date(nowYear, nowMonth, nowDay + 6 - nowDayOfWeek)
  230. break;
  231. case "本月":
  232. cycleStartTime = new Date(nowYear, nowMonth, 1)
  233. cycleEndTime = new Date(nowYear, nowMonth + 1, 0)
  234. break;
  235. case "本季度":
  236. cycleStartTime = new Date(nowYear, (jd-1)*3, 1)
  237. cycleEndTime = new Date(nowYear, jd*3, 0)
  238. break
  239. case "全年":
  240. cycleStartTime = new Date(nowYear, 0, 1)
  241. cycleEndTime = new Date(nowYear, 11, 31)
  242. break
  243. }
  244. _this.form.cycleStartTime=_this.formatDateTime(cycleStartTime)
  245. _this.form.cycleEndTime=_this.formatDateTime(cycleEndTime)
  246. },
  247. // 中国标准时间 转换成 年月日
  248. formatDateTime (date) {
  249. var y = date.getFullYear();
  250. var m = date.getMonth() + 1;
  251. m = m < 10 ? ('0' + m) : m;
  252. var d = date.getDate();
  253. d = d < 10 ? ('0' + d) : d;
  254. var h = date.getHours();
  255. var minute = date.getMinutes();
  256. minute = minute < 10 ? ('0' + minute) : minute;
  257. // return y + '-' + m + '-' + d+' '+h+':'+minute;
  258. return y + '-' + m + '-' + d
  259. },
  260. //巡查组
  261. patrolChange(){
  262. this.form.tiemQuickList=this.tiemQuickList//检查周期快捷存储
  263. this.form.scopeIndex=this.scopeIndex//检查范围
  264. uni.redirectTo({
  265. url: '/pages/pages_safetyExamine/patrolPlan/patrolPlanAddMember?form='+encodeURIComponent(JSON.stringify(this.form))+'&pageType=1'
  266. });
  267. },
  268. //选择学院或者实验室
  269. collegeOrLab(){
  270. console.log(this.scopeIndex)
  271. if(this.scopeIndex==1){//学院
  272. this.dialogVisible=true;
  273. }else if(this.scopeIndex==2){//实验室
  274. this.form.tiemQuickList=this.tiemQuickList//检查周期快捷存储
  275. this.form.scopeIndex=this.scopeIndex//检查范围
  276. uni.redirectTo({
  277. url: '/pages/pages_safetyExamine/patrolPlan/patrolPlanAddLab?form='+encodeURIComponent(JSON.stringify(this.form))+'&pageType=1'
  278. });
  279. }
  280. },
  281. //选择学院弹窗关闭
  282. dialogClose(){
  283. this.dialogVisible=false;
  284. },
  285. //选择学院确定
  286. collegeConfirm(){
  287. let _this=this;
  288. this.dialogVisible=false;
  289. let list=[];
  290. let collegeIds=[];
  291. let subjectNum=0;
  292. _this.collegeList.forEach(function(item){
  293. if(item.type==true){
  294. list.push(item)
  295. collegeIds.push(item.deptId);
  296. subjectNum+=item.subNum;
  297. }
  298. })
  299. _this.form.collegeIds=collegeIds.join(',');
  300. _this.form.subjectNum=subjectNum;
  301. _this.form.collegeNum=list.length;
  302. },
  303. //学院选择
  304. collegeSelete(index){
  305. this.collegeList[index].type = !this.collegeList[index].type
  306. },
  307. //查询学院列表
  308. async conditionCollegeInfo(){
  309. let _this = this;
  310. const {data} = await conditionCollegeInfo();
  311. if(data.code == 200){
  312. data.data.forEach(function(item){
  313. item.type=false;
  314. })
  315. _this.collegeList=data.data;
  316. }
  317. },
  318. //查询全校学院和实验室数量
  319. async getAllSubNum(){
  320. let _this = this;
  321. const {data} = await getAllSubNum();
  322. if(data.code == 200){
  323. this.form.collegeNum=data.data.collegeCount
  324. this.form.subjectNum=data.data.subCount
  325. }
  326. },
  327. handleClick(doType){
  328. let self=this;
  329. if( doType=='subBtn'){//
  330. console.log(11)
  331. }
  332. },
  333. //巡查计划-添加
  334. async submitForm(){
  335. let _this = this;
  336. const {data} = await checkPlanAdd(_this.form);
  337. if(data.code == 200){
  338. uni.showToast({
  339. title: '提交成功',
  340. icon:"none",
  341. mask:true,
  342. duration: 2000
  343. });
  344. uni.redirectTo({
  345. url: '/pages/pages_safetyExamine/patrolPlan/patrolPlanList?pageType='+this.form.checkType
  346. });
  347. }
  348. },
  349. }
  350. }
  351. </script>
  352. <style lang="stylus" scoped>
  353. .examine{
  354. height:100%;
  355. display flex;
  356. // padding: 0 30rpx;
  357. // box-sizing: border-box;
  358. padding-bottom: 126rpx;
  359. box-sizing: border-box;
  360. .info-max-box{
  361. flex: 1;
  362. overflow: scroll;
  363. padding: 0 30rpx;
  364. box-sizing: border-box;
  365. }
  366. .basics{
  367. width: 690rpx;
  368. background: #FFFFFF;
  369. border-radius: 20rpx;
  370. margin-top: 20rpx;
  371. padding: 60rpx 26rpx 32rpx;
  372. box-sizing: border-box;
  373. .title{
  374. .title_t{
  375. font-size: 30rpx;
  376. font-family: PingFang SC-Medium, PingFang SC;
  377. font-weight: 400;
  378. color: #333333;
  379. line-height: 42rpx;
  380. margin-bottom: 12rpx;
  381. }
  382. .title_b{
  383. width: 636rpx;
  384. height: 150rpx;
  385. border-radius: 10rpx;
  386. opacity: 1;
  387. border: 1rpx solid #E0E0E0;
  388. padding: 26rpx 23rpx;
  389. box-sizing: border-box;
  390. }
  391. }
  392. .type{
  393. display: flex;
  394. justify-content: flex-start;
  395. align-items: center;
  396. margin-top: 20rpx;
  397. .type_l{
  398. width: 146rpx;
  399. font-size: 30rpx;
  400. font-family: PingFang SC-Medium, PingFang SC;
  401. font-weight: 400;
  402. color: #333333;
  403. line-height: 42rpx;
  404. text-align: left;
  405. }
  406. .type_r{
  407. width: 490rpx;
  408. height: 80rpx;
  409. border-radius: 10rpx;
  410. padding-left:22rpx;
  411. box-sizing: border-box;
  412. background: #F5F5F5;
  413. }
  414. }
  415. .period{
  416. display: flex;
  417. justify-content: flex-start;
  418. align-items: center;
  419. margin-top: 26rpx;
  420. .period_l{
  421. width: 146rpx;
  422. font-size: 30rpx;
  423. font-family: PingFang SC-Medium, PingFang SC;
  424. font-weight: 400;
  425. color: #333333;
  426. line-height: 42rpx;
  427. text-align: left;
  428. }
  429. .period_r{
  430. width: 490rpx;
  431. height: 80rpx;
  432. border-radius: 10rpx;
  433. border: 1rpx solid #E0E0E0;
  434. display: flex;
  435. justify-content: flex-start;
  436. align-items: center;
  437. .picker-text{
  438. font-size: 30rpx;
  439. font-family: PingFang SC-Medium, PingFang SC;
  440. font-weight: 400;
  441. color: #999999;
  442. line-height: 80rpx;
  443. width: 230rpx;
  444. text-align: center;
  445. }
  446. .picker-text2{
  447. font-size: 30rpx;
  448. font-family: PingFang SC-Medium, PingFang SC;
  449. font-weight: 400;
  450. color: #999999;
  451. line-height: 80rpx;
  452. width: 230rpx;
  453. text-align: center;
  454. }
  455. }
  456. }
  457. .tiem_quick{
  458. margin-left: 146rpx;
  459. display: flex;
  460. justify-content: flex-start;
  461. margin-top: 20rpx;
  462. >view{
  463. width: 130rpx;
  464. height: 80rpx;
  465. opacity: 1;
  466. border: 1rpx solid #E0E0E0;
  467. font-size: 30rpx;
  468. font-family: PingFang SC-Medium, PingFang SC;
  469. font-weight: 400;
  470. line-height: 80rpx;
  471. text-align: center;
  472. }
  473. >view:nth-of-type(1){
  474. border-radius: 10rpx 0rpx 0rpx 10rpx;
  475. }
  476. >view:nth-of-type(3){
  477. border-radius: 0rpx 10rpx 10rpx 0rpx;
  478. }
  479. .tiem_quick_a{
  480. background: #0183FA;
  481. color: #FFFFFF;
  482. }
  483. .tiem_quick_b{
  484. background: #F5F5F5;
  485. color: #333333;
  486. }
  487. }
  488. .scope{
  489. display: flex;
  490. justify-content: flex-start;
  491. align-items: center;
  492. margin-top: 26rpx;
  493. .scope_l{
  494. width: 146rpx;
  495. font-size: 30rpx;
  496. font-family: PingFang SC-Medium, PingFang SC;
  497. font-weight: 400;
  498. color: #333333;
  499. line-height: 42rpx;
  500. text-align: left;
  501. }
  502. .scope_r{
  503. flex: 1;
  504. .scope_r_n{
  505. width: 490rpx;
  506. height: 80rpx;
  507. border-radius: 10rpx;
  508. border: 1rpx solid #E0E0E0;
  509. display: flex;
  510. justify-content: flex-start;
  511. align-items: center;
  512. >view{
  513. flex:1;
  514. line-height:80rpx;
  515. margin-left:20rpx;
  516. color: #999999;
  517. font-size:28rpx;
  518. }
  519. >img{
  520. width: 14rpx;
  521. height: 8rpx;
  522. margin-right: 30rpx;
  523. }
  524. }
  525. }
  526. }
  527. .scope_btn{
  528. display: inline-block;
  529. background: #0183FA;
  530. border-radius: 10rpx;
  531. font-size: 30rpx;
  532. font-family: PingFang SC-Medium, PingFang SC;
  533. font-weight: 400;
  534. color: #FFFFFF;
  535. line-height: 80rpx;
  536. text-align: center;
  537. padding: 0 16rpx;
  538. box-sizing: border-box;
  539. margin-top: 40rpx;
  540. margin-left: 146rpx;
  541. }
  542. .scope_text{
  543. margin-left: 146rpx;
  544. font-size: 30rpx;
  545. font-family: PingFang SC-Medium, PingFang SC;
  546. font-weight: 400;
  547. color: #333333;
  548. margin-top: 32rpx;
  549. line-height: 42rpx;
  550. >text{
  551. color: #0183FA;
  552. }
  553. }
  554. }
  555. .patrol_group{
  556. width: 690rpx;
  557. background: #FFFFFF;
  558. border-radius: 20rpx;
  559. margin-top: 20rpx;
  560. padding: 40rpx 30rpx 64rpx;
  561. box-sizing: border-box;
  562. .patrol{
  563. display: flex;
  564. justify-content: flex-start;
  565. align-items: center;
  566. margin-top: 26rpx;
  567. .patrol_l{
  568. width: 146rpx;
  569. font-size: 30rpx;
  570. font-family: PingFang SC-Medium, PingFang SC;
  571. font-weight: 400;
  572. color: #333333;
  573. line-height: 42rpx;
  574. text-align: left;
  575. }
  576. .patrol_r_n{
  577. width: 490rpx;
  578. height: 80rpx;
  579. border-radius: 10rpx;
  580. border: 1rpx solid #E0E0E0;
  581. display: flex;
  582. justify-content: flex-start;
  583. align-items: center;
  584. >view{
  585. flex:1;
  586. line-height:80rpx;
  587. margin-left:20rpx;
  588. color: #999999;
  589. font-size:28rpx;
  590. }
  591. >img{
  592. width: 14rpx;
  593. height: 8rpx;
  594. margin-right: 30rpx;
  595. }
  596. }
  597. }
  598. .list{
  599. margin-top: 42rpx;
  600. .list_title{
  601. display: flex;
  602. justify-content: flex-start;
  603. align-items: center;
  604. height: 80rpx;
  605. background: #F5F5F5;
  606. border-radius: 10rpx 10rpx 0rpx 0rpx;
  607. font-size: 30rpx;
  608. font-family: PingFang SC-Medium, PingFang SC;
  609. font-weight: 400;
  610. color: #333333;
  611. line-height: 80rpx;
  612. >img{
  613. width: 30rpx;
  614. height: 30rpx;
  615. margin: 0 20rpx;
  616. }
  617. }
  618. .list_header{
  619. display: flex;
  620. justify-content: flex-start;
  621. >text{
  622. flex: 1;
  623. height: 80rpx;
  624. background: #F5F5F5;
  625. font-size: 30rpx;
  626. font-family: PingFang SC-Medium, PingFang SC;
  627. font-weight: 400;
  628. color: #333333;
  629. line-height: 80rpx;
  630. text-align: center;
  631. border: 1rpx solid #E0E0E0;
  632. }
  633. >text:nth-of-type(1){
  634. border-right: none;
  635. }
  636. }
  637. .list_li{
  638. display: flex;
  639. justify-content: flex-start;
  640. >text{
  641. flex: 1;
  642. height: 80rpx;
  643. font-size: 30rpx;
  644. font-family: PingFang SC-Medium, PingFang SC;
  645. font-weight: 400;
  646. color: #333333;
  647. line-height: 80rpx;
  648. text-align: center;
  649. border: 1rpx solid #E0E0E0;
  650. }
  651. >text:nth-of-type(1){
  652. border-right: none;
  653. border-top: none;
  654. }
  655. >text:nth-of-type(2){
  656. border-top: none;
  657. }
  658. }
  659. .list_bottom{
  660. flex: 1;
  661. height: 80rpx;
  662. font-size: 30rpx;
  663. font-family: PingFang SC-Medium, PingFang SC;
  664. font-weight: 400;
  665. color: #999999;
  666. line-height: 80rpx;
  667. text-align: center;
  668. border: 1rpx solid #E0E0E0;
  669. border-top: none;
  670. }
  671. }
  672. }
  673. .bottom_btn{
  674. position: fixed;
  675. bottom: 26rpx;
  676. left: 30rpx;
  677. font-size: 30rpx;
  678. font-family: PingFang SC-Medium, PingFang SC;
  679. font-weight: 400;
  680. color: #FFFFFF;
  681. line-height: 90rpx;
  682. width: 690rpx;
  683. height: 90rpx;
  684. background: #0183FA;
  685. border-radius: 20rpx;
  686. text-align: center;
  687. }
  688. /* 指纹采集 */
  689. .shade {
  690. height: 100%;
  691. width: 100%;
  692. position: fixed;
  693. display: flex;
  694. flex-direction: column;
  695. z-index: 10;
  696. background: rgba(0, 0, 0, 0.2);
  697. .null-box {
  698. flex: 1;
  699. }
  700. .shade_n {
  701. position: absolute;
  702. bottom: 0;
  703. left: 0;
  704. width: 750rpx;
  705. height: 560rpx;
  706. background: #FFFFFF;
  707. border-radius: 20rpx 20rpx 0rpx 0rpx;
  708. .shade_n_title{
  709. height: 100rpx;
  710. padding: 0 30rpx;
  711. box-sizing: border-box;
  712. display: flex;
  713. justify-content:space-between;
  714. border-bottom: 1rpx solid #E0E0E0;
  715. >text:nth-of-type(1){
  716. font-size: 30rpx;
  717. font-family: PingFang SC-Medium, PingFang SC;
  718. font-weight: 400;
  719. color: #333333;
  720. line-height: 100rpx;
  721. }
  722. >text:nth-of-type(2){
  723. font-size: 30rpx;
  724. font-family: PingFang SC-Medium, PingFang SC;
  725. font-weight: 400;
  726. color: #0183FA;
  727. line-height: 100rpx;
  728. }
  729. }
  730. .shade_n_b{
  731. height: 460rpx;
  732. padding: 0 30rpx;
  733. box-sizing: border-box;
  734. overflow-y: auto;
  735. .shade_n_b_li{
  736. display: flex;
  737. justify-content:space-between;
  738. align-items: center;
  739. height: 80rpx;
  740. border-bottom: 1rpx solid #E0E0E0;
  741. >text{
  742. font-size: 28rpx;
  743. font-family: PingFang SC-Medium, PingFang SC;
  744. font-weight: 400;
  745. line-height: 80rpx;
  746. overflow: hidden;
  747. text-overflow:ellipsis;
  748. white-space: nowrap;
  749. }
  750. >img{
  751. width: 24rpx;
  752. height: 16rpx;
  753. margin-right: 14rpx;
  754. }
  755. }
  756. .color_A{
  757. color: #333333;
  758. }
  759. .color_B{
  760. color: #0183FA;
  761. }
  762. }
  763. }
  764. }
  765. }
  766. </style>