patrolPlanAdd.vue 20 KB

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