patrolPlanAdd.vue 20 KB

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