safetyCardScan.vue 18 KB

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