safetyCardScan.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749
  1. <!-- 安全检查扫一扫 实验室详情 -->
  2. <template>
  3. <view class="safetyCardScan">
  4. <view class="header">
  5. <view class="tabTitle">
  6. <view class="tabTitle_li" @tap="tabClick(index)" :key="index" v-for="(item,index) in tabText">
  7. <view class="tabTitle_text">
  8. <img :src="item.img">
  9. <view
  10. :id="pageType==index&&index==0?'fontColor-A':(pageType==1&&index==1?'fontColor-B':(pageType==2&&index==2?'fontColor-C':''))">
  11. {{item.name}}
  12. </view>
  13. </view>
  14. <view :class="{on:pageType==index}" class="tabTitle_across">
  15. <img src="@/pages_safetyCheck/images/img_xyzc_bg@1x.png">
  16. </view>
  17. <view class="line"></view>
  18. </view>
  19. </view>
  20. </view>
  21. <view class="safetyCard" v-if="pageType==0">
  22. <view class="lab-info">
  23. <img class="lab-info-l" src="@/pages_safetyCheck/images/icon_aqjc_shiyanshi.png">
  24. <view class="lab-info-c">
  25. <view class="lab-info-c-t">
  26. <view class="lab-info-c-t-l">{{newData.subName}}</view>
  27. <view class="lab-info-c-t-r"
  28. :style="'border:1rpx solid '+newData.levelColor+';background:'+newData.levelColorTow+';'">
  29. <text
  30. :style="'border-right:1rpx solid '+newData.levelColor+';color:'+newData.levelColor+';'">{{newData.levelName?newData.levelName:''}}</text>
  31. <text
  32. :style="'color:'+newData.levelColor+';'">{{newData.typeName?newData.typeName:''}}</text>
  33. </view>
  34. </view>
  35. <view class="lab-info-c-b">
  36. {{newData.roomNum?newData.roomNum:'-'}}房间&{{newData.buildName}}
  37. </view>
  38. </view>
  39. <view class="lab-info-r">{{newData.subArea}}㎡</view>
  40. </view>
  41. <view class="liability-unit">
  42. <view>学院单位</view>
  43. <view>{{newData.deptName}}</view>
  44. </view>
  45. <view class="small-title-new" @click="unfoldPackUp('subAdminShowType')">
  46. <view>实验室负责人</view>
  47. <uni-icons :type="newData.subAdminShowType?'up':'down'" size="12" color='#A2A2A2'></uni-icons>
  48. </view>
  49. <view class="sub-head" v-if="newData.subAdminShowType">
  50. <view>{{newData.adminName}}</view>
  51. <view @click="callPhone(newData.adminPhone)">
  52. <img src="@/pages_manage/images/icon_aqxxp_dh.png">
  53. <view>{{newData.adminPhone}}</view>
  54. </view>
  55. </view>
  56. <view class="small-title-new" @click="unfoldPackUp('adminShowType')">
  57. <view>安全员</view>
  58. <uni-icons :type="newData.adminShowType?'up':'down'" size="12" color='#A2A2A2'></uni-icons>
  59. </view>
  60. <view v-if="newData.adminShowType">
  61. <view class="sub-head" v-for="(item,index) in newData.safeUserList" :key="index">
  62. <view>{{item.safeUserName}}</view>
  63. <view @click="callPhone(item.safeUserPhone)">
  64. <img src="@/pages_manage/images/icon_aqxxp_dh.png">
  65. <view>{{item.safeUserPhone}}</view>
  66. </view>
  67. </view>
  68. </view>
  69. <view class="classify" v-for="(item,index) in newData.labInfoBrandModels" :key="index">
  70. <view v-if="item.privateList.length>0" class="small-title-new" @click="unfoldPackUp('list',index)">
  71. <view>{{item.brandName}}</view>
  72. <uni-icons :type="item.showType?'up':'down'" size="12" color='#A2A2A2'></uni-icons>
  73. </view>
  74. <view v-if="item.privateList.length>0 && item.brandType==1 && !item.isSpecial&&item.showType">
  75. <view class="small-items-new" v-for="(item2,index2) in item.privateList" :key="index2">
  76. <view>{{index2+1}}. </view>
  77. <view>{{item2.infoName}}</view>
  78. </view>
  79. </view>
  80. <view v-if="item.privateList.length>0 && item.brandType==1 && item.isSpecial&&item.showType">
  81. <view class="small-items-new" v-for="(item2,index2) in item.privateList" :key="index2">
  82. <view></view>
  83. <view>{{item2.infoName}}</view>
  84. </view>
  85. </view>
  86. <view v-if="item.privateList.length>0 && item.brandType==2&&item.showType">
  87. <view class="logotype-img-new">
  88. <img v-for="(item3,index3) in item.privateList" :key="index3" :src="baseUrl+item3.infoContent">
  89. </view>
  90. </view>
  91. </view>
  92. </view>
  93. <view class="position-button-box" v-if="pageType == 0">
  94. <img class="position-button-p-1" @click="goPage('securityCheck',true)"
  95. src="@/pages_safetyCheck/images/icon_aqjc_anquanjiancha.png">
  96. <img class="position-button-p-2" @click="goPage('snapshot')"
  97. src="@/pages_safetyCheck/images/icon_aqjc_suishoupai.png">
  98. </view>
  99. <!-- 安全检查 -->
  100. <scanCodeCheck v-if="securityCheck" :subjectData="subjectData"></scanCodeCheck>
  101. <!-- 物联控制 -->
  102. <iotControl ref="iotControl" v-if="pageType == 1" :subjectData="subjectData"></iotControl>
  103. <!-- 进出记录 -->
  104. <accessRecord v-if="pageType == 2" :subjectData="subjectData"></accessRecord>
  105. <!-- 语音广播弹窗 -->
  106. <voiceBroadcast v-if="broadcastPage" :subjectData="subjectData"></voiceBroadcast>
  107. <!-- 空调弹窗 -->
  108. <airConditioning v-if="conditioningPage" :airConditioningData="airConditioningData"></airConditioning>
  109. </view>
  110. </template>
  111. <script>
  112. import {
  113. pageRestrictVerify
  114. } from '@/utils/index'
  115. import {
  116. iotControl
  117. } from '@/pages_manage/views/laboratory/iotControl.vue'
  118. import {
  119. accessRecord
  120. } from '@/pages_manage/views/laboratory/accessRecord.vue'
  121. import {
  122. voiceBroadcast
  123. } from '@/pages_manage/views/laboratory/voiceBroadcast.vue'
  124. import {
  125. airConditioning
  126. } from '@/pages_manage/views/laboratory/airConditioning.vue'
  127. import {
  128. scanCodeCheck
  129. } from '@/pages_manage/views/laboratory/scanCodeCheck.vue'
  130. import {
  131. config
  132. } from '@/api/request/config.js'
  133. import {
  134. } from '@/pages/api/index.js'
  135. export default {
  136. name: "safetyCardScan",
  137. components: {
  138. iotControl,
  139. accessRecord,
  140. voiceBroadcast,
  141. airConditioning,
  142. scanCodeCheck,
  143. },
  144. data() {
  145. return {
  146. baseUrl: config.base_url,
  147. pageType: 1,
  148. tabText: [{
  149. name: '安全信息牌',
  150. img: require('@/pages_safetyCheck/images/icon_sys_aqxxp@1x.png'),
  151. },
  152. {
  153. name: '监测控制',
  154. img: require('@/pages_safetyCheck/images/icon_sys_jckz@1x.png'),
  155. },
  156. {
  157. name: '进出记录',
  158. img: require('@/pages_safetyCheck/images/icon_sys_jcjl@1x.png'),
  159. },
  160. ],
  161. pageType: 0,
  162. newData: {
  163. adminName: '',
  164. adminPhone: '',
  165. safeUserList: [],
  166. labInfoBrandModels: [],
  167. },
  168. subjectData: null,
  169. identityData: uni.getStorageSync('identityData'),
  170. //语音广播弹窗
  171. broadcastPage: false,
  172. broadcastPage: false,
  173. securityCheck:false,
  174. }
  175. },
  176. // 父页面
  177. onReachBottom() {
  178. uni.$emit('onReachBottom') // 设置监听事件
  179. },
  180. onPullDownRefresh() {
  181. uni.$emit('onPullDownRefresh') // 设置监听事件
  182. },
  183. onLoad(option) {
  184. let newData = JSON.parse(decodeURIComponent(option.infoData));
  185. newData.subAdminShowType = true;
  186. newData.adminShowType = true;
  187. if (newData.labInfoBrandModels) {
  188. for (let i = 0; i < newData.labInfoBrandModels.length; i++) {
  189. newData.labInfoBrandModels[i].showType = true;
  190. }
  191. }
  192. if (newData.levelColor) {
  193. newData.levelColorTow = this.hexToRgb(newData.levelColor, 0.2)
  194. }
  195. this.$nextTick(() => {
  196. this.$set(this, 'newData', newData);
  197. this.$set(this, 'subjectData', newData);
  198. this.$set(this, 'pageType', 0);
  199. })
  200. },
  201. onShow() {
  202. },
  203. mounted() {
  204. },
  205. methods: {
  206. //十六进制颜色值和RGB格式转换
  207. hexToRgb(hex, opacity = 1) {
  208. // 去除#号
  209. var color = hex.replace("#", "");
  210. // 分割成红、绿、蓝三部分的16进制字符串
  211. var red = parseInt(color.substring(0, 2), 16);
  212. var green = parseInt(color.substring(2, 4), 16);
  213. var blue = parseInt(color.substring(4, 6), 16);
  214. return `RGB(${red}, ${green}, ${blue},${opacity})`;
  215. },
  216. //拨打电话
  217. callPhone(tel) {
  218. uni.makePhoneCall({
  219. phoneNumber: tel
  220. })
  221. },
  222. goVideoPage() {
  223. console.log('视频')
  224. let obj = {
  225. type: 4,
  226. subId: this.newData.subId
  227. }
  228. uni.navigateTo({
  229. url: '/pages_manage/views/laboratory/videoPlayer?item=' + encodeURIComponent(JSON.stringify(
  230. obj))
  231. });
  232. },
  233. getIotControlData() {
  234. this.$refs['iotControl'].iotAppHardwareFindByType();
  235. },
  236. buttonClick(type, row) {
  237. let self = this;
  238. if (type == 'subDetail') {
  239. //实验室详情
  240. } else if (type == 'broadcastOpen') {
  241. //语音弹窗开启
  242. this.$set(this, 'broadcastPage', true);
  243. } else if (type == 'broadcastClose') {
  244. //语音弹窗关闭
  245. this.$set(this, 'broadcastPage', false);
  246. } else if (type == 'conditioningOpen') {
  247. //空调弹窗开启
  248. this.$set(this, 'airConditioningData', row);
  249. this.$set(this, 'conditioningPage', true);
  250. } else if (type == 'conditioningClose') {
  251. //空调弹窗关闭
  252. this.$set(this, 'conditioningPage', false);
  253. }else if (type == 'back') {
  254. this.$set(this, 'pageType', 2);
  255. }
  256. },
  257. //展开/收起操作
  258. unfoldPackUp(type, index) {
  259. if (type == 'subAdminShowType') {
  260. this.$set(this.newData, 'subAdminShowType', !this.newData.subAdminShowType);
  261. } else if (type == 'adminShowType') {
  262. this.$set(this.newData, 'adminShowType', !this.newData.adminShowType);
  263. } else if (type == 'list') {
  264. this.$set(this.newData.labInfoBrandModels[index], 'showType', !this.newData.labInfoBrandModels[index]
  265. .showType);
  266. }
  267. },
  268. //顶部tab点击
  269. tabClick(index) {
  270. if (this.pageType != index) {
  271. this.$set(this, 'pageType', index);
  272. }
  273. },
  274. goPage(type,status) {
  275. if (!pageRestrictVerify(type)) {
  276. uni.showToast({
  277. title: '没有相关权限,请联系管理员',
  278. icon: "none",
  279. mask: true,
  280. duration: 2000
  281. });
  282. return
  283. }else if (type == 'securityCheck') {
  284. if(status){
  285. this.$set(this, "securityCheck", true)
  286. }else{
  287. this.$set(this, "securityCheck", false)
  288. }
  289. } else if (type == 'snapshot') {
  290. this.$set(this.form, "subId", this.newData.subId)
  291. this.$set(this.form, "subName", this.newData.subName)
  292. this.$set(this.form, "subRoom", this.newData.roomNum)
  293. this.$set(this.form, "deptId", this.newData.deptId)
  294. this.$set(this.form, "deptName", this.newData.deptName)
  295. this.$set(this.form, "buildId", this.newData.buildId)
  296. this.$set(this.form, "buildName", this.newData.buildName)
  297. this.$set(this.form, "floorId", this.newData.floorId)
  298. this.$set(this.form, "floorName", this.newData.floorName)
  299. this.$set(this.form, "typeId", this.newData.typeId)
  300. this.$set(this.form, "classTypeNames", this.newData.typeName)
  301. this.$set(this.form, "levelId", this.newData.levelId)
  302. this.$set(this.form, "classLevelName", this.newData.levelName)
  303. uni.navigateTo({
  304. url: '/pages_safetyCheck/views/snapshotManage/snapshotList?form=' +
  305. encodeURIComponent(JSON.stringify(this.form))
  306. });
  307. }
  308. },
  309. }
  310. }
  311. </script>
  312. <style lang="stylus" scoped>
  313. .safetyCardScan {
  314. height: 100%;
  315. #fontColor-A {
  316. color: #00DEDE;
  317. }
  318. #fontColor-B {
  319. color: #FF8C00;
  320. }
  321. #fontColor-C {
  322. color: #0083FD;
  323. }
  324. .header {
  325. height: 192rpx;
  326. width: 100%;
  327. // position: fixed;
  328. // top: 0rpx;
  329. // z-index: 100;
  330. background: #fff;
  331. .tabTitle {
  332. width: 750rpx;
  333. height: 188rpx;
  334. display flex;
  335. justify-content: flex-start;
  336. align-items: center;
  337. border-bottom: 4rpx solid #F5F5F5;
  338. .tabTitle_li {
  339. height: 188rpx;
  340. flex: 1;
  341. position: relative;
  342. text-align center;
  343. .tabTitle_text {
  344. display: flex;
  345. justify-content: center;
  346. flex-direction: column;
  347. align-items: center;
  348. >img {
  349. width: 80rpx;
  350. height: 80rpx;
  351. margin-top: 20rpx;
  352. }
  353. >view:nth-of-type(1) {
  354. font-size: 30rpx;
  355. color: #333333;
  356. line-height: 42rpx;
  357. text-align: left;
  358. margin-top: 10rpx;
  359. }
  360. >view:nth-of-type(2) {
  361. font-size: 24rpx;
  362. color: #666666;
  363. line-height: 34rpx;
  364. text-align: left;
  365. }
  366. position: relative;
  367. &.on {}
  368. }
  369. .line {
  370. width: 2rpx;
  371. height: 40rpx;
  372. background: #D8D8D8;
  373. position: absolute;
  374. top: 40%;
  375. }
  376. .tabTitle_across {
  377. /* width: 50rpx;
  378. height: 4rpx;
  379. background: #0183FA;
  380. border-radius: 2rpx; */
  381. margin-left: 38%;
  382. margin-top: 12rpx;
  383. display none;
  384. >img {
  385. width: 40rpx;
  386. height: 26rpx;
  387. }
  388. &.on {
  389. display block;
  390. }
  391. }
  392. }
  393. }
  394. }
  395. /* 安全信息牌 */
  396. .safetyCard {
  397. padding-bottom: 150rpx;
  398. .lab-info {
  399. background: #FFFFFF;
  400. display: flex;
  401. justify-content: space-between;
  402. .lab-info-l {
  403. width: 80rpx;
  404. height: 80rpx;
  405. background: #0183FA;
  406. border-radius: 10rpx 10rpx 10rpx 10rpx;
  407. margin-left: 30rpx;
  408. margin-top: 30rpx;
  409. }
  410. .lab-info-c {
  411. width: 500rpx;
  412. margin: 24rpx 30rpx 0 20rpx;
  413. .lab-info-c-t {
  414. display: flex;
  415. justify-content: space-between;
  416. .lab-info-c-t-l {
  417. font-size: 30rpx;
  418. color: #333333;
  419. line-height: 42rpx;
  420. text-align: left;
  421. overflow: hidden;
  422. text-overflow: ellipsis;
  423. white-space: nowrap;
  424. }
  425. .lab-info-c-t-r {
  426. display: flex;
  427. justify-content: flex-start;
  428. background: rgba(255, 0, 0, 0.2);
  429. border-radius: 10rpx 10rpx 10rpx 10rpx;
  430. border: 2rpx solid #FF0000;
  431. width: 180rpx;
  432. height: 40rpx;
  433. margin-left: 10rpx;
  434. >text {
  435. display: inline-block;
  436. flex: 1;
  437. text-align: center;
  438. font-size: 24rpx;
  439. color: #FF0000;
  440. line-height: 40rpx;
  441. text-align: center;
  442. }
  443. >text:nth-of-type(1) {
  444. border-right: 2rpx solid #FF0000;
  445. }
  446. >text:nth-of-type(2) {}
  447. }
  448. }
  449. .lab-info-c-b {
  450. font-size: 30rpx;
  451. color: #666666;
  452. line-height: 42rpx;
  453. text-align: left;
  454. margin-top: 10rpx;
  455. }
  456. }
  457. .lab-info-r {
  458. width: 100rpx;
  459. height: 150rpx;
  460. background: rgba(1, 131, 250, 0.2);
  461. border-radius: 0rpx 0rpx 0rpx 0rpx;
  462. font-size: 28rpx;
  463. color: #0183FA;
  464. line-height: 150rpx;
  465. text-align: center;
  466. }
  467. }
  468. .liability-unit {
  469. width: 750rpx;
  470. height: 80rpx;
  471. background: #FFFFFF;
  472. border-bottom: 1rpx solid #E0E0E0;
  473. padding: 0 30rpx;
  474. box-sizing: border-box;
  475. display: flex;
  476. justify-content: space-between;
  477. margin-top: 14rpx;
  478. >view:nth-of-type(1) {
  479. font-size: 30rpx;
  480. color: #333333;
  481. line-height: 80rpx;
  482. text-align: left;
  483. }
  484. >view:nth-of-type(2) {
  485. font-size: 30rpx;
  486. color: #666666;
  487. line-height: 80rpx;
  488. text-align: left;
  489. }
  490. }
  491. .small-title {
  492. width: 750rpx;
  493. height: 80rpx;
  494. background: #FFFFFF;
  495. border-bottom: 1rpx solid #E0E0E0;
  496. padding: 0 30rpx;
  497. box-sizing: border-box;
  498. display: flex;
  499. justify-content: space-between;
  500. align-items: center;
  501. >view {
  502. font-size: 30rpx;
  503. color: #333333;
  504. line-height: 80rpx;
  505. text-align: left;
  506. }
  507. >img {
  508. width: 24rpx;
  509. height: 12rpx;
  510. }
  511. }
  512. .sub-head {
  513. width: 750rpx;
  514. height: 80rpx;
  515. background: #fff;
  516. padding: 0 30rpx;
  517. box-sizing: border-box;
  518. display: flex;
  519. justify-content: space-between;
  520. align-items: center;
  521. border-bottom: 1rpx solid #E0E0E0;
  522. >view:nth-of-type(1) {
  523. font-family: PingFang SC;
  524. font-weight: 500;
  525. font-size: 30rpx;
  526. color: #666666;
  527. line-height: 30rpx;
  528. }
  529. >view:nth-of-type(2) {
  530. display: flex;
  531. justify-content: flex-end;
  532. align-items: center;
  533. >img {
  534. width: 34rpx;
  535. height: 34rpx;
  536. margin-right: 14rpx;
  537. }
  538. >view {
  539. font-family: PingFang SC;
  540. font-weight: 500;
  541. font-size: 30rpx;
  542. color: #0183FA;
  543. line-height: 30rpx;
  544. }
  545. }
  546. }
  547. .sub-head:last-child {
  548. border-bottom: none;
  549. }
  550. .small-title-new {
  551. width: 750rpx;
  552. height: 80rpx;
  553. background: #FFFFFF;
  554. border-bottom: 1rpx solid #E0E0E0;
  555. padding: 0 30rpx;
  556. box-sizing: border-box;
  557. display: flex;
  558. justify-content: space-between;
  559. align-items: center;
  560. >view {
  561. font-size: 30rpx;
  562. color: #333333;
  563. line-height: 80rpx;
  564. text-align: left;
  565. }
  566. >img {
  567. width: 24rpx;
  568. height: 12rpx;
  569. }
  570. }
  571. .classify {
  572. .small-items-new {
  573. padding-left: 20rpx;
  574. box-sizing: border-box;
  575. background: #fff;
  576. display: flex;
  577. justify-content: flex-start;
  578. padding: 30rpx;
  579. box-sizing: border-box;
  580. border-bottom: 1rpx solid #E0E0E0;
  581. >view:nth-of-type(1) {
  582. color: #999999;
  583. font-weight: 500;
  584. font-size: 28rpx;
  585. margin-right: 12rpx;
  586. line-height: 34rpx;
  587. }
  588. >view:nth-of-type(2) {
  589. display: block;
  590. font-family: PingFang SC;
  591. font-weight: 500;
  592. font-size: 28rpx;
  593. line-height: 34rpx;
  594. color: #999999;
  595. }
  596. }
  597. .logotype-img-new {
  598. padding: 26rpx 0 34rpx 0;
  599. box-sizing: border-box;
  600. background: #fff;
  601. >img {
  602. display: inline-block;
  603. width: 86rpx;
  604. height: 114rpx;
  605. margin-left: 30rpx;
  606. margin-bottom: 20rpx;
  607. }
  608. }
  609. .small-items {
  610. padding-left: 20rpx;
  611. box-sizing: border-box;
  612. background: #fff;
  613. display: flex;
  614. justify-content: flex-start;
  615. padding: 20rpx;
  616. box-sizing: border-box;
  617. >view:nth-of-type(1) {
  618. color: #999999;
  619. font-weight: 500;
  620. font-size: 28rpx;
  621. margin-right: 12rpx;
  622. line-height: 34rpx;
  623. }
  624. >view:nth-of-type(2) {
  625. display: block;
  626. font-family: PingFang SC;
  627. font-weight: 500;
  628. font-size: 28rpx;
  629. line-height: 34rpx;
  630. color: #999999;
  631. }
  632. }
  633. .logotype {
  634. width: 750rpx;
  635. height: 100rpx;
  636. font-family: PingFang SC;
  637. font-weight: 500;
  638. font-size: 32rpx;
  639. color: #333333;
  640. line-height: 100rpx;
  641. padding-left: 20rpx;
  642. box-sizing: border-box;
  643. background: #0183FA;
  644. color: #fff;
  645. }
  646. .logotype-img {
  647. padding: 26rpx 0 34rpx 0;
  648. box-sizing: border-box;
  649. background: #fff;
  650. >img {
  651. display: inline-block;
  652. width: 86rpx;
  653. height: 114rpx;
  654. margin-left: 30rpx;
  655. margin-bottom: 20rpx;
  656. }
  657. }
  658. }
  659. }
  660. .position-button-box {
  661. position: fixed;
  662. bottom: 40rpx;
  663. display: flex;
  664. justify-content: center;
  665. >img {
  666. width: 160rpx;
  667. height: 160rpx;
  668. }
  669. .position-button-p-1 {
  670. margin-left: 174rpx;
  671. margin-right: 120rpx;
  672. }
  673. .position-button-p-2 {}
  674. }
  675. }
  676. </style>