historyDetails.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760
  1. <template>
  2. <view>
  3. <view class="uni-media-list">
  4. <view class="uni-media-list-body">
  5. <view v-for="(value, key) in dataJson.zEngineeringNodeBo.zEngineeringInfoBoList" :key="key"
  6. v-if="isEdit(value)">
  7. <view class="uni-media-list-text-top">
  8. <view class="tit-text">施工时间:</view>{{value.updateTime}}
  9. </view>
  10. <view class="uni-media-list-text-top" v-if="title=='拆旧管'">
  11. <view class="tit-text">腐蚀等级:</view>
  12. <view @click="pickerShow('fsdj',key)">
  13. {{getSelectName(value.zEngineeringMaterialBo[0].corrosionLevel)}}
  14. </view>
  15. </view>
  16. <view class="uni-media-list-text-top" v-if="title=='打孔'">
  17. <view class="tit-text">孔距:</view>
  18. <view @click="pickerShow('kj',key)">
  19. <!-- 123 -->
  20. {{getSelectName(value.zEngineeringMaterialBo[0].corrosionLevel)}}
  21. </view>
  22. </view>
  23. <view class="uni-media-list-text-top" v-if="title=='挂表'">
  24. <view class="tit-text">品牌:</view>
  25. <view @click="pickerShow('brand',key)">
  26. {{getSelectName(value.zEngineeringMaterialBo[0].brand)}}
  27. </view>
  28. </view>
  29. <view class="uni-media-list-text-top" v-if="title=='切断阀'||title=='报警器'">
  30. <view class="tit-text">厂家:</view>
  31. <view @click="pickerShow('brand',key)">
  32. {{getSelectName(value.zEngineeringMaterialBo[0].brand)}}
  33. </view>
  34. </view>
  35. <view class="" v-if="title=='立杠'||title=='表后管'">
  36. <view class="uni-media-list-text-top" style="border-bottom: 1px solid #f8f8f8;">
  37. <view class="tit-text">
  38. 材 质
  39. </view>
  40. <view class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('cz',key)">
  41. <span
  42. style="color: black;">{{value.zEngineeringMaterialBo[0].materialQualityName}}</span>
  43. </view>
  44. </view>
  45. <view class="uni-media-list-text-top" style="border-bottom: 1px solid #f8f8f8;">
  46. <view class="tit-text">
  47. 规 格
  48. </view>
  49. <view class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('gg',key)">
  50. <span
  51. style="color: black;">{{value.zEngineeringMaterialBo[0].specificationsName==''?'请选择规格':value.zEngineeringMaterialBo[0].specificationsName}}</span>
  52. </view>
  53. </view>
  54. <view class="uni-media-list-text-top" style="border-bottom: 1px solid #f8f8f8;">
  55. <text class="tit-text">米 数</text>
  56. <view style="display: flex; justify-content: right; width: 70%;">
  57. <input class="uni-input" type="number"
  58. :value="getIntegerPart(value.zEngineeringMaterialBo[0].number,0)"
  59. @change="setInfoBoNumber(key,$event.target.value,0)" maxlength="6"
  60. style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
  61. <text style="font-weight:bold;margin-left: 10px;margin-right: 10px;">.</text>
  62. <input class="uni-input" type="number"
  63. :value="getIntegerPart(value.zEngineeringMaterialBo[0].number,1)"
  64. @change="setInfoBoNumber(key,$event.target.value,1)" maxlength="1"
  65. style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
  66. </view>
  67. </view>
  68. </view>
  69. <view class="uni-list" style="margin-bottom: 20px;" v-if="title=='阀管'">
  70. <view class="uni-media-list-text-top" style="border-bottom: 1px solid #f8f8f8;">
  71. <view>
  72. 上门类型
  73. </view>
  74. <view class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('door',key)">
  75. <span style="color: black;">{{value.zEngineeringMaterialBo[0].visitType}}</span>
  76. </view>
  77. </view>
  78. <view class="uni-media-list-text-top" style="border-bottom: 1px solid #f8f8f8;">
  79. <view>
  80. 自闭阀厂家
  81. </view>
  82. <view class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('zbf',key)">
  83. <span
  84. style="color: black;">{{getSelectZBFName(value.zEngineeringMaterialBo[0].selfClosingValveType)}}</span>
  85. </view>
  86. </view>
  87. <view class="uni-media-list-text-top" style="border-bottom: 1px solid #f8f8f8;">
  88. <view>
  89. 灶具管厂家
  90. </view>
  91. <view class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('cz',key)">
  92. <span
  93. style="color: black;">{{value.zEngineeringMaterialBo[0].materialQualityName}}</span>
  94. </view>
  95. </view>
  96. <view class="uni-media-list-text-top" style="border-bottom: 1px solid #f8f8f8;">
  97. <view>
  98. 规 格
  99. </view>
  100. <view class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('gg',key)">
  101. <span
  102. style="color: black;">{{value.zEngineeringMaterialBo[0].specificationsName==''?'请选择规格':value.zEngineeringMaterialBo[0].specificationsName}}</span>
  103. </view>
  104. </view>
  105. </view>
  106. <view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px; margin-left: 10px;">
  107. <image :src="loadImgSrc('updateimg.png')" mode=""
  108. style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose(key)">
  109. </image>
  110. <view v-for="(item,index) in value.zEngiineeringPhotoBoList" :key="index"
  111. style="position: relative;">
  112. <view
  113. v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg'||item.substring(item.length-4)=='jpeg' ">
  114. <image :src="item" mode="" style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
  115. @click="showPhoto(index,value.zEngiineeringPhotoBoList)">
  116. </image>
  117. </view>
  118. <view v-else>
  119. <video :src="item" style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
  120. </view>
  121. <view @click="remove(index,key)"
  122. style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
  123. <image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
  124. </image>
  125. </view>
  126. </view>
  127. </view>
  128. <!-- </view> -->
  129. </view>
  130. </view>
  131. </view>
  132. <SelectPicker :list="selectList" @change="changeSelect" v-if="open" @close="close" titleKey="name"
  133. subtitleKey="id">
  134. </SelectPicker>
  135. <SelectPicker :list="dictOptions" @change="changeSelectDict" v-if="openDict" @close="closeDict"
  136. titleKey="dictLabel" subtitleKey="dictValue" v-model="name"></SelectPicker>
  137. <view class="action-btn" v-if="hideButton==false">
  138. <button @click="submit" class="btn cu-btn block bg-blue lg round">确认</button>
  139. </view>
  140. </view>
  141. </template>
  142. <script>
  143. import SelectPicker from '../../components/selectPicker/select_picker.vue'
  144. import {
  145. getDicts
  146. } from "@/api/system/dict/data";
  147. import {
  148. getToken
  149. } from '../../utils/auth';
  150. import user from '@/store/modules/user'
  151. import {
  152. getHistoryDetails,
  153. getEnginMaterialQualityList,
  154. putHistory,
  155. getEnginSpecificationsList
  156. } from '@/api/common'
  157. export default {
  158. components: {
  159. SelectPicker,
  160. },
  161. data() {
  162. return {
  163. selectZbfList: [],
  164. dictOptions: [],
  165. openDict: false,
  166. dataIndex: 0, //数据用第几条
  167. imageIndex: 0,
  168. headers: {
  169. Authorization: "Bearer " + getToken()
  170. },
  171. nodeId: '',
  172. type: '',
  173. title: '',
  174. dataJson: '',
  175. enginClassification: '',
  176. enginType: '',
  177. enginClassValue: '',
  178. selectList: [],
  179. open: false,
  180. chooseType: '',
  181. hideButton: false,
  182. }
  183. },
  184. onLoad(options) {
  185. if ('params' in options) {
  186. let e = JSON.parse(decodeURIComponent(options.params));
  187. this.nodeId = e.id;
  188. this.type = e.type;
  189. getHistoryDetails(this.nodeId, this.type).then(response => {
  190. if (response.data.zEngineeringNodeBo != null) {
  191. this.hideButton = false;
  192. this.dataJson = response.data;
  193. this.title = response.data.zEngineeringNodeBo.type;
  194. this.enginType = response.data.enginType;
  195. this.enginClassification = response.data.enginClassification;
  196. if (this.type == '阀管') {
  197. getEnginMaterialQualityList("民用工程", this.enginType, this.enginClassification, this
  198. .title,
  199. '自闭阀厂家')
  200. .then(
  201. response => {
  202. this.selectZbfList = response.data;
  203. this.selectList = this.selectZbfList;
  204. });
  205. } else {
  206. this.getFSDJLevel();
  207. }
  208. } else {
  209. this.hideButton = true;
  210. this.$modal.msg("暂无历史信息")
  211. }
  212. });
  213. }
  214. },
  215. methods: {
  216. //关闭弹窗
  217. closeDict(e) {
  218. this.openDict = false
  219. },
  220. remove(index, key) {
  221. uni.showModal({
  222. title: '提示',
  223. content: '是否删除该图片或视频?',
  224. success: (res) => {
  225. if (res.confirm) {
  226. this.dataJson.zEngineeringNodeBo
  227. .zEngineeringInfoBoList[key]
  228. .zEngiineeringPhotoBoList.splice(index, 1)
  229. }
  230. }
  231. })
  232. },
  233. choose(index1, index) {
  234. this.dataIndex = index1;
  235. let _this = this;
  236. uni.showActionSheet({
  237. title: '上传',
  238. itemList: ['图片', '视频'],
  239. success: (res) => {
  240. if (res.tapIndex == 0) {
  241. this.chooseimage()
  242. } else {
  243. this.choosevideo()
  244. }
  245. }
  246. })
  247. },
  248. chooseimage() {
  249. let _this = this;
  250. uni.chooseImage({
  251. sizeType: ['album', 'camera'],
  252. success(resp) {
  253. resp.tempFiles.forEach((item, index) => {
  254. const task = uni.uploadFile({
  255. url: _this.$HTTP + `/obs`,
  256. filePath: item.path,
  257. name: 'file',
  258. formData: {},
  259. header: _this.headers,
  260. success: res => {
  261. let data = JSON.parse(res.data);
  262. if (![200].includes(data.code)) {
  263. _this.$modal.msg(data.msg)
  264. } else {
  265. if (_this.progress === 100) {
  266. _this.dataJson.zEngineeringNodeBo
  267. .zEngineeringInfoBoList[_this.dataIndex]
  268. .zEngiineeringPhotoBoList.push(data.data.url);
  269. _this.$modal.msg('上传成功!')
  270. _this.photo = false;
  271. }
  272. }
  273. },
  274. fail: e => {
  275. _this.$modal.msg('上传失败!')
  276. },
  277. complete: res => {
  278. uni.hideLoading();
  279. _this.uploading = false;
  280. }
  281. });
  282. task.onProgressUpdate(res => {
  283. _this.progress = res.progress;
  284. uni.showLoading({
  285. title: '上传中'
  286. })
  287. if (_this.progress != 100) {
  288. _this.loading = false
  289. } else {
  290. _this.loading = true
  291. }
  292. });
  293. })
  294. },
  295. })
  296. },
  297. choosevideo() {
  298. let _this = this;
  299. uni.chooseVideo({
  300. sourceType: ['album', 'camera'],
  301. maxDuration: 30,
  302. success(resp) {
  303. const task = uni.uploadFile({
  304. url: _this.$HTTP + `/obs`,
  305. filePath: resp.tempFilePath,
  306. name: 'file',
  307. formData: {},
  308. header: _this.headers,
  309. success: res => {
  310. let data = JSON.parse(res.data);
  311. if (![200].includes(res.statusCode)) {
  312. this.uploadError(index, data);
  313. } else {
  314. //上传成功
  315. if (_this.progress === 100) {
  316. _this.dataJson.zEngineeringNodeBo
  317. .zEngineeringInfoBoList[_this.dataIndex]
  318. .zEngiineeringPhotoBoList.push(data.data.url);
  319. _this.$modal.msg('上传成功!')
  320. _this.photo = false;
  321. }
  322. }
  323. },
  324. fail: e => {
  325. _this.$modal.msg('上传失败!')
  326. this.uploadError(index, e);
  327. },
  328. complete: res => {
  329. uni.hideLoading();
  330. _this.uploading = false;
  331. }
  332. });
  333. task.onProgressUpdate(res => {
  334. _this.progress = res.progress;
  335. uni.showLoading({
  336. title: '上传中'
  337. })
  338. if (_this.progress != 100) {
  339. _this.loading = false
  340. } else {
  341. _this.loading = true
  342. }
  343. });
  344. },
  345. })
  346. },
  347. showPhoto(index, arr) {
  348. uni.previewImage({
  349. current: index,
  350. urls: arr,
  351. })
  352. },
  353. //关闭弹窗
  354. close(e) {
  355. this.open = false
  356. },
  357. // 截取小数点前的字符串
  358. getIntegerPart(numStr, i) {
  359. return numStr.toString().split('.')[i] == undefined ? '0' : numStr.toString().split('.')[i];
  360. },
  361. setInfoBoNumber(key, number, i) {
  362. let Ynumber = this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[key].zEngineeringMaterialBo[0]
  363. .number;
  364. let resAry = Ynumber.toString().split('.');
  365. resAry[i] = number
  366. this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[key].zEngineeringMaterialBo[0].number = resAry
  367. .join('.');
  368. },
  369. changeSelectDict(item, index) {
  370. this.openDict = false;
  371. if (this.chooseType == 'door') {
  372. this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex].zEngineeringMaterialBo[0]
  373. .visitType = item.dictValue;
  374. }
  375. },
  376. pickerShow(e, index) {
  377. this.dataIndex = index;
  378. this.chooseType = e;
  379. if (e == 'door') {
  380. this.openDict = true;
  381. getDicts("visit_type").then(response => {
  382. this.dictOptions = response.data;
  383. });
  384. }
  385. if (e == 'brand') {
  386. this.open = true;
  387. this.getFSDJLevel();
  388. }
  389. if (e == 'kj') {
  390. this.open = true;
  391. this.getFSDJLevel();
  392. }
  393. if (e == 'zbf') {
  394. this.open = true;
  395. getEnginMaterialQualityList("民用工程", this.enginType, this.enginClassification, this.title, '自闭阀厂家')
  396. .then(
  397. response => {
  398. this.selectZbfList = response.data;
  399. this.selectList = this.selectZbfList;
  400. });
  401. }
  402. if (e == 'fsdj') {
  403. this.open = true;
  404. this.getFSDJLevel();
  405. }
  406. if (e == 'cz') {
  407. this.open = true;
  408. if (this.type == '阀管') {
  409. getEnginMaterialQualityList("民用工程", this.enginType, this.enginClassification, this.title, "灶具管厂家")
  410. .then(response => {
  411. this.selectList = response.data;
  412. });
  413. } else {
  414. this.getFSDJLevel();
  415. }
  416. }
  417. if (e == 'gg') {
  418. this.open = true;
  419. //根据材质ID 获取规格数据
  420. getEnginSpecificationsList(this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex]
  421. .zEngineeringMaterialBo[0]
  422. .materialQuality).then(res => {
  423. this.selectList = res.data
  424. })
  425. }
  426. },
  427. isEmpty(str) {
  428. return (!str || 0 === str.length);
  429. },
  430. changeSelect(item, index) {
  431. this.open = false;
  432. if (this.chooseType == 'fsdj' || this.chooseType == 'kj') {
  433. this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex].zEngineeringMaterialBo[0]
  434. .corrosionLevel = item.id;
  435. } else if (this.chooseType == 'cz') {
  436. this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex].zEngineeringMaterialBo[0]
  437. .materialQuality = item.id;
  438. this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex].zEngineeringMaterialBo[0]
  439. .materialQualityName = item.name;
  440. this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex].zEngineeringMaterialBo[0]
  441. .specifications = '';
  442. this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex].zEngineeringMaterialBo[0]
  443. .specificationsName = '';
  444. } else if (this.chooseType == 'gg') {
  445. this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex].zEngineeringMaterialBo[0]
  446. .specifications = item.id;
  447. this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex].zEngineeringMaterialBo[0]
  448. .specificationsName = item.name;
  449. } else if (this.chooseType == 'brand') {
  450. this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex].zEngineeringMaterialBo[0]
  451. .brand = item.id;
  452. } else if (this.chooseType == 'zbf') {
  453. this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex].zEngineeringMaterialBo[0]
  454. .selfClosingValveType = item.id;
  455. }
  456. },
  457. getFSDJLevel() {
  458. getEnginMaterialQualityList("民用工程", this.enginType, this.enginClassification, this.title).then(
  459. response => {
  460. this.selectList = response.data;
  461. this.$forceUpdate();
  462. });
  463. },
  464. getSelectName(id) {
  465. let res = '';
  466. this.selectList.forEach((val) => {
  467. if (id == val.id) {
  468. res = val.name
  469. };
  470. })
  471. return res;
  472. },
  473. getSelectZBFName(id) {
  474. let res = '';
  475. this.selectZbfList.forEach((val) => {
  476. if (id == val.id) {
  477. res = val.name
  478. };
  479. })
  480. return res;
  481. },
  482. isEdit(item) {
  483. var isShow = item.createBy == this.$user.state.name;
  484. return isShow;
  485. },
  486. submit() {
  487. let isSubmit = true;
  488. this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList.forEach((res) => {
  489. if (res.zEngiineeringPhotoBoList.length == 0) {
  490. this.$modal.msg("请上传照片");
  491. isSubmit = false;
  492. }
  493. if (this.title == '立杠' || this.title == '表后管' || this.title == '阀管') {
  494. if (res.zEngineeringMaterialBo[0].specifications == '') {
  495. this.$modal.msg("请选择规格");
  496. isSubmit = false;
  497. }
  498. }
  499. if (this.title == '立杠' || this.title == '表后管') {
  500. if (res.zEngineeringMaterialBo[0].number == '') {
  501. this.$modal.msg("请输入米数");
  502. isSubmit = false;
  503. }
  504. }
  505. })
  506. if (!isSubmit) {
  507. return
  508. }
  509. putHistory(this.dataJson).then(
  510. response => {
  511. if (response.code == '200') {
  512. uni.hideLoading()
  513. uni.showToast({
  514. title: response.msg,
  515. icon: 'none',
  516. duration: 2000
  517. });
  518. setTimeout(function() {
  519. uni.navigateBack();
  520. }, 1000)
  521. }
  522. });
  523. }
  524. }
  525. }
  526. </script>
  527. <style lang="scss">
  528. .uni-media-list-body {
  529. background: #fff;
  530. border: 1px solid #eee;
  531. border-radius: 40rpx;
  532. margin: 20rpx;
  533. padding: 10rpx 0 40rpx;
  534. box-shadow: 0 0 5px #eee;
  535. }
  536. .uni-media-list-text-top {
  537. display: flex;
  538. align-items: center;
  539. justify-content: space-between;
  540. padding: 10px;
  541. position: relative;
  542. }
  543. .to-right-icon {
  544. width: 15px;
  545. height: 15px;
  546. position: absolute;
  547. top: 50%;
  548. transform: translateY(-50%);
  549. }
  550. .share {
  551. width: 100%;
  552. height: 100%;
  553. }
  554. .tit-text {
  555. color: #4f535a;
  556. margin-right: 20rpx;
  557. }
  558. .normal-text {}
  559. .cz-style {
  560. background: #e8f4f9;
  561. margin: 20rpx;
  562. padding: 10rpx;
  563. border-radius: 20rpx;
  564. border: 1px solid #d4e3f0;
  565. }
  566. .uni-media-list-text-top {
  567. font-size: 14px;
  568. color: #696969;
  569. padding: 20rpx 20rpx;
  570. border-bottom: 1px solid #eee;
  571. display: flex;
  572. align-items: center;
  573. }
  574. .share-box {
  575. width: 100%;
  576. height: 100%;
  577. position: fixed;
  578. top: 0rpx;
  579. left: 0rpx;
  580. bottom: 0rpx;
  581. right: 0rpx;
  582. background-color: rgba(0, 0, 0, 0.4);
  583. transition: .3s;
  584. z-index: 999;
  585. }
  586. // 进入分享动画
  587. .share-show {
  588. transition: all 0.3s ease;
  589. transform: translateY(0%) !important;
  590. border-radius: 20px 20px 0px 0px;
  591. }
  592. .scroll-Y {
  593. height: 58vh;
  594. }
  595. // 离开分享动画
  596. .share-item {
  597. position: fixed;
  598. left: 0;
  599. bottom: 0;
  600. width: 100%;
  601. height: 70%;
  602. background-color: #FFFFFF;
  603. transition: all 0.3s ease;
  604. transform: translateY(100%);
  605. z-index: 1999;
  606. .share-to {
  607. // width: 100%;
  608. height: 30px;
  609. display: flex;
  610. justify-content: center;
  611. margin: 30rpx 0 !important;
  612. align-items: center;
  613. }
  614. .content {
  615. width: 100%;
  616. height: auto;
  617. display: flex;
  618. flex-wrap: wrap;
  619. .block {
  620. width: 100%;
  621. display: flex;
  622. flex-direction: column;
  623. justify-content: center;
  624. align-items: left;
  625. height: auto;
  626. image {
  627. width: 80rpx;
  628. height: 80rpx;
  629. }
  630. text {
  631. margin-top: 16rpx;
  632. font-size: 28rpx;
  633. color: #606266;
  634. }
  635. }
  636. }
  637. .cancel {
  638. width: 100%;
  639. height: 3rem;
  640. display: flex;
  641. justify-content: center;
  642. align-items: center;
  643. border-top: 1rpx solid #E4E7ED;
  644. }
  645. }
  646. .uni-media-list-text-top {
  647. display: flex;
  648. align-items: center;
  649. justify-content: space-between;
  650. padding: 10px;
  651. position: relative;
  652. }
  653. .uni-list {
  654. border: 1xp solid #eee;
  655. }
  656. .to-right-icon {
  657. width: 15px;
  658. height: 15px;
  659. position: absolute;
  660. top: 50%;
  661. transform: translateY(-50%);
  662. }
  663. .text {
  664. font-size: 16px;
  665. color: #333;
  666. }
  667. </style>