patrolPlanAdd.vue 21 KB

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