circle-info.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  1. <template>
  2. <view class="circle-info-box iPhone-bottom flex-common-css box-border-box bgc-f">
  3. <view class="nav-box bgc-f">
  4. <Nav :leftShow='false' :customNav='true' bgckgroundBox='transparent'>
  5. <template>
  6. <view slot="custom" class="display-flex ">
  7. <image class="nav-img" @click="toBack()" src="@/static/img/takeout/bg-back.png"
  8. mode="scaleToFill"></image>
  9. <view class="info-nav display-flex">
  10. <image :src="obj.head_img" mode=""></image>
  11. <view class="pb-5">
  12. <view class="fs-28 fw-600 w348 text-overflow-ellipsis-one">{{obj.nickname||''}}</view>
  13. <view class="fs-20 fc-9 fw-400 mb-10">{{obj.created_date||''}}</view>
  14. </view>
  15. </view>
  16. </view>
  17. </template>
  18. </Nav>
  19. </view>
  20. <scroll-view scroll-y="true" class="scroll-view-css" @scrolltolower="scrolltolower">
  21. <view class="box-border-box mb-26" v-if="obj.image.length > 0">
  22. <swiper class="swiper mb-32 " circular indicator-dots indicator-active-color="#4FB3EF" :autoplay="true"
  23. :interval="3000" :duration="500">
  24. <swiper-item v-for="(item,i) in obj.image" :key="i">
  25. <image class="swiper-item" :src="item" mode="aspectFit" @click="lookImg(i,item)"></image>
  26. </swiper-item>
  27. </swiper>
  28. </view>
  29. <view class="box-border-box bz-box bgc-f b-b-F9F9F9 mt-24 mb-32">
  30. <view class="fs-30 fw-600 mb-32">{{obj.content||''}}</view>
  31. <view class="card-4 flex-wrap-wrap">
  32. <view class="label-box align-items-center mr-20 b-rad-200 bgc-F2F2F2">
  33. <image class="wz mr-8" src="@/static/img/my/wz-two.png" mode=""></image>
  34. <view class="fs-24 fc-9">
  35. {{obj.school_name||''}}
  36. </view>
  37. </view>
  38. <view class="label-box align-items-center b-rad-200 bgc-F2F2F2">
  39. <image class="wz mr-8" src="@/static/img/my/ht.png" mode=""></image>
  40. <view class="fs-24 fc-9">
  41. {{obj.topic_name||''}}
  42. </view>
  43. </view>
  44. </view>
  45. </view>
  46. <view class="fs-32 fc-3 fw-600 mb-16 plr-32 box-border-box">
  47. 评论<text class="fs-24 fc-9">({{list.length}})</text>
  48. </view>
  49. <view v-if="list.length == 0" class="scroll-view-css">
  50. <EnBlank :customSrc='true'>
  51. <template v-slot:blankImg>
  52. <image class="black-custom-img" src="@/static/img/common/no-order.png" mode=""></image>
  53. </template>
  54. </EnBlank>
  55. </view>
  56. <view v-else class="pop-box pop-msg box-border-box p-24">
  57. <view class=" box-border-box plr-24">
  58. <view class="list-box flex-justify-space" v-for="(item,i) in list" :key="i">
  59. <image class="list-box-img" src="@/static/img/my/bg.png" mode="scaleToFill"></image>
  60. <view class="flex-1 p-b-20">
  61. <view class=" flex-justify-space">
  62. <view class=" b-b-F9F9F9 mr-20">
  63. <view class="fs-28 fw-400 fc-9 mb-8 align-items-center">
  64. {{item.nickname}}
  65. <span v-if="item.is_author == 1"
  66. class='only-box text-align-center fs-24 fc-41ABF5 ml-10'>作者</span>
  67. </view>
  68. <view class="fs-30 fw-400 mb-8" @click.stop="openInput(1,item,i,i)">
  69. {{item.content}}
  70. </view>
  71. <view class="align-items-center mb-8">
  72. <view class="fs-24 fw-400 fc-9">{{item.created_date}}</view>
  73. <uni-icons class="ml-10" v-if="item.is_self == 1"
  74. @click="delInfo(item, i, 1, i)" type="trash" size="18"
  75. color="#BFBFBF"></uni-icons>
  76. </view>
  77. </view>
  78. <view class="display-flex" @click.stop="handUp(2,item)">
  79. <uni-icons type="hand-up" size="20"
  80. :color="item.is_like==1?'#FD5C02':'#999'"></uni-icons>
  81. <view class="fs-24 fw-400 mt-5" :class="item.is_like==1?'fc-FD5C02':'fc-9'">
  82. {{item.like}}
  83. </view>
  84. </view>
  85. </view>
  86. <view v-if="item.isOpen" class="fs-24 fc-6 text-align-center mb-12"
  87. @click="openReply(1,item)">展开更多评论</view>
  88. <!-- 回复 -->
  89. <view class="mb-16" v-if="item.count > 0">
  90. <view class="list-box flex-justify-space" v-for="(info,index) in item.replyList"
  91. :key="index">
  92. <image class="list-box-img" src="@/static/img/my/bg.png" mode="scaleToFill"></image>
  93. <view class="flex-1">
  94. <view class=" flex-justify-space">
  95. <view class=" b-b-F9F9F9 mr-20">
  96. <view class="fs-28 fw-400 fc-9 mb-8 align-items-center">
  97. <view class="">
  98. {{info.nickname}}
  99. </view>
  100. <span v-if="info.is_author == 1"
  101. class='only-box text-align-center fs-24 fc-41ABF5 ml-10'>作者</span>
  102. </view>
  103. <view class="fs-30 fw-400 mb-8" @click.stop="openInput(2,info,index,i)">
  104. {{info.content}}
  105. </view>
  106. <view class="align-items-center mb-8">
  107. <view class="fs-24 fw-400 fc-9 ">{{info.created_date}}</view>
  108. <uni-icons type="trash" size="18" class="ml-10"
  109. v-if="info.is_self == 1"
  110. @click="delInfo(info, index, 2 ,i)" color="#BFBFBF"></uni-icons>
  111. </view>
  112. </view>
  113. <view class="display-flex" @click.stop="handUp(2,info)">
  114. <uni-icons type="hand-up" size="20"
  115. :color="info.is_like==1?'#FD5C02':'#999'"></uni-icons>
  116. <view class="fs-24 fw-400 mt-5"
  117. :class="info.is_like==1?'fc-FD5C02':'fc-9'">{{info.like}}</view>
  118. </view>
  119. </view>
  120. </view>
  121. </view>
  122. <view v-if="item.replyList.length < item.count && item.count > 10"
  123. class="fs-24 fc-6 text-align-center mb-12" @click="openReply(2,item)">展开更多评论</view>
  124. </view>
  125. </view>
  126. </view>
  127. </view>
  128. </view>
  129. </scroll-view>
  130. <view class="card-5 align-items-center flex-justify-space box-border-box boder-b-t">
  131. <view class="input-box-box fs-28 fc-9 mr-20" @click.stop="openInput(0,'','','')">友善评论,文明发言</view>
  132. <!-- <input class="fs-input" :focus='focus' v-model="msgData.content" @click.stop="openInput(0,'','','')"
  133. type="text" @focus='inputFocus(true)' @blur='inputFocus(false)' /> -->
  134. <!-- <textarea class="fs-input fs-36 fc-3" :focus='focus' v-model="msgData.content"
  135. @click.stop="openInput(0,'','','')" @focus='inputFocus(true)' @blur='inputFocus(false)' auto-height /> -->
  136. <view class="display-flex flex-shrink0">
  137. <view class="align-items-center mr-20" @click.stop="handUp(1,obj)">
  138. <uni-icons type="hand-up" size="22" :color="obj.is_like==1?'#FD5C02':'#999'"></uni-icons>
  139. <view :class="obj.is_like==1?'fc-FD5C02':'fc-9'">
  140. 点赞
  141. </view>
  142. <!-- <view class="fs-24 " :class="obj.is_like==1?'fc-FD5C02':'fc-9'">{{obj.like}}</view> -->
  143. </view>
  144. <view class="align-items-center" @click.stop="openRepot(obj)">
  145. <image src="@/static/img/school/info.png" mode=""></image>
  146. <view class="fs-24 fc-9">举报</view>
  147. </view>
  148. </view>
  149. <!-- <image v-else class="wh64" @click.stop="save()" src="@/static/img/school/fs.png" mode=""></image> -->
  150. </view>
  151. <uni-popup ref="popup" type="bottom">
  152. <view class="pop-input">
  153. <view class="text-align-right mb-20 fs-30 fc-41ABF5" @click.stop="save()">
  154. 发送
  155. </view>
  156. <textarea class="fs-input fs-28 fc-3" :focus='focus' v-model="msgData.content" placeholder='友善评论,文明发言'
  157. maxlength="100" placeholder-class='fs-28 fc-9 fw-600' @focus='inputFocus(true)'
  158. @blur='inputFocus(false)' @keyboardheightchange='keyboardheightchange' />
  159. <view :style="[{'height': KeyboardHeight +'px'}]"> </view>
  160. <!-- <input class="fs-input" focus type="text" />
  161. <view class="head-pop flex-justify-space align-items-center mb-24 box-border-box p-24">
  162. <view class="fs-28 fw-600 fc-41ABF5"></view>
  163. <view class="fs-36 fc-0 fw-600">评论</view>
  164. <uni-icons @click="closeInput()" type="closeempty" size="24"></uni-icons>
  165. </view>
  166. <view class="scroll-view-css">
  167. <view class="bgc-f box-border-box p-32">
  168. <view class="fs-34 fw-600 mb-20">评论</view>
  169. <textarea v-model="msgData.content" maxlength="100" class=" fs-24"
  170. placeholder='友善评论,文明发言'></textarea>
  171. </view>
  172. </view>
  173. <view class="box-border-box p-24">
  174. <view class="save-box" @click.stop="save()">评论</view>
  175. </view> -->
  176. </view>
  177. </uni-popup>
  178. <uni-popup ref="popupRepot" type="bottom">
  179. <view class="pop-box pop-h-30 box-border-box p-24" :style="'bottom:'+KeyboardHeight+'px;'">
  180. <view class="head-pop flex-justify-space align-items-center mb-24">
  181. <uni-icons @click.stop="closePop(1)" type="closeempty" size="24"></uni-icons>
  182. <view class="fs-36 fc-0 fw-600">请输入举报内容</view>
  183. <view class="fs-28 fw-600 fc-41ABF5" @click.stop="closePop(2)">确定</view>
  184. </view>
  185. <view class="scroll-view-css">
  186. <textarea style="height: 100%;" v-model="reportData.content" class=" fs-24" :maxlength='50'
  187. placeholder='请输入举报内容'></textarea>
  188. </view>
  189. <!-- <view @click.stop="closePop(2)" class="b-bottom text-align-center fs-32 fc-3 fw-600 fc-f">确认举报</view> -->
  190. </view>
  191. </uni-popup>
  192. </view>
  193. </template>
  194. <script>
  195. import EnBlank from "@/components/en-utils/en-blank/en-blank";
  196. import {
  197. alumnInfo,
  198. getRemarkList,
  199. setAlumniLike,
  200. delRemark,
  201. setCreateRemark,
  202. setRemarkLike,
  203. alumniReport
  204. } from '@/api/alumni.js';
  205. import tools from "@/service/tools";
  206. export default {
  207. components: {
  208. EnBlank
  209. },
  210. data() {
  211. return {
  212. isAJAX: false,
  213. news_id: '',
  214. obj: {
  215. image: [],
  216. },
  217. list: [],
  218. page: 1,
  219. total: 0,
  220. // 发起评论
  221. msgData: {
  222. news_id: '',
  223. remark_id: '',
  224. content: '',
  225. reply_id: '',
  226. },
  227. // 回复评论
  228. replyData: {
  229. page: 1,
  230. },
  231. // 举报
  232. reportData: {
  233. news_id: '',
  234. content: '',
  235. },
  236. focus: false,
  237. msgType: 0, // 消息类型
  238. msgIndex: 0, // 列表一级索引
  239. msgI: 0,
  240. KeyboardHeight: 0, // 键盘高度
  241. // showKeyNum: 0, //键盘打开的次数
  242. }
  243. },
  244. onLoad(e) {
  245. this.news_id = e.news_id;
  246. this.msgData.news_id = e.news_id;
  247. this.getInfo();
  248. this.getList();
  249. uni.onKeyboardHeightChange(res => {
  250. console.log('log', res);
  251. this.KeyboardHeight = res.height
  252. })
  253. },
  254. methods: {
  255. // keyboardheightchange(e) {
  256. // this.keyboardHeight = e.detail.height;
  257. // console.log(this.keyboardHeight, '1111111111');
  258. // this.showKeyNum++;
  259. // setTimeout(() => {
  260. // uni.pageScrollTo({
  261. // scrollTop: 2000
  262. // });
  263. // }, 200)
  264. // },
  265. // hideBorad() {
  266. // this.showKeyNum = 2;
  267. // this.keyboardHeight = 0;
  268. // },
  269. inputFocus(type) {
  270. if (!type) {
  271. this.focus = false
  272. // this.hideBorad()
  273. }
  274. this.$forceUpdate()
  275. },
  276. lookImg(i, item) {
  277. tools.lookBigImg(i, item)
  278. },
  279. toBack() {
  280. tools.leftClick()
  281. },
  282. getInfo() {
  283. alumnInfo({
  284. news_id: this.news_id
  285. }).then((res) => {
  286. if (res.code === 1) {
  287. this.obj = res.data;
  288. }
  289. })
  290. },
  291. scrolltolower() {
  292. if (this.list.length < this.total) {
  293. this.page += 1;
  294. this.getList();
  295. }
  296. },
  297. getList() {
  298. getRemarkList({
  299. news_id: this.news_id,
  300. remark_id: 0,
  301. page: this.page
  302. }).then((res) => {
  303. if (res.code === 1) {
  304. this.list = [...this.list, ...res.data.items];
  305. this.total = res.data.total;
  306. this.list.forEach((v) => {
  307. v.replyList = [];
  308. if (v.count > 0) {
  309. v.isOpen = true;
  310. }
  311. })
  312. }
  313. })
  314. },
  315. // 获取回复列表
  316. openReply(type, item) {
  317. // type 1获取其他 2加载更多
  318. if (this.isAJAX) {
  319. return
  320. }
  321. this.isAJAX = true;
  322. if (type == 1) {
  323. item.replyList = [];
  324. this.replyData.page = 1;
  325. } else {
  326. this.replyData.page += 1;
  327. }
  328. getRemarkList({
  329. news_id: item.news_id,
  330. remark_id: item.id,
  331. page: this.replyData.page
  332. }).then((res) => {
  333. if (res.code === 1) {
  334. this.isAJAX = false;
  335. item.replyList = [...item.replyList, ...res.data.items];
  336. item.isOpen = false;
  337. } else {
  338. this.isAJAX = false;
  339. tools.error(res.msg)
  340. }
  341. })
  342. },
  343. // 点赞
  344. handUp(type, item) {
  345. if (this.isAJAX) {
  346. return
  347. }
  348. this.isAJAX = true;
  349. let is_like = item.is_like == 1 ? 0 : 1;
  350. if (type == 1) {
  351. // 点赞贴子
  352. setAlumniLike({
  353. news_id: item.news_id,
  354. is_like: is_like
  355. }).then((res) => {
  356. this.handUpFun(res, item, is_like)
  357. })
  358. } else {
  359. // 点赞评论
  360. setRemarkLike({
  361. news_id: item.news_id,
  362. is_like: is_like,
  363. remark_id: item.id
  364. }).then((res) => {
  365. this.handUpFun(res, item, is_like)
  366. })
  367. }
  368. },
  369. // 点赞公共回复
  370. handUpFun(res, item, is_like) {
  371. if (res.code === 1) {
  372. item.is_like = is_like;
  373. if (is_like == 0) {
  374. item.like -= 1
  375. } else {
  376. item.like += 1
  377. }
  378. this.isAJAX = false;
  379. tools.success(res.msg);
  380. } else {
  381. this.isAJAX = false;
  382. tools.error(res.msg);
  383. }
  384. },
  385. openInput(type, item, index, i) {
  386. console.log(index, i, '$$$$$$$$$$$$$$$$$');
  387. this.msgIndex = index
  388. this.msgType = type
  389. this.msgI = i
  390. if (type == 0) {
  391. this.msgData.remark_id = 0;
  392. } else if (type == 1) {
  393. this.msgData.remark_id = item.id;
  394. this.msgData.reply_id = item.m_id;
  395. } else {
  396. this.msgData.remark_id = item.remark_id;
  397. this.msgData.reply_id = item.m_id;
  398. }
  399. this.$refs.popup.open();
  400. setTimeout(() => {
  401. this.focus = true
  402. // this.$forceUpdate()
  403. }, 500);
  404. // console.log(this.focus, '是否聚焦');
  405. },
  406. closeInput() {
  407. this.$refs.popup.close();
  408. this.msgData.remark_id = '';
  409. this.msgData.content = '';
  410. this.msgData.reply_id = '';
  411. },
  412. save() {
  413. if (this.isAJAX) {
  414. return
  415. }
  416. this.isAJAX = true;
  417. setCreateRemark(this.msgData).then((res) => {
  418. if (res.code == 1) {
  419. tools.success('评论成功')
  420. setTimeout(() => {
  421. this.isAJAX = false;
  422. this.closeInput()
  423. if (this.msgType == 0) {
  424. this.list.unshift(res.data)
  425. this.$forceUpdate()
  426. } else if (this.msgType == 1) {
  427. let replyList = []
  428. ++this.list[this.msgI].count
  429. console.log(this.list[this.msgIndex], '二级');
  430. if (this.list[this.msgIndex].replyList) {
  431. this.list[this.msgIndex].replyList.push(res.data)
  432. } else {
  433. this.list[this.msgIndex].replyList = replyList
  434. this.list[this.msgIndex].replyList.push(res.data)
  435. this.$forceUpdate()
  436. }
  437. } else {
  438. console.log(this.list[this.msgIndex]);
  439. ++this.list[this.msgI].count
  440. this.list[this.msgI].replyList.push(res.data)
  441. this.$forceUpdate()
  442. }
  443. console.log(this.list[this.msgIndex]);
  444. this.msgIndex = 0
  445. this.msgType = 0
  446. this.msgI = 0
  447. // this.list = [];
  448. // this.page = 1;
  449. // this.getList();
  450. }, 1500)
  451. } else {
  452. this.isAJAX = false;
  453. tools.error(res.msg)
  454. }
  455. })
  456. },
  457. delInfo(item, index, type, i) {
  458. if (this.isAJAX) {
  459. return
  460. }
  461. this.isAJAX = true;
  462. delRemark({
  463. remark_id: item.id
  464. }).then((res) => {
  465. if (res.code === 1) {
  466. tools.success('删除成功')
  467. setTimeout(() => {
  468. this.isAJAX = false;
  469. console.log(this.list[i], '88888888888888888');
  470. --this.list[i].count
  471. if (type == 1) {
  472. this.list.splice(index, 1)
  473. } else {
  474. this.list[i].replyList.splice(index, 1)
  475. }
  476. // this.list = [];
  477. // this.page = 1;
  478. // this.getList();
  479. }, 1500)
  480. } else {
  481. this.isAJAX = false;
  482. tools.error(res.msg)
  483. }
  484. })
  485. },
  486. // 打开举报
  487. openRepot(item) {
  488. this.reportData.news_id = item.news_id;
  489. this.$refs.popupRepot.open();
  490. },
  491. // 举报
  492. closePop(type) {
  493. if (type === 1) {
  494. this.reportData.news_id = '';
  495. this.reportData.content = '';
  496. this.$refs.popupRepot.close();
  497. } else {
  498. if (this.isAJAX) {
  499. return
  500. }
  501. this.isAJAX = true;
  502. alumniReport(this.reportData).then((res) => {
  503. if (res.code === 1) {
  504. tools.success(res.msg)
  505. setTimeout(() => {
  506. this.isAJAX = false;
  507. this.closePop(1);
  508. }, 1000)
  509. } else {
  510. tools.error(res.msg);
  511. this.isAJAX = false;;
  512. }
  513. })
  514. }
  515. },
  516. },
  517. }
  518. </script>
  519. <style scoped lang="scss">
  520. .label-box {
  521. padding: 0 12rpx;
  522. height: 38rpx;
  523. line-height: 38rpx;
  524. }
  525. .wz {
  526. width: 32rpx;
  527. height: 32rpx;
  528. }
  529. .fs-input {
  530. flex: 1;
  531. width: 100%;
  532. height: 170rpx !important;
  533. // line-height: 72rpx;
  534. background: #F2F2F2;
  535. border-radius: 20rpx;
  536. box-sizing: border-box;
  537. padding: 20rpx 24rpx;
  538. }
  539. .wh64 {
  540. width: 68rpx;
  541. height: 68rpx;
  542. }
  543. .input-box-box {
  544. width: 436rpx;
  545. height: 72rpx;
  546. line-height: 72rpx;
  547. background: #F2F2F2;
  548. border-radius: 200rpx;
  549. box-sizing: border-box;
  550. padding: 0 24rpx;
  551. }
  552. .circle-info-box {
  553. .boder-b-t {
  554. border-top: 1rpx solid #F2F2F2;
  555. }
  556. .card-5 {
  557. height: 98rpx;
  558. padding: 9rpx 24rpx 9rpx 32rpx;
  559. image {
  560. width: 40rpx;
  561. height: 40rpx;
  562. margin-right: 8rpx;
  563. }
  564. }
  565. .w348 {
  566. width: 348rpx;
  567. }
  568. .nav-box {
  569. z-index: 99;
  570. padding-bottom: 10rpx;
  571. .nav-img {
  572. width: 56rpx;
  573. height: 56rpx;
  574. margin-right: 30rpx;
  575. }
  576. .info-nav {
  577. image {
  578. width: 64rpx;
  579. height: 64rpx;
  580. border-radius: 50%;
  581. margin-right: 20rpx;
  582. }
  583. }
  584. }
  585. .swiper {
  586. width: 100%rpx;
  587. height: 920rpx;
  588. .swiper-item {
  589. width: 100%;
  590. height: 920rpx;
  591. // background-color: skyblue;
  592. }
  593. }
  594. .bz-box {
  595. padding: 0 32rpx 20rpx 32rpx;
  596. .card-4 {
  597. // view {
  598. // padding: 4rpx 16rpx;
  599. // background: #F2F2F2;
  600. // border-radius: 200rpx;
  601. // font-size: 24rpx;
  602. // color: #999;
  603. // margin-right: 20rpx;
  604. // margin-bottom: 10rpx;
  605. // }
  606. }
  607. }
  608. .pop-input {
  609. width: 100%;
  610. height: auto;
  611. background-color: #fff;
  612. border-top: 1rpx solid #ccc;
  613. padding: 15rpx 24rpx;
  614. box-sizing: border-box;
  615. // .save-box{
  616. // text-align: center;
  617. // line-height: 88rpx;
  618. // font-weight: 600;
  619. // font-size: 32rpx;
  620. // color: #FFFFFF;
  621. // width: 100%;
  622. // height: 80rpx;
  623. // border-radius: 200rpx;
  624. // background: linear-gradient( 105deg, #57CAFF 0%, #41ABF5 100%);
  625. // }
  626. }
  627. .pop-box {
  628. width: 100%;
  629. height: 50vh;
  630. background-color: #fff;
  631. border-radius: 24rpx 24rpx 0rpx 0rpx;
  632. display: flex;
  633. flex-direction: column;
  634. .item-box {
  635. width: 100%;
  636. height: 92rpx;
  637. border-radius: 200rpx;
  638. line-height: 92rpx;
  639. text-align: center;
  640. margin-bottom: 24rpx;
  641. }
  642. }
  643. .pop-msg {
  644. // height: 70vh;
  645. .head-pop {
  646. padding-bottom: 34rpx !important;
  647. border-bottom: 1rpx solid #F2F2F2;
  648. }
  649. .list-box {
  650. .list-box-img {
  651. width: 80rpx;
  652. height: 80rpx;
  653. border-radius: 50%;
  654. margin-right: 16rpx;
  655. }
  656. .only-box {
  657. padding: 4rpx 16rpx;
  658. background: rgba(65, 171, 245, 0.1);
  659. border-radius: 8rpx 8rpx 8rpx 8rpx;
  660. }
  661. .msg-img {
  662. width: 144rpx;
  663. height: 144rpx;
  664. border-radius: 12rpx;
  665. margin-right: 5rpx;
  666. margin-bottom: 5rpx;
  667. }
  668. .msg-img:nth-child(3n) {
  669. margin-right: 0rpx;
  670. }
  671. .msg-img-1 {
  672. width: 100rpx !important;
  673. height: 100rpx !important;
  674. }
  675. }
  676. }
  677. }
  678. </style>