safetyCardScan.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926
  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.infoContent}}</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.infoContent}}</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. <iotControl ref="iotControl" v-if="pageType == 1" :subjectData="subjectData"></iotControl>
  101. <!-- 进出记录 -->
  102. <accessRecord v-if="pageType == 2" :subjectData="subjectData"></accessRecord>
  103. <!-- 语音广播弹窗 -->
  104. <voiceBroadcast v-if="broadcastPage" :subjectData="subjectData"></voiceBroadcast>
  105. <!-- 空调弹窗 -->
  106. <airConditioning v-if="conditioningPage" :airConditioningData="airConditioningData"></airConditioning>
  107. <view class="shade-box" v-if="securityCheck">
  108. <view class="null-box" @click="goPage('securityCheck',false)"></view>
  109. <view class="shade_n">
  110. <view class="title">
  111. <view>请选择实验室</view>
  112. </view>
  113. <view class="batch">
  114. <view class="batch-li" @click="batchClickTow(item)" v-for="(item,index) in securityCheckList">
  115. <view class="batch-li-l">
  116. <text>{{item.planTitle}}-{{item.checkName}}</text>
  117. <text>{{item.subName}}{{item.roomNum?'('+item.roomNum+')':''}}</text>
  118. </view>
  119. <view class="batch-li-r">
  120. <img :src="imagesUrl('commonality/icon_wd_gd@1x.png')">
  121. </view>
  122. </view>
  123. </view>
  124. </view>
  125. </view>
  126. </view>
  127. </template>
  128. <script>
  129. import {
  130. pageRestrictVerify
  131. } from '@/utils/index'
  132. import {
  133. iotControl
  134. } from '@/pages_manage/views/laboratory/iotControl.vue'
  135. import {
  136. accessRecord
  137. } from '@/pages_manage/views/laboratory/accessRecord.vue'
  138. import {
  139. voiceBroadcast
  140. } from '@/pages_manage/views/laboratory/voiceBroadcast.vue'
  141. import {
  142. airConditioning
  143. } from '@/pages_manage/views/laboratory/airConditioning.vue'
  144. import {
  145. config
  146. } from '@/api/request/config.js'
  147. import {
  148. } from '@/pages/api/index.js'
  149. import {
  150. securityAppCheckPlanScanCode,
  151. } from '@/pages_safetyCheck/api/index.js'
  152. export default {
  153. name: "safetyCardScan",
  154. components: {
  155. iotControl,
  156. accessRecord,
  157. voiceBroadcast,
  158. airConditioning,
  159. },
  160. data() {
  161. return {
  162. baseUrl: config.base_url,
  163. pageType: 1,
  164. tabText: [{
  165. name: '安全信息牌',
  166. img: this.imagesUrl('safetyCheck/icon_sys_aqxxp@1x.png'),
  167. },
  168. {
  169. name: '监测控制',
  170. img: this.imagesUrl('safetyCheck/icon_sys_jckz@1x.png'),
  171. },
  172. {
  173. name: '进出记录',
  174. img: this.imagesUrl('safetyCheck/icon_sys_jcjl@1x.png'),
  175. },
  176. ],
  177. pageType: 0,
  178. newData: {
  179. adminName: '',
  180. adminPhone: '',
  181. safeUserList: [],
  182. labInfoBrandModels: [],
  183. },
  184. subjectData: null,
  185. identityData: uni.getStorageSync('identityData'),
  186. //语音广播弹窗
  187. broadcastPage: false,
  188. //空调弹窗
  189. conditioningPage: false,
  190. // 空调弹窗
  191. airConditioningData: null,
  192. securityCheck: false,
  193. securityCheckList:[],
  194. form: {},
  195. }
  196. },
  197. // 父页面
  198. onReachBottom() {
  199. uni.$emit('onReachBottom') // 设置监听事件
  200. },
  201. onPullDownRefresh() {
  202. uni.$emit('onPullDownRefresh') // 设置监听事件
  203. },
  204. onLoad(option) {
  205. let newData = JSON.parse(decodeURIComponent(option.infoData));
  206. newData.subAdminShowType = true;
  207. newData.adminShowType = true;
  208. if (newData.labInfoBrandModels) {
  209. for (let i = 0; i < newData.labInfoBrandModels.length; i++) {
  210. newData.labInfoBrandModels[i].showType = true;
  211. }
  212. }
  213. if (newData.levelColor) {
  214. newData.levelColorTow = this.hexToRgb(newData.levelColor, 0.2)
  215. }
  216. this.$nextTick(() => {
  217. this.$set(this, 'newData', newData);
  218. this.$set(this, 'subjectData', newData);
  219. this.$set(this, 'pageType', 0);
  220. })
  221. },
  222. onShow() {
  223. this.$set(this, 'securityCheck', false)
  224. },
  225. mounted() {
  226. },
  227. methods: {
  228. //十六进制颜色值和RGB格式转换
  229. hexToRgb(hex, opacity = 1) {
  230. // 去除#号
  231. var color = hex.replace("#", "");
  232. // 分割成红、绿、蓝三部分的16进制字符串
  233. var red = parseInt(color.substring(0, 2), 16);
  234. var green = parseInt(color.substring(2, 4), 16);
  235. var blue = parseInt(color.substring(4, 6), 16);
  236. return `RGB(${red}, ${green}, ${blue},${opacity})`;
  237. },
  238. //拨打电话
  239. callPhone(tel) {
  240. if(tel){
  241. uni.makePhoneCall({
  242. phoneNumber: tel
  243. })
  244. }
  245. },
  246. goVideoPage() {
  247. console.log('视频')
  248. let obj = {
  249. type: 4,
  250. subId: this.newData.subId
  251. }
  252. uni.navigateTo({
  253. url: '/pages_manage/views/laboratory/videoPlayer?item=' + encodeURIComponent(JSON.stringify(
  254. obj))
  255. });
  256. },
  257. getIotControlData() {
  258. this.$refs['iotControl'].iotAppHardwareFindByType();
  259. },
  260. buttonClick(type, row) {
  261. let self = this;
  262. if (type == 'subDetail') {
  263. //实验室详情
  264. } else if (type == 'broadcastOpen') {
  265. //语音弹窗开启
  266. this.$set(this, 'broadcastPage', true);
  267. } else if (type == 'broadcastClose') {
  268. //语音弹窗关闭
  269. this.$set(this, 'broadcastPage', false);
  270. } else if (type == 'conditioningOpen') {
  271. //空调弹窗开启
  272. this.$set(this, 'airConditioningData', row);
  273. this.$set(this, 'conditioningPage', true);
  274. } else if (type == 'conditioningClose') {
  275. //空调弹窗关闭
  276. this.$set(this, 'conditioningPage', false);
  277. } else if (type == 'back') {
  278. this.$set(this, 'pageType', 2);
  279. }
  280. },
  281. //展开/收起操作
  282. unfoldPackUp(type, index) {
  283. if (type == 'subAdminShowType') {
  284. this.$set(this.newData, 'subAdminShowType', !this.newData.subAdminShowType);
  285. } else if (type == 'adminShowType') {
  286. this.$set(this.newData, 'adminShowType', !this.newData.adminShowType);
  287. } else if (type == 'list') {
  288. this.$set(this.newData.labInfoBrandModels[index], 'showType', !this.newData.labInfoBrandModels[index]
  289. .showType);
  290. }
  291. },
  292. //顶部tab点击
  293. tabClick(index) {
  294. if (this.pageType != index) {
  295. this.$set(this, 'pageType', index);
  296. }
  297. },
  298. goPage(type, status) {
  299. if (!pageRestrictVerify(type)) {
  300. uni.showToast({
  301. title: '没有相关权限,请联系管理员',
  302. icon: "none",
  303. mask: true,
  304. duration: 2000
  305. });
  306. return
  307. } else if (type == 'securityCheck') {
  308. this.securityAppCheckPlanScanCode(this.newData.subId,);
  309. } else if (type == 'snapshot') {
  310. console.log(111)
  311. console.log(this.newData)
  312. this.$set(this.form, "subId", this.newData.subId)
  313. this.$set(this.form, "subName", this.newData.subName)
  314. this.$set(this.form, "subRoom", this.newData.roomNum)
  315. this.$set(this.form, "deptId", this.newData.deptId)
  316. this.$set(this.form, "deptName", this.newData.deptName)
  317. this.$set(this.form, "buildId", this.newData.buildId)
  318. this.$set(this.form, "buildName", this.newData.buildName)
  319. this.$set(this.form, "floorId", this.newData.floorId)
  320. this.$set(this.form, "floorName", this.newData.floorName)
  321. this.$set(this.form, "typeId", this.newData.typeId)
  322. this.$set(this.form, "classTypeNames", this.newData.typeName)
  323. this.$set(this.form, "levelId", this.newData.levelId)
  324. this.$set(this.form, "classLevelName", this.newData.levelName)
  325. uni.navigateTo({
  326. url: '/pages_safetyCheck/views/snapshotManage/snapshotList?form=' +
  327. encodeURIComponent(JSON.stringify(this.form))
  328. });
  329. }
  330. },
  331. //查询计划
  332. async securityAppCheckPlanScanCode(subId,planSetId) {
  333. let self = this;
  334. let checkCategory = null;
  335. if(uni.getStorageSync('identityData')){
  336. if(uni.getStorageSync('identityData').type=='collegeAdmin'){
  337. checkCategory=2
  338. }else if(uni.getStorageSync('identityData').type=='schoolAdmin'){
  339. checkCategory=1
  340. }
  341. }
  342. let obj = {
  343. subId:subId,
  344. checkCategory:checkCategory,
  345. };
  346. if(planSetId){
  347. obj.planSetId = planSetId;
  348. }
  349. const {
  350. data
  351. } = await securityAppCheckPlanScanCode(obj);
  352. if (data.code == 200) {
  353. if(data.data[0]){
  354. if(data.data[1]){
  355. //多个
  356. self.$set(self,'securityCheckList',data.data);
  357. self.$set(self,'securityCheck',true);
  358. }else{
  359. //单个
  360. let infoData = data.data[0];
  361. infoData.pageType = 0;
  362. uni.navigateTo({
  363. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' + encodeURIComponent(
  364. JSON.stringify(infoData))
  365. });
  366. }
  367. }else{
  368. //没有
  369. uni.showToast({
  370. title: '该实验室暂无检查计划!',
  371. icon: "none",
  372. mask: true,
  373. duration: 2000
  374. });
  375. }
  376. }
  377. },
  378. batchClickTow(row) {
  379. let infoData = row;
  380. infoData.pageType = 0;
  381. uni.navigateTo({
  382. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' + encodeURIComponent(
  383. JSON.stringify(infoData))
  384. });
  385. },
  386. }
  387. }
  388. </script>
  389. <style lang="stylus" scoped>
  390. .safetyCardScan {
  391. height: 100%;
  392. #fontColor-A {
  393. color: #00DEDE;
  394. }
  395. #fontColor-B {
  396. color: #FF8C00;
  397. }
  398. #fontColor-C {
  399. color: #0083FD;
  400. }
  401. .header {
  402. height: 192rpx;
  403. width: 100%;
  404. // position: fixed;
  405. // top: 0rpx;
  406. // z-index: 100;
  407. background: #fff;
  408. .tabTitle {
  409. width: 750rpx;
  410. height: 188rpx;
  411. display flex;
  412. justify-content: flex-start;
  413. align-items: center;
  414. border-bottom: 4rpx solid #F5F5F5;
  415. .tabTitle_li {
  416. height: 188rpx;
  417. flex: 1;
  418. position: relative;
  419. text-align center;
  420. .tabTitle_text {
  421. display: flex;
  422. justify-content: center;
  423. flex-direction: column;
  424. align-items: center;
  425. >img {
  426. width: 80rpx;
  427. height: 80rpx;
  428. margin-top: 20rpx;
  429. }
  430. >view:nth-of-type(1) {
  431. font-size: 30rpx;
  432. color: #333333;
  433. line-height: 42rpx;
  434. text-align: left;
  435. margin-top: 10rpx;
  436. }
  437. >view:nth-of-type(2) {
  438. font-size: 24rpx;
  439. color: #666666;
  440. line-height: 34rpx;
  441. text-align: left;
  442. }
  443. position: relative;
  444. &.on {}
  445. }
  446. .line {
  447. width: 2rpx;
  448. height: 40rpx;
  449. background: #D8D8D8;
  450. position: absolute;
  451. top: 40%;
  452. }
  453. .tabTitle_across {
  454. /* width: 50rpx;
  455. height: 4rpx;
  456. background: #0183FA;
  457. border-radius: 2rpx; */
  458. margin-left: 38%;
  459. margin-top: 12rpx;
  460. display none;
  461. >img {
  462. width: 40rpx;
  463. height: 26rpx;
  464. }
  465. &.on {
  466. display block;
  467. }
  468. }
  469. }
  470. }
  471. }
  472. /* 安全信息牌 */
  473. .safetyCard {
  474. padding-bottom: 150rpx;
  475. .lab-info {
  476. background: #FFFFFF;
  477. display: flex;
  478. justify-content: space-between;
  479. .lab-info-l {
  480. width: 80rpx;
  481. height: 80rpx;
  482. background: #0183FA;
  483. border-radius: 10rpx 10rpx 10rpx 10rpx;
  484. margin-left: 30rpx;
  485. margin-top: 30rpx;
  486. }
  487. .lab-info-c {
  488. width: 500rpx;
  489. margin: 24rpx 30rpx 0 20rpx;
  490. .lab-info-c-t {
  491. display: flex;
  492. justify-content: space-between;
  493. .lab-info-c-t-l {
  494. font-size: 30rpx;
  495. color: #333333;
  496. line-height: 42rpx;
  497. text-align: left;
  498. overflow: hidden;
  499. text-overflow: ellipsis;
  500. white-space: nowrap;
  501. }
  502. .lab-info-c-t-r {
  503. display: flex;
  504. justify-content: flex-start;
  505. background: rgba(255, 0, 0, 0.2);
  506. border-radius: 10rpx 10rpx 10rpx 10rpx;
  507. border: 2rpx solid #FF0000;
  508. width: 200rpx;
  509. height: 40rpx;
  510. margin-left: 10rpx;
  511. >text {
  512. display: inline-block;
  513. flex: 1;
  514. text-align: center;
  515. font-size: 24rpx;
  516. color: #FF0000;
  517. line-height: 40rpx;
  518. text-align: center;
  519. overflow: hidden;
  520. text-overflow: ellipsis;
  521. white-space: nowrap;
  522. }
  523. >text:nth-of-type(1) {
  524. border-right: 2rpx solid #FF0000;
  525. }
  526. >text:nth-of-type(2) {}
  527. }
  528. }
  529. .lab-info-c-b {
  530. font-size: 30rpx;
  531. color: #666666;
  532. line-height: 42rpx;
  533. text-align: left;
  534. margin-top: 10rpx;
  535. overflow: hidden;
  536. text-overflow: ellipsis;
  537. white-space: nowrap;
  538. }
  539. }
  540. .lab-info-r {
  541. width: 100rpx;
  542. height: 150rpx;
  543. background: rgba(1, 131, 250, 0.2);
  544. border-radius: 0rpx 0rpx 0rpx 0rpx;
  545. font-size: 28rpx;
  546. color: #0183FA;
  547. line-height: 150rpx;
  548. text-align: center;
  549. }
  550. }
  551. .liability-unit {
  552. width: 750rpx;
  553. height: 80rpx;
  554. background: #FFFFFF;
  555. border-bottom: 1rpx solid #E0E0E0;
  556. padding: 0 30rpx;
  557. box-sizing: border-box;
  558. display: flex;
  559. justify-content: space-between;
  560. margin-top: 14rpx;
  561. >view:nth-of-type(1) {
  562. font-size: 30rpx;
  563. color: #333333;
  564. line-height: 80rpx;
  565. text-align: left;
  566. }
  567. >view:nth-of-type(2) {
  568. font-size: 30rpx;
  569. color: #666666;
  570. line-height: 80rpx;
  571. text-align: left;
  572. }
  573. }
  574. .small-title {
  575. width: 750rpx;
  576. height: 80rpx;
  577. background: #FFFFFF;
  578. border-bottom: 1rpx solid #E0E0E0;
  579. padding: 0 30rpx;
  580. box-sizing: border-box;
  581. display: flex;
  582. justify-content: space-between;
  583. align-items: center;
  584. >view {
  585. font-size: 30rpx;
  586. color: #333333;
  587. line-height: 80rpx;
  588. text-align: left;
  589. }
  590. >img {
  591. width: 24rpx;
  592. height: 12rpx;
  593. }
  594. }
  595. .sub-head {
  596. width: 750rpx;
  597. height: 80rpx;
  598. background: #fff;
  599. padding: 0 30rpx;
  600. box-sizing: border-box;
  601. display: flex;
  602. justify-content: space-between;
  603. align-items: center;
  604. border-bottom: 1rpx solid #E0E0E0;
  605. >view:nth-of-type(1) {
  606. font-family: PingFang SC;
  607. font-weight: 500;
  608. font-size: 30rpx;
  609. color: #666666;
  610. line-height: 30rpx;
  611. }
  612. >view:nth-of-type(2) {
  613. display: flex;
  614. justify-content: flex-end;
  615. align-items: center;
  616. >img {
  617. width: 34rpx;
  618. height: 34rpx;
  619. margin-right: 14rpx;
  620. }
  621. >view {
  622. font-family: PingFang SC;
  623. font-weight: 500;
  624. font-size: 30rpx;
  625. color: #0183FA;
  626. line-height: 30rpx;
  627. }
  628. }
  629. }
  630. .sub-head:last-child {
  631. border-bottom: none;
  632. }
  633. .small-title-new {
  634. width: 750rpx;
  635. height: 80rpx;
  636. background: #FFFFFF;
  637. border-bottom: 1rpx solid #E0E0E0;
  638. padding: 0 30rpx;
  639. box-sizing: border-box;
  640. display: flex;
  641. justify-content: space-between;
  642. align-items: center;
  643. >view {
  644. font-size: 30rpx;
  645. color: #333333;
  646. line-height: 80rpx;
  647. text-align: left;
  648. }
  649. >img {
  650. width: 24rpx;
  651. height: 12rpx;
  652. }
  653. }
  654. .classify {
  655. .small-items-new {
  656. padding-left: 20rpx;
  657. box-sizing: border-box;
  658. background: #fff;
  659. display: flex;
  660. justify-content: flex-start;
  661. padding: 30rpx;
  662. box-sizing: border-box;
  663. border-bottom: 1rpx solid #E0E0E0;
  664. >view:nth-of-type(1) {
  665. color: #999999;
  666. font-weight: 500;
  667. font-size: 28rpx;
  668. margin-right: 12rpx;
  669. line-height: 34rpx;
  670. }
  671. >view:nth-of-type(2) {
  672. display: block;
  673. font-family: PingFang SC;
  674. font-weight: 500;
  675. font-size: 28rpx;
  676. line-height: 34rpx;
  677. color: #999999;
  678. }
  679. }
  680. .logotype-img-new {
  681. padding: 26rpx 0 34rpx 0;
  682. box-sizing: border-box;
  683. background: #fff;
  684. >img {
  685. display: inline-block;
  686. width: 86rpx;
  687. height: 114rpx;
  688. margin-left: 30rpx;
  689. margin-bottom: 20rpx;
  690. }
  691. }
  692. .small-items {
  693. padding-left: 20rpx;
  694. box-sizing: border-box;
  695. background: #fff;
  696. display: flex;
  697. justify-content: flex-start;
  698. padding: 20rpx;
  699. box-sizing: border-box;
  700. >view:nth-of-type(1) {
  701. color: #999999;
  702. font-weight: 500;
  703. font-size: 28rpx;
  704. margin-right: 12rpx;
  705. line-height: 34rpx;
  706. }
  707. >view:nth-of-type(2) {
  708. display: block;
  709. font-family: PingFang SC;
  710. font-weight: 500;
  711. font-size: 28rpx;
  712. line-height: 34rpx;
  713. color: #999999;
  714. }
  715. }
  716. .logotype {
  717. width: 750rpx;
  718. height: 100rpx;
  719. font-family: PingFang SC;
  720. font-weight: 500;
  721. font-size: 32rpx;
  722. color: #333333;
  723. line-height: 100rpx;
  724. padding-left: 20rpx;
  725. box-sizing: border-box;
  726. background: #0183FA;
  727. color: #fff;
  728. }
  729. .logotype-img {
  730. padding: 26rpx 0 34rpx 0;
  731. box-sizing: border-box;
  732. background: #fff;
  733. >img {
  734. display: inline-block;
  735. width: 86rpx;
  736. height: 114rpx;
  737. margin-left: 30rpx;
  738. margin-bottom: 20rpx;
  739. }
  740. }
  741. }
  742. }
  743. .position-button-box {
  744. position: fixed;
  745. bottom: 40rpx;
  746. display: flex;
  747. justify-content: center;
  748. >img {
  749. width: 160rpx;
  750. height: 160rpx;
  751. }
  752. .position-button-p-1 {
  753. margin-left: 174rpx;
  754. margin-right: 120rpx;
  755. }
  756. .position-button-p-2 {}
  757. }
  758. .shade-box {
  759. height: 100%;
  760. width: 100%;
  761. position: fixed;
  762. display: flex;
  763. flex-direction: column;
  764. z-index: 200;
  765. background: rgba(0, 0, 0, 0.2);
  766. top: 0;
  767. .null-box {
  768. flex: 1;
  769. }
  770. .shade_n {
  771. position: absolute;
  772. bottom: 0;
  773. left: 0;
  774. width: 750rpx;
  775. height: 466rpx;
  776. background: #FFFFFF;
  777. border-radius: 20rpx 20rpx 0rpx 0rpx;
  778. overflow-y: auto;
  779. .title {
  780. display: flex;
  781. justify-content: space-between;
  782. align-items: center;
  783. padding: 0 50rpx 0 284rpx;
  784. box-sizing: border-box;
  785. border-bottom: 1rpx solid #E0E0E0;
  786. >view {
  787. font-size: 30rpx;
  788. color: #3D3D3D;
  789. line-height: 90rpx;
  790. text-align: left;
  791. }
  792. >img {
  793. width: 24rpx;
  794. height: 12rpx;
  795. }
  796. }
  797. .batch {
  798. padding: 0 30rpx;
  799. box-sizing: border-box;
  800. .batch-li {
  801. display: flex;
  802. justify-content: space-between;
  803. align-items: center;
  804. border-bottom: 1rpx solid #E0E0E0;
  805. padding: 20rpx 0 16rpx 0rpx;
  806. box-sizing: border-box;
  807. .batch-li-l {
  808. >text:nth-of-type(1) {
  809. display: block;
  810. font-size: 30rpx;
  811. color: #333333;
  812. line-height: 42rpx;
  813. text-align: left;
  814. }
  815. >text:nth-of-type(2) {
  816. display: block;
  817. font-size: 28rpx;
  818. color: #666666;
  819. line-height: 39rpx;
  820. text-align: left;
  821. margin-top: 6rpx;
  822. }
  823. }
  824. .batch-li-r {
  825. font-size: 28rpx;
  826. color: #666666;
  827. line-height: 39rpx;
  828. text-align: left;
  829. display: flex;
  830. justify-content: flex-start;
  831. align-items: center;
  832. >img {
  833. width: 24rpx;
  834. height: 24rpx;
  835. margin-left: 9rpx;
  836. }
  837. }
  838. }
  839. }
  840. }
  841. }
  842. }
  843. </style>