safetyCardScan.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930
  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. if(status){
  309. this.securityAppCheckPlanScanCode(this.newData.subId,);
  310. }else{
  311. this.$set(this,'securityCheck',false);
  312. }
  313. } else if (type == 'snapshot') {
  314. console.log(111)
  315. console.log(this.newData)
  316. this.$set(this.form, "subId", this.newData.subId)
  317. this.$set(this.form, "subName", this.newData.subName)
  318. this.$set(this.form, "subRoom", this.newData.roomNum)
  319. this.$set(this.form, "deptId", this.newData.deptId)
  320. this.$set(this.form, "deptName", this.newData.deptName)
  321. this.$set(this.form, "buildId", this.newData.buildId)
  322. this.$set(this.form, "buildName", this.newData.buildName)
  323. this.$set(this.form, "floorId", this.newData.floorId)
  324. this.$set(this.form, "floorName", this.newData.floorName)
  325. this.$set(this.form, "typeId", this.newData.typeId)
  326. this.$set(this.form, "classTypeNames", this.newData.typeName)
  327. this.$set(this.form, "levelId", this.newData.levelId)
  328. this.$set(this.form, "classLevelName", this.newData.levelName)
  329. uni.navigateTo({
  330. url: '/pages_safetyCheck/views/snapshotManage/snapshotList?form=' +
  331. encodeURIComponent(JSON.stringify(this.form))
  332. });
  333. }
  334. },
  335. //查询计划
  336. async securityAppCheckPlanScanCode(subId,planSetId) {
  337. let self = this;
  338. let checkCategory = null;
  339. if(uni.getStorageSync('identityData')){
  340. if(uni.getStorageSync('identityData').type=='collegeAdmin'){
  341. checkCategory=2
  342. }else if(uni.getStorageSync('identityData').type=='schoolAdmin'){
  343. checkCategory=1
  344. }
  345. }
  346. let obj = {
  347. subId:subId,
  348. checkCategory:checkCategory,
  349. };
  350. if(planSetId){
  351. obj.planSetId = planSetId;
  352. }
  353. const {
  354. data
  355. } = await securityAppCheckPlanScanCode(obj);
  356. if (data.code == 200) {
  357. if(data.data[0]){
  358. if(data.data[1]){
  359. //多个
  360. self.$set(self,'securityCheckList',data.data);
  361. self.$set(self,'securityCheck',true);
  362. }else{
  363. //单个
  364. let infoData = data.data[0];
  365. infoData.pageType = 0;
  366. uni.navigateTo({
  367. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' + encodeURIComponent(
  368. JSON.stringify(infoData))
  369. });
  370. }
  371. }else{
  372. //没有
  373. uni.showToast({
  374. title: '该实验室暂无检查计划!',
  375. icon: "none",
  376. mask: true,
  377. duration: 2000
  378. });
  379. }
  380. }
  381. },
  382. batchClickTow(row) {
  383. let infoData = row;
  384. infoData.pageType = 0;
  385. uni.navigateTo({
  386. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' + encodeURIComponent(
  387. JSON.stringify(infoData))
  388. });
  389. },
  390. }
  391. }
  392. </script>
  393. <style lang="stylus" scoped>
  394. .safetyCardScan {
  395. height: 100%;
  396. #fontColor-A {
  397. color: #00DEDE;
  398. }
  399. #fontColor-B {
  400. color: #FF8C00;
  401. }
  402. #fontColor-C {
  403. color: #0083FD;
  404. }
  405. .header {
  406. height: 192rpx;
  407. width: 100%;
  408. // position: fixed;
  409. // top: 0rpx;
  410. // z-index: 100;
  411. background: #fff;
  412. .tabTitle {
  413. width: 750rpx;
  414. height: 188rpx;
  415. display flex;
  416. justify-content: flex-start;
  417. align-items: center;
  418. border-bottom: 4rpx solid #F5F5F5;
  419. .tabTitle_li {
  420. height: 188rpx;
  421. flex: 1;
  422. position: relative;
  423. text-align center;
  424. .tabTitle_text {
  425. display: flex;
  426. justify-content: center;
  427. flex-direction: column;
  428. align-items: center;
  429. >img {
  430. width: 80rpx;
  431. height: 80rpx;
  432. margin-top: 20rpx;
  433. }
  434. >view:nth-of-type(1) {
  435. font-size: 30rpx;
  436. color: #333333;
  437. line-height: 42rpx;
  438. text-align: left;
  439. margin-top: 10rpx;
  440. }
  441. >view:nth-of-type(2) {
  442. font-size: 24rpx;
  443. color: #666666;
  444. line-height: 34rpx;
  445. text-align: left;
  446. }
  447. position: relative;
  448. &.on {}
  449. }
  450. .line {
  451. width: 2rpx;
  452. height: 40rpx;
  453. background: #D8D8D8;
  454. position: absolute;
  455. top: 40%;
  456. }
  457. .tabTitle_across {
  458. /* width: 50rpx;
  459. height: 4rpx;
  460. background: #0183FA;
  461. border-radius: 2rpx; */
  462. margin-left: 38%;
  463. margin-top: 12rpx;
  464. display none;
  465. >img {
  466. width: 40rpx;
  467. height: 26rpx;
  468. }
  469. &.on {
  470. display block;
  471. }
  472. }
  473. }
  474. }
  475. }
  476. /* 安全信息牌 */
  477. .safetyCard {
  478. padding-bottom: 150rpx;
  479. .lab-info {
  480. background: #FFFFFF;
  481. display: flex;
  482. justify-content: space-between;
  483. .lab-info-l {
  484. width: 80rpx;
  485. height: 80rpx;
  486. background: #0183FA;
  487. border-radius: 10rpx 10rpx 10rpx 10rpx;
  488. margin-left: 30rpx;
  489. margin-top: 30rpx;
  490. }
  491. .lab-info-c {
  492. width: 500rpx;
  493. margin: 24rpx 30rpx 0 20rpx;
  494. .lab-info-c-t {
  495. display: flex;
  496. justify-content: space-between;
  497. .lab-info-c-t-l {
  498. font-size: 30rpx;
  499. color: #333333;
  500. line-height: 42rpx;
  501. text-align: left;
  502. overflow: hidden;
  503. text-overflow: ellipsis;
  504. white-space: nowrap;
  505. }
  506. .lab-info-c-t-r {
  507. display: flex;
  508. justify-content: flex-start;
  509. background: rgba(255, 0, 0, 0.2);
  510. border-radius: 10rpx 10rpx 10rpx 10rpx;
  511. border: 2rpx solid #FF0000;
  512. width: 200rpx;
  513. height: 40rpx;
  514. margin-left: 10rpx;
  515. >text {
  516. display: inline-block;
  517. flex: 1;
  518. text-align: center;
  519. font-size: 24rpx;
  520. color: #FF0000;
  521. line-height: 40rpx;
  522. text-align: center;
  523. overflow: hidden;
  524. text-overflow: ellipsis;
  525. white-space: nowrap;
  526. }
  527. >text:nth-of-type(1) {
  528. border-right: 2rpx solid #FF0000;
  529. }
  530. >text:nth-of-type(2) {}
  531. }
  532. }
  533. .lab-info-c-b {
  534. font-size: 30rpx;
  535. color: #666666;
  536. line-height: 42rpx;
  537. text-align: left;
  538. margin-top: 10rpx;
  539. overflow: hidden;
  540. text-overflow: ellipsis;
  541. white-space: nowrap;
  542. }
  543. }
  544. .lab-info-r {
  545. width: 100rpx;
  546. height: 150rpx;
  547. background: rgba(1, 131, 250, 0.2);
  548. border-radius: 0rpx 0rpx 0rpx 0rpx;
  549. font-size: 28rpx;
  550. color: #0183FA;
  551. line-height: 150rpx;
  552. text-align: center;
  553. }
  554. }
  555. .liability-unit {
  556. width: 750rpx;
  557. height: 80rpx;
  558. background: #FFFFFF;
  559. border-bottom: 1rpx solid #E0E0E0;
  560. padding: 0 30rpx;
  561. box-sizing: border-box;
  562. display: flex;
  563. justify-content: space-between;
  564. margin-top: 14rpx;
  565. >view:nth-of-type(1) {
  566. font-size: 30rpx;
  567. color: #333333;
  568. line-height: 80rpx;
  569. text-align: left;
  570. }
  571. >view:nth-of-type(2) {
  572. font-size: 30rpx;
  573. color: #666666;
  574. line-height: 80rpx;
  575. text-align: left;
  576. }
  577. }
  578. .small-title {
  579. width: 750rpx;
  580. height: 80rpx;
  581. background: #FFFFFF;
  582. border-bottom: 1rpx solid #E0E0E0;
  583. padding: 0 30rpx;
  584. box-sizing: border-box;
  585. display: flex;
  586. justify-content: space-between;
  587. align-items: center;
  588. >view {
  589. font-size: 30rpx;
  590. color: #333333;
  591. line-height: 80rpx;
  592. text-align: left;
  593. }
  594. >img {
  595. width: 24rpx;
  596. height: 12rpx;
  597. }
  598. }
  599. .sub-head {
  600. width: 750rpx;
  601. height: 80rpx;
  602. background: #fff;
  603. padding: 0 30rpx;
  604. box-sizing: border-box;
  605. display: flex;
  606. justify-content: space-between;
  607. align-items: center;
  608. border-bottom: 1rpx solid #E0E0E0;
  609. >view:nth-of-type(1) {
  610. font-family: PingFang SC;
  611. font-weight: 500;
  612. font-size: 30rpx;
  613. color: #666666;
  614. line-height: 30rpx;
  615. }
  616. >view:nth-of-type(2) {
  617. display: flex;
  618. justify-content: flex-end;
  619. align-items: center;
  620. >img {
  621. width: 34rpx;
  622. height: 34rpx;
  623. margin-right: 14rpx;
  624. }
  625. >view {
  626. font-family: PingFang SC;
  627. font-weight: 500;
  628. font-size: 30rpx;
  629. color: #0183FA;
  630. line-height: 30rpx;
  631. }
  632. }
  633. }
  634. .sub-head:last-child {
  635. border-bottom: none;
  636. }
  637. .small-title-new {
  638. width: 750rpx;
  639. height: 80rpx;
  640. background: #FFFFFF;
  641. border-bottom: 1rpx solid #E0E0E0;
  642. padding: 0 30rpx;
  643. box-sizing: border-box;
  644. display: flex;
  645. justify-content: space-between;
  646. align-items: center;
  647. >view {
  648. font-size: 30rpx;
  649. color: #333333;
  650. line-height: 80rpx;
  651. text-align: left;
  652. }
  653. >img {
  654. width: 24rpx;
  655. height: 12rpx;
  656. }
  657. }
  658. .classify {
  659. .small-items-new {
  660. padding-left: 20rpx;
  661. box-sizing: border-box;
  662. background: #fff;
  663. display: flex;
  664. justify-content: flex-start;
  665. padding: 30rpx;
  666. box-sizing: border-box;
  667. border-bottom: 1rpx solid #E0E0E0;
  668. >view:nth-of-type(1) {
  669. color: #999999;
  670. font-weight: 500;
  671. font-size: 28rpx;
  672. margin-right: 12rpx;
  673. line-height: 34rpx;
  674. }
  675. >view:nth-of-type(2) {
  676. display: block;
  677. font-family: PingFang SC;
  678. font-weight: 500;
  679. font-size: 28rpx;
  680. line-height: 34rpx;
  681. color: #999999;
  682. }
  683. }
  684. .logotype-img-new {
  685. padding: 26rpx 0 34rpx 0;
  686. box-sizing: border-box;
  687. background: #fff;
  688. >img {
  689. display: inline-block;
  690. width: 86rpx;
  691. height: 114rpx;
  692. margin-left: 30rpx;
  693. margin-bottom: 20rpx;
  694. }
  695. }
  696. .small-items {
  697. padding-left: 20rpx;
  698. box-sizing: border-box;
  699. background: #fff;
  700. display: flex;
  701. justify-content: flex-start;
  702. padding: 20rpx;
  703. box-sizing: border-box;
  704. >view:nth-of-type(1) {
  705. color: #999999;
  706. font-weight: 500;
  707. font-size: 28rpx;
  708. margin-right: 12rpx;
  709. line-height: 34rpx;
  710. }
  711. >view:nth-of-type(2) {
  712. display: block;
  713. font-family: PingFang SC;
  714. font-weight: 500;
  715. font-size: 28rpx;
  716. line-height: 34rpx;
  717. color: #999999;
  718. }
  719. }
  720. .logotype {
  721. width: 750rpx;
  722. height: 100rpx;
  723. font-family: PingFang SC;
  724. font-weight: 500;
  725. font-size: 32rpx;
  726. color: #333333;
  727. line-height: 100rpx;
  728. padding-left: 20rpx;
  729. box-sizing: border-box;
  730. background: #0183FA;
  731. color: #fff;
  732. }
  733. .logotype-img {
  734. padding: 26rpx 0 34rpx 0;
  735. box-sizing: border-box;
  736. background: #fff;
  737. >img {
  738. display: inline-block;
  739. width: 86rpx;
  740. height: 114rpx;
  741. margin-left: 30rpx;
  742. margin-bottom: 20rpx;
  743. }
  744. }
  745. }
  746. }
  747. .position-button-box {
  748. position: fixed;
  749. bottom: 40rpx;
  750. display: flex;
  751. justify-content: center;
  752. >img {
  753. width: 160rpx;
  754. height: 160rpx;
  755. }
  756. .position-button-p-1 {
  757. margin-left: 174rpx;
  758. margin-right: 120rpx;
  759. }
  760. .position-button-p-2 {}
  761. }
  762. .shade-box {
  763. height: 100%;
  764. width: 100%;
  765. position: fixed;
  766. display: flex;
  767. flex-direction: column;
  768. z-index: 200;
  769. background: rgba(0, 0, 0, 0.2);
  770. top: 0;
  771. .null-box {
  772. flex: 1;
  773. }
  774. .shade_n {
  775. position: absolute;
  776. bottom: 0;
  777. left: 0;
  778. width: 750rpx;
  779. height: 466rpx;
  780. background: #FFFFFF;
  781. border-radius: 20rpx 20rpx 0rpx 0rpx;
  782. overflow-y: auto;
  783. .title {
  784. display: flex;
  785. justify-content: space-between;
  786. align-items: center;
  787. padding: 0 50rpx 0 284rpx;
  788. box-sizing: border-box;
  789. border-bottom: 1rpx solid #E0E0E0;
  790. >view {
  791. font-size: 30rpx;
  792. color: #3D3D3D;
  793. line-height: 90rpx;
  794. text-align: left;
  795. }
  796. >img {
  797. width: 24rpx;
  798. height: 12rpx;
  799. }
  800. }
  801. .batch {
  802. padding: 0 30rpx;
  803. box-sizing: border-box;
  804. .batch-li {
  805. display: flex;
  806. justify-content: space-between;
  807. align-items: center;
  808. border-bottom: 1rpx solid #E0E0E0;
  809. padding: 20rpx 0 16rpx 0rpx;
  810. box-sizing: border-box;
  811. .batch-li-l {
  812. >text:nth-of-type(1) {
  813. display: block;
  814. font-size: 30rpx;
  815. color: #333333;
  816. line-height: 42rpx;
  817. text-align: left;
  818. }
  819. >text:nth-of-type(2) {
  820. display: block;
  821. font-size: 28rpx;
  822. color: #666666;
  823. line-height: 39rpx;
  824. text-align: left;
  825. margin-top: 6rpx;
  826. }
  827. }
  828. .batch-li-r {
  829. font-size: 28rpx;
  830. color: #666666;
  831. line-height: 39rpx;
  832. text-align: left;
  833. display: flex;
  834. justify-content: flex-start;
  835. align-items: center;
  836. >img {
  837. width: 24rpx;
  838. height: 24rpx;
  839. margin-left: 9rpx;
  840. }
  841. }
  842. }
  843. }
  844. }
  845. }
  846. }
  847. </style>