infoPage.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855
  1. <template>
  2. <view id="iotDevice-info-page">
  3. <!-- 基础信息 -->
  4. <view class="info-title-max-big-box">
  5. <view class="info-title-name-box">
  6. <view>硬件名称:{{newData.hardwareName}}</view>
  7. <view :class="newData.operatingState?'online-1':'online-2'">{{newData.operatingState ?'开启':'关闭'}}</view>
  8. </view>
  9. <view class="info-title-name-box">
  10. <view>硬件类型:{{newData.hardwareTypeName}}</view>
  11. <view :class="newData.online?'state-1':'state-2'">{{newData.state ?'启用':'停用'}}</view>
  12. </view>
  13. <view class="info-title-text"><span>硬件编号:</span>{{newData.deviceNo}}</view>
  14. <view class="info-title-text"><span>硬件ID:</span>{{newData.deviceId}}</view>
  15. <view class="info-title-text">
  16. <span>位置:</span>
  17. {{newData.schoolName?newData.schoolName:''}}
  18. {{newData.schoolName?' - '+newData.buildName:''}}
  19. {{newData.buildName?' - '+newData.floorName:''}}
  20. {{newData.floorName?' - '+newData.subjectName:''}}
  21. </view>
  22. </view>
  23. <!-- 选项卡按钮 -->
  24. <view class="info-button-max-big-box">
  25. <view class="info-button-view" @click="buttonCheck(1)"
  26. :class="pageType == 1?'info-button-check':''">日志</view>
  27. <view class="info-button-view" @click="buttonCheck(2)"
  28. :class="pageType == 2?'info-button-check':''">调试</view>
  29. </view>
  30. <!-- 设备日志 -->
  31. <view class="info-log-max-big-box" v-if="pageType == 1">
  32. <view class="query-max-big-box">
  33. <view class="query-input-box">
  34. <picker @change="typeListChange" :value="typeListIndex" :range="typeList">
  35. <view style="width:330rpx;" class="query-input"
  36. :class="!typeName?'query-input-placeholder':''">
  37. {{typeName?typeName:'选择类型'}}
  38. </view>
  39. </picker>
  40. </view>
  41. <view class="query-button-one" @click="handleQuery">查询</view>
  42. <view class="query-button-two" @click="resetQuery">重置</view>
  43. </view>
  44. <view class="list-max-big-box">
  45. <view class="list-max-big-null" v-if="!dataList[0]">暂无数据</view>
  46. <view class="for-list-max-big-box"
  47. v-for="(item,index) in dataList" :key="index">
  48. <view class="for-list-title-box">
  49. <view>{{item.logType?'打开':'关闭'}}</view>
  50. <view :class="item.state?'stateColorA':'stateColorB'">{{item.state?'成功':'失败'}}</view>
  51. <view>{{parseTime(item.createTime,"{y}-{m}-{d} {h}:{i}")}}</view>
  52. </view>
  53. <view class="for-list-remark-box">
  54. <view class="for-list-remark">备注:{{item.remark}}</view>
  55. <view class="for-list-button" @click="shadeOpen(item,1)">查看</view>
  56. </view>
  57. </view>
  58. </view>
  59. <view class="pagination-max-big-box">
  60. <view class="pagination-button" @click="paginationButton(1)"
  61. :class="queryParams.page == 1 ? 'pagination-color':''">上一页</view>
  62. <view class="pagination-num">{{queryParams.page}}/{{pages}}</view>
  63. <view class="pagination-button" @click="paginationButton(2)"
  64. :class="queryParams.page == pages || queryParams.page > pages ? 'pagination-color':''">下一页</view>
  65. </view>
  66. </view>
  67. <!-- 功能调试 -->
  68. <view class="info-deBug-max-big-box" v-if="pageType == 2">
  69. <view class="info-deBug-max-big-null" v-if="!debugDataList[0]">暂无数据</view>
  70. <view class="info-deBug-for-box" @click.stop="lookDebugInfo(item)"
  71. v-for="(item,index) in debugDataList" :key="index">
  72. <image :src="item.featureType == 0 ? warningImg : (item.featureType == 1 ? successImg : errorImg)"></image>
  73. <view class="info-deBug-for-title-box">
  74. <view>{{item.name}}</view>
  75. <view>{{item.remark}}</view>
  76. </view>
  77. <view class="info-deBug-for-type-box"
  78. :class="item.featureType === 0?'colorC':(item.featureType === 1?'colorA':'colorB')">
  79. {{item.featureType == 0 ?'':(item.featureType == 1 ?'正常':'异常')}}
  80. </view>
  81. <view class="info-deBug-for-button">
  82. <view :class="item.featureType === 0 ? 'buttonTypeA' : 'buttonTypeB'"
  83. @click.stop="debugButton(item,index)">
  84. {{item.featureType === 0 ? '调试' : '复位'}}
  85. </view>
  86. </view>
  87. </view>
  88. </view>
  89. <view class="info-positon-max-big-box" v-if="shadeType == 1 || shadeType == 2">
  90. <view class="info-positon-big-box">
  91. <view class="info-positon-box" v-if="shadeType == 1">
  92. <view class="info-positon-text-box">
  93. <view>请求:</view>
  94. <view class="info-positon-text">{{shadeData.reqBody}}</view>
  95. </view>
  96. <view class="info-positon-text-box">
  97. <view>响应:</view>
  98. <view class="info-positon-text">{{shadeData.respBody}}</view>
  99. </view>
  100. </view>
  101. <view class="info-positon-box" v-if="shadeType == 2">
  102. <view class="info-positon-text-box">
  103. <view>功能名称:</view>
  104. <view class="info-positon-text">{{shadeData.name}}</view>
  105. </view>
  106. <view class="info-positon-text-box">
  107. <view>功能备注:</view>
  108. <view class="info-positon-text">{{shadeData.remark}}</view>
  109. </view>
  110. <view class="info-positon-text-box">
  111. <view>请求地址:</view>
  112. <view class="info-positon-text">{{shadeData.reqApi}}</view>
  113. </view>
  114. <view class="info-positon-text-box">
  115. <view>请求方式:</view>
  116. <view class="info-positon-text">{{shadeData.reqMethod}}</view>
  117. </view>
  118. <view class="info-positon-text-for-box" v-if="shadeData.dataList[0]">
  119. <view>请求参数:</view>
  120. <view class="info-positon-text-for" v-for="(minItem,minIndex) in shadeData.dataList" :key="minIndex">
  121. {{minItem.key}} : {{minItem.value}}
  122. </view>
  123. </view>
  124. <view class="info-positon-text-box">
  125. <view>响应参数:</view>
  126. <view class="info-positon-text">{{shadeData.response}}</view>
  127. </view>
  128. </view>
  129. <view class="info-positon-button-box">
  130. <view @click="shadeOff">关闭</view>
  131. </view>
  132. </view>
  133. </view>
  134. </view>
  135. </template>
  136. <script>
  137. import {
  138. iotHardwareLogList,
  139. iotHardwareFunctionDropList,
  140. iotHardwareDetail,
  141. iotDebugFunctionGet,
  142. iotDebugFunctionPost
  143. } from '@/api/index.js'
  144. export default {
  145. data(){
  146. return {
  147. successImg:require('@/images/success_icon.png'),
  148. errorImg:require('@/images/error_icon.png'),
  149. warningImg:require('@/images/warning_icon.png'),
  150. pageType:1,
  151. newData:{},
  152. //进度条数据
  153. scheduleData:{
  154. featureType:0,
  155. schedule:0,
  156. },
  157. //诊断相关
  158. featureDataList:[
  159. {
  160. name:"设备状态",
  161. remark:"禁用状态会导致诊断失败",
  162. type:'state',
  163. featureType:0,
  164. response:'',
  165. },
  166. {
  167. name:"在线状态 ",
  168. remark:"禁用会导致设备连接失败",
  169. type:'online',
  170. featureType:0,
  171. response:'',
  172. },
  173. {
  174. name:"通信状态",
  175. remark:"禁用和配置错误会导致设备连接失败",
  176. type:'connect',
  177. featureType:0,
  178. response:'',
  179. },
  180. ],
  181. //调试功能相关
  182. debugDataList:[],
  183. //调试方法数据
  184. debugIndex:null,
  185. //物联日志相关
  186. typeList:['成功','失败'],
  187. typeListIndex:0,
  188. typeName:'',
  189. dataList:[],
  190. pages:0,
  191. queryParams:{
  192. page:1,
  193. pageSize:10,
  194. state:null,
  195. },
  196. //弹窗相关
  197. shadeType:false,
  198. shadeData:{},
  199. //上报日志相关
  200. dataTypeList:['正常数据','风险数据'],
  201. dataTypeListIndex:0,
  202. dataTypeName:'',
  203. logList:[],
  204. logPages:0,
  205. logQueryParams:{
  206. page:1,
  207. pageSize:10,
  208. dataType:'',
  209. },
  210. }
  211. },
  212. onLoad(option) {
  213. this.$set(this,'newData',JSON.parse(decodeURIComponent(option.item)));
  214. },
  215. onShow() {
  216. this.resetQuery();
  217. },
  218. methods: {
  219. //子页面切换
  220. buttonCheck(type){
  221. if(this.pageType != type){
  222. if(type == 1){
  223. this.resetQuery();
  224. }else if(type == 2){
  225. this.iotHardwareFunctionDropList();
  226. }
  227. this.$set(this,'pageType',type);
  228. }
  229. },
  230. //重新诊断
  231. resetButton(){
  232. let self = this;
  233. this.$set(this,'scheduleData',{
  234. featureType:0,
  235. schedule:0,
  236. });
  237. this.$set(this.featureDataList[0],'featureType',0);
  238. this.$set(this.featureDataList[1],'featureType',0);
  239. this.$set(this.featureDataList[2],'featureType',0);
  240. setTimeout(() => {
  241. self.diagnosis();
  242. }, 100);
  243. },
  244. //获取功能调试列表
  245. async iotHardwareFunctionDropList(){
  246. const { data } = await iotHardwareFunctionDropList({typeId:this.newData.hardwareTypeId});
  247. if(data.code == 200){
  248. data.data.forEach((item) => {
  249. item.featureType = 0;
  250. })
  251. this.$set(this,'debugDataList',data.data);
  252. }
  253. },
  254. //调试功能接口
  255. debugButton(item,index){
  256. if(item.featureType === 0){
  257. this.$set(this,'debugIndex',index);
  258. let url = item.reqApi
  259. let dataList = JSON.parse(item.reqParams);
  260. let obj = {
  261. url:item.reqApi,
  262. }
  263. for(let i=0;i<dataList.length;i++){
  264. if(dataList[i].keyType == 'data'){
  265. obj[dataList[i].keyName] = this.newData[dataList[i].keyName];
  266. }else if(dataList[i].keyType == 'argument'){
  267. obj[dataList[i].keyName] = dataList[i].keyArgument;
  268. }else if(dataList[i].keyType == 'file'){
  269. obj[dataList[i].keyName] = uni.getStorageSync('fileBrowseEnvironment') + dataList[i].keyFile;
  270. }
  271. }
  272. if(item.reqMethod == 'POST'){
  273. this.iotDebugFunctionPost(url,obj);
  274. }else if(item.reqMethod == 'GET'){
  275. this.iotDebugFunctionGet(url,obj);
  276. }
  277. }else{
  278. this.$set(this.debugDataList[index],'response','');
  279. this.$set(this.debugDataList[index],'featureType',0);
  280. this.$set(this,'debugIndex',null);
  281. }
  282. },
  283. //post调试
  284. async iotDebugFunctionPost(url,obj){
  285. const { data } = await iotDebugFunctionPost(url,obj);
  286. this.$set(this.debugDataList[this.debugIndex],'response',JSON.stringify(data));
  287. if(data.code == 200){
  288. this.$set(this.debugDataList[this.debugIndex],'featureType',1);
  289. }else{
  290. this.$set(this.debugDataList[this.debugIndex],'featureType',2);
  291. }
  292. this.iotHardwareDetail();
  293. },
  294. //get调试
  295. async iotDebugFunctionGet(url,obj){
  296. const { data } = await iotDebugFunctionGet(url,obj);
  297. this.$set(this.debugDataList[this.debugIndex],'response',JSON.stringify(data));
  298. if(data.code == 200){
  299. this.$set(this.debugDataList[this.debugIndex],'featureType',1);
  300. }else{
  301. this.$set(this.debugDataList[this.debugIndex],'featureType',2);
  302. }
  303. this.iotHardwareDetail();
  304. },
  305. //硬件详情
  306. async iotHardwareDetail(){
  307. const { data } = await iotHardwareDetail({id:this.newData.id});
  308. console.log('data'),data
  309. if(data.code == 200){
  310. this.$set(this.newData,'operatingState',data.data.operatingState);
  311. }
  312. },
  313. //查看debug数据
  314. lookDebugInfo(item){
  315. if(item.featureType != 0){
  316. let obj = {
  317. name:item.name,
  318. remark:item.remark,
  319. reqApi:item.reqApi,
  320. reqMethod:item.reqMethod,
  321. response:item.response,
  322. dataList:[],
  323. }
  324. let dataList = JSON.parse(item.reqParams);
  325. for(let i=0;i<dataList.length;i++){
  326. if(dataList[i].keyType == 'data'){
  327. obj.dataList.push({
  328. key:dataList[i].keyName,
  329. value:this.newData[dataList[i].keyName]?this.newData[dataList[i].keyName]:'',
  330. })
  331. }else if(dataList[i].keyType == 'argument'){
  332. obj.dataList.push({
  333. key:dataList[i].keyName,
  334. value:dataList[i].keyArgument?dataList[i].keyArgument:'',
  335. })
  336. }else if(dataList[i].keyType == 'file'){
  337. obj.dataList.push({
  338. key:dataList[i].keyName,
  339. value:dataList[i].keyFile?uni.getStorageSync('fileBrowseEnvironment') + dataList[i].keyFile:'',
  340. })
  341. }
  342. }
  343. this.shadeOpen(obj,2);
  344. }
  345. },
  346. //状态选中
  347. typeListChange(event){
  348. this.$set(this,'typeName',event.target.value == 0?'成功':'失败');
  349. this.$set(this.queryParams,'state',event.target.value == 0?true:false);
  350. },
  351. //查询按钮
  352. handleQuery(){
  353. this.$set(this.queryParams,'page',1);
  354. this.getList();
  355. },
  356. //重置按钮
  357. resetQuery(){
  358. this.$set(this,'typeListIndex',0);
  359. this.$set(this,'typeName','');
  360. this.$set(this,'queryParams',{
  361. page:1,
  362. pageSize:10,
  363. state:null,
  364. });
  365. this.getList();
  366. },
  367. //翻页
  368. paginationButton(type){
  369. if(type == 1){
  370. if(this.queryParams.page != 1){
  371. this.queryParams.page--
  372. this.getList();
  373. }
  374. }else if(type == 2){
  375. if(this.queryParams.page != this.pages && this.queryParams.page < this.pages){
  376. this.queryParams.page++
  377. this.getList();
  378. }
  379. }
  380. },
  381. //获取物联设备列表
  382. async getList(){
  383. let obj = JSON.parse(JSON.stringify(this.queryParams))
  384. obj.hardwareId = this.newData.id;
  385. const {data} = await iotHardwareLogList(obj);
  386. if(data.code==200){
  387. this.$set(this,'pages',data.data.pages);
  388. this.$set(this,'dataList',data.data.records);
  389. }
  390. },
  391. //开启弹窗
  392. shadeOpen(item,type){
  393. this.$set(this,'shadeData',item);
  394. this.$set(this,'shadeType',type);
  395. },
  396. //关闭弹窗
  397. shadeOff(){
  398. this.$set(this,'shadeType',0);
  399. this.$set(this,'shadeData',{});
  400. },
  401. }
  402. }
  403. </script>
  404. <style lang="stylus" scoped>
  405. #iotDevice-info-page {
  406. display: flex;
  407. flex: 1;
  408. flex-direction: column;
  409. overflow: hidden;
  410. .info-title-max-big-box{
  411. height:250rpx;
  412. background-color: #fff;
  413. font-size:30rpx;
  414. padding:20rpx 30rpx;
  415. .info-title-name-box{
  416. display: flex;
  417. view{
  418. line-height:50rpx;
  419. }
  420. view:nth-child(1){
  421. flex: 1;
  422. }
  423. view:nth-child(2){
  424. margin:5rpx 0;
  425. height:40rpx;
  426. line-height:40rpx;
  427. font-size:26rpx;
  428. width:100rpx;
  429. text-align: center;
  430. color:#fff;
  431. border-radius:8rpx;
  432. }
  433. .online-1{
  434. background-color:#14AE10;
  435. }
  436. .online-2{
  437. background-color:#999;
  438. }
  439. .state-1{
  440. background-color:#0183FA;
  441. }
  442. .state-2{
  443. background-color:#999;
  444. }
  445. }
  446. .info-title-text{
  447. line-height:50rpx;
  448. span{
  449. display: inline-block;
  450. // width:160rpx;
  451. }
  452. }
  453. }
  454. .info-button-max-big-box{
  455. display: flex;
  456. .info-button-view{
  457. background-color: #999;
  458. color:#fff;
  459. line-height:60rpx;
  460. height:60rpx;
  461. flex:1;
  462. text-align: center;
  463. font-size:28rpx;
  464. }
  465. .info-button-check{
  466. background-color: #0183FA !important;
  467. }
  468. }
  469. .info-log-max-big-box{
  470. flex:1;
  471. display:flex;
  472. flex-direction: column;
  473. overflow-x: hidden;
  474. .query-max-big-box{
  475. height:80rpx;
  476. background-color: #fff;
  477. display: flex;
  478. font-size:28rpx;
  479. .query-input-box{
  480. display: flex;
  481. margin:10rpx 0 0 20rpx;
  482. .query-input{
  483. padding:0 20rpx;
  484. height:60rpx;
  485. line-height:60rpx;
  486. font-size:26rpx;
  487. border-radius:8rpx;
  488. border:1px solid #dedede;
  489. }
  490. .query-input-placeholder{
  491. color: #999 !important;
  492. }
  493. }
  494. .query-button-one{
  495. margin:10rpx 0 0 10rpx;
  496. background-color: #0183FA;
  497. color:#fff;
  498. border-radius:8rpx;
  499. width:160rpx;
  500. height:62rpx;
  501. line-height:62rpx;
  502. text-align: center;
  503. font-size:28rpx;
  504. }
  505. .query-button-two{
  506. margin:10rpx;
  507. background-color: #999;
  508. color:#fff;
  509. border-radius:8rpx;
  510. width:160rpx;
  511. height:62rpx;
  512. line-height:62rpx;
  513. text-align: center;
  514. font-size:28rpx;
  515. }
  516. .query-button-three{
  517. margin:10rpx 10rpx 0 0;
  518. background-color: #409EFF;
  519. color:#fff;
  520. border-radius:8rpx;
  521. width:100rpx;
  522. height:62rpx;
  523. line-height:62rpx;
  524. text-align: center;
  525. font-size:28rpx;
  526. }
  527. }
  528. .list-max-big-box{
  529. flex:1;
  530. overflow-x: hidden;
  531. overflow-y: scroll;
  532. margin:20rpx;
  533. .list-max-big-null{
  534. font-size:28rpx;
  535. text-align:center;
  536. line-height:100rpx;
  537. color:#999;
  538. }
  539. .for-list-max-big-box{
  540. background-color: #fff;
  541. color:#333;
  542. font-size:30rpx;
  543. margin-bottom:20rpx;
  544. border-radius:8rpx;
  545. .for-list-title-box{
  546. display: flex;
  547. border-bottom:1rpx solid #dedede;
  548. padding:20rpx;
  549. view{
  550. line-height:50rpx;
  551. font-size:28rpx;
  552. }
  553. view:nth-child(1){
  554. flex:1;
  555. }
  556. view:nth-child(2){
  557. width:140rpx;
  558. }
  559. view:nth-child(3){
  560. width:240rpx;
  561. }
  562. .stateColorA{
  563. color:#14AE10;
  564. }
  565. .stateColorB{
  566. color:#FF6666;
  567. }
  568. }
  569. .for-list-remark-box{
  570. display: flex;
  571. .for-list-remark{
  572. padding:20rpx;
  573. line-height:50rpx;
  574. font-size:28rpx;
  575. flex:1;
  576. display:block;
  577. overflow:hidden;
  578. text-overflow:ellipsis;
  579. white-space:nowrap;
  580. }
  581. .for-list-button{
  582. margin:20rpx 20rpx 0 0;
  583. border-radius:8rpx;
  584. width:120rpx;
  585. height:50rpx;
  586. line-height:50rpx;
  587. text-align: center;
  588. font-size:28rpx;
  589. background-color:#409EFF ;
  590. color: #fff;
  591. }
  592. }
  593. }
  594. }
  595. .pagination-max-big-box{
  596. height:80rpx;
  597. background-color: #fff;
  598. display: flex;
  599. .pagination-button{
  600. margin:10rpx;
  601. border-radius:8rpx;
  602. width:140rpx;
  603. height:60rpx;
  604. line-height:60rpx;
  605. text-align: center;
  606. font-size:28rpx;
  607. background-color:#0183FA;
  608. color:#fff;
  609. }
  610. .pagination-num{
  611. flex:1;
  612. text-align: center;
  613. line-height:80rpx;
  614. }
  615. .pagination-color{
  616. background-color: #dedede;
  617. }
  618. }
  619. }
  620. .info-feature-max-big-box{
  621. flex:1;
  622. overflow-x: hidden;
  623. overflow-y: scroll;
  624. .schedule-box{
  625. padding-bottom:10rpx;
  626. .schedule-min-box{
  627. border:1rpx solid #999;
  628. padding:2rpx;
  629. border-radius:20rpx;
  630. height:20rpx;
  631. margin:40rpx 40rpx 0 50rpx;
  632. view{
  633. height:20rpx;
  634. border-radius:20rpx;
  635. background-color: #00a0e9;
  636. }
  637. }
  638. .schedule-title-box{
  639. height:30rpx;
  640. line-height:30rpx;
  641. text-align: center;
  642. font-size:24rpx;
  643. margin:10rpx 0;
  644. }
  645. }
  646. .info-feature-for-box{
  647. display: flex;
  648. background-color: #fff;
  649. font-size:28rpx;
  650. height:100rpx;
  651. margin:0 30rpx 10rpx;
  652. border-radius:12rpx;
  653. image{
  654. width:60rpx;
  655. height:60rpx;
  656. margin:20rpx;
  657. }
  658. .info-feature-for-title-box{
  659. padding:10rpx 0;
  660. flex:1;
  661. view{
  662. color:#333;
  663. line-height:40rpx;
  664. }
  665. view:nth-child(1){
  666. font-size:28rpx;
  667. }
  668. view:nth-child(2){
  669. font-size:24rpx;
  670. }
  671. }
  672. .info-feature-for-type-box{
  673. width:200rpx;
  674. font-size:26rpx;
  675. font-weight:700;
  676. line-height:100rpx;
  677. text-align: center;
  678. }
  679. .colorA{
  680. color:#24B276;
  681. }
  682. .colorB{
  683. color:#FF6666;
  684. }
  685. .colorC{
  686. color:#FF9000;
  687. }
  688. }
  689. }
  690. .info-deBug-max-big-box{
  691. flex:1;
  692. overflow-x: hidden;
  693. overflow-y: scroll;
  694. padding:30rpx 0;
  695. .info-deBug-max-big-null{
  696. font-size:28rpx;
  697. text-align:center;
  698. line-height:100rpx;
  699. color:#999;
  700. }
  701. .info-deBug-for-box{
  702. display: flex;
  703. background-color: #fff;
  704. font-size:28rpx;
  705. height:100rpx;
  706. margin:0 30rpx 10rpx;
  707. border-radius:12rpx;
  708. image{
  709. width:60rpx;
  710. height:60rpx;
  711. margin:20rpx;
  712. }
  713. .info-deBug-for-title-box{
  714. padding:10rpx 0;
  715. flex:1;
  716. view{
  717. color:#333;
  718. line-height:40rpx;
  719. }
  720. view:nth-child(1){
  721. font-size:28rpx;
  722. }
  723. view:nth-child(2){
  724. font-size:24rpx;
  725. }
  726. }
  727. .info-deBug-for-type-box{
  728. width:80rpx;
  729. font-size:26rpx;
  730. font-weight:700;
  731. line-height:100rpx;
  732. }
  733. .colorA{
  734. color:#24B276;
  735. }
  736. .colorB{
  737. color:#FF6666;
  738. }
  739. .colorC{
  740. color:#FF9000;
  741. }
  742. .info-deBug-for-button{
  743. view{
  744. margin:25rpx 25rpx 25rpx 0;
  745. height:50rpx;
  746. line-height:50rpx;
  747. font-size:28rpx;
  748. width:120rpx;
  749. text-align: center;
  750. cursor: pointer;
  751. border-radius:4rpx;
  752. }
  753. .buttonTypeA{
  754. border:1px solid #0183FA;
  755. background-color: #0183FA;
  756. color:#fff;
  757. }
  758. .buttonTypeB{
  759. border:1px solid #999999;
  760. background-color: #999999;
  761. color:#fff;
  762. }
  763. }
  764. }
  765. }
  766. .info-feature-button-box{
  767. display: flex;
  768. .info-feature-button-null{
  769. flex:1;
  770. }
  771. .info-feature-button{
  772. margin:20rpx 0;
  773. width:160rpx;
  774. height:60rpx;
  775. line-height:60rpx;
  776. background-color: #0183FA;
  777. color:#fff;
  778. text-align: center;
  779. font-size:24rpx;
  780. border-radius:12rpx;
  781. margin-top:30rpx;
  782. }
  783. }
  784. .info-positon-max-big-box{
  785. z-index:100;
  786. position: absolute;
  787. bottom:0;
  788. left:0;
  789. width:100%;
  790. height:100%;
  791. background-color: rgba(0,0,0,0.6);
  792. .info-positon-big-box{
  793. width:80%;
  794. height:80%;
  795. margin-left:10%;
  796. margin-top:10%;
  797. border-radius:16rpx;
  798. display: flex;
  799. flex-direction:column;
  800. overflow-x: hidden;
  801. overflow-y: scroll;
  802. background-color: #fff;
  803. .info-positon-box{
  804. flex:1;
  805. overflow-x: hidden;
  806. overflow-y: scroll;
  807. .info-positon-text-box{
  808. view:nth-child(1){
  809. padding:10rpx 20rpx;
  810. background-color: #eeeeee;
  811. font-size:28rpx;
  812. }
  813. .info-positon-text{
  814. padding:20rpx 40rpx;
  815. word-wrap: break-word;
  816. font-size:26rpx;
  817. }
  818. }
  819. .info-positon-text-for-box{
  820. padding-bottom:10rpx;
  821. view:nth-child(1){
  822. padding:10rpx 20rpx;
  823. background-color: #eeeeee;
  824. font-size:28rpx;
  825. margin-bottom:10rpx;
  826. }
  827. .info-positon-text-for{
  828. padding:10rpx 40rpx;
  829. word-wrap: break-word;
  830. line-height:26rpx;
  831. font-size:26rpx;
  832. }
  833. }
  834. }
  835. .info-positon-button-box{
  836. border-top:1px solid #dedede;
  837. view{
  838. background-color: #999;
  839. color:#fff;
  840. text-align: center;
  841. line-height:60rpx;
  842. height:60rpx;
  843. font-size:28rpx;
  844. width:160rpx;
  845. margin:10rpx auto;
  846. border-radius:12rpx;
  847. }
  848. }
  849. }
  850. }
  851. }
  852. </style>