patrolPlanAdd.vue 18 KB

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