active_detail.vue 23 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057
  1. <template>
  2. <view class="active_detail">
  3. <!-- 立即报名弹框 -->
  4. <u-popup v-model="show" mode="center" border-radius="19" :closeable="true" @close="close">
  5. <view class="pop_wrap">
  6. <view class="pop_top">
  7. <text class="title">请填写报名信息</text>
  8. </view>
  9. <view class="pop_center">
  10. <!-- <text>活动名称:{{prop.title}}</text>
  11. <text>活动时间:{{prop.start_time}}</text>
  12. <text>活动组织:{{prop.organization ? prop.organization.name :'--'}}</text>
  13. <text>发起人:{{prop.contact_name}}</text> -->
  14. <u-form label-width='120'>
  15. <u-form-item label="姓名" class="position">
  16. <view class="star">
  17. *
  18. </view>
  19. <u-input v-model="name" :clearable='false' placeholder="请填写姓名" />
  20. </u-form-item>
  21. <u-form-item label="手机号" class="position">
  22. <view class="star">
  23. *
  24. </view>
  25. <u-input v-model="mobile" :clearable='false' placeholder="请填写手机号" />
  26. </u-form-item>
  27. </u-form>
  28. </view>
  29. <view class="pop_bootom">
  30. <button type="default" @click="sure_sign">确认</button>
  31. </view>
  32. </view>
  33. </u-popup>
  34. <view class="first">
  35. <view class="top_img"
  36. :style="{backgroundImage:'url('+ (content.cover_resource==null?'':content.cover_resource.url) +')'}">
  37. <!-- <image :src="content.cover_resource? content.cover_resource.url : ''" mode=""></image> -->
  38. </view>
  39. <view class="wrap">
  40. <text class="title">{{content.title}}</text>
  41. <view class="icon">
  42. <image class="eye" src="../../static/images/eye.png" mode=""></image>
  43. <text class="people_num">{{content.view_nums}}</text>
  44. <!-- <image src="../../static/images/zhuan.png" mode=""></image>
  45. <text class="zhuan_num"></text> -->
  46. </view>
  47. <view class="from">
  48. <view class="from_item">
  49. <image class="clock" src="../../static/images/clock.png" mode=""></image>
  50. <text>时间:{{content.start_time}}-{{content.end_time}}</text>
  51. </view>
  52. <view class="from_item">
  53. <image class="local" src="../../static/images/active_local.png" mode=""></image>
  54. <text>地点:{{content.address}}</text>
  55. </view>
  56. <!-- <view class="from_item">
  57. <image class="money" src="../../static/images/money.png" mode=""></image>
  58. <text class="money_text">收费:{{content.money}}</text>
  59. </view> -->
  60. </view>
  61. <text class="name">发起人 {{content.contact_name}}</text>
  62. </view>
  63. </view>
  64. <view class="sec">
  65. <view class="sign_up">
  66. <view class="top">
  67. <view class="left">
  68. 已报名({{content.sign_up_nums}})
  69. </view>
  70. <view class="right" @click="more" v-if="active_list.length>0">
  71. <text>查看更多</text>
  72. <image src="../../static/images/right.png" mode=""></image>
  73. </view>
  74. </view>
  75. <view class="empty" v-if="active_list.length == 0">
  76. 暂无报名
  77. </view>
  78. <view class="avater_wrap" v-if="active_list.length>0">
  79. <view class="img" v-for="(item,index) in active_list" :key='index'>
  80. <image :src="item.user ? item.user.headimg : '../../static/images/active_avater.png'" mode="">
  81. </image>
  82. </view>
  83. </view>
  84. </view>
  85. <view class="detail">
  86. <text class="title">活动详情</text>
  87. <u-read-more ref="uReadMore" :toggle="true">
  88. <u-parse :html="content.body" @load="parseLoaded"></u-parse>
  89. <!-- <u-parse :html="content.body"></u-parse> -->
  90. </u-read-more>
  91. </view>
  92. <view class="img_wrap" v-if="wonderful_list.length != 0">
  93. <view class="title" @click="addWonderful">
  94. <text>精彩瞬间</text>
  95. <view class="right">
  96. <text>{{wonderful_list.length}}张</text>
  97. <image src="../../static/images/right.png" mode=""></image>
  98. </view>
  99. </view>
  100. <scroll-view class="scroll-view_H" scroll-x="true">
  101. <view class="imgs_wrap">
  102. <view class="imgs" v-for="(item,index) in wonderful_list" :key='index'>
  103. <image :src="item.path" mode="aspectFill"></image>
  104. </view>
  105. </view>
  106. </scroll-view>
  107. </view>
  108. <view class="comment_wrap">
  109. <view class="title">
  110. <text>活动评论</text>
  111. <view class="right">
  112. <text>{{pinglun_list.length}}条</text>
  113. <!-- <image src="../../static/images/right.png" mode=""></image> -->
  114. </view>
  115. </view>
  116. <view class="comment_content">
  117. <view class="empty" v-if="pinglun_list.length == 0">
  118. 暂无内容
  119. </view>
  120. <view class="item_wrap" v-for="(item,index) in pinglun_list" :key="index" v-else>
  121. <view class="wrap">
  122. <view class="left">
  123. <view class="img">
  124. <image :src="item.user.headimg" mode=""></image>
  125. </view>
  126. </view>
  127. <view class="name">
  128. <text>{{item.user.name}}</text>
  129. <text class="time">{{item.created_at}}</text>
  130. </view>
  131. </view>
  132. <view class="center">
  133. {{item.body}}
  134. </view>
  135. </view>
  136. </view>
  137. </view>
  138. <view v-if="content.state.status != 5" class="ping" @click="isPing = true">
  139. 评论
  140. </view>
  141. <view v-else class="ping1">
  142. 评论
  143. </view>
  144. <view class="cai" @click="to_add(content.id)"
  145. v-if="vuex_user.role == 1 || (vuex_user.role == 2 && vuex_user.organization_id == content.organization_id)">
  146. <!-- v-if="vuex_user.role == 1 || (vuex_user.role == 2 && vuex_user.organization_id == content.organization.id)" -->
  147. </view>
  148. <view class="bottom">
  149. <view class="left">
  150. <view class="tel_wrap" @click="call">
  151. <image src="../../static/images/tel.png" mode=""></image>
  152. <view>咨询</view>
  153. </view>
  154. <!-- <view class="share_wrap" @click="share">
  155. <image src="../../static/images/share.png" mode=""></image>
  156. <view>分享</view>
  157. </view> -->
  158. <view class="mine_wrap" @click="to_mine">
  159. <image src="../../static/images/active_mine.png" mode=""></image>
  160. <view>我的</view>
  161. </view>
  162. </view>
  163. <!-- .state. -->
  164. <view class="right" v-if="content.state.status == 1" @click="signUp">
  165. 马上报名
  166. </view>
  167. <view class="right1" v-else>
  168. {{content.state.status_text}}
  169. </view>
  170. </view>
  171. </view>
  172. <u-popup v-model="isPing" mode="bottom" width="300px" height="190px">
  173. <view class="pinglun">
  174. <text>添加评论</text>
  175. <u-input type="textarea" placeholder="想说点什么?" v-model="pinglun_text.body" />
  176. </view>
  177. <view class="send_btn" @click="send_pinglun(content)">
  178. 立即评论
  179. </view>
  180. </u-popup>
  181. </view>
  182. </template>
  183. <script>
  184. export default {
  185. data() {
  186. return {
  187. content: {
  188. title: '河南中医药大学药学院举办校友-2021校友会迎新活动',
  189. eye_num: 666,
  190. share_num: 66,
  191. time: '2021-09-28 09:30 至2021–10-28 12:00',
  192. localtion: '河南中医药大学仲景学院南国际楼一楼403南国际楼一楼40',
  193. money: '免费',
  194. people: '肖晓波',
  195. sign_up_people: 666,
  196. organization_id:'',
  197. detail: '班级总人数88人班级总人数88人班级总人数88人班级总班级总人数88人班级总人数88人班级总人数88人班级总班级总人数88人班级总人数88人班级总人数',
  198. state: {
  199. status: ''
  200. }
  201. },
  202. active_list: [], //报名人员
  203. pinglun_text: {},
  204. pinglun_list: [],
  205. wonderful_list: [],
  206. id: '', //
  207. prop: '',
  208. show: false,
  209. name: '',
  210. mobile: '',
  211. status: '',
  212. isPing: false
  213. }
  214. },
  215. onLoad(options) {
  216. let id = options.id
  217. this.id = id
  218. this.getDetails(id)
  219. this.getActiveList(id)
  220. this.get_plList(id)
  221. },
  222. onShow() {
  223. this.getWonderful(this.id)
  224. },
  225. methods: {
  226. parseLoaded() {
  227. this.$refs.uReadMore.init();
  228. },
  229. //获取精彩瞬间
  230. getWonderful(id) {
  231. this.$u.get('/page/activities-scenes/' + id).then(res => {
  232. let data = res.data.data
  233. this.wonderful_list = data
  234. })
  235. },
  236. //跳转精彩瞬间列表
  237. addWonderful() {
  238. console.log(this.vuex_user, 'user')
  239. console.log(this.content, 'content')
  240. uni.navigateTo({
  241. url: './wonderful_list?id=' + this.id
  242. })
  243. },
  244. getDetails(id) {
  245. this.$u.get('/page/activities/' + id).then(res => {
  246. console.log(res, '详情')
  247. this.content = res.data
  248. })
  249. },
  250. getActiveList(id) {
  251. this.$u.get('/page/activities-sign-ups', {
  252. activity_id: id
  253. }).then(res => {
  254. console.log(res, '报名人员')
  255. this.active_list = res.data.data
  256. })
  257. },
  258. //评论
  259. send_pinglun(item) {
  260. this.pinglun_text.activity_id = item.id
  261. this.pinglun_text.organization_id = this.vuex_user.organization_id
  262. this.$u.post('/page/organization-activity-comments', this.pinglun_text).then(res => {
  263. console.log(res)
  264. if (res.code == 200) {
  265. uni.showToast({
  266. title: '添加成功',
  267. icon: 'none'
  268. })
  269. this.pinglun_text.body = ''
  270. this.isPing = false
  271. this.get_plList(this.content.id)
  272. }
  273. })
  274. },
  275. get_plList(id) {
  276. this.$u.get('/page/activities-comments/' + id).then(res => {
  277. console.log(res)
  278. this.pinglun_list = res.data.data
  279. })
  280. },
  281. to_mine() {
  282. uni.switchTab({
  283. url: '../mine/mine'
  284. })
  285. },
  286. to_add(id) {
  287. //添加精彩瞬间
  288. uni.navigateTo({
  289. url: './wonderful?activity_id=' + id
  290. })
  291. },
  292. call() {
  293. uni.makePhoneCall({
  294. phoneNumber: this.content.contact_mobile
  295. })
  296. },
  297. share() {
  298. uni.share({
  299. provider: "weixin",
  300. })
  301. },
  302. more() {
  303. uni.navigateTo({
  304. url: 'more?id=' + this.id
  305. })
  306. },
  307. //立即报名
  308. signUp() {
  309. this.show = true
  310. },
  311. //确认报名
  312. sure_sign() {
  313. if (!this.name) {
  314. uni.showToast({
  315. title: '请输入姓名!',
  316. icon: 'none'
  317. })
  318. return
  319. }
  320. if (!this.mobile) {
  321. uni.showToast({
  322. title: '请输入手机号!',
  323. icon: 'none'
  324. })
  325. return
  326. }
  327. let data = {
  328. activity_id: this.id,
  329. name: this.name,
  330. mobile: this.mobile
  331. }
  332. this.$u.post('/page/sign-up-activity', data).then(res => {
  333. console.log(res, '报名提交成功')
  334. this.show = false
  335. this.name = ''
  336. this.mobile = ''
  337. uni.reLaunch({
  338. url: '../organization/success'
  339. })
  340. })
  341. },
  342. close() {
  343. this.name = ''
  344. this.mobile = ''
  345. },
  346. //生成并保存图片
  347. shengcheng: function() {
  348. var that = this
  349. uni.pageScrollTo({
  350. scrollTop: 0,
  351. duration: 300,
  352. });
  353. uni.showLoading({
  354. title: '图片生成中',
  355. })
  356. setTimeout(function() {
  357. html2canvas(document.querySelector('#shareImage'), {
  358. scale: 2,
  359. x: 0, // x坐标
  360. y: 0, // y坐标
  361. foreignObjectRendering: true, // 是否在浏览器支持的情况下使用ForeignObject渲染
  362. async: false, // 是否异步解析和呈现元素
  363. background: "#ffffff", // 一定要添加背景颜色,否则出来的图片,背景全部都是透明的
  364. // dpi: 300, // 处理模糊问题
  365. useCORS: true,
  366. }).then(imgDom => {
  367. let previewFile = imgDom.toDataURL('image/png');
  368. var image = new Image();
  369. image.src = previewFile;
  370. image.style.width = '100%';
  371. document.getElementById('boxImage').appendChild(image);
  372. });
  373. uni.hideLoading()
  374. that.status = 3
  375. that.isShow = false
  376. uni.showToast({
  377. title: '图片已生成'
  378. })
  379. }, 1000)
  380. },
  381. saveImage() {
  382. html2canvas(document.querySelector('#shareImage'), {
  383. useCORS: true,
  384. }).then(canvas => {
  385. let previewFile = canvas.toDataURL('image/png');
  386. this.download(previewFile)
  387. });
  388. },
  389. }
  390. }
  391. </script>
  392. <style lang="scss" scoped>
  393. //下载图片按钮
  394. // .down {
  395. // position: fixed;
  396. // bottom: 0;
  397. // height: 100upx;
  398. // line-height: 100upx;
  399. // width: 100%;
  400. // text-align: center;
  401. // z-index: 9999999999999;
  402. // }
  403. page{
  404. // padding: 16px 0;
  405. }
  406. //添加弹框
  407. .pop_wrap {
  408. width: 290px;
  409. height: 280px;
  410. display: flex;
  411. flex-direction: column;
  412. align-items: center;
  413. .pop_top {
  414. margin-top: 20px;
  415. text {
  416. display: block;
  417. font-size: 13px;
  418. color: rgba(40, 40, 40, 0.5);
  419. text-align: center;
  420. line-height: 22px;
  421. padding: 0 20px;
  422. }
  423. .title {
  424. font-size: 18px;
  425. font-weight: bold;
  426. color: #282828;
  427. line-height: 25px;
  428. margin-bottom: 2px;
  429. }
  430. }
  431. .pop_center {
  432. margin-top: 15px;
  433. text {
  434. font-size: 14px;
  435. font-family: PingFang SC;
  436. font-weight: 400;
  437. line-height: 20px;
  438. color: #353535;
  439. opacity: 0.79;
  440. display: block;
  441. margin-bottom: 6px;
  442. }
  443. .position{
  444. position: relative;
  445. .star{
  446. position: absolute;
  447. left: -10px;
  448. color: red;
  449. }
  450. }
  451. }
  452. .pop_bootom {
  453. margin-top: 25px;
  454. button {
  455. border: 1px solid #FF5A26;
  456. width: 98px;
  457. // height: 36px;
  458. padding: 0 5px;
  459. line-height: 36px;
  460. background-color: #fff;
  461. color: #FF5A26;
  462. }
  463. }
  464. }
  465. .active_detail {
  466. background-color: #EEEEEE;
  467. position: relative;
  468. .ping {
  469. width: 50px;
  470. height: 50px;
  471. line-height: 50px;
  472. text-align: center;
  473. color: #fff;
  474. font-size: 16px;
  475. font-weight: 600;
  476. position: fixed;
  477. right: 10px;
  478. background-color: #79573D;
  479. border-radius: 50%;
  480. bottom: 70px;
  481. }
  482. .ping1{
  483. width: 50px;
  484. height: 50px;
  485. line-height: 50px;
  486. text-align: center;
  487. color: #fff;
  488. font-size: 16px;
  489. font-weight: 600;
  490. position: fixed;
  491. right: 10px;
  492. background-color: #a0a0a0;
  493. border-radius: 50%;
  494. bottom: 70px;
  495. }
  496. .cai {
  497. // background: url(../../static/images/cai.png);
  498. width: 50px;
  499. height: 50px;
  500. line-height: 50px;
  501. text-align: center;
  502. color: #fff;
  503. font-size: 23px;
  504. font-weight: 500;
  505. position: fixed;
  506. right: 10px;
  507. background-color: #79573D;
  508. border-radius: 50%;
  509. bottom: 130px;
  510. }
  511. .first {
  512. background-color: #fff;
  513. .top_img {
  514. height: 198px;
  515. background-position: center;
  516. background-size: 100% auto;
  517. background-repeat: no-repeat;
  518. overflow: hidden;
  519. margin-bottom: 20px;
  520. }
  521. .wrap {
  522. padding: 0 16px;
  523. .title {
  524. font-size: 17px;
  525. font-family: Graphit;
  526. font-weight: 500;
  527. line-height: 20px;
  528. color: #282828;
  529. }
  530. .icon {
  531. font-size: 13px;
  532. font-family: PingFang HK;
  533. font-weight: 400;
  534. height: 17px;
  535. line-height: 17px;
  536. color: #A2A2A2;
  537. text-align: right;
  538. image {
  539. width: 15px;
  540. height: 13px;
  541. display: inline-block;
  542. margin-right: 3px;
  543. }
  544. .eye {
  545. width: 16px;
  546. height: 11px;
  547. }
  548. .people_num {
  549. margin-right: 20px;
  550. }
  551. .zhuan_num {
  552. margin-right: 10px;
  553. }
  554. }
  555. .from {
  556. .from_item {
  557. height: 40px;
  558. display: flex;
  559. align-items: center;
  560. margin-top: 16px;
  561. border-bottom: 1px solid #707070;
  562. border-color: rgba($color: #707070, $alpha: 0.1);
  563. .clock {
  564. width: 15px;
  565. height: 15px;
  566. }
  567. .local {
  568. width: 14px;
  569. height: 16px;
  570. }
  571. .money {
  572. width: 14px;
  573. height: 15px;
  574. }
  575. image {
  576. // display: inline-block;
  577. margin-right: 6px;
  578. }
  579. text {
  580. font-size: 14px;
  581. font-family: Graphit;
  582. font-weight: 500;
  583. color: #898686;
  584. display: block;
  585. overflow: hidden;
  586. -webkit-line-clamp: 1;
  587. text-overflow: ellipsis;
  588. display: -webkit-box;
  589. -webkit-box-orient: vertical;
  590. }
  591. }
  592. }
  593. .name {
  594. display: block;
  595. width: 100%;
  596. text-align: right;
  597. padding: 17px 10px 14px 0;
  598. font-size: 15px;
  599. font-family: Graphit;
  600. font-weight: 500;
  601. line-height: 20px;
  602. color: #898686;
  603. }
  604. }
  605. }
  606. .sec {
  607. padding-bottom: 90px;
  608. margin-top: 17px;
  609. background-color: #fff;
  610. .sign_up {
  611. box-shadow: 0px 8px 12px rgba(12, 20, 61, 0.06);
  612. padding: 14px 18px;
  613. .top {
  614. display: flex;
  615. align-items: center;
  616. justify-content: space-between;
  617. .left {
  618. font-size: 15px;
  619. font-family: Graphit;
  620. font-weight: 500;
  621. line-height: 20px;
  622. color: #898686;
  623. }
  624. .right {
  625. font-size: 13px;
  626. font-family: Graphit;
  627. font-weight: 500;
  628. line-height: 20px;
  629. color: #898686;
  630. image {
  631. width: 5px;
  632. height: 8px;
  633. margin-left: 3px;
  634. }
  635. }
  636. }
  637. .avater_wrap {
  638. margin-top: 28px;
  639. padding: 0 0 0 11px;
  640. .img {
  641. width: 40px;
  642. height: 40px;
  643. border-radius: 50%;
  644. overflow: hidden;
  645. display: inline-block;
  646. margin-right: 12px;
  647. margin-bottom: 10px;
  648. flex: 1;
  649. image {
  650. width: 40px;
  651. height: 40px;
  652. }
  653. }
  654. }
  655. }
  656. .detail {
  657. margin-top: 25px;
  658. padding: 0 16px;
  659. font-size: 14px;
  660. font-family: PingFang HK;
  661. font-weight: 400;
  662. line-height: 20px;
  663. color: #696969;
  664. text-align: justify;
  665. .title {
  666. font-size: 17px;
  667. font-family: Graphit;
  668. font-weight: 500;
  669. line-height: 20px;
  670. color: #282828;
  671. display: block;
  672. margin-bottom: 10px;
  673. }
  674. }
  675. .img_wrap {
  676. margin-top: 35px;
  677. padding: 0 16px;
  678. .title {
  679. display: flex;
  680. justify-content: space-between;
  681. align-items: center;
  682. font-size: 17px;
  683. font-family: Graphit;
  684. font-weight: 500;
  685. line-height: 20px;
  686. color: #282828;
  687. .right {
  688. font-size: 13px;
  689. font-family: Graphit;
  690. font-weight: 500;
  691. line-height: 20px;
  692. color: #898686;
  693. image {
  694. width: 5px;
  695. height: 8px;
  696. margin-left: 7px;
  697. }
  698. }
  699. }
  700. .scroll-view_H {
  701. margin-top: 20px;
  702. width: 100%;
  703. overflow: hidden;
  704. white-space: nowrap;
  705. .imgs_wrap {
  706. height: 97px;
  707. .imgs {
  708. height: 97px;
  709. width: 161px;
  710. overflow: hidden;
  711. border-radius: 6px;
  712. display: inline-block;
  713. margin-right: 11px;
  714. image {
  715. height: 97px;
  716. width: 161px;
  717. }
  718. }
  719. }
  720. }
  721. }
  722. .empty {
  723. font-size: 14px;
  724. font-family: Graphit;
  725. font-weight: 500;
  726. line-height: 50px;
  727. color: #282828;
  728. opacity: 0.38;
  729. text-align: center;
  730. height: 50px;
  731. margin-top: 10px;
  732. }
  733. .comment_wrap {
  734. margin-top: 30px;
  735. padding: 0 16px;
  736. .title {
  737. display: flex;
  738. justify-content: space-between;
  739. align-items: center;
  740. font-size: 17px;
  741. font-family: Graphit;
  742. font-weight: 500;
  743. line-height: 20px;
  744. color: #282828;
  745. .right {
  746. font-size: 13px;
  747. font-family: Graphit;
  748. font-weight: 500;
  749. line-height: 20px;
  750. color: #898686;
  751. image {
  752. width: 5px;
  753. height: 8px;
  754. margin-left: 7px;
  755. }
  756. }
  757. }
  758. .comment_content {
  759. margin-top: 20px;
  760. margin-bottom: 15px;
  761. .item_wrap {
  762. margin-bottom: 10px;
  763. border-bottom: 1px solid;
  764. border-color: rgba($color: #000000, $alpha: 0.08);
  765. // display: flex;
  766. // align-items: center;
  767. // justify-content: space-between;
  768. // height: 60px;
  769. .wrap {
  770. // height: 60px;
  771. display: flex;
  772. align-items: center;
  773. }
  774. .left {
  775. font-size: 12px;
  776. margin-right: 10px;
  777. .img {
  778. width: 35px;
  779. height: 35px;
  780. border-radius: 50%;
  781. overflow: hidden;
  782. image {
  783. width: 35px;
  784. height: 35px;
  785. }
  786. }
  787. }
  788. .name {
  789. text {
  790. display: block;
  791. }
  792. flex-shrink: 0;
  793. font-size: 13px;
  794. margin-right: 10px;
  795. .time {
  796. color: #898686;
  797. font-size: 12px;
  798. margin-top: 3px;
  799. }
  800. }
  801. .center {
  802. flex-shrink: 0;
  803. font-size: 15px;
  804. overflow: hidden;
  805. width: 100%;
  806. padding: 10px 0 10px 40px;
  807. }
  808. // .right {
  809. // flex-shrink: 0;
  810. // // width: 40px;
  811. // text {
  812. // display: block;
  813. // }
  814. // font-size: 13px;
  815. // color: #898686;
  816. // }
  817. }
  818. }
  819. }
  820. .bottom {
  821. position: fixed;
  822. bottom: 0;
  823. display: flex;
  824. width: 100%;
  825. background-color: #FFFFFF;
  826. border-top: solid 1px #E4E7ED;
  827. justify-content: space-between;
  828. .left {
  829. // padding: 4px 32px;
  830. display: flex;
  831. // justify-content: space-between;
  832. justify-content: space-around;
  833. align-items: center;
  834. font-size: 10px;
  835. font-family: PingFang SC;
  836. font-weight: 400;
  837. // line-height: 20px;
  838. color: #6C6C6C;
  839. width: 50%;
  840. .tel_wrap {
  841. text-align: center;
  842. image {
  843. width: 19px;
  844. height: 19px;
  845. display: block;
  846. }
  847. }
  848. .share_wrap {
  849. text-align: center;
  850. image {
  851. display: inline-block;
  852. width: 20px;
  853. height: 20px;
  854. }
  855. }
  856. .mine_wrap {
  857. image {
  858. width: 24px;
  859. height: 22px;
  860. display: block;
  861. }
  862. text-align: center;
  863. }
  864. .addimg_wrap {
  865. // width: 40px;
  866. image {
  867. width: 24px;
  868. height: 24px;
  869. display: block;
  870. }
  871. .text {
  872. // height: 16px;
  873. text-align: center;
  874. word-break: break-all;
  875. }
  876. }
  877. }
  878. .right {
  879. // width: 151px;
  880. width: 50%;
  881. height: 55px;
  882. background: #79573D;
  883. line-height: 55px;
  884. text-align: center;
  885. font-size: 17px;
  886. font-family: Graphit;
  887. font-weight: 500;
  888. color: #fff;
  889. }
  890. .right1 {
  891. width: 280px;
  892. height: 55px;
  893. background: #A0A0A0;
  894. line-height: 55px;
  895. text-align: center;
  896. font-size: 17px;
  897. font-family: Graphit;
  898. font-weight: 500;
  899. color: #fff;
  900. }
  901. }
  902. }
  903. .pinglun {
  904. padding: 10px 10px;
  905. text-align: center;
  906. font-size: 17px;
  907. // font-weight: 600;
  908. display: flex;
  909. line-height: 25px;
  910. flex-direction: column;
  911. // height: 90px;
  912. // width: 100%;
  913. border-bottom: 1px solid;
  914. border-color: rgba($color: #898686, $alpha: 0.3);
  915. text {
  916. margin-bottom: 10px;
  917. }
  918. }
  919. .send_btn {
  920. position: absolute;
  921. right: 10px;
  922. border-radius: 10px;
  923. background-color: #79573D;
  924. color: #fff;
  925. height: 35px;
  926. line-height: 35px;
  927. text-align: center;
  928. width: 80px;
  929. font-size: 15px;
  930. display: inline-block;
  931. margin-top: 20px;
  932. }
  933. }
  934. </style>