teacherHome.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769
  1. <!-- 教师首页 -->
  2. <template>
  3. <view class="teacherHome">
  4. <data-board v-if="pageType == 1" style="display: flex;flex-direction:column;flex:1;"></data-board>
  5. <view class="top-back-img" :style="{top:navHeight+'rpx'}">
  6. <!-- <img class="position-data-button" @click="goPage('dataBoard')" v-if="dataPageType" :src="imagesUrl('home/icon_sy_sjmb@1x.png')"> -->
  7. <img class="position-img" :src="rectangleLogo">
  8. </view>
  9. <view class="home-page" v-if="pageType == 2">
  10. <!-- <nav-bar :title="title" :background="background"></nav-bar> -->
  11. <view class="user-max-box">
  12. <view class="user-img-box">
  13. <img v-if="userData.avatar" class="user-img" :src="baseUrl+userData.avatar">
  14. <img v-else class="user-img" :src="imagesUrl('commonality/icon_01.png')">
  15. </view>
  16. <view class="user-name-box">
  17. <view>{{userData.userName}} {{userData.userType==1?'老师':(userData.userType==2?'学生':(userData.userType==3?'系统用户':''))}}</view>
  18. <view>{{userData.deptName}}</view>
  19. </view>
  20. <view class="user-button" @click="goMine()">设置</view>
  21. </view>
  22. <!-- <view class="button-one-box"> -->
  23. <!-- <view class="button-min" @click="goPage('securityCheck')">
  24. <img class="button-img" :src="imagesUrl('home/icon_sy_aqjc@1x.png')">
  25. <view class="button-name">安全检查</view>
  26. </view> -->
  27. <!-- <view class="button-min" @click="goPage('securityExamination')">
  28. <img class="button-img" :src="imagesUrl('home/icon_sy_aqks@1x.png')">
  29. <view class="button-name">安全考试</view>
  30. </view> -->
  31. <!-- <view class="button-min" @click="goPage('securityAdmittance')" style="margin:23rpx 0 0 20rpx;">
  32. <img class="button-img" :src="imagesUrl('home/icon_sy_aqzr@1x.png')">
  33. <view class="button-name">安全准入</view>
  34. </view>
  35. <view class="button-min" @click="goPage('hierarchicalControl')" style="margin:23rpx 65rpx 0;">
  36. <img class="button-img" :src="imagesUrl('home/icon_sy_fjgk@1x.png')">
  37. <view class="button-name">分级管控</view>
  38. </view> -->
  39. <!-- <view class="button-min" @click="goPage('securityResponsibility')">
  40. <img class="button-img" :src="imagesUrl('home/icon_sy_aqzrr@1x.png')">
  41. <view class="button-name">安全责任</view>
  42. </view> -->
  43. <!-- <view class="button-min" @click="goPage('deviceManagement')">
  44. <img class="button-img" :src="imagesUrl('home/icon_sy_sbgl@1x.png')">
  45. <view class="button-name">设备管理</view>
  46. </view> -->
  47. <!-- <view class="button-min" @click="goPage('emergencyDisposal')" style="margin:23rpx 20rpx 0 0;">
  48. <img class="button-img" :src="imagesUrl('home/icon_sy_yjcz@1x.png')">
  49. <view class="button-name">应急处置</view>
  50. </view> -->
  51. <!-- <view class="button-min" @click="goPage('cageSiteManagement')">
  52. <img class="button-img" :src="imagesUrl('home/icon_sy_lwgl@1x.png')">
  53. <view class="button-name">笼位管理</view>
  54. </view> -->
  55. <!-- </view> -->
  56. <top-warn></top-warn>
  57. <view class="home-button-box-1" style="background-color: #fff0dd;"
  58. @click="goPage('securityAdmittance')">
  59. <img class="home-button-img" :src="imagesUrl('home/icon_sy_aqzr@1x.png')"/>
  60. <view class="home-button-name" style="color: #ff8c00;">安全准入</view>
  61. <view class="home-button-text">实验室安全准入审核</view>
  62. <view class="home-button-mark" v-if="admittanceHint"></view>
  63. </view>
  64. <view class="home-button-box-1" style="background-color: #FFE4E1;"
  65. @click="goPage('emergencyDisposal')">
  66. <img class="home-button-img" :src="imagesUrl('home/icon_sy_yjcz@1x.png')"/>
  67. <view class="home-button-name" style="color: #ff6762;">应急处置</view>
  68. <view class="home-button-text">实验室安全风险处置</view>
  69. <!-- <view class="home-button-mark"></view> -->
  70. </view>
  71. <view class="home-button-box-2">
  72. <view class="home-button-box-min" @click="goPage('remoteDoorOpening')"
  73. style="background-color: #DFF0FF;margin-right:20rpx;">
  74. <img class="home-button-img" :src="imagesUrl('home/img_sy_yckm@1x.png')">
  75. <view class="home-button-min">
  76. <view class="home-button-min-name">远程开门</view>
  77. <view class="home-button-min-text">打开门禁</view>
  78. </view>
  79. </view>
  80. <view class="home-button-box-min" @click="goPage('accessControlAuthorization')"
  81. style="background-color: #DFF0FF;">
  82. <img class="home-button-img" :src="imagesUrl('home/home_button_03.png')">
  83. <view class="home-button-min">
  84. <view class="home-button-min-name">授权开门</view>
  85. <view class="home-button-min-text">门禁权限</view>
  86. </view>
  87. </view>
  88. </view>
  89. <view class="home-button-box-2">
  90. <view class="home-button-box-min" @click="goPage('riskEarlyWarning')"
  91. style="background-color: #DFF0FF;margin-right:20rpx;">
  92. <img class="home-button-img" :src="imagesUrl('home/home_button_02.png')">
  93. <view class="home-button-min">
  94. <view class="home-button-min-name">预警记录</view>
  95. <view class="home-button-min-text">风险预警记录</view>
  96. </view>
  97. </view>
  98. <view class="home-button-box-min" @click="goPage('entryAndExitRecord')"
  99. style="background-color: #DFF0FF;">
  100. <img class="home-button-img" :src="imagesUrl('home/img_sy_lkjc@1x.png')">
  101. <view class="home-button-min">
  102. <view class="home-button-min-name">进出记录</view>
  103. <view class="home-button-min-text">实验室出入</view>
  104. </view>
  105. </view>
  106. </view>
  107. <view class="home-button-box-2">
  108. <view class="home-button-box-min" @click="goPage('leaveCheckPupilTeacher')"
  109. style="background-color: #DFF0FF;margin-right:20rpx;">
  110. <img class="home-button-img" :src="imagesUrl('home/home_button_04.png')">
  111. <view class="home-button-min">
  112. <view class="home-button-min-name">签退离开</view>
  113. <view class="home-button-min-text">检查拍照上传</view>
  114. </view>
  115. </view>
  116. <view class="home-button-box-min" @click="saoCode()"
  117. style="background-color: #DFF0FF;">
  118. <img class="home-button-img" :src="imagesUrl('home/icon_sy_ssp@1x.png')">
  119. <view class="home-button-min">
  120. <view class="home-button-min-name">扫一扫</view>
  121. <view class="home-button-min-text">扫描二维码</view>
  122. </view>
  123. </view>
  124. </view>
  125. <!-- <view class="button-two-box">
  126. <view class="button-big-box" @click="goPage('snapshot')"
  127. style="background-color: #DFF0FF;margin-right:20rpx;">
  128. <img :src="imagesUrl('home/icon_sy_ssp@1x.png')">
  129. <view class="button-min-box">
  130. <view>随手拍</view>
  131. <view>发现隐患</view>
  132. </view>
  133. </view>
  134. <view class="button-big-box" @click="goPage('remoteDoorOpening')" style="background-color: #D6EBDA;">
  135. <img :src="imagesUrl('home/img_sy_yckm@1x.png')">
  136. <view class="button-min-box">
  137. <view>远程开门</view>
  138. <view>立即开门</view>
  139. </view>
  140. </view>
  141. </view> -->
  142. <!-- <view class="button-three-box-1">
  143. <view class="button-big-box" @click="goPage('leaveCheckPupilTeacher')">
  144. <img :src="imagesUrl('home/img_lkjc@1x.png')">
  145. <view class="button-min-box">
  146. <view>离开检查</view>
  147. <view>拍照上传</view>
  148. </view>
  149. </view>
  150. </view>
  151. <view class="button-three-box">
  152. <view class="button-big-box" @click="goPage('remoteDoorOpening')">
  153. <img :src="imagesUrl('home/img_lwgl@1x.png')">
  154. <view class="button-min-box">
  155. <view>远程开门</view>
  156. <view>打开门禁</view>
  157. </view>
  158. </view>
  159. </view> -->
  160. <!-- <view class="button-three-box">
  161. <view class="button-big-box" @click="goPage()">
  162. <img :src="imagesUrl('home/img_bg_hxpgk@1x.png')">
  163. <view class="button-min-box">
  164. <view>化学品智能管控</view>
  165. <view>申购审批丨使用台账丨实验室库存</view>
  166. </view>
  167. </view>
  168. </view> -->
  169. <!-- <img class="scan_btn" @click.stop="saoCode" :src="imagesUrl('commonality/icon_xyxc_sm.png')"> -->
  170. <tab-bar></tab-bar>
  171. </view>
  172. </view>
  173. </template>
  174. <script>
  175. import {
  176. config
  177. } from '@/api/request/config.js'
  178. import {
  179. pageRestrictVerify
  180. } from '@/utils/index'
  181. import {
  182. chemicalAppletSelectStockInfo,
  183. laboratorySubPassOutIsotopeSubSign,
  184. systemUserProfile,
  185. laboratoryAppletCheckApplyPending
  186. } from '@/pages/api/index.js'
  187. import tabBar from '@/pages/component/tabBar.vue'
  188. import navBar from '@/pages/component/navbar.vue'
  189. import topWarn from '@/pages/component/topWarn.vue'
  190. import dataBoard from '@/pages/views/dataBoard/dataBoard.vue'
  191. import { scanCode } from '@/utils/scanTheCode'
  192. export default {
  193. name: "teacherHome",
  194. components: {
  195. tabBar,
  196. navBar,
  197. topWarn,
  198. dataBoard,
  199. },
  200. data() {
  201. return {
  202. baseUrl: config.base_url,
  203. pageType: 2,
  204. userData:{},
  205. navHeight: uni.getStorageSync('navHeight'),
  206. dataPageType: false,
  207. title: '实验室安全智慧化管控系统',
  208. background: '#0183FA',
  209. rectangleLogo: uni.getStorageSync('rectangleLogo'),
  210. identityData:uni.getStorageSync('identityData'),
  211. // 准入红点
  212. admittanceHint:false,
  213. }
  214. },
  215. created() {
  216. // if (pageRestrictVerify('dataBoard')) {
  217. // this.dataPageType = true;
  218. // if (!uni.getStorageSync('dataBoardType')) {
  219. // this.pageType = 1;
  220. // uni.setStorageSync('dataBoardType', true);
  221. // }
  222. // }
  223. },
  224. mounted() {
  225. this.systemUserProfile();
  226. this.laboratoryAppletCheckApplyPending();
  227. },
  228. methods: {
  229. //查询安全准入是否有-待审核
  230. async laboratoryAppletCheckApplyPending() {
  231. const {
  232. data
  233. } = await laboratoryAppletCheckApplyPending();
  234. if (data.code == 200) {
  235. this.$set(this,'admittanceHint',data.data);
  236. }
  237. },
  238. //获取个人信息
  239. async systemUserProfile() {
  240. const {
  241. data
  242. } = await systemUserProfile();
  243. if (data.code == 200) {
  244. this.$set(this, 'userData', data.data)
  245. uni.setStorageSync('userDeptId', data.data.deptId);
  246. uni.setStorageSync('userDeptName', data.data.deptName);
  247. }
  248. },
  249. goMine(){
  250. uni.navigateTo({
  251. url: "/pages/views/mine/mine",
  252. });
  253. },
  254. goPage(type) {
  255. if (!type) {
  256. uni.showToast({
  257. title: '暂未开放',
  258. icon: "none",
  259. mask: true,
  260. duration: 2000
  261. });
  262. return
  263. }
  264. if (!pageRestrictVerify(type)) {
  265. uni.showToast({
  266. title: '没有相关权限,请联系管理员',
  267. icon: "none",
  268. mask: true,
  269. duration: 2000
  270. });
  271. return
  272. }
  273. if (type == 'dataBoard') {
  274. //数据看板
  275. this.pageType = 1;
  276. } else if (type == 'securityCheck') {
  277. //安全检查
  278. uni.navigateTo({
  279. url: "/pages_safetyCheck/views/safetyCheck",
  280. });
  281. /* if(this.identityData){
  282. uni.navigateTo({
  283. url: "/pages_safetyCheck/views/safetyCheck",
  284. });
  285. }else{
  286. uni.showToast({
  287. mask: true,
  288. icon: "none",
  289. position: "center",
  290. title: '您不是校/院级管理员或督导组成员,无法使用该功能.',
  291. duration: 2000
  292. });
  293. } */
  294. } else if (type == 'securityExamination') {
  295. //安全考试
  296. uni.navigateTo({
  297. url: "/pages_basics/views/deviceCageSitePage?pageType=3",
  298. });
  299. } else if (type == 'securityAdmittance') {
  300. //安全准入
  301. uni.navigateTo({
  302. url: "/pages_manage/views/accessQualification/accessQualification",
  303. });
  304. } else if (type == 'hierarchicalControl') {
  305. //分级管控
  306. uni.navigateTo({
  307. url: "/pages_basics/views/gradingControl/gradingControl",
  308. });
  309. } else if (type == 'securityResponsibility') {
  310. //安全责任
  311. uni.navigateTo({
  312. url: "/pages_basics/views/deviceCageSitePage?pageType=4",
  313. });
  314. } else if (type == 'deviceManagement') {
  315. //设备管理
  316. uni.navigateTo({
  317. url: "/pages_basics/views/deviceCageSitePage?pageType=1",
  318. });
  319. } else if (type == 'emergencyDisposal') {
  320. //应急处置
  321. // uni.navigateTo({
  322. // url: "/pages_manage/views/emergencyEvacuationBig",
  323. // });
  324. uni.navigateTo({
  325. url: "/pages_manage/views/emergencyEvacuationSubList",
  326. });
  327. } else if (type == 'cageSiteManagement') {
  328. //笼位管理
  329. uni.navigateTo({
  330. url: "/pages_basics/views/deviceCageSitePage?pageType=2",
  331. });
  332. } else if (type == 'snapshot') {
  333. //随手拍
  334. uni.navigateTo({
  335. url: "/pages_safetyCheck/views/snapshotManage/snapshotList",
  336. });
  337. /* uni.navigateTo({
  338. url: "/pages_safetyExamine/views/snapshotManage/snapshotAdd",
  339. }); */
  340. } else if (type == 'remoteDoorOpening') {
  341. //远程开门
  342. uni.navigateTo({
  343. url: "/pages_manage/views/accessControl/remoteOpen",
  344. });
  345. } else if (type == 'leaveCheckPupilTeacher') {
  346. //离开检查
  347. uni.navigateTo({
  348. url: "/pages_basics/views/photoInspection",
  349. });
  350. } else if (type == 'chemicalsManagement') {
  351. //化学品管控
  352. } else if (type == 'entryAndExitRecord') {
  353. //进出记录
  354. uni.navigateTo({
  355. url: "/pages_basics/views/record/index",
  356. });
  357. } else if (type == 'accessControlAuthorization') {
  358. //门禁授权
  359. uni.navigateTo({
  360. url: "/pages_manage/views/accessControl/empowerOpen",
  361. });
  362. }else if (type == 'riskEarlyWarning') {
  363. //风险预警
  364. uni.navigateTo({
  365. url: "/pages_basics/views/earlyWarningManage/earlyWarningList",
  366. });
  367. }
  368. },
  369. /* 扫一扫*/
  370. saoCode() {
  371. scanCode('home');
  372. },
  373. //扫码查询-化学品基本信息
  374. async chemicalAppletSelectStockInfo(code) {
  375. const {
  376. data
  377. } = await chemicalAppletSelectStockInfo({tagCode:code});
  378. if (data.code == 200) {
  379. if(data.data){
  380. data.data.code = code;
  381. //化学品信息
  382. uni.navigateTo({
  383. url: "/pages_basics/views/chemicalsInfo/chemicalsInfo?item=" + encodeURIComponent(JSON.stringify(data.data)),
  384. });
  385. }else{
  386. uni.showToast({
  387. mask: true,
  388. icon: "none",
  389. position: "center",
  390. title: '未找到相关信息,请扫描正确的二维码',
  391. duration: 2000
  392. });
  393. }
  394. }
  395. },
  396. //查询是否是同位素实验并且有签退
  397. async laboratorySubPassOutIsotopeSubSign(subId,result) {
  398. const {
  399. data
  400. } = await laboratorySubPassOutIsotopeSubSign({subId:subId});
  401. if (data.code == 200) {
  402. if(data.data.isotope){
  403. let obj = {
  404. subId:subId,
  405. subName:data.data.subName,
  406. passOutId:data.data.passOutId,
  407. }
  408. uni.navigateTo({
  409. url: "/pages_basics/views/photoInspection?item=" + encodeURIComponent(JSON.stringify(obj)),
  410. });
  411. }else{
  412. uni.reLaunch({
  413. url: '/pages/views/saoCode/saoCode?q=' + encodeURIComponent(result)
  414. });
  415. }
  416. }
  417. },
  418. }
  419. }
  420. </script>
  421. <style lang="stylus" scoped>
  422. @import '@/api/request/imagesUrl.styl';
  423. .teacherHome {
  424. width:100%;
  425. height:100%;
  426. flex: 1;
  427. display: flex;
  428. flex-direction: column;
  429. overflow: hidden;
  430. position: relative;
  431. .data-board {
  432. flex: 1;
  433. display: flex;
  434. flex-direction: column;
  435. overflow: hidden;
  436. }
  437. .top-back-img {
  438. position: absolute;
  439. top: 0;
  440. left: 0;
  441. width: 750rpx;
  442. height: 539rpx;
  443. background: url($imagesUrl+'home/img_sy_bg@1x.png') no-repeat;
  444. background-size:100%;
  445. background-repeat: no-repeat;
  446. z-index:0;
  447. .position-img {
  448. z-index: 5;
  449. position: absolute;
  450. left: 16rpx;
  451. top: 16rpx;
  452. width: 400rpx;
  453. height: 88rpx;
  454. }
  455. .position-data-button {
  456. z-index: 5;
  457. position: fixed;
  458. right: 0;
  459. top: 180rpx;
  460. width: 130rpx;
  461. height: 109rpx;
  462. /* line-height: 50rpx;
  463. background-color: #0183fa;
  464. color: #fff;
  465. font-size: 28rpx;
  466. text-align: center;
  467. border-top-left-radius: 30rpx;
  468. border-bottom-left-radius: 30rpx; */
  469. }
  470. }
  471. .home-page {
  472. z-index:1;
  473. // flex: 1;
  474. // display: flex;
  475. // flex-direction: column;
  476. overflow-y: scroll;
  477. overflow-x: hidden;
  478. padding-bottom:120rpx;
  479. .top-page-title {
  480. text-align: center;
  481. font-size: 28rpx;
  482. background-color: #0183FA;
  483. color: #fff;
  484. }
  485. .user-max-box{
  486. z-index: 5;
  487. display: flex;
  488. background: #fff;
  489. width: 690rpx;
  490. height:150rpx;
  491. border-radius: 20rpx;
  492. overflow: hidden;
  493. margin: 370rpx 30rpx 0;
  494. .user-img-box{
  495. width:114rpx;
  496. height:114rpx;
  497. border-radius:50%;
  498. border:1rpx solid #0183fa;
  499. margin:18rpx 30rpx 18rpx 20rpx;
  500. .user-img{
  501. width:110rpx;
  502. height:110rpx;
  503. border-radius:50%;
  504. border:1rpx solid #fff;
  505. }
  506. }
  507. .user-name-box{
  508. flex:1;
  509. view:nth-child(1){
  510. margin-top:20rpx;
  511. line-height:50rpx;
  512. font-size:26rpx;
  513. font-weight:900;
  514. }
  515. view:nth-child(2){
  516. line-height:50rpx;
  517. font-size:26rpx;
  518. }
  519. }
  520. .user-button{
  521. font-size:28rpx;
  522. width:150rpx;
  523. height:50rpx;
  524. line-height:50rpx;
  525. background-color: #0183fa;
  526. color:#fff;
  527. border-radius:60rpx;
  528. text-align: center;
  529. margin:50rpx 40rpx 0 0;
  530. }
  531. }
  532. .home-button-box-1{
  533. position: relative;
  534. display: flex;
  535. width: 690rpx;
  536. height: 120rpx;
  537. display: flex;
  538. margin: 20rpx 30rpx 0;
  539. border-radius: 20rpx;
  540. position: relative;
  541. .home-button-img{
  542. display: block;
  543. margin: 20rpx 31rpx 0 36rpx;
  544. height: 80rpx;
  545. width: 80rpx;
  546. }
  547. .home-button-name{
  548. width:230rpx;
  549. line-height: 120rpx;
  550. height: 32rpx;
  551. font-size: 30rpx;
  552. }
  553. .home-button-text{
  554. line-height: 120rpx;
  555. height: 32rpx;
  556. font-size: 30rpx;
  557. color: #999;
  558. }
  559. .home-button-mark{
  560. position: absolute;
  561. top:54rpx;
  562. left:345rpx;
  563. width:14rpx;
  564. height:14rpx;
  565. border-radius:50%;
  566. background-color: #FF3030;
  567. }
  568. }
  569. .home-button-box-2{
  570. display: flex;
  571. width: 690rpx;
  572. height: 120rpx;
  573. display: flex;
  574. margin: 20rpx 30rpx 0;
  575. .home-button-box-min{
  576. width: 335rpx;
  577. display: flex;
  578. border-radius: 20rpx;
  579. .home-button-img{
  580. display: block;
  581. margin: 20rpx 31rpx 0 36rpx;
  582. height: 80rpx;
  583. width: 80rpx;
  584. }
  585. .home-button-min{
  586. .home-button-min-name{
  587. line-height: 32rpx;
  588. height: 32rpx;
  589. font-size: 32rpx;
  590. color: #333;
  591. margin: 20rpx 0 18rpx;
  592. }
  593. .home-button-min-text{
  594. line-height: 28rpx;
  595. height: 28rpx;
  596. font-size: 28rpx;
  597. color: #999;
  598. }
  599. }
  600. }
  601. }
  602. .button-one-box {
  603. position: relative;
  604. z-index: 5;
  605. background: #fff;
  606. width: 690rpx;
  607. height:150rpx;
  608. border-radius: 20rpx;
  609. padding: 13px 0 20px;
  610. overflow: hidden;
  611. margin: 400rpx 30rpx 0;
  612. .button-min {
  613. display: inline-block;
  614. overflow: hidden;
  615. width: 172rpx;
  616. height: 123rpx;
  617. margin-top: 23rpx;
  618. .button-img {
  619. display: block;
  620. width: 80rpx;
  621. height: 80rpx;
  622. margin: 0 auto;
  623. }
  624. .button-name {
  625. margin-top: 15rpx;
  626. height: 28rpx;
  627. line-height: 28rpx;
  628. font-size: 28rpx;
  629. text-align: center;
  630. color: #333;
  631. }
  632. }
  633. }
  634. .button-two-box {
  635. z-index: 5;
  636. width: 690rpx;
  637. height: 120rpx;
  638. display: flex;
  639. margin: 20rpx 30rpx 0;
  640. .button-big-box {
  641. width: 335rpx;
  642. display: flex;
  643. border-radius: 20rpx;
  644. img {
  645. display: block;
  646. margin: 20rpx 31rpx 0 36rpx;
  647. height: 80rpx;
  648. width: 80rpx;
  649. }
  650. .button-min-box {
  651. view:nth-child(1) {
  652. line-height: 32rpx;
  653. height: 32rpx;
  654. font-size: 32rpx;
  655. color: #333;
  656. margin: 20rpx 0 18rpx;
  657. }
  658. view:nth-child(2) {
  659. line-height: 28rpx;
  660. height: 28rpx;
  661. font-size: 28rpx;
  662. color: #999;
  663. }
  664. }
  665. }
  666. }
  667. .button-three-box-1 {
  668. z-index: 5;
  669. width: 690rpx;
  670. height: 130rpx;
  671. margin: 20rpx 30rpx 0;
  672. .button-big-box {
  673. border-radius: 20rpx;
  674. background-color: #CDE7FF;
  675. display: flex;
  676. img {
  677. display: block;
  678. width: 134rpx;
  679. height: 104rpx;
  680. margin: 23rpx 34rpx 0 30rpx;
  681. }
  682. .button-min-box {
  683. view:nth-child(1) {
  684. line-height: 30rpx;
  685. height: 30rpx;
  686. font-size: 30rpx;
  687. color: #0183FA;
  688. margin: 27rpx 0 15rpx;
  689. }
  690. view:nth-child(2) {
  691. line-height: 26rpx;
  692. height: 26rpx;
  693. font-size: 26rpx;
  694. color: #666666;
  695. }
  696. }
  697. }
  698. }
  699. .button-three-box {
  700. z-index: 5;
  701. width: 690rpx;
  702. height: 130rpx;
  703. margin: 20rpx 30rpx 0;
  704. .button-big-box {
  705. border-radius: 20rpx;
  706. background-color: #FFF0DD;
  707. display: flex;
  708. img {
  709. display: block;
  710. width: 134rpx;
  711. height: 104rpx;
  712. margin: 23rpx 34rpx 0 30rpx;
  713. }
  714. .button-min-box {
  715. view:nth-child(1) {
  716. line-height: 30rpx;
  717. height: 30rpx;
  718. font-size: 30rpx;
  719. color: #FF8C00;
  720. margin: 27rpx 0 15rpx;
  721. }
  722. view:nth-child(2) {
  723. line-height: 26rpx;
  724. height: 26rpx;
  725. font-size: 26rpx;
  726. color: #666666;
  727. }
  728. }
  729. }
  730. }
  731. .scan_btn {
  732. z-index: 10;
  733. position: fixed;
  734. bottom: 210rpx;
  735. right: 0rpx;
  736. width: 140rpx;
  737. height: 140rpx;
  738. }
  739. }
  740. }
  741. </style>