circle-info.vue 20 KB

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