doctorDetails.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942
  1. <template>
  2. <view class="content">
  3. <view class="bg">
  4. <image src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/dd7da40764af4db0ac326db271c7f1d3.png" />
  5. </view>
  6. <view class="top-box" >
  7. <view class="status_bar" :style="{height: statusBarHeight}"></view>
  8. <view class="btn-box">
  9. <view class="btns" @click="goback()">
  10. <view class="btn" >
  11. <image src="/static/images/back_white.png" />
  12. </view>
  13. <view class="line" ></view>
  14. <view class="btn" @click="gohome()" >
  15. <image src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/5981c2cd5f23484181f5b328c820d0de.png" />
  16. </view>
  17. </view>
  18. </view>
  19. </view>
  20. <view class="cont">
  21. <view class="status_bar" :style="{height: statusBarHeight}"></view>
  22. <view class="docs" style="margin-top:88rpx" >
  23. <view class="tip" @click="navTo('/pages_doctor/doctorImgs?doctorId='+doctor.doctorId)">
  24. <view class="left">
  25. <view class="title">
  26. <image src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/a58ee2a3fb674c2e8339243cb4ca1378.png"></image>
  27. <view >实名认证</view>
  28. </view>
  29. <view class="cert">
  30. <image src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/62aeeb0579974b67863a6ab56e9562f9.png"></image>
  31. <view >资格证编号:{{doctor.certificateCode!=null?doctor.certificateCode.substr(0,4)+"****"+doctor.certificateCode.substr(doctor.certificateCode.length-4,doctor.certificateCode.length):""}}</view>
  32. </view>
  33. </view>
  34. <view class="right">
  35. <image src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/1d519ad0467e4daea843aac745ae6b40.png"></image>
  36. </view>
  37. </view>
  38. <view class="doc-cont">
  39. <view class="doc-box">
  40. <view class="left">
  41. <image :src="doctor.avatar" mode="aspectFill"></image>
  42. </view>
  43. <view class="right">
  44. <view class="doc-name-box">
  45. <view class="doc-name">
  46. {{doctor.doctorName}}
  47. </view>
  48. <view class="doc-btns" >
  49. <view class="btn" @click="followChange()">
  50. <image v-if="isFollow" src="../../static/images/icon_strar.png"></image>
  51. <image v-if="!isFollow" src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/d509e50536804703a4b7dc066b16beee.png"></image>
  52. 关注
  53. </view>
  54. <view class="btn">
  55. <image src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/f79c3b9cbefa40be8c2beb74f616eefc.png"></image>
  56. 分享
  57. <button class="contact-btn" data-name="shareBtn" open-type="share">分享</button>
  58. </view>
  59. </view>
  60. </view>
  61. <view class="doc-dept-box">
  62. {{doctor.position}}
  63. <view class="line"></view>
  64. {{department.deptName}}
  65. </view>
  66. <view class="doc-his-box">
  67. {{hospital.hospitalName}}
  68. </view>
  69. </view>
  70. </view>
  71. <view class="doc-desc-box">
  72. <view class="doc-desc-cont" @click="navTo('/pages_doctor/doctorInfo?doctorId='+doctor.doctorId)">
  73. <view class="desc-cont ellipsis2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{doctor.speciality}}</view>
  74. <view class="title">擅长:</view>
  75. <view class="btn">详情</view>
  76. </view>
  77. <view class="doc-desc-cont" @click="navTo('/pages_doctor/doctorInfo?doctorId='+doctor.doctorId)">
  78. <view class="desc-cont ellipsis2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{doctor.introduction}}</view>
  79. <view class="title">介绍:</view>
  80. <view class="btn">详情</view>
  81. </view>
  82. </view>
  83. </view>
  84. </view>
  85. <view class="price-box">
  86. <view class="count-box">
  87. <view class="count-item">
  88. <view class="count yellow">{{doctor.pingStar}}分</view>
  89. <view class="name">好评</view>
  90. </view>
  91. <view class="count-item">
  92. <view class="count">{{doctor.orderNumber}}</view>
  93. <view class="name">接诊量</view>
  94. </view>
  95. <view class="count-item">
  96. <view class="count">{{doctor.speed}}分钟</view>
  97. <view class="name">平均响应</view>
  98. </view>
  99. <view class="count-item">
  100. <view class="count">0</view>
  101. <view class="name">粉丝数</view>
  102. </view>
  103. </view>
  104. <view class="price-list" v-if="doctor!=null&&doctor.prices!=null&&doctor.prices.length>0">
  105. <view class="price-item" @click="doInquiry(price)" v-for="(price,index) in doctor.prices">
  106. <view class="p-left">
  107. <image v-if="price.type==1" src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/645f3f298a264882b48e529342fc4074.png"></image>
  108. <image v-if="price.type==2" src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/45e904a9e74f4d1da771936a4b83f015.png"></image>
  109. <view class="price-name">
  110. <view class="price">
  111. <text class="title" v-if="price.type==1">图文问诊</text>
  112. <text class="title" v-if="price.type==2">视频问诊</text>
  113. <text class="money">{{price.price.toFixed(2)}}/次</text>
  114. </view>
  115. <view class="price-desc" v-if="price.type==1">
  116. 与医生图文交流
  117. </view>
  118. <view class="price-desc" v-if="price.type==2">
  119. 与医生视频交流
  120. </view>
  121. </view>
  122. </view>
  123. <view class="p-right">
  124. <view :class="doctor.workStatus==1?'btn':'btn gray'" >
  125. 去咨询
  126. </view>
  127. </view>
  128. </view>
  129. </view>
  130. </view>
  131. <!-- <view class="his-box">
  132. <view class="title-box">
  133. <view class="title">执业医院</view>
  134. </view>
  135. <view class="his" @click="navTo('/pages/index/hospitalDetails?hospitalId='+hospital.hospitalId)">
  136. <view class="left">
  137. <view class="his-name">
  138. {{hospital.hospitalName}}
  139. </view>
  140. <view class="his-desc" v-if="hospital.hospitalType!=null">
  141. {{hospital.hospitalType}}
  142. </view>
  143. </view>
  144. <view class="right">
  145. <image src="/static/images/icon_arrow_r.png"></image>
  146. </view>
  147. </view>
  148. </view> -->
  149. <!-- <view class="desc-box">
  150. <view class="title-box">
  151. <view class="title">医生介绍</view>
  152. </view>
  153. <view class="desc" >
  154. {{doctor.introduction}}
  155. </view>
  156. </view> -->
  157. <view class="ping-box">
  158. <view class="title-box">
  159. <view class="left">
  160. <view class="title">患者评价({{pingsTotal}})</view>
  161. </view>
  162. <view class="more" @click="navTo('./doctorPingList?doctorId='+doctorId)">
  163. <view >更多</view>
  164. <image src="/static/images/icon_arrow_r.png"></image>
  165. </view>
  166. </view>
  167. <view class="ping-list" v-if="pings.length>0">
  168. <view class="ping-item" v-for="(item) in pings">
  169. <view class="left">
  170. <image :src="item.avatar==null?'/static/images/detault_head.jpg':item.avatar"></image>
  171. </view>
  172. <view class="right">
  173. <view class="user-name-box">
  174. <view class="user-name">
  175. {{item.nickName}}
  176. </view>
  177. <view class="ping-star">
  178. <u-rate activeColor="#ffc603" count="5" readonly v-model="item.pingStar"></u-rate>
  179. </view>
  180. </view>
  181. <view class="ping-cont">
  182. {{item.pingContent}}
  183. </view>
  184. <view class="ping-time">
  185. {{item.pingTime}}
  186. </view>
  187. </view>
  188. </view>
  189. </view>
  190. </view>
  191. </view>
  192. </view>
  193. </template>
  194. <script>
  195. import {checkFollow,doFollow,getDoctorDetails,getDoctorPingList} from '@/api/doctor.js'
  196. export default {
  197. data() {
  198. return {
  199. pingsTotal:0,
  200. statusBarHeight: uni.getStorageSync('menuInfo').statusBarHeight,
  201. isFollow:false,
  202. doctorId:null,
  203. doctor:null,
  204. department:null,
  205. hospital:null,
  206. pings:[]
  207. }
  208. },
  209. onLoad(options) {
  210. if(options.doctorId!=null){
  211. this.doctorId=options.doctorId;
  212. }
  213. else if (options.hasOwnProperty('q') && options.q) {
  214. // 通过下面这步解码,可以拿到url的值
  215. const url = decodeURIComponent(options.q)
  216. // // 对url中携带的参数提取处理
  217. const obj = this.$urlToObj(url)
  218. uni.setStorageSync('doctorId',obj.doctorId);
  219. this.doctorId=obj.doctorId;
  220. }
  221. },
  222. onShow() {
  223. this.getDoctorDetails();
  224. this.getDoctorPingList();
  225. var that=this;
  226. this.$isLogin().then(
  227. res => {
  228. if(res){
  229. that.checkFollow();
  230. }
  231. },
  232. rej => {}
  233. );
  234. },
  235. //发送给朋友
  236. onShareAppMessage(res) {
  237. return {
  238. title: this.doctor.doctorName,
  239. path: '/pages_doctor/doctorDetails?doctorId='+this.doctorId,
  240. imageUrl: 'https://hos-1309931967.cos.ap-chongqing.myqcloud.com/fs/20230106/6b459adfb1004c1a96219bcdf07e337c.png' //分享图标,路径可以是本地文件路径、代码包文件路径或者网络图片路径.支持PNG及JPG。显示图片长宽比是 5:4
  241. }
  242. },
  243. //分享到朋友圈
  244. onShareTimeline(res) {
  245. return {
  246. title: this.doctor.doctorName,
  247. query:'doctorId='+this.doctorId,//页面参数
  248. imageUrl: 'https://hos-1309931967.cos.ap-chongqing.myqcloud.com/fs/20230106/6b459adfb1004c1a96219bcdf07e337c.png' //分享图标,路径可以是本地文件路径、代码包文件路径或者网络图片路径.支持PNG及JPG。显示图片长宽比是 5:4
  249. }
  250. },
  251. methods: {
  252. goback(){
  253. uni.navigateBack()
  254. },
  255. gohome(){
  256. uni.switchTab({
  257. url: '/pages/index/index'
  258. })
  259. },
  260. doInquiry(price){
  261. if(this.doctor.workStatus==0){
  262. uni.showToast({
  263. icon:'none',
  264. title: "医生休息中",
  265. });
  266. return;
  267. }
  268. var that=this;
  269. this.$isLogin().then(
  270. res => {
  271. if(res){
  272. uni.navigateTo({
  273. url: "/pages_order/inquiryForm1?inquiryType=1&orderType="+price.type+"&doctorId="+that.doctorId
  274. })
  275. }
  276. else{
  277. uni.navigateTo({
  278. url:'/pages/auth/login'
  279. })
  280. }
  281. },
  282. rej => {}
  283. );
  284. },
  285. followChange() {
  286. this.$isLogin().then(
  287. res => {
  288. if(res){
  289. this.doFollow();
  290. }
  291. else{
  292. uni.navigateTo({
  293. url:'/pages/auth/login'
  294. })
  295. }
  296. },
  297. rej => {}
  298. );
  299. },
  300. checkFollow(){
  301. var that=this;
  302. var data={doctorId:this.doctorId}
  303. checkFollow(data).then(
  304. res => {
  305. if(res.code==200){
  306. if(res.isFollow==1) {
  307. this.isFollow=true;
  308. } else {
  309. this.isFollow=false;
  310. }
  311. }
  312. else{
  313. this.isFollow=false;
  314. }
  315. },
  316. rej => {}
  317. );
  318. },
  319. doFollow(){
  320. var that=this;
  321. var data={doctorId:this.doctorId}
  322. doFollow(data).then(
  323. res => {
  324. this.isFollow=!this.isFollow;
  325. if(res.code=200){
  326. uni.showToast({
  327. title: res.msg
  328. })
  329. }
  330. },
  331. rej => {}
  332. );
  333. },
  334. getDoctorDetails() {
  335. //联网加载数据
  336. var that = this;
  337. var data = {
  338. doctorId: this.doctorId
  339. };
  340. getDoctorDetails(data).then(res => {
  341. if(res.code==200){
  342. this.doctor=res.data.doctor;
  343. this.doctor.prices=JSON.parse(this.doctor.priceJson)
  344. this.department=res.data.department;
  345. this.hospital=res.data.hospital;
  346. }else{
  347. uni.showToast({
  348. icon:'none',
  349. title: "请求失败",
  350. });
  351. }
  352. });
  353. },
  354. getDoctorPingList() {
  355. //联网加载数据
  356. var that = this;
  357. var data = {
  358. doctorId: this.doctorId,
  359. pageNum: 1,
  360. pageSize: 10
  361. };
  362. getDoctorPingList(data).then(res => {
  363. if(res.code==200){
  364. this.pings=res.data.list;
  365. this.pingsTotal=res.data.total
  366. }else{
  367. uni.showToast({
  368. icon:'none',
  369. title: "请求失败",
  370. });
  371. }
  372. });
  373. },
  374. navTo(url){
  375. uni.navigateTo({
  376. url: url
  377. })
  378. }
  379. }
  380. }
  381. </script>
  382. <style scoped lang="scss">
  383. .content{
  384. height: 100%;
  385. position: relative;
  386. .bg{
  387. width: 100%;
  388. height:500rpx;
  389. // background-color: #C39A58;
  390. // background: linear-gradient(#C39A58, #E2C99E);
  391. border-radius: 0rpx 0rpx 50rpx 50rpx;
  392. position: fixed;
  393. image{
  394. width: 100%;
  395. height:500rpx;
  396. }
  397. // z-index: 1;
  398. }
  399. .top-box{
  400. position: fixed;
  401. top: 0;
  402. left: 0;
  403. z-index: 1001;
  404. .btn-box{
  405. height:88rpx;
  406. margin-left: 15rpx;
  407. display: flex;
  408. align-items: center;
  409. justify-content: flex-start;
  410. .btns{
  411. display: flex;
  412. align-items: center;
  413. justify-content: flex-start;
  414. background: rgba(255,255,255,0.4);
  415. border-radius: 44rpx;
  416. opacity: 1;
  417. .btn{
  418. display: flex;
  419. align-items: center;
  420. justify-content: center;
  421. padding: 15rpx 20rpx;
  422. image{
  423. width:32rpx;
  424. height:32rpx;
  425. }
  426. }
  427. .line{
  428. width:2rpx;
  429. height:40rpx;
  430. background: rgba(233,233,233,0.5);
  431. border-radius: 2px;
  432. opacity: 1;
  433. }
  434. }
  435. }
  436. }
  437. .cont{
  438. top:50rpx;
  439. position: relative;
  440. padding: 0rpx 20rpx;
  441. z-index: 999;
  442. width: 100%;
  443. display: flex;
  444. flex-direction: column;
  445. .docs{
  446. margin-bottom: 20rpx;
  447. padding-top: 30rpx;
  448. position: relative;
  449. .tip{
  450. z-index: 110;
  451. width: 100%;
  452. position: absolute;
  453. top:-25rpx;
  454. padding: 0rpx 26rpx;
  455. display: flex;
  456. align-items: center;
  457. justify-content: space-between;
  458. height:60rpx;
  459. background-color: #2c261f;
  460. border-radius: 15rpx 15rpx 0rpx 0rpx;
  461. .left{
  462. display: flex;
  463. align-items: center;
  464. justify-content: flex-start;
  465. .title{
  466. display: flex;
  467. align-items: center;
  468. justify-content: flex-start;
  469. color: #F0CBB1;
  470. font-size: 24rpx;
  471. font-weight: bold;
  472. image{
  473. margin-right: 5rpx;
  474. width:20rpx;
  475. height:20rpx;
  476. }
  477. }
  478. .cert{
  479. margin-left: 10rpx;
  480. display: flex;
  481. align-items: center;
  482. justify-content: flex-start;
  483. color: #F0CBB1;
  484. font-size: 24rpx;
  485. font-weight: bold;
  486. image{
  487. margin-right: 10rpx;
  488. width:20rpx;
  489. height:20rpx;
  490. }
  491. }
  492. }
  493. .right{
  494. image{
  495. width:20rpx;
  496. height:20rpx;
  497. }
  498. }
  499. }
  500. .doc-cont{
  501. z-index:111;
  502. padding: 30rpx;
  503. box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.05);
  504. background-color: #fff;
  505. border-radius: 15rpx;
  506. .doc-box{
  507. display: flex;
  508. align-items: center;
  509. justify-content: flex-start;
  510. .left{
  511. width: 190upx;
  512. height: 190upx;
  513. image{
  514. box-sizing: border-box;
  515. border-radius: 50%;
  516. border:3rpx solid #E2C99E;
  517. width: 190upx;
  518. height: 190upx;
  519. }
  520. }
  521. .right{
  522. display: flex;
  523. flex-direction: column;
  524. justify-content: flex-start;
  525. margin-left: 20rpx;
  526. height:190upx;
  527. width: calc(100% - 210upx);
  528. .doc-name-box{
  529. display: flex;
  530. align-items: center;
  531. justify-content: space-between;
  532. position: relative;
  533. .doc-name{
  534. font-size: 38rpx;
  535. font-weight: bold;
  536. color: #2A2B2E;
  537. }
  538. .doc-btns{
  539. display: flex;
  540. align-items: center;
  541. justify-content: flex-end;
  542. .btn{
  543. border-radius: 30rpx;
  544. padding: 10rpx 20rpx;
  545. border: 1rpx solid #C39A58;
  546. margin-left: 10rpx;
  547. display: flex;
  548. align-items: center;
  549. justify-content: center;
  550. margin-left: 10rpx;
  551. color: #C39A58;
  552. font-size: 24rpx;
  553. font-weight: bold;
  554. position: relative;
  555. image{
  556. margin-right: 5rpx;
  557. width:24rpx;
  558. height:24rpx;
  559. }
  560. .contact-btn{
  561. display: inline-block;
  562. position: absolute;
  563. top: 0;
  564. left: 0;
  565. width: 100%;
  566. height: 100%;
  567. opacity: 0;
  568. z-index: 9999;
  569. }
  570. }
  571. }
  572. }
  573. .doc-dept-box{
  574. display: flex;
  575. align-items: center;
  576. justify-content: flex-start;
  577. margin-top: 15rpx;
  578. font-size: 28upx;
  579. font-weight: bold;
  580. font-family: PingFang SC;
  581. color: #2d2b36;
  582. .line{
  583. height:25rpx;
  584. width:3rpx;
  585. background-color: #ECECEC;
  586. margin: 0rpx 10rpx;
  587. }
  588. }
  589. .doc-his-box{
  590. display: flex;
  591. align-items: center;
  592. justify-content: flex-start;
  593. margin-top: 15rpx;
  594. font-size: 28upx;
  595. font-family: PingFang SC;
  596. color: #2d2b36;
  597. }
  598. }
  599. }
  600. .doc-desc-box{
  601. .doc-desc-cont{
  602. width: 100%;
  603. display: flex;
  604. align-items: center;
  605. justify-content: flex-start;
  606. position: relative;
  607. margin-top: 15rpx;
  608. .title{
  609. font-weight: bold;
  610. position: absolute;
  611. top:0rpx;
  612. left:0rpx;
  613. font-size: 28upx;
  614. font-family: PingFang SC;
  615. color: #2A2B2E;
  616. }
  617. .desc-cont{
  618. width: 100%;
  619. font-size: 28upx;
  620. font-family: PingFang SC;
  621. color: #9a9a9c;
  622. }
  623. .btn{
  624. padding: 5rpx 0rpx 5rpx 15rpx;
  625. background-color: white;
  626. position: absolute;
  627. bottom: 0rpx;
  628. right:0rpx;
  629. font-size: 28upx;
  630. font-family: PingFang SC;
  631. color: #3D74F7;
  632. }
  633. }
  634. }
  635. }
  636. }
  637. .price-box{
  638. margin-bottom: 20rpx;
  639. padding: 15rpx;
  640. background: linear-gradient(180deg, #F8EADC 0%, #FAF2E7 100%);
  641. box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.05);
  642. border-radius: 15rpx;
  643. .count-box{
  644. display: flex;
  645. align-items: center;
  646. justify-content: space-between;
  647. .count-item{
  648. width:25%;
  649. display: flex;
  650. flex-direction: column;
  651. align-items: center;
  652. justify-content: space-between;
  653. .count{
  654. font-size: 32upx;
  655. font-family: PingFang SC;
  656. font-weight: bold;
  657. color: #2A2B2E;
  658. }
  659. .yellow{
  660. font-size: 40rpx;
  661. color: #C39A58;
  662. }
  663. .name{
  664. margin-top: 10rpx;
  665. font-size: 24upx;
  666. font-family: PingFang SC;
  667. font-weight: bold;
  668. color: #626468;
  669. }
  670. }
  671. }
  672. .price-list{
  673. display: flex;
  674. flex-direction: column;
  675. align-items: flex-start;
  676. justify-content: flex-start;
  677. margin-top: 15rpx;
  678. padding: 15rpx;
  679. .price-item{
  680. margin-bottom: 15rpx;
  681. padding: 20rpx;
  682. width: 100%;
  683. display: flex;
  684. align-items: center;
  685. justify-content: space-between;
  686. border-radius: 15rpx;
  687. background-color: #ffffff;
  688. .p-left{
  689. display: flex;
  690. align-items: center;
  691. justify-content: flex-start;
  692. image{
  693. width: 96rpx;
  694. height:96rpx;
  695. }
  696. .price-name{
  697. padding: 10rpx 0rpx;
  698. margin-left: 15rpx;
  699. display: flex;
  700. flex-direction: column;
  701. align-items: flex-start;
  702. justify-content: space-between;
  703. .price{
  704. display: flex;
  705. align-items: center;
  706. justify-content: flex-start;
  707. .title{
  708. font-size: 32upx;
  709. font-family: PingFang SC;
  710. font-weight: bold;
  711. color: #111111;
  712. }
  713. .money{
  714. font-size: 32upx;
  715. font-family: PingFang SC;
  716. font-weight: bold;
  717. color: #FD8005;
  718. }
  719. }
  720. .price-desc{
  721. margin-top: 20rpx;
  722. font-size: 28upx;
  723. font-family: PingFang SC;
  724. color: #9a9a9c;
  725. }
  726. }
  727. }
  728. .p-right{
  729. .btn{
  730. padding: 15rpx 30rpx;
  731. background-color: #C39A58;
  732. color: #fff;
  733. font-size: 28rpx;
  734. border-radius: 30rpx;
  735. }
  736. .gray{
  737. background-color: #9a9a9c;
  738. }
  739. }
  740. }
  741. }
  742. }
  743. .his-box{
  744. margin-bottom: 20rpx;
  745. padding: 15rpx;
  746. box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.05);
  747. background-color: #fff;
  748. border-radius: 15rpx;
  749. .title-box{
  750. display: flex;
  751. flex-direction: row;
  752. align-items: center;
  753. justify-content: flex-start;
  754. .title{
  755. font-size: 32upx;
  756. font-family: PingFang SC;
  757. font-weight: bold;
  758. color: #111111;
  759. }
  760. }
  761. .his{
  762. display: flex;
  763. align-items: center;
  764. justify-content: space-between;
  765. margin-top: 15rpx;
  766. .left{
  767. display: flex;
  768. flex-direction: column;
  769. align-items: flex-start;
  770. justify-content: center;
  771. .his-name{
  772. font-size: 32upx;
  773. font-family: PingFang SC;
  774. color: #111111;
  775. }
  776. .his-desc{
  777. margin-top: 15rpx;
  778. font-size: 28upx;
  779. font-family: PingFang SC;
  780. color: #9a9a9c;
  781. }
  782. }
  783. .right{
  784. image{
  785. width:30rpx;
  786. height:30rpx;
  787. }
  788. }
  789. }
  790. }
  791. .desc-box{
  792. margin-bottom: 20rpx;
  793. padding: 15rpx;
  794. box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.05);
  795. background-color: #fff;
  796. border-radius: 15rpx;
  797. .title-box{
  798. display: flex;
  799. flex-direction: row;
  800. align-items: center;
  801. justify-content: flex-start;
  802. .title{
  803. font-size: 32upx;
  804. font-family: PingFang SC;
  805. font-weight: bold;
  806. color: #111111;
  807. }
  808. }
  809. .desc{
  810. margin-top: 15rpx;
  811. font-size: 28upx;
  812. font-family: PingFang SC;
  813. color: #9a9a9c;
  814. }
  815. }
  816. .ping-box{
  817. margin-bottom: 20rpx;
  818. padding: 15rpx;
  819. box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.05);
  820. background-color: #fff;
  821. border-radius: 15rpx;
  822. .title-box{
  823. display: flex;
  824. flex-direction: row;
  825. align-items: center;
  826. justify-content: space-between;
  827. .left{
  828. display: flex;
  829. align-items: center;
  830. justify-content: center;
  831. .title{
  832. font-size: 32upx;
  833. font-family: PingFang SC;
  834. font-weight: bold;
  835. color: #111111;
  836. }
  837. }
  838. .more{
  839. display: flex;
  840. align-items: center;
  841. justify-content: center;
  842. font-size: 28upx;
  843. font-family: PingFang SC;
  844. color: #9a9a9c;
  845. image{
  846. margin-left: 10rpx;
  847. width: 30rpx;
  848. height:30rpx;
  849. }
  850. }
  851. }
  852. .ping-list{
  853. display: flex;
  854. flex-direction: column;
  855. align-items: flex-start;
  856. justify-content: flex-start;
  857. margin-top: 15rpx;
  858. padding: 15rpx;
  859. .ping-item{
  860. padding: 20rpx 0rpx;
  861. border-bottom: 1rpx solid #efefef;
  862. width: 100%;
  863. display: flex;
  864. align-items: flex-start;
  865. justify-content: flex-start;
  866. &:last-child{
  867. padding-bottom: 0rpx;
  868. border-bottom: none;
  869. }
  870. .left{
  871. image{
  872. width:80rpx;
  873. height:80rpx;
  874. border-radius: 50%;
  875. }
  876. }
  877. .right{
  878. width: 100%;
  879. margin-left: 15rpx;
  880. .user-name-box{
  881. display: flex;
  882. align-items: center;
  883. justify-content: space-between;
  884. font-size: 28upx;
  885. font-family: PingFang SC;
  886. font-weight: bold;
  887. color: #111111;
  888. }
  889. .ping-cont{
  890. margin-top: 10rpx;
  891. font-size: 28upx;
  892. font-family: PingFang SC;
  893. color: #9a9a9c;
  894. }
  895. .ping-time{
  896. margin-top: 10rpx;
  897. font-size: 28upx;
  898. font-family: PingFang SC;
  899. color: #9a9a9c;
  900. }
  901. }
  902. }
  903. }
  904. }
  905. }
  906. }
  907. </style>