circle-info.vue 23 KB

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