hiddenDangerItemsDetail.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713
  1. <!-- 检查详情 -->
  2. <template>
  3. <view class="snapshotDetail">
  4. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  5. <!-- <view class="tip" v-if="pageType==0">{{optionData.checkPlanSetVoList.checkName}}</view>
  6. <view class="tip-tow" v-if="pageType==1 || pageType==2">{{optionData.checkPlanSetVoList.checkName}}</view> -->
  7. <view class="lotName" :class="pageType != 0?'lotNameOne':''" v-if="lotName">{{lotName}}</view>
  8. <view class="items">
  9. <view class="items-t" v-if="newData.hazardCheckName!=''">
  10. <view class="items-t-r">{{newData.hazardCheckCode}} {{newData.hazardCheckName}}</view>
  11. </view>
  12. <view class="items-b" v-if="newData.hazardCheckName!=''">< {{newData.hazardCheckCode2}}
  13. {{newData.hazardCheckName2}} < {{newData.hazardCheckCode1}} {{newData.hazardCheckName1}}
  14. </view>
  15. </view>
  16. <view class="items-number" v-if="newData.hazardCheckName!=''" @click="hiddenDangerClick()">
  17. 此检查项在当前实验室累计出现<text>{{hazardCheckNum}}</text>次隐患</view>
  18. <view class="list">
  19. <!-- <view class="list-li" v-if="newData.hazardCheckName!=''" @click="inspectDot()">
  20. <view>检查要点</view>
  21. <view>
  22. <img v-if="!newData.inspectDot" src="@/pages_safetyCheck/images/icon_06.png">
  23. <img v-if="newData.inspectDot" src="@/pages_safetyCheck/images/icon_06_1.png">
  24. </view>
  25. </view>
  26. <view v-if="newData.hazardCheckName!='' && newData.inspectDot" class="hidden-content">{{newData.hazardCheckPoint}}
  27. </view> -->
  28. <view class="list-li" @click="checkCollapse()">
  29. <view>{{newData.checkFlag?'检查结果':'检查隐患'}}</view>
  30. <view :id="newData.checkFlag?'fontColor-B':'fontColor-C'">
  31. {{newData.checkFlag?'符合':'不符合'}}
  32. <img v-if="!newData.checkCollapse" src="@/pages_safetyCheck/images/icon_06.png">
  33. <img v-if="newData.checkCollapse" src="@/pages_safetyCheck/images/icon_06_1.png">
  34. </view>
  35. </view>
  36. <view v-if="newData.checkCollapse">
  37. <view class="hidden-content" v-if="!newData.checkFlag">{{newData.hazardDescribe}}
  38. </view>
  39. <view v-if="pageType==0" class="photo" @click="lockImg(newData.photoList)">
  40. <img v-for="(item,index) in newData.photoList" :src="baseUrl+item.fileUrl">
  41. </view>
  42. <view v-if="pageType==1 || pageType==2" class="photo" @click="lockImg(newData.yhDtoList)">
  43. <img v-for="(item,index) in newData.yhDtoList" :src="baseUrl+item.fileUrl">
  44. </view>
  45. <view class="list-li">
  46. <view>姓名:</view>
  47. <view>{{newData.checkUserName}}</view>
  48. </view>
  49. <view class="list-li">
  50. <view>检查时间</view>
  51. <view>{{newData.checkTime}}</view>
  52. </view>
  53. </view>
  54. <view v-if="pageType==1 || pageType==2" v-for="(item,index) in newData.checkRectifyVoList" :key="index">
  55. <view class="list-li" v-if="item.rectifyTime" @click="rectifyCollapse(item)">
  56. <view>隐患整改</view>
  57. <view :id="item.rectifyResult?'fontColor-B':(item.rectifyResult?'fontColor-C':'')">
  58. {{item.rectifyResult?'已整改':(item.rectifyResult?'暂无法整改':'')}}
  59. <img v-if="!item.rectifyCollapse" src="@/pages_safetyCheck/images/icon_06.png">
  60. <img v-if="item.rectifyCollapse" src="@/pages_safetyCheck/images/icon_06_1.png">
  61. </view>
  62. </view>
  63. <view v-if="item.rectifyCollapse && item.rectifyTime">
  64. <view v-if="item.rectifyMeasure" class="hidden-content">{{item.rectifyMeasure}}
  65. </view>
  66. <view class="photo" @click="lockImg(item.rectifyUploadList)">
  67. <img v-for="(item2,index2) in item.rectifyUploadList" :src="baseUrl+item2.fileUrl">
  68. </view>
  69. <view class="list-li">
  70. <view>姓名:</view>
  71. <view>{{item.rectifyName}}</view>
  72. </view>
  73. <view class="list-li">
  74. <view>整改时间</view>
  75. <view>{{item.rectifyTime}}</view>
  76. </view>
  77. </view>
  78. <view class="list-li" v-if="item.reviewTime" @click="reviewCollapse(item)">
  79. <view>复查验证</view>
  80. <view :id="item.examineResult?'fontColor-B':'fontColor-C'">
  81. {{item.examineResult?'复查完毕':'退回整改'}}
  82. <img v-if="!item.reviewCollapse" src="@/pages_safetyCheck/images/icon_06.png">
  83. <img v-if="item.reviewCollapse" src="@/pages_safetyCheck/images/icon_06_1.png">
  84. </view>
  85. </view>
  86. <view v-if="item.reviewCollapse && item.reviewTime">
  87. <view v-if="item.examineOpinion" class="hidden-content" >{{item.examineOpinion}}
  88. </view>
  89. <view class="photo" @click="lockImg(item.examineUploadList)">
  90. <img v-for="(item3,index3) in item.examineUploadList" :src="baseUrl+item3.fileUrl">
  91. </view>
  92. <view class="list-li">
  93. <view>姓名:</view>
  94. <view>{{item.reviewName}}</view>
  95. </view>
  96. <view class="list-li">
  97. <view>复查时间</view>
  98. <view>{{item.reviewTime}}</view>
  99. </view>
  100. </view>
  101. </view>
  102. </view>
  103. </scroll-view>
  104. <view class="sub-btn" v-if="pageType==0 && newData.checkSetProgress !=100 && !hiddenDangerRecordStatus">
  105. <view @click="submitBtn(1)">编辑</view>
  106. <view @click="submitBtn(2)">继续检查</view>
  107. </view>
  108. <!-- <view class="sub-btn" v-if="pageType==1 && !hiddenDangerRecordStatus">
  109. <view @click="submitBtn(1)">编辑</view>
  110. <view @click="submitBtn(2)">继续复查</view>
  111. </view> -->
  112. <view class="sub-btn-tow" v-if="pageType==1 && !hiddenDangerRecordStatus" @click="submitBtn(2)">继续复查</view>
  113. <view class="sub-btn" v-if="pageType==2 && !hiddenDangerRecordStatus && !newData.finishRectify">
  114. <view @click="submitBtn(1)">编辑</view>
  115. <view @click="submitBtn(2)">继续整改</view>
  116. </view>
  117. <view v-if="pageType==0 && newData.checkSetProgress ==100 && !hiddenDangerRecordStatus" @click="submitBtn(2)" class="sub-btn-tow">继续检查</view>
  118. </view>
  119. </template>
  120. <script>
  121. import {
  122. config
  123. } from '@/api/request/config.js'
  124. import {
  125. parseTime
  126. } from '@/component/public.js'
  127. import {
  128. securityAppCheckPlanCheckInfo,
  129. securityDraftFindBySetOptionId,
  130. securityAppCheckPhotoGetCheckNumBySub,
  131. securityAppCheckDangerGetCheckProDetail,
  132. } from '@/pages_safetyCheck/api/index.js'
  133. export default {
  134. name: "snapshotDetail",
  135. components: {
  136. },
  137. data() {
  138. return {
  139. baseUrl: config.base_url,
  140. inspectionItems: 0, //0有检查项 1无检查项
  141. newData: {},
  142. setOptionId: '',
  143. manageId: '',
  144. subId: '',
  145. hazardCheckPro: '',
  146. hazardCheckNum: 0,
  147. pageType: 0, //0检查 1复查 2整改
  148. itemsStatus:'',
  149. optionData:null,
  150. lotName: null,
  151. hiddenDangerRecordStatus: null,//判断是否是从隐患列表页面跳转过来
  152. }
  153. },
  154. onLoad(option) {
  155. let optionData = JSON.parse(decodeURIComponent(option.infoData));
  156. console.log('详情',optionData)
  157. this.$set(this, 'pageType', optionData.pageType);
  158. this.$set(this, 'itemsStatus', optionData.itemsStatus);
  159. this.$set(this, 'setOptionId', optionData.setOptionId);
  160. this.$set(this, 'manageId', optionData.manageId);
  161. this.$set(this, 'subId', optionData.subId);
  162. this.$set(this, 'hazardCheckPro', optionData.hazardCheckPro);
  163. this.$set(this, 'hiddenDangerRecordStatus', optionData.hiddenDangerRecordStatus);
  164. this.$set(this, 'optionData', optionData);
  165. this.$set(this, 'lotName',
  166. optionData.pageType == 0 ? optionData.checkPlanSetVoList.checkName : (
  167. optionData.checkPlanSetVoList.overdueUnrectify ? '整改期限' + optionData.checkPlanSetVoList
  168. .rectifyDeadline +
  169. '(逾期未完成整改关闭实验室)' : '整改期限' + optionData.checkPlanSetVoList.rectifyDeadline));
  170. },
  171. onShow() {
  172. },
  173. mounted() {
  174. if(this.pageType==0){
  175. //检查
  176. if(this.itemsStatus==0 || this.itemsStatus==1){
  177. //开始检查-提交的详情
  178. this.securityAppCheckPlanCheckInfo();
  179. }else if(this.itemsStatus==2){
  180. //保存草稿详情
  181. this.securityDraftFindBySetOptionId();
  182. }
  183. }else if(this.pageType==1 || this.pageType==2){
  184. //复查-整改
  185. this.securityAppCheckDangerGetCheckProDetail();
  186. }
  187. this.securityAppCheckPhotoGetCheckNumBySub();
  188. },
  189. methods: {
  190. //滚动事件
  191. scrollGet() {},
  192. //获取检查提交详情
  193. async securityAppCheckPlanCheckInfo() {
  194. let obj = {
  195. setOptionId: this.setOptionId,
  196. manageId: this.manageId,
  197. }
  198. const {
  199. data
  200. } = await securityAppCheckPlanCheckInfo(obj);
  201. if (data.code == 200) {
  202. uni.setNavigationBarTitle({
  203. title: data.data.subName + '(' + (this.pageType == 0 ? data.data.roomNum?data.data.roomNum:'-' : data.data
  204. .subRoom?data.data.subRoom:'-') + ')'
  205. })
  206. data.data.checkCollapse=true;
  207. data.data.inspectDot=false;
  208. this.$set(this, 'newData', data.data);
  209. this.$set(this.newData, 'checkTime', parseTime(data.data.checkTime, "{y}-{m}-{d}"));
  210. }
  211. },
  212. //获取草稿详情
  213. async securityDraftFindBySetOptionId() {
  214. let obj = {
  215. setOptionId: this.setOptionId,
  216. }
  217. const {
  218. data
  219. } = await securityDraftFindBySetOptionId(obj);
  220. if (data.code == 200) {
  221. uni.setNavigationBarTitle({
  222. title: this.optionData.subName + '(' + (this.pageType == 0 ? this.optionData.roomNum?this.optionData.roomNum:'-' : this.optionData.subRoom?this.optionData.subRoom:'-') + ')'
  223. })
  224. data.data.checkCollapse=true;
  225. data.data.inspectDot=false;
  226. this.$set(this, 'newData', data.data);
  227. this.$set(this.newData, 'checkPlanSetVoList', this.optionData.checkPlanSetVoList);
  228. this.$set(this.newData, 'subName', this.optionData.subName);
  229. this.$set(this.newData, 'roomNum', this.optionData.roomNum);
  230. this.$set(this.newData, 'checkTime', parseTime(data.data.checkTime, "{y}-{m}-{d}"));
  231. }
  232. },
  233. //整改详情
  234. async securityAppCheckDangerGetCheckProDetail() {
  235. let obj = {
  236. planId: this.optionData.checkPlanSetVoList.planId,
  237. planSetId: this.optionData.checkPlanSetVoList.planSetId,
  238. checkCategory: this.optionData.checkCategory,
  239. hazardCheckPro: this.optionData.hazardCheckPro,
  240. subId: this.optionData.subId,
  241. }
  242. const {
  243. data
  244. } = await securityAppCheckDangerGetCheckProDetail(obj);
  245. if (data.code == 200) {
  246. uni.setNavigationBarTitle({
  247. title: data.data.subName + '(' + data.data.roomNum + ')'
  248. })
  249. data.data.checkCollapse=false;
  250. data.data.inspectDot=false;
  251. data.data.checkTime= parseTime(data.data.checkTime, "{y}-{m}-{d}");
  252. data.data.checkRectifyVoList.forEach(function(item,index){
  253. item.rectifyTime= parseTime(item.rectifyTime, "{y}-{m}-{d}");
  254. item.reviewTime= parseTime(item.reviewTime, "{y}-{m}-{d}");
  255. item.rectifyCollapse=false;
  256. item.reviewCollapse=false;
  257. if(index==data.data.checkRectifyVoList.length-1){
  258. item.rectifyCollapse=true;
  259. item.reviewCollapse=true;
  260. }
  261. })
  262. this.$set(this, 'newData', data.data);
  263. }
  264. },
  265. //获取检查项在当前实验室出现的次数
  266. async securityAppCheckPhotoGetCheckNumBySub() {
  267. let obj = {
  268. subId: this.subId,
  269. hazardCheckPro: this.hazardCheckPro,
  270. }
  271. const {
  272. data
  273. } = await securityAppCheckPhotoGetCheckNumBySub(obj);
  274. if (data.code == 200) {
  275. this.$set(this, 'hazardCheckNum', data.data);
  276. }
  277. },
  278. hiddenDangerClick(row) {
  279. if(!this.hiddenDangerRecordStatus){
  280. let infoData = this.optionData;
  281. infoData.subName=this.newData.subName;
  282. infoData.roomNum=this.newData.roomNum;
  283. infoData.hiddenDangerRecordStatus = true;//判断是否跳转隐患列表
  284. uni.redirectTo({
  285. url: '/pages_safetyCheck/views/inspectManage/hiddenDangerRecord?infoData=' +
  286. encodeURIComponent(JSON.stringify(infoData))
  287. });
  288. }
  289. },
  290. //检查-按钮
  291. submitBtn(status) {
  292. if (status == 1) {
  293. //编辑
  294. if(this.pageType==0){
  295. //检查
  296. let infoData = this.optionData;
  297. if(this.itemsStatus==2){
  298. infoData.checkDraftVo={
  299. checkStatus:2,
  300. }
  301. }
  302. infoData.editStatus = true;
  303. uni.redirectTo({
  304. url: '/pages_safetyCheck/views/inspectManage/inspectAdd?infoData=' + encodeURIComponent(
  305. JSON
  306. .stringify(infoData))
  307. });
  308. }else if(this.pageType==1){
  309. //复核
  310. let infoData = {
  311. subId: this.subId,
  312. hazardCheckPro: this.hazardCheckPro,
  313. checkCategory:this.optionData.checkCategory,
  314. pageType: this.pageType,
  315. itemsStatus: this.itemsStatus,
  316. checkPlanSetVoList: this.optionData.checkPlanSetVoList,
  317. editStatus:true,
  318. };
  319. uni.redirectTo({
  320. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerRectification?infoData=' + encodeURIComponent(
  321. JSON
  322. .stringify(infoData))
  323. });
  324. }else if(this.pageType==2){
  325. //整改
  326. let infoData = {
  327. subId: this.subId,
  328. hazardCheckPro: this.hazardCheckPro,
  329. checkCategory:this.optionData.checkCategory,
  330. pageType: this.pageType,
  331. itemsStatus: this.itemsStatus,
  332. checkPlanSetVoList: this.optionData.checkPlanSetVoList,
  333. editStatus:true,
  334. };
  335. uni.redirectTo({
  336. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerRectification?infoData=' + encodeURIComponent(
  337. JSON
  338. .stringify(infoData))
  339. });
  340. }
  341. } else if (status == 2) {
  342. //继续检查
  343. let infoData = this.optionData;
  344. uni.redirectTo({
  345. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' +
  346. encodeURIComponent(JSON
  347. .stringify(infoData))
  348. });
  349. }
  350. },
  351. //图片预览
  352. lockImg(list) {
  353. if (!list[0]) {
  354. return
  355. }
  356. let urlList = [];
  357. for (let i = 0; i < list.length; i++) {
  358. urlList.push(config.base_url + list[i].fileUrl)
  359. }
  360. wx.previewImage({
  361. urls: urlList, //需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
  362. current: '', // 当前显示图片的http链接,默认是第一个
  363. success: function(res) {},
  364. fail: function(res) {},
  365. complete: function(res) {},
  366. })
  367. },
  368. //折叠展开
  369. inspectDot(){
  370. this.newData.inspectDot=!this.newData.inspectDot
  371. },
  372. checkCollapse(row){
  373. this.newData.checkCollapse=!this.newData.checkCollapse
  374. },
  375. rectifyCollapse(row){
  376. row.rectifyCollapse=!row.rectifyCollapse
  377. },
  378. reviewCollapse(row){
  379. row.reviewCollapse=!row.reviewCollapse
  380. },
  381. }
  382. }
  383. </script>
  384. <style lang="stylus" scoped>
  385. .snapshotDetail {
  386. height: 100%;
  387. display flex;
  388. box-sizing: border-box;
  389. padding-bottom: 160rpx;
  390. box-sizing: border-box;
  391. #bgColor-A {
  392. color: #FFD400;
  393. }
  394. #bgColor-B {
  395. color: #FF8C00;
  396. }
  397. #bgColor-C {
  398. color: #E11608;
  399. }
  400. #fontColor-A {
  401. color: #0183FA;
  402. }
  403. #fontColor-B {
  404. color: #16B531;
  405. }
  406. #fontColor-C {
  407. color: #FF8C00;
  408. }
  409. .tip {
  410. width: 750rpx;
  411. height: 80rpx;
  412. background: rgba(1, 131, 250, 0.2);
  413. border-radius: 0rpx 0rpx 0rpx 0rpx;
  414. font-size: 30rpx;
  415. color: #0183FA;
  416. line-height: 80rpx;
  417. text-align: center;
  418. }
  419. .tip-tow {
  420. width: 750rpx;
  421. height: 80rpx;
  422. background: rgba(255, 140, 0, 0.2);
  423. border-radius: 0rpx 0rpx 0rpx 0rpx;
  424. font-size: 30rpx;
  425. color: #FF8C00;
  426. line-height: 80rpx;
  427. text-align: center;
  428. }
  429. .lotName {
  430. height: 70rpx;
  431. line-height: 70rpx;
  432. font-size: 28rpx;
  433. background: rgba(1, 131, 250, 0.2);
  434. color: #0183FA;
  435. text-align: center;
  436. }
  437. .lotNameOne {
  438. background: #F7E0C4;
  439. color: #FF8C00;
  440. }
  441. .items {
  442. width: 690rpx;
  443. min-height: 165rpx;
  444. background: #FFFFFF;
  445. border-radius: 20rpx 20rpx 20rpx 20rpx;
  446. margin: 20rpx 0 0 30rpx;
  447. .items-li {
  448. display: flex;
  449. justify-content: space-between;
  450. align-items: center;
  451. padding: 0 30rpx;
  452. box-sizing: border-box;
  453. border-bottom: 1rpx solid #E0E0E0;
  454. >view:nth-of-type(1) {
  455. font-size: 30rpx;
  456. color: #333333;
  457. line-height: 80rpx;
  458. text-align: left;
  459. }
  460. >view:nth-of-type(2) {
  461. font-size: 28rpx;
  462. color: #666666;
  463. line-height: 80rpx;
  464. text-align: left;
  465. display: flex;
  466. justify-content: space-between;
  467. align-items: center;
  468. }
  469. }
  470. .items-t {
  471. border-bottom: 1rpx solid #E0E0E0;
  472. height: 80rpx;
  473. display: flex;
  474. justify-content: flex-start;
  475. align-items: center;
  476. padding: 0 30rpx;
  477. box-sizing: border-box;
  478. .items-t-l {
  479. width: 175rpx;
  480. height: 50rpx;
  481. background: #E11608;
  482. border-radius: 50rpx 50rpx 50rpx 50rpx;
  483. font-size: 30rpx;
  484. color: #FFFFFF;
  485. line-height: 50rpx;
  486. text-align: center;
  487. margin-right: 14rpx;
  488. }
  489. .items-t-r {
  490. font-size: 30rpx;
  491. color: #333333;
  492. line-height: 42rpx;
  493. text-align: left;
  494. }
  495. }
  496. .items-b {
  497. padding: 0 30rpx;
  498. box-sizing: border-box;
  499. height: 80rpx;
  500. font-size: 28rpx;
  501. color: #666666;
  502. line-height: 80rpx;
  503. text-align: left;
  504. }
  505. }
  506. .items-number {
  507. font-size: 24rpx;
  508. color: #3D3D3D;
  509. line-height: 34rpx;
  510. text-align: right;
  511. margin: 20rpx 60rpx 0 0;
  512. >text {
  513. font-size: 24rpx;
  514. color: #FF0000;
  515. line-height: 34rpx;
  516. text-align: right;
  517. }
  518. }
  519. .list {
  520. width: 690rpx;
  521. margin: 20rpx 30rpx 0;
  522. background: #FFFFFF;
  523. border-radius: 20rpx 20rpx 20rpx 20rpx;
  524. .list-li {
  525. display: flex;
  526. justify-content: space-between;
  527. align-items: center;
  528. padding: 0 30rpx;
  529. box-sizing: border-box;
  530. border-bottom: 1rpx solid #E0E0E0;
  531. >view:nth-of-type(1) {
  532. font-size: 30rpx;
  533. color: #333333;
  534. line-height: 80rpx;
  535. text-align: left;
  536. }
  537. >view:nth-of-type(2) {
  538. font-size: 28rpx;
  539. color: #666666;
  540. line-height: 80rpx;
  541. text-align: left;
  542. display: flex;
  543. justify-content: space-between;
  544. align-items: center;
  545. >img {
  546. width: 24rpx;
  547. height: 12rpx;
  548. margin-left: 10rpx;
  549. }
  550. }
  551. }
  552. .file-li {
  553. display: flex;
  554. justify-content: space-between;
  555. align-items: center;
  556. padding: 0 30rpx;
  557. box-sizing: border-box;
  558. >img:nth-of-type(1) {
  559. width: 30rpx;
  560. height: 30rpx;
  561. }
  562. >view {
  563. flex: 1;
  564. font-size: 28rpx;
  565. color: #333333;
  566. line-height: 80rpx;
  567. text-align: left;
  568. margin: 0 92rpx 0 16rpx;
  569. overflow: hidden;
  570. text-overflow: ellipsis;
  571. white-space: nowrap;
  572. }
  573. >img:nth-of-type(2) {
  574. width: 30rpx;
  575. height: 30rpx;
  576. }
  577. }
  578. .hidden-content {
  579. width: 630rpx;
  580. min-height: 120rpx;
  581. background: #F5F5F5;
  582. border-radius: 20rpx 20rpx 20rpx 20rpx;
  583. margin: 20rpx 30rpx 0;
  584. padding: 20rpx;
  585. box-sizing: border-box;
  586. font-size: 28rpx;
  587. color: #666666;
  588. line-height: 39rpx;
  589. text-align: left;
  590. }
  591. .photo {
  592. display: flex;
  593. justify-content: flex-start;
  594. flex-wrap: wrap;
  595. margin-top: 20rpx;
  596. padding: 0 30rpx;
  597. box-sizing: border-box;
  598. >img {
  599. width: 150rpx;
  600. height: 150rpx;
  601. border-radius: 10rpx 10rpx 10rpx 10rpx;
  602. margin: 0 10rpx 10rpx 0;
  603. }
  604. >img:nth-of-type(4) {
  605. margin-right: 0;
  606. }
  607. }
  608. /* .list-li:last-of-type {
  609. border: none;
  610. } */
  611. }
  612. }
  613. .sub-btn {
  614. display: flex;
  615. justify-content: center;
  616. position: fixed;
  617. left: 30rpx;
  618. bottom: 30rpx;
  619. >view:nth-of-type(1) {
  620. width: 345rpx;
  621. height: 100rpx;
  622. background: #FF8C00;
  623. border-radius: 50rpx 0rpx 0rpx 50rpx;
  624. font-size: 30rpx;
  625. color: #FFFFFF;
  626. line-height: 100rpx;
  627. text-align: center;
  628. }
  629. >view:nth-of-type(2) {
  630. width: 345rpx;
  631. height: 100rpx;
  632. background: #0183FA;
  633. border-radius: 0rpx 50rpx 50rpx 0rpx;
  634. font-size: 30rpx;
  635. color: #FFFFFF;
  636. line-height: 100rpx;
  637. text-align: center;
  638. }
  639. }
  640. .sub-btn-tow {
  641. width: 686rpx;
  642. height: 100rpx;
  643. background: #0183FA;
  644. border-radius: 50rpx 50rpx 50rpx 50rpx;
  645. position: fixed;
  646. left: 30rpx;
  647. bottom: 30rpx;
  648. font-weight: 400;
  649. font-size: 30rpx;
  650. color: #FFFFFF;
  651. line-height: 100rpx;
  652. text-align: center;
  653. }
  654. </style>