You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

899 lines
26 KiB

1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
  1. <template>
  2. <view class="home-content">
  3. <view class="card-container">
  4. <view class="companion-info">
  5. <view class="companion-info-img">
  6. <image class="people-img" slot='cover'
  7. :src="companionInfo.userImage || defaultStaffIamge">
  8. </image>
  9. </view>
  10. <view class="companion-info-detail">
  11. <view class="" style="width: 360rpx;">
  12. <view class="companion-info-left">
  13. <text class="companion-info-left-title">{{companionInfo.userName}}</text>
  14. <view>
  15. <img :src="companionInfo.appletUsersTeacher.sex==1?'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/personal/pet/sex_m.png':
  16. 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/personal/pet/sex_f.png'" alt="sex"
  17. style="width: 40rpx;height: 40rpx;" />
  18. </view>
  19. </view>
  20. <view class="">
  21. <!-- <image src="/static/images/pages/cwfw.png" mode="heightFix"
  22. style="height: 40rpx;"></image> -->
  23. </view>
  24. </view>
  25. <view class="companion-info-right" @click="onClickFav">
  26. <view v-if="collect">
  27. <uni-icons type="star-filled" size="18" color="#FFB13F"></uni-icons>
  28. <text style="font-size: 16px; color: #FFB13F; margin-left: 6rpx;">已收藏</text>
  29. </view>
  30. <view v-else>
  31. <uni-icons type="star" size="18" color="#7D8196"></uni-icons>
  32. <text style="font-size: 16px; color: #7D8196; margin-left: 6rpx;">收藏</text>
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. <view class="companion-info-des">
  38. <text class="companion-info-des-text">
  39. {{ companionInfo.appletUsersTeacher.userBrief || '暂无简介' }}
  40. <!-- 你好我叫小鱼养过两只猫目前养了只布偶女猫两岁了11工作比较自由方便喂养咪咪很高兴认识你和你的猫 -->
  41. </text>
  42. </view>
  43. <view class="personal-pet">
  44. <uni-card :is-shadow="false" padding=0 margin="10px">
  45. <view class="service-new-title" slot="title">
  46. <view class="service-new-title-left">
  47. <view class="service-new-flag"></view>
  48. <view>他的宠物</view>
  49. </view>
  50. </view>
  51. <view class="split-line"></view>
  52. <view class="service-new-pet-content">
  53. <view v-for="(item, index) in petList" :key="index">
  54. <view class="personal-pet-list-item">
  55. <view class="personal-pet-info">
  56. <view>
  57. <u-avatar :src="item.headImage?item.headImage:defaultStaffIamge" size="60"
  58. shape="circle"></u-avatar>
  59. </view>
  60. <view class="personal-pet-info-1">
  61. <view class="personal-pet-info-2">
  62. <view class="personal-pet-name">
  63. {{item.nickName}}
  64. </view>
  65. <view class="personal-pet-sex">
  66. <img :src="item.sex==0?'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/personal/pet/sex_m.png':
  67. 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/personal/pet/sex_f.png'" alt="sex"
  68. style="width: 20px;height: 20px;" />
  69. </view>
  70. </view>
  71. <view class="personal-pet-info-3" style="width: 100%;">
  72. <view v-if="item.breed" class="ellipsis" style="max-width: 45%;">
  73. {{item.type}}
  74. </view>
  75. <view v-if="item.age" class="personal-pet-info-age"
  76. style="max-width: 60px;">
  77. {{item.age}}
  78. </view>
  79. <view v-if="item.weight" class="ellipsis">
  80. {{item.weight}}KG
  81. </view>
  82. </view>
  83. </view>
  84. </view>
  85. </view>
  86. </view>
  87. <!-- <view style="display: flex;">
  88. <view style="width: 28%;">
  89. <image class="pet-img" slot='cover'
  90. :src="companionInfo&&companionInfo.staffImages&&companionInfo.staffImages.length>0?companionInfo.staffImages[0].url:defaultStaffIamge">
  91. </image>
  92. </view>
  93. <view>
  94. <view>
  95. <text style="font-size: 16px; margin-right: 4px;">{{companionInfo.name}}</text>
  96. <uni-icons type="person" size="20" color="#FFB13F"></uni-icons>
  97. </view>
  98. <view>
  99. <text style="font-size: 14px;color: #AAA">
  100. 中华田园猫 | 1 | 体重1KG
  101. </text>
  102. </view>
  103. </view>
  104. </view> -->
  105. </view>
  106. </uni-card>
  107. </view>
  108. <view>
  109. <image @click="changeOrderType" style="height: 132rpx; width: 710rpx; margin: 0 20rpx 0 20rpx;"
  110. slot='cover'
  111. src="https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/petServiceOrder/CMDFServiceDetail.png">
  112. <!-- <uni-card padding=0>
  113. <view class="service-new-pet-content" style="padding: 10px 0 5px 0;">
  114. <view style="display: flex;">
  115. <view>
  116. <image class="service-img" slot='cover' :src="defaultStaffIamge">
  117. </image>
  118. </view>
  119. <view
  120. style="display: flex; margin-left: 10px; align-items: center; justify-content: space-between; width: 100%;">
  121. <view>
  122. <view>
  123. <text
  124. style="font-weight: 500; font-size: 28rpx; color: #333333; line-height: 33rpx;">宠物服务详解</text>
  125. </view>
  126. <view>
  127. <text style="font-size: 12px;color: #AAA">
  128. 服务介绍收费标准常见问题服务记录
  129. </text>
  130. </view>
  131. </view>
  132. <view>
  133. <uni-icons type="right" size="20" color="#AAA"></uni-icons>
  134. </view>
  135. </view>
  136. </view>
  137. </view>
  138. </uni-card> -->
  139. </view>
  140. <!-- <view class="personal-pet" style="padding-bottom: 10px;">
  141. <uni-card :is-shadow="false" padding=0 margin="10px">
  142. <view class="service-new-title" slot="title">
  143. <view class="service-new-title-left">
  144. <view class="service-new-flag"></view>
  145. <view>近期评价</view>
  146. </view>
  147. </view>
  148. <view class="split-line"></view>
  149. <view class="service-new-pet-content">
  150. <view v-for="(item,index) in rewardList" :key="index">
  151. <view class="reward-list-item">
  152. <view class="reward-info">
  153. <view>
  154. <u-avatar :src="item.photo?item.photo:defaultStaffIamge" size="60"
  155. shape="circle"></u-avatar>
  156. </view>
  157. <view class="reward-info-1">
  158. <view class="reward-info-2">
  159. <view class="reward-name">
  160. {{item.name}}
  161. </view>
  162. <view class="star">
  163. <uni-rate :readonly="true" size="18" :value="item.star" />
  164. </view>
  165. </view>
  166. <view class="reward-info-3" style="width: 100%;">
  167. <view>
  168. {{item.time}}
  169. </view>
  170. <view>
  171. {{item.des}}
  172. </view>
  173. </view>
  174. </view>
  175. </view>
  176. </view>
  177. </view>
  178. </view>
  179. </uni-card>
  180. </view> -->
  181. <!-- <view class="service-record" style="padding-bottom: 20rpx;">
  182. <uni-card :is-shadow="false" padding="0" margin="10px">
  183. <view class="service-record-title" slot="title">
  184. <view class="service-record-title-left">
  185. <view class="service-record-flag"></view>
  186. <view>不接单日期</view>
  187. </view>
  188. </view>
  189. <view class="split-line"></view>
  190. <view class="service-record-content"
  191. style="display: flex;justify-content: space-around;height: 100rpx;align-items: center;">
  192. <view style="font-size: 30rpx;color: #333;">
  193. 共不接单8天
  194. </view>
  195. <view style="font-size: 26rpx;color: #FFB13F;display: flex;align-items: center;"
  196. @click="$refs.calendarPopup.open('bottom')">
  197. <uni-icons type="calendar" size="40rpx" color="#FFB13F"
  198. style="margin-top: 6rpx;"></uni-icons>
  199. 点击查看不接单日期
  200. </view>
  201. </view>
  202. </uni-card>
  203. </view> -->
  204. <view class="service-record" style="padding-bottom: 20rpx;">
  205. <uni-card :is-shadow="false" padding="0" margin="10px">
  206. <view class="service-record-title" slot="title">
  207. <view class="service-record-title-left">
  208. <view class="service-record-flag"></view>
  209. <view>服务范围</view>
  210. </view>
  211. </view>
  212. <view class="split-line"></view>
  213. <view class="">
  214. <view class=""
  215. style="margin: 10rpx 0;"
  216. :key="index"
  217. v-for="(address, index) in addressList">
  218. 可接单地址{{ index + 1 }}
  219. {{ address.area }}
  220. {{ address.address }}
  221. {{ address.rangeNo ? address.rangeNo + '公里内' : '' }}
  222. <view v-if="address.appletOutDate && address.appletOutDate.length">
  223. <view class="service-record-content"
  224. style="display: flex;justify-content: space-around;height: 100rpx;align-items: center;">
  225. <view style="font-size: 30rpx;color: #333;">
  226. 共不接单{{ address.appletOutDate.length }}
  227. </view>
  228. <view style="font-size: 26rpx;color: #FFB13F;display: flex;align-items: center;"
  229. @click="selectDate = address.appletOutDate.map(n => n.date);$refs.calendarPopup.open('bottom')">
  230. <uni-icons type="calendar" size="40rpx" color="#FFB13F"
  231. style="margin-top: 6rpx;"></uni-icons>
  232. 点击查看不接单日期
  233. </view>
  234. </view>
  235. </view>
  236. </view>
  237. </view>
  238. </uni-card>
  239. </view>
  240. <view class="service-record" style="padding-bottom: 55px;">
  241. <uni-card :is-shadow="false" padding=0 margin="10px">
  242. <view class="service-record-title" slot="title">
  243. <view class="service-record-title-left">
  244. <view class="service-record-flag"></view>
  245. <view>服务记录</view>
  246. </view>
  247. </view>
  248. <view class="split-line"></view>
  249. <view class="service-record-content">
  250. <view v-for="(item, index) in serviceRecordList" :key="index">
  251. <view class="service-record-item">
  252. <view class="service-record-info">
  253. <view>
  254. <u-avatar :src="companionInfo.userImage || defaultStaffIamge" size="40"
  255. shape="circle"></u-avatar>
  256. </view>
  257. <view class="service-record-info-1">
  258. <view class="service-record-info-2">
  259. <view class="service-record-info-title">
  260. <view class="service-record-name">
  261. {{companionInfo.userName}}
  262. </view>
  263. </view>
  264. <view class="service-record-location">
  265. <text style="color: #FFB13F;">{{item.serviceSpot}}</text>
  266. </view>
  267. </view>
  268. <view class="service-record-info-3" style="width: 100%;">
  269. <view class="ellipsis">
  270. {{item.type == 1 ? '上门喂猫' : '上门遛狗'}}
  271. </view>
  272. <view style="margin: 0 10rpx 0 10rpx;">
  273. |
  274. </view>
  275. <view class="ellipsis">
  276. {{item.serviceTime}}
  277. </view>
  278. </view>
  279. <view class="service-record-info-4" style="width: 100%;">
  280. <view class="ellipsis" style="max-width: 225px;">
  281. 宠物{{item.petName}}
  282. </view>
  283. </view>
  284. </view>
  285. </view>
  286. <view class="service-record-des">
  287. {{item.text}}
  288. </view>
  289. <view class="service-record-pet-images">
  290. <view v-for="(img,index) in item.images" :key="index">
  291. <image class="service-record-pet-images-item" slot='cover' :src="img">
  292. </image>
  293. </view>
  294. </view>
  295. </view>
  296. <view class="split-line"></view>
  297. </view>
  298. </view>
  299. </uni-card>
  300. </view>
  301. <view class="bottom-btn-sticky" style="padding: 10rpx 40rpx 0 40rpx;"
  302. @click="toBuy">
  303. <!-- <button class="bottom-btn" @click="getOrder">立即预约</button> -->
  304. <image style="width: 670rpx; height: 80rpx;" slot='cover'
  305. src="https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/petServiceOrder/orderNow.png" />
  306. </view>
  307. </view>
  308. <!-- <uni-popup ref="calendarPopup" background-color="#fff">
  309. <view class="popupBottom">
  310. <view class="" style="font-size: 32rpx;font-weight: 900;text-align: center;padding: 20rpx 0;">
  311. 不接单日期
  312. </view>
  313. <uni-calendar ref="calendar"
  314. class="uni-calendar--hook"
  315. :showMonth="false"/>
  316. <view style="display: flex; justify-content: center; align-items: center;">
  317. <image @click="closePopup" style="width: 670rpx; height: 80rpx;" slot='cover' src="https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/petServiceOrder/yesButton.png" />
  318. </view>
  319. </view>
  320. </uni-popup> -->
  321. <uv-calendars
  322. ref="calendarPopup"
  323. mode="multiple"
  324. :date="selectDate"
  325. color="#FFB13F"
  326. readonly
  327. title="不接单日期"/>
  328. </view>
  329. </template>
  330. <script>
  331. // import {
  332. // getCompanionInfo
  333. // } from "@/api/system/companion"
  334. import {
  335. getTeacherDetail,
  336. getTeacherPetList,
  337. getTeacherAddressList,
  338. getTeacherServiceLogList,
  339. } from "@/api/order/order"
  340. import uniRate from '@/uni_modules/uni-rate/components/uni-rate/uni-rate.vue';
  341. import positionMixin from '../../mixins/position';
  342. export default {
  343. mixins: [positionMixin],
  344. data() {
  345. return {
  346. currentCompanionPetId: '',
  347. companionInfo: {},
  348. defaultStaffIamge: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png',
  349. collect: false,
  350. year : new Date().getFullYear(),
  351. selectDate : ['2025-4-18', '2025-4-20'],
  352. petList: [
  353. // {
  354. // gender: '女生',
  355. // name: '大咪',
  356. // breed: '中华田园猫',
  357. // age: '12',
  358. // weight: '13.5'
  359. // },
  360. // {
  361. // gender: '女生',
  362. // name: '大咪',
  363. // breed: '中华田园猫',
  364. // age: '12',
  365. // weight: '13.5'
  366. // }
  367. ],
  368. addressList: [],
  369. rewardList: [{
  370. name: '小咪',
  371. star: 3,
  372. time: '2025-1-1 18:00',
  373. des: '服务贴心,态度热情,非常满意',
  374. }, {
  375. name: '中咪',
  376. star: 4,
  377. time: '2025-1-1 18:00',
  378. des: '服务贴心,态度热情,非常满意',
  379. }, {
  380. name: '大咪',
  381. star: 5,
  382. time: '2025-1-1 18:00',
  383. des: '服务贴心,态度热情,非常满意',
  384. }],
  385. serviceRecordList: [
  386. // {
  387. // name: '修狗',
  388. // location: '重庆市',
  389. // type: 1,
  390. // time: '2025-1-15 18:09:32',
  391. // petName: '修狗',
  392. // des: '猫咪正常饮食,无任何异常,排尿较少,可能天气原因, 服务过程全程与主人视频。',
  393. // imageList: [
  394. // {
  395. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  396. // },
  397. // {
  398. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  399. // },
  400. // {
  401. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  402. // },
  403. // {
  404. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  405. // },
  406. // {
  407. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  408. // }
  409. // ]
  410. // },
  411. // {
  412. // name: '修猫',
  413. // location: '上海市',
  414. // type: 2,
  415. // time: '2025-1-15 18:09:32',
  416. // petName: '修猫',
  417. // des: '猫咪正常饮食,无任何异常,排尿较少,可能天气原因, 服务过程全程与主人视频。',
  418. // imageList: [{
  419. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  420. // },
  421. // {
  422. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  423. // },
  424. // {
  425. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  426. // }
  427. // ],
  428. // }, {
  429. // name: '修修补补',
  430. // location: '上海市',
  431. // type: 2,
  432. // time: '2025-1-15 18:09:32',
  433. // petName: '修猫',
  434. // des: '猫咪正常饮食,无任何异常,排尿较少,可能天气原因, 服务过程全程与主人视频。',
  435. // imageList: [{
  436. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  437. // },
  438. // {
  439. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  440. // },
  441. // {
  442. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  443. // },
  444. // {
  445. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  446. // }
  447. // ],
  448. // }
  449. ]
  450. }
  451. },
  452. components: {
  453. uniRate,
  454. },
  455. onLoad: function(option) {
  456. this.currentCompanionPetId = option.id;
  457. },
  458. mounted() {
  459. this.getCurrentCompanionPetInfo(this.currentCompanionPetId)
  460. },
  461. methods: {
  462. toBuy(){
  463. this.buyInfo.teacher = this.companionInfo
  464. uni.navigateTo({
  465. url: '/pages/newOrder/serviceNew?type=teacher'
  466. })
  467. },
  468. onClickFav() {
  469. this.collect = !this.collect
  470. this.$forceUpdate()
  471. },
  472. getCurrentCompanionPetInfo(userId) {
  473. getTeacherDetail({userId}).then(response => {
  474. if (response) {
  475. this.companionInfo = response
  476. this.companionInfo.distanceText = this.calculateDistanceAddress(response.appletAddresseList)
  477. }
  478. console.log('getCurrentCompanionPetInfo', response);
  479. })
  480. getTeacherPetList({userId}).then(response => {
  481. if (response.code == 200) {
  482. this.petList = response.data
  483. }
  484. })
  485. getTeacherAddressList({userId}).then(response => {
  486. if (response.code == 200) {
  487. this.addressList = response.data
  488. }
  489. })
  490. getTeacherServiceLogList({userId}).then(res => {
  491. this.serviceRecordList = res
  492. })
  493. },
  494. getOrder() {
  495. uni.navigateTo({
  496. // url: '/pages/newOrder/serviceNew2',
  497. url: `/pages/newOrder/serviceNew2?userName=${this.companionInfo.name}&servicerId=${this.companionInfo.id}`,
  498. });
  499. },
  500. }
  501. }
  502. </script>
  503. <style lang="scss">
  504. .home-content {
  505. background: linear-gradient(360deg, #F5F5F7 82%, #FFBF60 99%);
  506. .card-container {
  507. margin: 0;
  508. padding: 0;
  509. .uni-card {
  510. border-radius: 16rpx;
  511. }
  512. .companion-info {
  513. display: flex;
  514. .companion-info-img {
  515. margin: 20rpx 20rpx 20rpx 40rpx;
  516. .people-img {
  517. width: 168rpx;
  518. height: 168rpx;
  519. border: #FEA714 5rpx solid;
  520. border-radius: 168rpx;
  521. }
  522. }
  523. .companion-info-detail {
  524. width: 70%;
  525. display: flex;
  526. align-items: center;
  527. .companion-info-left {
  528. display: flex;
  529. width: 70%;
  530. .companion-info-left-title {
  531. color: #333;
  532. font-size: 32rpx;
  533. line-height: 32rpx;
  534. margin-right: 10rpx;
  535. font-weight: 900;
  536. font-style: normal;
  537. }
  538. }
  539. }
  540. }
  541. .companion-info-des {
  542. background-color: #FFF4E5;
  543. margin: 20rpx;
  544. display: flex;
  545. align-items: center;
  546. justify-content: center;
  547. border-radius: 16rpx;
  548. .companion-info-des-text {
  549. color: #FFB13F;
  550. margin: 20rpx 34rpx 20rpx 34rpx;
  551. }
  552. }
  553. .bottom-btn-sticky {
  554. z-index: 10;
  555. position: fixed;
  556. bottom: 40rpx;
  557. /* 距离底部的距离 */
  558. // right: 32rpx;
  559. /* 距离右侧的距离 */
  560. // width: 50px;
  561. // /* 按钮的宽度 */
  562. // height: 50px;
  563. .bottom-btn {
  564. width: 670rpx;
  565. height: 80rpx;
  566. border-radius: 120rpx;
  567. background: #FFB13F;
  568. font-size: 32rpx;
  569. color: #FFFFFF;
  570. }
  571. }
  572. .pet-img {
  573. width: 70px;
  574. height: 70px;
  575. border: #FFBF60 1px solid;
  576. border-radius: 35px;
  577. }
  578. .personal-pet-list-item {
  579. // margin: 10px 10px 0 10px;
  580. // border-radius: 5px;
  581. padding: 10px 0px 10px 0;
  582. .personal-pet-info {
  583. display: flex;
  584. align-items: center;
  585. justify-content: flex-start;
  586. .personal-pet-info-1 {
  587. margin-left: 10px;
  588. .personal-pet-info-2 {
  589. display: flex;
  590. flex-wrap: wrap;
  591. .personal-pet-name {
  592. color: #333;
  593. font-size: 16px;
  594. margin-right: 10px;
  595. }
  596. }
  597. .personal-pet-info-3 {
  598. display: flex;
  599. align-items: baseline;
  600. font-size: 14px;
  601. margin-top: 5px;
  602. color: #7D8196;
  603. .personal-pet-info-age {
  604. padding: 0 10px;
  605. margin: 0 10px;
  606. border-left: solid 2px #7D8196;
  607. border-right: solid 2px #7D8196;
  608. }
  609. }
  610. }
  611. }
  612. .personal-pet-info-disposition {
  613. padding: 10px;
  614. color: #7D8196;
  615. font-size: 14px;
  616. background: #f9f9f9;
  617. border-radius: 5px;
  618. margin-top: 10px;
  619. }
  620. .personal-pet-info-btns {
  621. display: flex;
  622. justify-content: flex-end;
  623. margin-top: 10px;
  624. .personal-pet-info-btn {
  625. display: flex;
  626. font-size: 14px;
  627. color: #7D8196;
  628. margin-left: 20px;
  629. }
  630. }
  631. }
  632. .reward-list-item {
  633. padding: 10px 0px 10px 0;
  634. .reward-info {
  635. display: flex;
  636. // align-items: center;
  637. justify-content: flex-start;
  638. .reward-info-1 {
  639. margin-left: 10px;
  640. width: 100%;
  641. .reward-info-2 {
  642. display: flex;
  643. flex-wrap: wrap;
  644. .reward-name {
  645. color: #333;
  646. font-size: 16px;
  647. width: 60%;
  648. }
  649. }
  650. .reward-info-3 {
  651. align-items: baseline;
  652. font-size: 14px;
  653. margin-top: 5px;
  654. color: #7D8196;
  655. }
  656. }
  657. }
  658. .personal-pet-info-disposition {
  659. padding: 10px;
  660. color: #7D8196;
  661. font-size: 14px;
  662. background: #f9f9f9;
  663. border-radius: 5px;
  664. margin-top: 10px;
  665. }
  666. .personal-pet-info-btns {
  667. display: flex;
  668. justify-content: flex-end;
  669. margin-top: 10px;
  670. .personal-pet-info-btn {
  671. display: flex;
  672. font-size: 14px;
  673. color: #7D8196;
  674. margin-left: 20px;
  675. }
  676. }
  677. }
  678. .service-img {
  679. width: 60px;
  680. height: 60px;
  681. // border: #FFBF60 1px solid;
  682. // border-radius: 35px;
  683. }
  684. .personal-pet {
  685. width: 100%;
  686. .service-new-title {
  687. display: flex;
  688. font-weight: 500;
  689. font-size: 28rpx;
  690. color: #333333;
  691. line-height: 33rpx;
  692. margin: 42rpx 0 30rpx;
  693. justify-content: space-between;
  694. .service-new-title-left {
  695. display: flex;
  696. align-items: center;
  697. .service-new-flag {
  698. width: 8rpx;
  699. height: 32rpx;
  700. background: #FFBF60;
  701. border-radius: 30rpx 30rpx 30rpx 30rpx;
  702. margin-right: 10rpx;
  703. }
  704. }
  705. }
  706. .split-line {
  707. width: 100%;
  708. height: 1rpx;
  709. background: #EFEFEF;
  710. }
  711. .service-new-pet-content {
  712. // padding: 20rpx;
  713. }
  714. }
  715. .service-record {
  716. width: 100%;
  717. .service-record-title {
  718. display: flex;
  719. font-weight: 500;
  720. font-size: 28rpx;
  721. color: #333333;
  722. line-height: 33rpx;
  723. margin: 42rpx 0 30rpx;
  724. justify-content: space-between;
  725. .service-record-title-left {
  726. display: flex;
  727. align-items: center;
  728. .service-record-flag {
  729. width: 8rpx;
  730. height: 32rpx;
  731. background: #FFBF60;
  732. border-radius: 30rpx 30rpx 30rpx 30rpx;
  733. margin-right: 10rpx;
  734. }
  735. }
  736. }
  737. .split-line {
  738. width: 100%;
  739. height: 1rpx;
  740. background: #EFEFEF;
  741. }
  742. .service-record-content {
  743. // padding: 20rpx;
  744. .service-record-item {
  745. padding: 10px 0px 0px 0;
  746. .service-record-info {
  747. display: flex;
  748. align-items: center;
  749. justify-content: flex-start;
  750. .service-record-info-1 {
  751. margin-left: 10px;
  752. width: 100%;
  753. .service-record-info-2 {
  754. display: flex;
  755. flex-wrap: wrap;
  756. .service-record-info-title {
  757. display: flex;
  758. flex-wrap: wrap;
  759. width: 80%;
  760. }
  761. .service-record-name {
  762. color: #333;
  763. font-size: 28rpx;
  764. // line-height: 28rpx;
  765. font-weight: 500;
  766. font-style: normal;
  767. }
  768. .service-record-location {
  769. color: #FFAA48;
  770. font-size: 28rpx;
  771. font-weight: 400;
  772. // line-height: 32rpx;
  773. }
  774. }
  775. .service-record-info-3 {
  776. display: flex;
  777. align-items: baseline;
  778. font-size: 24rpx;
  779. // line-height: 32rpx;
  780. color: #7D8196;
  781. font-weight: 400;
  782. }
  783. .service-record-info-4 {
  784. display: flex;
  785. align-items: baseline;
  786. font-size: 24rpx;
  787. // margin-top: 10px;
  788. color: #7D8196;
  789. font-weight: 400;
  790. line-height: 32rpx;
  791. }
  792. }
  793. }
  794. .service-record-des {
  795. margin: 20rpx 0 20rpx 0;
  796. font-size: 28rpx;
  797. font-weight: 400;
  798. color: #333;
  799. }
  800. .service-record-pet-images {
  801. margin: 20rpx 0 20rpx 0;
  802. display: flex;
  803. flex-wrap: wrap;
  804. .service-record-pet-images-item {
  805. width: 152rpx;
  806. height: 152rpx;
  807. border-radius: 20rpx;
  808. margin-right: 10rpx;
  809. }
  810. }
  811. }
  812. }
  813. }
  814. }
  815. }
  816. </style>