circle-info.vue 20 KB

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