history_details_bottom_leg.vue 21 KB

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