patrolPlanAdd.vue 20 KB

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