safetyCardScan.vue 18 KB

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