circle-info.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755
  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">({{obj.remark}})</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="item.head_img" 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" @click="delInfo(info, index, 2 ,i)"
  110. 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. remark: ''
  243. }
  244. },
  245. onLoad(e) {
  246. this.news_id = e.news_id;
  247. this.msgData.news_id = e.news_id;
  248. this.getInfo();
  249. this.getList();
  250. uni.onKeyboardHeightChange(res => {
  251. console.log('log', res);
  252. this.KeyboardHeight = res.height
  253. })
  254. },
  255. onUnload() {
  256. const circleDataUp = {}
  257. alumnInfo({
  258. news_id: this.news_id
  259. }).then((res) => {
  260. if (res.code === 1) {
  261. circleDataUp.news_id = res.data.news_id
  262. circleDataUp.like = res.data.like
  263. circleDataUp.remark = res.data.remark
  264. circleDataUp.heat = res.data.heat
  265. uni.$emit('circleDataUp',circleDataUp)
  266. }
  267. })
  268. // const circleDataUp = {
  269. // news_id: this.obj.news_id,
  270. // like: this.obj.like,
  271. // remark: list.length,
  272. // heat: this.obj.heat
  273. // }
  274. console.log("监听页面卸载");
  275. },
  276. methods: {
  277. // keyboardheightchange(e) {
  278. // this.keyboardHeight = e.detail.height;
  279. // console.log(this.keyboardHeight, '1111111111');
  280. // this.showKeyNum++;
  281. // setTimeout(() => {
  282. // uni.pageScrollTo({
  283. // scrollTop: 2000
  284. // });
  285. // }, 200)
  286. // },
  287. // hideBorad() {
  288. // this.showKeyNum = 2;
  289. // this.keyboardHeight = 0;
  290. // },
  291. inputFocus(type) {
  292. if (!type) {
  293. this.focus = false
  294. // this.hideBorad()
  295. }
  296. this.$forceUpdate()
  297. },
  298. lookImg(i, item) {
  299. tools.lookBigImg(i, item)
  300. },
  301. toBack() {
  302. tools.leftClick()
  303. },
  304. getInfo() {
  305. alumnInfo({
  306. news_id: this.news_id
  307. }).then((res) => {
  308. if (res.code === 1) {
  309. this.obj = res.data;
  310. } else {
  311. tools.error(res.msg)
  312. setTimeout(() => {
  313. uni.navigateBack({
  314. delta: 1
  315. })
  316. }, 1500)
  317. }
  318. })
  319. },
  320. scrolltolower() {
  321. if (this.list.length < this.total) {
  322. this.page += 1;
  323. this.getList();
  324. }
  325. },
  326. getList() {
  327. getRemarkList({
  328. news_id: this.news_id,
  329. remark_id: 0,
  330. page: this.page
  331. }).then((res) => {
  332. if (res.code === 1) {
  333. this.list = [...this.list, ...res.data.items];
  334. this.total = res.data.total;
  335. this.list.forEach((v) => {
  336. v.replyList = [];
  337. if (v.count > 0) {
  338. v.isOpen = true;
  339. }
  340. })
  341. }
  342. })
  343. },
  344. // 获取回复列表
  345. openReply(type, item) {
  346. // type 1获取其他 2加载更多
  347. if (this.isAJAX) {
  348. return
  349. }
  350. this.isAJAX = true;
  351. if (type == 1) {
  352. item.replyList = [];
  353. this.replyData.page = 1;
  354. } else {
  355. this.replyData.page += 1;
  356. }
  357. getRemarkList({
  358. news_id: item.news_id,
  359. remark_id: item.id,
  360. page: this.replyData.page
  361. }).then((res) => {
  362. if (res.code === 1) {
  363. this.isAJAX = false;
  364. item.replyList = [...item.replyList, ...res.data.items];
  365. item.isOpen = false;
  366. } else {
  367. this.isAJAX = false;
  368. tools.error(res.msg)
  369. }
  370. })
  371. },
  372. // 点赞
  373. handUp(type, item) {
  374. if (this.isAJAX) {
  375. return
  376. }
  377. this.isAJAX = true;
  378. let is_like = item.is_like == 1 ? 0 : 1;
  379. if (type == 1) {
  380. // 点赞贴子
  381. setAlumniLike({
  382. news_id: item.news_id,
  383. is_like: is_like
  384. }).then((res) => {
  385. this.handUpFun(res, item, is_like)
  386. })
  387. } else {
  388. // 点赞评论
  389. setRemarkLike({
  390. news_id: item.news_id,
  391. is_like: is_like,
  392. remark_id: item.id
  393. }).then((res) => {
  394. this.handUpFun(res, item, is_like)
  395. })
  396. }
  397. },
  398. // 点赞公共回复
  399. handUpFun(res, item, is_like) {
  400. if (res.code === 1) {
  401. item.is_like = is_like;
  402. if (is_like == 0) {
  403. item.like -= 1
  404. } else {
  405. item.like += 1
  406. }
  407. this.isAJAX = false;
  408. tools.success(res.msg);
  409. } else {
  410. this.isAJAX = false;
  411. tools.error(res.msg);
  412. }
  413. },
  414. openInput(type, item, index, i) {
  415. console.log(index, i, '$$$$$$$$$$$$$$$$$');
  416. this.msgIndex = index
  417. this.msgType = type
  418. this.msgI = i
  419. if (type == 0) {
  420. this.msgData.remark_id = 0;
  421. } else if (type == 1) {
  422. this.msgData.remark_id = item.id;
  423. this.msgData.reply_id = item.m_id;
  424. } else {
  425. this.msgData.remark_id = item.remark_id;
  426. this.msgData.reply_id = item.m_id;
  427. }
  428. this.$refs.popup.open();
  429. // setTimeout(() => {
  430. // this.focus = true
  431. // // this.$forceUpdate()
  432. // }, 500);
  433. // console.log(this.focus, '是否聚焦');
  434. },
  435. closeInput() {
  436. this.$refs.popup.close();
  437. this.msgData.remark_id = '';
  438. this.msgData.content = '';
  439. this.msgData.reply_id = '';
  440. },
  441. save() {
  442. if (this.isAJAX) {
  443. return
  444. }
  445. this.isAJAX = true;
  446. setCreateRemark(this.msgData).then((res) => {
  447. if (res.code == 1) {
  448. tools.success('评论成功')
  449. setTimeout(() => {
  450. this.isAJAX = false;
  451. this.closeInput()
  452. if (this.msgType == 0) {
  453. this.list.unshift(res.data)
  454. this.$forceUpdate()
  455. } else if (this.msgType == 1) {
  456. let replyList = []
  457. ++this.list[this.msgI].count
  458. console.log(this.list[this.msgIndex], '二级');
  459. if (this.list[this.msgIndex].replyList) {
  460. this.list[this.msgIndex].replyList.push(res.data)
  461. } else {
  462. this.list[this.msgIndex].replyList = replyList
  463. this.list[this.msgIndex].replyList.push(res.data)
  464. this.$forceUpdate()
  465. }
  466. } else {
  467. console.log(this.list[this.msgIndex]);
  468. ++this.list[this.msgI].count
  469. this.list[this.msgI].replyList.push(res.data)
  470. this.$forceUpdate()
  471. }
  472. console.log(this.list[this.msgIndex]);
  473. this.msgIndex = 0
  474. this.msgType = 0
  475. this.msgI = 0
  476. // this.list = [];
  477. // this.page = 1;
  478. // this.getList();
  479. this.getInfo();
  480. // remark
  481. }, 1500)
  482. } else {
  483. this.isAJAX = false;
  484. tools.error(res.msg)
  485. }
  486. })
  487. },
  488. delInfo(item, index, type, i) {
  489. if (this.isAJAX) {
  490. return
  491. }
  492. this.isAJAX = true;
  493. delRemark({
  494. remark_id: item.id
  495. }).then((res) => {
  496. if (res.code === 1) {
  497. tools.success('删除成功')
  498. setTimeout(() => {
  499. this.isAJAX = false;
  500. console.log(this.list[i], '88888888888888888');
  501. --this.list[i].count
  502. if (type == 1) {
  503. this.list.splice(index, 1)
  504. } else {
  505. this.list[i].replyList.splice(index, 1)
  506. }
  507. // this.list = [];
  508. // this.page = 1;
  509. // this.getList();
  510. this.getInfo();
  511. }, 1500)
  512. } else {
  513. this.isAJAX = false;
  514. tools.error(res.msg)
  515. }
  516. })
  517. },
  518. // 打开举报
  519. openRepot(item) {
  520. this.reportData.news_id = item.news_id;
  521. this.$refs.popupRepot.open();
  522. },
  523. // 举报
  524. closePop(type) {
  525. if (type === 1) {
  526. this.reportData.news_id = '';
  527. this.reportData.content = '';
  528. this.$refs.popupRepot.close();
  529. } else {
  530. if (this.isAJAX) {
  531. return
  532. }
  533. this.isAJAX = true;
  534. alumniReport(this.reportData).then((res) => {
  535. if (res.code === 1) {
  536. tools.success(res.msg)
  537. setTimeout(() => {
  538. this.isAJAX = false;
  539. this.closePop(1);
  540. }, 1000)
  541. } else {
  542. tools.error(res.msg);
  543. this.isAJAX = false;;
  544. }
  545. })
  546. }
  547. },
  548. },
  549. }
  550. </script>
  551. <style scoped lang="scss">
  552. .label-box {
  553. padding: 0 12rpx;
  554. height: 38rpx;
  555. line-height: 38rpx;
  556. }
  557. .wz {
  558. width: 32rpx;
  559. height: 32rpx;
  560. }
  561. .fs-input {
  562. flex: 1;
  563. width: 100%;
  564. height: 170rpx !important;
  565. // line-height: 72rpx;
  566. background: #F2F2F2;
  567. border-radius: 20rpx;
  568. box-sizing: border-box;
  569. padding: 20rpx 24rpx;
  570. }
  571. .wh64 {
  572. width: 68rpx;
  573. height: 68rpx;
  574. }
  575. .input-box-box {
  576. width: 436rpx;
  577. height: 72rpx;
  578. line-height: 72rpx;
  579. background: #F2F2F2;
  580. border-radius: 200rpx;
  581. box-sizing: border-box;
  582. padding: 0 24rpx;
  583. }
  584. .circle-info-box {
  585. .boder-b-t {
  586. border-top: 1rpx solid #F2F2F2;
  587. }
  588. .card-5 {
  589. height: 98rpx;
  590. padding: 9rpx 24rpx 9rpx 32rpx;
  591. image {
  592. width: 40rpx;
  593. height: 40rpx;
  594. margin-right: 8rpx;
  595. }
  596. }
  597. .w348 {
  598. width: 348rpx;
  599. }
  600. .nav-box {
  601. z-index: 99;
  602. padding-bottom: 10rpx;
  603. .nav-img {
  604. width: 56rpx;
  605. height: 56rpx;
  606. margin-right: 30rpx;
  607. }
  608. .info-nav {
  609. image {
  610. width: 64rpx;
  611. height: 64rpx;
  612. border-radius: 50%;
  613. margin-right: 20rpx;
  614. }
  615. }
  616. }
  617. .swiper {
  618. width: 100%rpx;
  619. height: 920rpx;
  620. .swiper-item {
  621. width: 100%;
  622. height: 920rpx;
  623. // background-color: skyblue;
  624. }
  625. }
  626. .bz-box {
  627. padding: 0 32rpx 20rpx 32rpx;
  628. .card-4 {
  629. // view {
  630. // padding: 4rpx 16rpx;
  631. // background: #F2F2F2;
  632. // border-radius: 200rpx;
  633. // font-size: 24rpx;
  634. // color: #999;
  635. // margin-right: 20rpx;
  636. // margin-bottom: 10rpx;
  637. // }
  638. }
  639. }
  640. .pop-input {
  641. width: 100%;
  642. height: auto;
  643. background-color: #fff;
  644. border-top: 1rpx solid #ccc;
  645. padding: 15rpx 24rpx;
  646. box-sizing: border-box;
  647. // .save-box{
  648. // text-align: center;
  649. // line-height: 88rpx;
  650. // font-weight: 600;
  651. // font-size: 32rpx;
  652. // color: #FFFFFF;
  653. // width: 100%;
  654. // height: 80rpx;
  655. // border-radius: 200rpx;
  656. // background: linear-gradient( 105deg, #57CAFF 0%, #41ABF5 100%);
  657. // }
  658. }
  659. .pop-box {
  660. width: 100%;
  661. height: 50vh;
  662. background-color: #fff;
  663. border-radius: 24rpx 24rpx 0rpx 0rpx;
  664. display: flex;
  665. flex-direction: column;
  666. .item-box {
  667. width: 100%;
  668. height: 92rpx;
  669. border-radius: 200rpx;
  670. line-height: 92rpx;
  671. text-align: center;
  672. margin-bottom: 24rpx;
  673. }
  674. }
  675. .pop-msg {
  676. // height: 70vh;
  677. .head-pop {
  678. padding-bottom: 34rpx !important;
  679. border-bottom: 1rpx solid #F2F2F2;
  680. }
  681. .list-box {
  682. .list-box-img {
  683. width: 80rpx;
  684. height: 80rpx;
  685. border-radius: 50%;
  686. margin-right: 16rpx;
  687. }
  688. .only-box {
  689. padding: 4rpx 16rpx;
  690. background: rgba(65, 171, 245, 0.1);
  691. border-radius: 8rpx 8rpx 8rpx 8rpx;
  692. }
  693. .msg-img {
  694. width: 144rpx;
  695. height: 144rpx;
  696. border-radius: 12rpx;
  697. margin-right: 5rpx;
  698. margin-bottom: 5rpx;
  699. }
  700. .msg-img:nth-child(3n) {
  701. margin-right: 0rpx;
  702. }
  703. .msg-img-1 {
  704. width: 100rpx !important;
  705. height: 100rpx !important;
  706. }
  707. }
  708. }
  709. }
  710. </style>