doctorDetails.vue 23 KB

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