circle-info.vue 23 KB

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