historyDetailsInfrastructure.vue 19 KB

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