safetyCardScan.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751
  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. form:{},
  175. }
  176. },
  177. // 父页面
  178. onReachBottom() {
  179. uni.$emit('onReachBottom') // 设置监听事件
  180. },
  181. onPullDownRefresh() {
  182. uni.$emit('onPullDownRefresh') // 设置监听事件
  183. },
  184. onLoad(option) {
  185. let newData = JSON.parse(decodeURIComponent(option.infoData));
  186. newData.subAdminShowType = true;
  187. newData.adminShowType = true;
  188. if (newData.labInfoBrandModels) {
  189. for (let i = 0; i < newData.labInfoBrandModels.length; i++) {
  190. newData.labInfoBrandModels[i].showType = true;
  191. }
  192. }
  193. if (newData.levelColor) {
  194. newData.levelColorTow = this.hexToRgb(newData.levelColor, 0.2)
  195. }
  196. this.$nextTick(() => {
  197. this.$set(this, 'newData', newData);
  198. this.$set(this, 'subjectData', newData);
  199. this.$set(this, 'pageType', 0);
  200. })
  201. },
  202. onShow() {
  203. this.$set(this,'securityCheck',false)
  204. },
  205. mounted() {
  206. },
  207. methods: {
  208. //十六进制颜色值和RGB格式转换
  209. hexToRgb(hex, opacity = 1) {
  210. // 去除#号
  211. var color = hex.replace("#", "");
  212. // 分割成红、绿、蓝三部分的16进制字符串
  213. var red = parseInt(color.substring(0, 2), 16);
  214. var green = parseInt(color.substring(2, 4), 16);
  215. var blue = parseInt(color.substring(4, 6), 16);
  216. return `RGB(${red}, ${green}, ${blue},${opacity})`;
  217. },
  218. //拨打电话
  219. callPhone(tel) {
  220. uni.makePhoneCall({
  221. phoneNumber: tel
  222. })
  223. },
  224. goVideoPage() {
  225. console.log('视频')
  226. let obj = {
  227. type: 4,
  228. subId: this.newData.subId
  229. }
  230. uni.navigateTo({
  231. url: '/pages_manage/views/laboratory/videoPlayer?item=' + encodeURIComponent(JSON.stringify(
  232. obj))
  233. });
  234. },
  235. getIotControlData() {
  236. this.$refs['iotControl'].iotAppHardwareFindByType();
  237. },
  238. buttonClick(type, row) {
  239. let self = this;
  240. if (type == 'subDetail') {
  241. //实验室详情
  242. } else if (type == 'broadcastOpen') {
  243. //语音弹窗开启
  244. this.$set(this, 'broadcastPage', true);
  245. } else if (type == 'broadcastClose') {
  246. //语音弹窗关闭
  247. this.$set(this, 'broadcastPage', false);
  248. } else if (type == 'conditioningOpen') {
  249. //空调弹窗开启
  250. this.$set(this, 'airConditioningData', row);
  251. this.$set(this, 'conditioningPage', true);
  252. } else if (type == 'conditioningClose') {
  253. //空调弹窗关闭
  254. this.$set(this, 'conditioningPage', false);
  255. }else if (type == 'back') {
  256. this.$set(this, 'pageType', 2);
  257. }
  258. },
  259. //展开/收起操作
  260. unfoldPackUp(type, index) {
  261. if (type == 'subAdminShowType') {
  262. this.$set(this.newData, 'subAdminShowType', !this.newData.subAdminShowType);
  263. } else if (type == 'adminShowType') {
  264. this.$set(this.newData, 'adminShowType', !this.newData.adminShowType);
  265. } else if (type == 'list') {
  266. this.$set(this.newData.labInfoBrandModels[index], 'showType', !this.newData.labInfoBrandModels[index]
  267. .showType);
  268. }
  269. },
  270. //顶部tab点击
  271. tabClick(index) {
  272. if (this.pageType != index) {
  273. this.$set(this, 'pageType', index);
  274. }
  275. },
  276. goPage(type,status) {
  277. if (!pageRestrictVerify(type)) {
  278. uni.showToast({
  279. title: '没有相关权限,请联系管理员',
  280. icon: "none",
  281. mask: true,
  282. duration: 2000
  283. });
  284. return
  285. }else if (type == 'securityCheck') {
  286. if(status){
  287. this.$set(this, "securityCheck", true)
  288. }else{
  289. this.$set(this, "securityCheck", false)
  290. }
  291. } else if (type == 'snapshot') {
  292. console.log(111)
  293. console.log(this.newData)
  294. this.$set(this.form, "subId", this.newData.subId)
  295. this.$set(this.form, "subName", this.newData.subName)
  296. this.$set(this.form, "subRoom", this.newData.roomNum)
  297. this.$set(this.form, "deptId", this.newData.deptId)
  298. this.$set(this.form, "deptName", this.newData.deptName)
  299. this.$set(this.form, "buildId", this.newData.buildId)
  300. this.$set(this.form, "buildName", this.newData.buildName)
  301. this.$set(this.form, "floorId", this.newData.floorId)
  302. this.$set(this.form, "floorName", this.newData.floorName)
  303. this.$set(this.form, "typeId", this.newData.typeId)
  304. this.$set(this.form, "classTypeNames", this.newData.typeName)
  305. this.$set(this.form, "levelId", this.newData.levelId)
  306. this.$set(this.form, "classLevelName", this.newData.levelName)
  307. uni.navigateTo({
  308. url: '/pages_safetyCheck/views/snapshotManage/snapshotList?form=' +
  309. encodeURIComponent(JSON.stringify(this.form))
  310. });
  311. }
  312. },
  313. }
  314. }
  315. </script>
  316. <style lang="stylus" scoped>
  317. .safetyCardScan {
  318. height: 100%;
  319. #fontColor-A {
  320. color: #00DEDE;
  321. }
  322. #fontColor-B {
  323. color: #FF8C00;
  324. }
  325. #fontColor-C {
  326. color: #0083FD;
  327. }
  328. .header {
  329. height: 192rpx;
  330. width: 100%;
  331. // position: fixed;
  332. // top: 0rpx;
  333. // z-index: 100;
  334. background: #fff;
  335. .tabTitle {
  336. width: 750rpx;
  337. height: 188rpx;
  338. display flex;
  339. justify-content: flex-start;
  340. align-items: center;
  341. border-bottom: 4rpx solid #F5F5F5;
  342. .tabTitle_li {
  343. height: 188rpx;
  344. flex: 1;
  345. position: relative;
  346. text-align center;
  347. .tabTitle_text {
  348. display: flex;
  349. justify-content: center;
  350. flex-direction: column;
  351. align-items: center;
  352. >img {
  353. width: 80rpx;
  354. height: 80rpx;
  355. margin-top: 20rpx;
  356. }
  357. >view:nth-of-type(1) {
  358. font-size: 30rpx;
  359. color: #333333;
  360. line-height: 42rpx;
  361. text-align: left;
  362. margin-top: 10rpx;
  363. }
  364. >view:nth-of-type(2) {
  365. font-size: 24rpx;
  366. color: #666666;
  367. line-height: 34rpx;
  368. text-align: left;
  369. }
  370. position: relative;
  371. &.on {}
  372. }
  373. .line {
  374. width: 2rpx;
  375. height: 40rpx;
  376. background: #D8D8D8;
  377. position: absolute;
  378. top: 40%;
  379. }
  380. .tabTitle_across {
  381. /* width: 50rpx;
  382. height: 4rpx;
  383. background: #0183FA;
  384. border-radius: 2rpx; */
  385. margin-left: 38%;
  386. margin-top: 12rpx;
  387. display none;
  388. >img {
  389. width: 40rpx;
  390. height: 26rpx;
  391. }
  392. &.on {
  393. display block;
  394. }
  395. }
  396. }
  397. }
  398. }
  399. /* 安全信息牌 */
  400. .safetyCard {
  401. padding-bottom: 150rpx;
  402. .lab-info {
  403. background: #FFFFFF;
  404. display: flex;
  405. justify-content: space-between;
  406. .lab-info-l {
  407. width: 80rpx;
  408. height: 80rpx;
  409. background: #0183FA;
  410. border-radius: 10rpx 10rpx 10rpx 10rpx;
  411. margin-left: 30rpx;
  412. margin-top: 30rpx;
  413. }
  414. .lab-info-c {
  415. width: 500rpx;
  416. margin: 24rpx 30rpx 0 20rpx;
  417. .lab-info-c-t {
  418. display: flex;
  419. justify-content: space-between;
  420. .lab-info-c-t-l {
  421. font-size: 30rpx;
  422. color: #333333;
  423. line-height: 42rpx;
  424. text-align: left;
  425. overflow: hidden;
  426. text-overflow: ellipsis;
  427. white-space: nowrap;
  428. }
  429. .lab-info-c-t-r {
  430. display: flex;
  431. justify-content: flex-start;
  432. background: rgba(255, 0, 0, 0.2);
  433. border-radius: 10rpx 10rpx 10rpx 10rpx;
  434. border: 2rpx solid #FF0000;
  435. width: 180rpx;
  436. height: 40rpx;
  437. margin-left: 10rpx;
  438. >text {
  439. display: inline-block;
  440. flex: 1;
  441. text-align: center;
  442. font-size: 24rpx;
  443. color: #FF0000;
  444. line-height: 40rpx;
  445. text-align: center;
  446. }
  447. >text:nth-of-type(1) {
  448. border-right: 2rpx solid #FF0000;
  449. }
  450. >text:nth-of-type(2) {}
  451. }
  452. }
  453. .lab-info-c-b {
  454. font-size: 30rpx;
  455. color: #666666;
  456. line-height: 42rpx;
  457. text-align: left;
  458. margin-top: 10rpx;
  459. }
  460. }
  461. .lab-info-r {
  462. width: 100rpx;
  463. height: 150rpx;
  464. background: rgba(1, 131, 250, 0.2);
  465. border-radius: 0rpx 0rpx 0rpx 0rpx;
  466. font-size: 28rpx;
  467. color: #0183FA;
  468. line-height: 150rpx;
  469. text-align: center;
  470. }
  471. }
  472. .liability-unit {
  473. width: 750rpx;
  474. height: 80rpx;
  475. background: #FFFFFF;
  476. border-bottom: 1rpx solid #E0E0E0;
  477. padding: 0 30rpx;
  478. box-sizing: border-box;
  479. display: flex;
  480. justify-content: space-between;
  481. margin-top: 14rpx;
  482. >view:nth-of-type(1) {
  483. font-size: 30rpx;
  484. color: #333333;
  485. line-height: 80rpx;
  486. text-align: left;
  487. }
  488. >view:nth-of-type(2) {
  489. font-size: 30rpx;
  490. color: #666666;
  491. line-height: 80rpx;
  492. text-align: left;
  493. }
  494. }
  495. .small-title {
  496. width: 750rpx;
  497. height: 80rpx;
  498. background: #FFFFFF;
  499. border-bottom: 1rpx solid #E0E0E0;
  500. padding: 0 30rpx;
  501. box-sizing: border-box;
  502. display: flex;
  503. justify-content: space-between;
  504. align-items: center;
  505. >view {
  506. font-size: 30rpx;
  507. color: #333333;
  508. line-height: 80rpx;
  509. text-align: left;
  510. }
  511. >img {
  512. width: 24rpx;
  513. height: 12rpx;
  514. }
  515. }
  516. .sub-head {
  517. width: 750rpx;
  518. height: 80rpx;
  519. background: #fff;
  520. padding: 0 30rpx;
  521. box-sizing: border-box;
  522. display: flex;
  523. justify-content: space-between;
  524. align-items: center;
  525. border-bottom: 1rpx solid #E0E0E0;
  526. >view:nth-of-type(1) {
  527. font-family: PingFang SC;
  528. font-weight: 500;
  529. font-size: 30rpx;
  530. color: #666666;
  531. line-height: 30rpx;
  532. }
  533. >view:nth-of-type(2) {
  534. display: flex;
  535. justify-content: flex-end;
  536. align-items: center;
  537. >img {
  538. width: 34rpx;
  539. height: 34rpx;
  540. margin-right: 14rpx;
  541. }
  542. >view {
  543. font-family: PingFang SC;
  544. font-weight: 500;
  545. font-size: 30rpx;
  546. color: #0183FA;
  547. line-height: 30rpx;
  548. }
  549. }
  550. }
  551. .sub-head:last-child {
  552. border-bottom: none;
  553. }
  554. .small-title-new {
  555. width: 750rpx;
  556. height: 80rpx;
  557. background: #FFFFFF;
  558. border-bottom: 1rpx solid #E0E0E0;
  559. padding: 0 30rpx;
  560. box-sizing: border-box;
  561. display: flex;
  562. justify-content: space-between;
  563. align-items: center;
  564. >view {
  565. font-size: 30rpx;
  566. color: #333333;
  567. line-height: 80rpx;
  568. text-align: left;
  569. }
  570. >img {
  571. width: 24rpx;
  572. height: 12rpx;
  573. }
  574. }
  575. .classify {
  576. .small-items-new {
  577. padding-left: 20rpx;
  578. box-sizing: border-box;
  579. background: #fff;
  580. display: flex;
  581. justify-content: flex-start;
  582. padding: 30rpx;
  583. box-sizing: border-box;
  584. border-bottom: 1rpx solid #E0E0E0;
  585. >view:nth-of-type(1) {
  586. color: #999999;
  587. font-weight: 500;
  588. font-size: 28rpx;
  589. margin-right: 12rpx;
  590. line-height: 34rpx;
  591. }
  592. >view:nth-of-type(2) {
  593. display: block;
  594. font-family: PingFang SC;
  595. font-weight: 500;
  596. font-size: 28rpx;
  597. line-height: 34rpx;
  598. color: #999999;
  599. }
  600. }
  601. .logotype-img-new {
  602. padding: 26rpx 0 34rpx 0;
  603. box-sizing: border-box;
  604. background: #fff;
  605. >img {
  606. display: inline-block;
  607. width: 86rpx;
  608. height: 114rpx;
  609. margin-left: 30rpx;
  610. margin-bottom: 20rpx;
  611. }
  612. }
  613. .small-items {
  614. padding-left: 20rpx;
  615. box-sizing: border-box;
  616. background: #fff;
  617. display: flex;
  618. justify-content: flex-start;
  619. padding: 20rpx;
  620. box-sizing: border-box;
  621. >view:nth-of-type(1) {
  622. color: #999999;
  623. font-weight: 500;
  624. font-size: 28rpx;
  625. margin-right: 12rpx;
  626. line-height: 34rpx;
  627. }
  628. >view:nth-of-type(2) {
  629. display: block;
  630. font-family: PingFang SC;
  631. font-weight: 500;
  632. font-size: 28rpx;
  633. line-height: 34rpx;
  634. color: #999999;
  635. }
  636. }
  637. .logotype {
  638. width: 750rpx;
  639. height: 100rpx;
  640. font-family: PingFang SC;
  641. font-weight: 500;
  642. font-size: 32rpx;
  643. color: #333333;
  644. line-height: 100rpx;
  645. padding-left: 20rpx;
  646. box-sizing: border-box;
  647. background: #0183FA;
  648. color: #fff;
  649. }
  650. .logotype-img {
  651. padding: 26rpx 0 34rpx 0;
  652. box-sizing: border-box;
  653. background: #fff;
  654. >img {
  655. display: inline-block;
  656. width: 86rpx;
  657. height: 114rpx;
  658. margin-left: 30rpx;
  659. margin-bottom: 20rpx;
  660. }
  661. }
  662. }
  663. }
  664. .position-button-box {
  665. position: fixed;
  666. bottom: 40rpx;
  667. display: flex;
  668. justify-content: center;
  669. >img {
  670. width: 160rpx;
  671. height: 160rpx;
  672. }
  673. .position-button-p-1 {
  674. margin-left: 174rpx;
  675. margin-right: 120rpx;
  676. }
  677. .position-button-p-2 {}
  678. }
  679. }
  680. </style>