hiddenDangerItemsDetail.vue 20 KB

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