bottomSheetGasSealing.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605
  1. <template>
  2. <view class="share">
  3. <view :class="{'share-box': shareState}" @click="handleHiddenShare"></view>
  4. <view class="share-item" :class="{'share-show': shareState}">
  5. <view class="share-to">
  6. <text style="font-size: 16px;color: #000;">{{title}}</text>
  7. </view>
  8. <scroll-view scroll-y="true" class="scroll-Y">
  9. <view class="uni-list-cell" hover-class="uni-list-cell-hover" v-for="(value, key) in historyList"
  10. :key="key">
  11. <view class="uni-media-list">
  12. <view class="uni-media-list-body">
  13. <view class="uni-media-list-text-top">
  14. <view class="tit-text">负责人:</view>
  15. <view class="normal-text">{{value.constructUser}}</view>
  16. </view>
  17. <view class="uni-media-list-text-top">
  18. <view class="tit-text">负责人联系电话:</view>
  19. <view class="normal-text">{{value.constructPhone}}</view>
  20. </view>
  21. <view class="uni-media-list-text-top" v-if="!isEmpty(value.constructTime)">
  22. <view class="tit-text">施工时间:</view>
  23. <view class="normal-text">{{value.constructTime}}</view>
  24. </view>
  25. <view class="uni-media-list-text-top">
  26. <view class="uni-common-mt" style="width: 100%;">
  27. <text class="uni-title uni-common-pl" style=" font-size: 13px;color:
  28. #000;margin-top: 5px;">施工内容:</text>
  29. <view style="width: 100%;padding-right: 20rpx;box-sizing: border-box;">
  30. <textarea class="textarea" maxlength="255" :disabled="true"
  31. placeholder-style="padding: 10rpx;"
  32. style="width: 100%;height: 100%;border: 1rpx solid #cccccc; border-radius: 15rpx;padding: 10rpx;line-height:normal;"
  33. auto-height>{{value.remark}}</textarea>
  34. </view>
  35. </view>
  36. </view>
  37. <view class="uni-media-list-text-top-no" v-if="type==='pe'">
  38. <!-- 开孔照片 -->
  39. <view class="uni-common-mt" style="width: 100%;margin-top: 5px;">
  40. <text class="uni-title uni-common-pl"
  41. style=" font-size: 13px;color: #000;margin-top: 5px; margin-left: 8px;">开孔照片:</text>
  42. </view>
  43. <view style="display: flex; flex-wrap: wrap;margin-top: 10px;">
  44. <view v-for="(item,index) in value.peHolesOpening" :key="index"
  45. style="position: relative;">
  46. <view
  47. v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
  48. <image :src="item" mode=""
  49. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
  50. @click="showPhoto(index,value.peHolesOpening)">
  51. </image>
  52. </view>
  53. <view v-else>
  54. <video :src="item"
  55. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
  56. </view>
  57. </view>
  58. </view>
  59. <!-- 封堵照片 -->
  60. <view class="uni-common-mt" style="width: 100%;margin-top: 5px;#000;margin-top:
  61. 5px; margin-left: 8px;">封堵照片:</text>
  62. </view>
  63. <view style="display: flex; flex-wrap: wrap;margin-top: 10px;">
  64. <view v-for="(item,index) in value.pePlugging" :key="index"
  65. style="position: relative;">
  66. <view
  67. v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
  68. <image :src="item" mode=""
  69. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
  70. @click="showPhoto(index,value.pePlugging)">
  71. </image>
  72. </view>
  73. <view v-else>
  74. <video :src="item"
  75. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
  76. </view>
  77. </view>
  78. </view>
  79. <!-- 作业完成照片 -->
  80. <view class="uni-common-mt" style="width: 100%;margin-top: 5px;">
  81. <text class="uni-title uni-common-pl"
  82. style=" font-size: 13px;color: #000;margin-top: 5px; margin-left: 8px;">作业完成照片:</text>
  83. </view>
  84. <view style="display: flex; flex-wrap: wrap;margin-top: 10px;">
  85. <view v-for="(item,index) in value.peHomeworkDone" :key="index"
  86. style="position: relative;">
  87. <view
  88. v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
  89. <image :src="item" mode=""
  90. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
  91. @click="showPhoto(index,value.peHomeworkDone)">
  92. </image>
  93. </view>
  94. <view v-else>
  95. <video :src="item"
  96. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
  97. </view>
  98. </view>
  99. </view>
  100. <!-- 鞍型焊接照片 -->
  101. <view class="uni-common-mt" style="width: 100%;margin-top: 5px;">
  102. <text class="uni-title uni-common-pl" style=" font-size: 13px;color:
  103. #000;margin-top: 5px; margin-left: 8px;">鞍型焊接照片:</text>
  104. </view>
  105. <view style="display: flex; flex-wrap: wrap;margin-top: 10px;">
  106. <view v-for="(item,index) in value.peSaddleWelding" :key="index"
  107. style="position: relative;">
  108. <view
  109. v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
  110. <image :src="item" mode=""
  111. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
  112. @click="showPhoto(index,value.peSaddleWelding)">
  113. </image>
  114. </view>
  115. <view v-else>
  116. <video :src="item"
  117. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
  118. </view>
  119. </view>
  120. </view>
  121. <!-- 气密实验照片 -->
  122. <view class="uni-common-mt" style="width: 100%;margin-top: 5px;">
  123. <text class="uni-title uni-common-pl" style=" font-size: 13px;color:
  124. #000;margin-top: 5px; margin-left: 8px;">气密实验照片:</text>
  125. </view>
  126. <view style="display: flex; flex-wrap: wrap;margin-top: 10px;">
  127. <view v-for="(item,index) in value.peAirtightTest" :key="index"
  128. style="position: relative;">
  129. <view
  130. v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
  131. <image :src="item" mode=""
  132. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
  133. @click="showPhoto(index,value.peAirtightTest)">
  134. </image>
  135. </view>
  136. <view v-else>
  137. <video :src="item"
  138. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
  139. </view>
  140. </view>
  141. </view>
  142. <!-- 碰口作业照片 -->
  143. <view class="uni-common-mt" style="width: 100%;margin-top: 5px;">
  144. <text class="uni-title uni-common-pl"
  145. style=" font-size: 13px;color: #000;margin-top: 5px; margin-left: 8px;">碰口作业照片:</text>
  146. </view>
  147. <view style="display: flex; flex-wrap: wrap;margin-top: 10px;">
  148. <view v-for="(item,index) in value.peCollisionOperating" :key="index"
  149. style="position: relative;">
  150. <view
  151. v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
  152. <image :src="item" mode=""
  153. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
  154. @click="showPhoto(index,value.peCollisionOperating)">
  155. </image>
  156. </view>
  157. <view v-else>
  158. <video :src="item"
  159. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
  160. </view>
  161. </view>
  162. </view>
  163. <!-- 恢复通气捡漏照片 -->
  164. <view class="uni-common-mt" style="width: 100%;margin-top: 5px;">
  165. <text class="uni-title uni-common-pl"
  166. style=" font-size: 13px;color: #000;margin-top: 5px; margin-left: 8px;">恢复通气捡漏照片:</text>
  167. </view>
  168. <view style="display: flex; flex-wrap: wrap;margin-top: 10px;">
  169. <view v-for="(item,index) in value.peAirrecovering" :key="index"
  170. style="position: relative;">
  171. <view
  172. v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
  173. <image :src="item" mode=""
  174. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
  175. @click="showPhoto(index,value.peAirrecovering)">
  176. </image>
  177. </view>
  178. <view v-else>
  179. <video :src="item"
  180. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
  181. </view>
  182. </view>
  183. </view>
  184. </view>
  185. <view class="uni-media-list-text-top-no" v-else>
  186. <!-- 开孔照片 -->
  187. <view class="uni-common-mt" style="width: 100%;margin-top: 5px;">
  188. <text class="uni-title uni-common-pl"
  189. style=" font-size: 13px;color: #000;margin-top: 5px; margin-left: 8px;">开孔照片:</text>
  190. </view>
  191. <view style="display: flex; flex-wrap: wrap;margin-top: 10px;">
  192. <view v-for="(item,index) in value.ironHolesOpening" :key="index"
  193. style="position: relative;">
  194. <view
  195. v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
  196. <image :src="item" mode=""
  197. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
  198. @click="showPhoto(index,value.ironHolesOpening)">
  199. </image>
  200. </view>
  201. <view v-else>
  202. <video :src="item"
  203. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
  204. </view>
  205. </view>
  206. </view>
  207. <!-- 封堵照片 -->
  208. <view class="uni-common-mt" style="width: 100%;margin-top: 5px;#000;margin-top:
  209. 5px; margin-left: 8px;">封堵照片:</text>
  210. </view>
  211. <view style="display: flex; flex-wrap: wrap;margin-top: 10px;">
  212. <view v-for="(item,index) in value.ironCleaning" :key="index"
  213. style="position: relative;">
  214. <view
  215. v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
  216. <image :src="item" mode=""
  217. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
  218. @click="showPhoto(index,value.ironCleaning)">
  219. </image>
  220. </view>
  221. <view v-else>
  222. <video :src="item"
  223. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
  224. </view>
  225. </view>
  226. </view>
  227. <!-- 作业完成照片 -->
  228. <view class="uni-common-mt" style="width: 100%;margin-top: 5px;">
  229. <text class="uni-title uni-common-pl"
  230. style=" font-size: 13px;color: #000;margin-top: 5px; margin-left: 8px;">作业完成照片:</text>
  231. </view>
  232. <view style="display: flex; flex-wrap: wrap;margin-top: 10px;">
  233. <view v-for="(item,index) in value.ironHomeworkDone" :key="index"
  234. style="position: relative;">
  235. <view
  236. v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
  237. <image :src="item" mode=""
  238. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
  239. @click="showPhoto(index,value.ironHomeworkDone)">
  240. </image>
  241. </view>
  242. <view v-else>
  243. <video :src="item"
  244. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
  245. </view>
  246. </view>
  247. </view>
  248. <!-- 管道壁厚照片 -->
  249. <view class="uni-common-mt" style="width: 100%;margin-top: 5px;">
  250. <text class="uni-title uni-common-pl"
  251. style=" font-size: 13px;color: #000;margin-top: 5px; margin-left: 8px;">管道壁厚照片:</text>
  252. </view>
  253. <view style="display: flex; flex-wrap: wrap;margin-top: 10px;">
  254. <view v-for="(item,index) in value.ironPipelineThickness" :key="index"
  255. style="position: relative;">
  256. <view
  257. v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
  258. <image :src="item" mode=""
  259. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
  260. @click="showPhoto(index,value.ironPipelineThickness)">
  261. </image>
  262. </view>
  263. <view v-else>
  264. <video :src="item"
  265. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
  266. </view>
  267. </view>
  268. </view>
  269. <!-- 焊接四通照片 -->
  270. <view class="uni-common-mt" style="width: 100%;margin-top: 5px;">
  271. <text class="uni-title uni-common-pl"
  272. style=" font-size: 13px;color: #000;margin-top: 5px; margin-left: 8px;">焊接四通照片:</text>
  273. </view>
  274. <view style="display: flex; flex-wrap: wrap;margin-top: 10px;">
  275. <view v-for="(item,index) in value.iron4Welding" :key="index"
  276. style="position: relative;">
  277. <view
  278. v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
  279. <image :src="item" mode=""
  280. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
  281. @click="showPhoto(index,value.iron4Welding)">
  282. </image>
  283. </view>
  284. <view v-else>
  285. <video :src="item"
  286. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
  287. </view>
  288. </view>
  289. </view>
  290. <!-- 焊接旁通照片 -->
  291. <view class="uni-common-mt" style="width: 100%;margin-top: 5px;">
  292. <text class="uni-title uni-common-pl"
  293. style=" font-size: 13px;color: #000;margin-top: 5px; margin-left: 8px;">焊接旁通照片:</text>
  294. </view>
  295. <view style="display: flex; flex-wrap: wrap;margin-top: 10px;">
  296. <view v-for="(item,index) in value.ironBypassWelding" :key="index"
  297. style="position: relative;">
  298. <view
  299. v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
  300. <image :src="item" mode=""
  301. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
  302. @click="showPhoto(index,value.ironBypassWelding)">
  303. </image>
  304. </view>
  305. <view v-else>
  306. <video :src="item"
  307. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
  308. </view>
  309. </view>
  310. </view>
  311. <!-- 氮气吹扫照片 -->
  312. <view class="uni-common-mt" style="width: 100%;margin-top: 5px;">
  313. <text class="uni-title uni-common-pl"
  314. style=" font-size: 13px;color: #000;margin-top: 5px; margin-left: 8px;">氮气吹扫照片:</text>
  315. </view>
  316. <view style="display: flex; flex-wrap: wrap;margin-top: 10px;">
  317. <view v-for="(item,index) in value.ironNitrogenPurging" :key="index"
  318. style="position: relative;">
  319. <view
  320. v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
  321. <image :src="item" mode=""
  322. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
  323. @click="showPhoto(index,value.ironNitrogenPurging)">
  324. </image>
  325. </view>
  326. <view v-else>
  327. <video :src="item"
  328. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
  329. </view>
  330. </view>
  331. </view>
  332. <!-- 管道置换照片 -->
  333. <view class="uni-common-mt" style="width: 100%;margin-top: 5px;">
  334. <text class="uni-title uni-common-pl"
  335. style=" font-size: 13px;color: #000;margin-top: 5px; margin-left: 8px;">管道置换照片:</text>
  336. </view>
  337. <view style="display: flex; flex-wrap: wrap;margin-top: 10px;">
  338. <view v-for="(item,index) in value.ironPipelineReplacing" :key="index"
  339. style="position: relative;">
  340. <view
  341. v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
  342. <image :src="item" mode=""
  343. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
  344. @click="showPhoto(index,value.ironPipelineReplacing)">
  345. </image>
  346. </view>
  347. <view v-else>
  348. <video :src="item"
  349. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
  350. </view>
  351. </view>
  352. </view>
  353. <!-- 下堵照片 -->
  354. <view class="uni-common-mt" style="width: 100%;margin-top: 5px;">
  355. <text class="uni-title uni-common-pl"
  356. style=" font-size: 13px;color: #000;margin-top: 5px; margin-left: 8px;">下堵照片:</text>
  357. </view>
  358. <view style="display: flex; flex-wrap: wrap;margin-top: 10px;">
  359. <view v-for="(item,index) in value.ironLowerEndCap" :key="index"
  360. style="position: relative;">
  361. <view
  362. v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
  363. <image :src="item" mode=""
  364. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
  365. @click="showPhoto(index,value.ironLowerEndCap)">
  366. </image>
  367. </view>
  368. <view v-else>
  369. <video :src="item"
  370. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
  371. </view>
  372. </view>
  373. </view>
  374. <!-- 四通防腐照片 -->
  375. <view class="uni-common-mt" style="width: 100%;margin-top: 5px;">
  376. <text class="uni-title uni-common-pl"
  377. style=" font-size: 13px;color: #000;margin-top: 5px; margin-left: 8px;">四通防腐照片:</text>
  378. </view>
  379. <view style="display: flex; flex-wrap: wrap;margin-top: 10px;">
  380. <view v-for="(item,index) in value.iron4Aczoiling" :key="index"
  381. style="position: relative;">
  382. <view
  383. v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
  384. <image :src="item" mode=""
  385. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
  386. @click="showPhoto(index,value.iron4Aczoiling)">
  387. </image>
  388. </view>
  389. <view v-else>
  390. <video :src="item"
  391. style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
  392. </view>
  393. </view>
  394. </view>
  395. <!-- end -->
  396. </view>
  397. </view>
  398. </view>
  399. </view>
  400. </scroll-view>
  401. </view>
  402. </view>
  403. </template>
  404. <script>
  405. export default {
  406. props: {
  407. data: {
  408. type: Object,
  409. default: {}
  410. },
  411. titleLabel: {
  412. type: String
  413. },
  414. titleType: {
  415. type: String
  416. }
  417. },
  418. created() {
  419. this.getParamsData();
  420. },
  421. watch: {
  422. data(data) {
  423. this.getParamsData();
  424. }
  425. },
  426. data() {
  427. return {
  428. historyList: [], //历史数据
  429. historyPhotoList: [], //历史图片数据
  430. shareState: false,
  431. title: '',
  432. type: '',
  433. };
  434. },
  435. methods: {
  436. isEmpty(str) {
  437. return (!str || 0 === str.length);
  438. },
  439. showPhoto(index, list) {
  440. let newArr = [];
  441. list.forEach((item, index) => {
  442. if (item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' ||
  443. item.substring(item.length - 4) == 'jpeg') {
  444. newArr.push(item)
  445. }
  446. });
  447. uni.previewImage({
  448. current: index,
  449. urls: newArr,
  450. })
  451. },
  452. getParamsData() {
  453. var selectData = this.data;
  454. this.title = this.titleLabel;
  455. this.type = this.titleType;
  456. this.historyList = selectData.zEngineeringNodeBo.zEngineeringInfoBoList;
  457. },
  458. // 显示分享
  459. handleShowShare() {
  460. this.shareState = true;
  461. },
  462. // 隐藏分享
  463. handleHiddenShare() {
  464. this.shareState = false;
  465. }
  466. }
  467. }
  468. </script>
  469. <style lang="scss">
  470. .uni-media-list-body {
  471. border: 1px solid #eee;
  472. border-radius: 40rpx;
  473. margin: 10rpx 30rpx 20rpx;
  474. padding: 10rpx 0 40rpx;
  475. box-shadow: 0 0 5px #eee;
  476. }
  477. .share {
  478. width: 100%;
  479. height: 100%;
  480. }
  481. .tit-text {
  482. color: #4f535a;
  483. margin-right: 20rpx;
  484. }
  485. .cz-style {
  486. background: #e8f4f9;
  487. margin: 20rpx;
  488. padding: 10rpx;
  489. border-radius: 20rpx;
  490. border: 1px solid #d4e3f0;
  491. }
  492. .uni-media-list-text-top {
  493. font-size: 14px;
  494. color: #696969;
  495. padding: 20rpx 20rpx;
  496. border-bottom: 1px solid #eee;
  497. display: flex;
  498. align-items: center;
  499. }
  500. .uni-media-list-text-top-no {
  501. font-size: 14px;
  502. color: #696969;
  503. padding: 20rpx 20rpx;
  504. border-bottom: 1px solid #eee;
  505. align-items: center;
  506. }
  507. .share-box {
  508. width: 100%;
  509. height: 100%;
  510. position: fixed;
  511. top: 0rpx;
  512. left: 0rpx;
  513. bottom: 0rpx;
  514. right: 0rpx;
  515. background-color: rgba(0, 0, 0, 0.4);
  516. transition: .3s;
  517. z-index: 999;
  518. }
  519. // 进入分享动画
  520. .share-show {
  521. transition: all 0.3s ease;
  522. transform: translateY(0%) !important;
  523. border-radius: 20px 20px 0px 0px;
  524. }
  525. .scroll-Y {
  526. height: 58vh;
  527. }
  528. // 离开分享动画
  529. .share-item {
  530. position: fixed;
  531. left: 0;
  532. bottom: 0;
  533. width: 100%;
  534. height: 70%;
  535. background-color: #FFFFFF;
  536. transition: all 0.3s ease;
  537. transform: translateY(100%);
  538. z-index: 1999;
  539. .share-to {
  540. width: 100%;
  541. height: 30px;
  542. display: flex;
  543. justify-content: center;
  544. margin: 30rpx 0;
  545. align-items: center;
  546. }
  547. .content {
  548. width: 100%;
  549. height: auto;
  550. display: flex;
  551. flex-wrap: wrap;
  552. .block {
  553. width: 100%;
  554. display: flex;
  555. flex-direction: column;
  556. justify-content: center;
  557. align-items: left;
  558. height: auto;
  559. image {
  560. width: 80rpx;
  561. height: 80rpx;
  562. }
  563. text {
  564. margin-top: 16rpx;
  565. font-size: 28rpx;
  566. color: #606266;
  567. }
  568. }
  569. }
  570. .cancel {
  571. width: 100%;
  572. height: 3rem;
  573. display: flex;
  574. justify-content: center;
  575. align-items: center;
  576. border-top: 1rpx solid #E4E7ED;
  577. }
  578. }
  579. </style>