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.

889 lines
26 KiB

1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month 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.name}}</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.name}}
  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. <!-- <button class="bottom-btn" @click="getOrder">立即预约</button> -->
  303. <image style="width: 670rpx; height: 80rpx;" slot='cover'
  304. src="https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/petServiceOrder/orderNow.png" />
  305. </view>
  306. </view>
  307. <!-- <uni-popup ref="calendarPopup" background-color="#fff">
  308. <view class="popupBottom">
  309. <view class="" style="font-size: 32rpx;font-weight: 900;text-align: center;padding: 20rpx 0;">
  310. 不接单日期
  311. </view>
  312. <uni-calendar ref="calendar"
  313. class="uni-calendar--hook"
  314. :showMonth="false"/>
  315. <view style="display: flex; justify-content: center; align-items: center;">
  316. <image @click="closePopup" style="width: 670rpx; height: 80rpx;" slot='cover' src="https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/petServiceOrder/yesButton.png" />
  317. </view>
  318. </view>
  319. </uni-popup> -->
  320. <uv-calendars
  321. ref="calendarPopup"
  322. mode="multiple"
  323. :date="selectDate"
  324. color="#FFB13F"
  325. readonly
  326. title="不接单日期"/>
  327. </view>
  328. </template>
  329. <script>
  330. // import {
  331. // getCompanionInfo
  332. // } from "@/api/system/companion"
  333. import {
  334. getTeacherDetail,
  335. getTeacherPetList,
  336. getTeacherAddressList,
  337. getTeacherServiceLogList,
  338. } from "@/api/order/order"
  339. import uniRate from '@/uni_modules/uni-rate/components/uni-rate/uni-rate.vue';
  340. export default {
  341. data() {
  342. return {
  343. currentCompanionPetId: '',
  344. companionInfo: {},
  345. defaultStaffIamge: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png',
  346. collect: false,
  347. year : new Date().getFullYear(),
  348. selectDate : ['2025-4-18', '2025-4-20'],
  349. petList: [
  350. // {
  351. // gender: '女生',
  352. // name: '大咪',
  353. // breed: '中华田园猫',
  354. // age: '12',
  355. // weight: '13.5'
  356. // },
  357. // {
  358. // gender: '女生',
  359. // name: '大咪',
  360. // breed: '中华田园猫',
  361. // age: '12',
  362. // weight: '13.5'
  363. // }
  364. ],
  365. addressList: [],
  366. rewardList: [{
  367. name: '小咪',
  368. star: 3,
  369. time: '2025-1-1 18:00',
  370. des: '服务贴心,态度热情,非常满意',
  371. }, {
  372. name: '中咪',
  373. star: 4,
  374. time: '2025-1-1 18:00',
  375. des: '服务贴心,态度热情,非常满意',
  376. }, {
  377. name: '大咪',
  378. star: 5,
  379. time: '2025-1-1 18:00',
  380. des: '服务贴心,态度热情,非常满意',
  381. }],
  382. serviceRecordList: [
  383. // {
  384. // name: '修狗',
  385. // location: '重庆市',
  386. // type: 1,
  387. // time: '2025-1-15 18:09:32',
  388. // petName: '修狗',
  389. // des: '猫咪正常饮食,无任何异常,排尿较少,可能天气原因, 服务过程全程与主人视频。',
  390. // imageList: [
  391. // {
  392. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  393. // },
  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. // },
  408. // {
  409. // name: '修猫',
  410. // location: '上海市',
  411. // type: 2,
  412. // time: '2025-1-15 18:09:32',
  413. // petName: '修猫',
  414. // des: '猫咪正常饮食,无任何异常,排尿较少,可能天气原因, 服务过程全程与主人视频。',
  415. // imageList: [{
  416. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  417. // },
  418. // {
  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. // }, {
  426. // name: '修修补补',
  427. // location: '上海市',
  428. // type: 2,
  429. // time: '2025-1-15 18:09:32',
  430. // petName: '修猫',
  431. // des: '猫咪正常饮食,无任何异常,排尿较少,可能天气原因, 服务过程全程与主人视频。',
  432. // imageList: [{
  433. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  434. // },
  435. // {
  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. // }
  446. ]
  447. }
  448. },
  449. components: {
  450. uniRate,
  451. },
  452. onLoad: function(option) {
  453. this.currentCompanionPetId = option.id;
  454. },
  455. mounted() {
  456. this.getCurrentCompanionPetInfo(this.currentCompanionPetId)
  457. },
  458. methods: {
  459. onClickFav() {
  460. this.collect = !this.collect
  461. this.$forceUpdate()
  462. },
  463. getCurrentCompanionPetInfo(userId) {
  464. getTeacherDetail({userId}).then(response => {
  465. if (response) {
  466. this.companionInfo = response
  467. }
  468. console.log('getCurrentCompanionPetInfo', response);
  469. })
  470. getTeacherPetList({userId}).then(response => {
  471. if (response.code == 200) {
  472. this.petList = response.data
  473. }
  474. })
  475. getTeacherAddressList({userId}).then(response => {
  476. if (response.code == 200) {
  477. this.addressList = response.data
  478. }
  479. })
  480. getTeacherServiceLogList({userId}).then(res => {
  481. this.serviceRecordList = res
  482. })
  483. },
  484. getOrder() {
  485. uni.navigateTo({
  486. // url: '/pages/newOrder/serviceNew2',
  487. url: `/pages/newOrder/serviceNew2?userName=${this.companionInfo.name}&servicerId=${this.companionInfo.id}`,
  488. });
  489. },
  490. }
  491. }
  492. </script>
  493. <style lang="scss">
  494. .home-content {
  495. background: linear-gradient(360deg, #F5F5F7 82%, #FFBF60 99%);
  496. .card-container {
  497. margin: 0;
  498. padding: 0;
  499. .uni-card {
  500. border-radius: 16rpx;
  501. }
  502. .companion-info {
  503. display: flex;
  504. .companion-info-img {
  505. margin: 20rpx 20rpx 20rpx 40rpx;
  506. .people-img {
  507. width: 168rpx;
  508. height: 168rpx;
  509. border: #FEA714 5rpx solid;
  510. border-radius: 168rpx;
  511. }
  512. }
  513. .companion-info-detail {
  514. width: 70%;
  515. display: flex;
  516. align-items: center;
  517. .companion-info-left {
  518. display: flex;
  519. width: 70%;
  520. .companion-info-left-title {
  521. color: #333;
  522. font-size: 32rpx;
  523. line-height: 32rpx;
  524. margin-right: 10rpx;
  525. font-weight: 900;
  526. font-style: normal;
  527. }
  528. }
  529. }
  530. }
  531. .companion-info-des {
  532. background-color: #FFF4E5;
  533. margin: 20rpx;
  534. display: flex;
  535. align-items: center;
  536. justify-content: center;
  537. border-radius: 16rpx;
  538. .companion-info-des-text {
  539. color: #FFB13F;
  540. margin: 20rpx 34rpx 20rpx 34rpx;
  541. }
  542. }
  543. .bottom-btn-sticky {
  544. z-index: 10;
  545. position: fixed;
  546. bottom: 40rpx;
  547. /* 距离底部的距离 */
  548. // right: 32rpx;
  549. /* 距离右侧的距离 */
  550. // width: 50px;
  551. // /* 按钮的宽度 */
  552. // height: 50px;
  553. .bottom-btn {
  554. width: 670rpx;
  555. height: 80rpx;
  556. border-radius: 120rpx;
  557. background: #FFB13F;
  558. font-size: 32rpx;
  559. color: #FFFFFF;
  560. }
  561. }
  562. .pet-img {
  563. width: 70px;
  564. height: 70px;
  565. border: #FFBF60 1px solid;
  566. border-radius: 35px;
  567. }
  568. .personal-pet-list-item {
  569. // margin: 10px 10px 0 10px;
  570. // border-radius: 5px;
  571. padding: 10px 0px 10px 0;
  572. .personal-pet-info {
  573. display: flex;
  574. align-items: center;
  575. justify-content: flex-start;
  576. .personal-pet-info-1 {
  577. margin-left: 10px;
  578. .personal-pet-info-2 {
  579. display: flex;
  580. flex-wrap: wrap;
  581. .personal-pet-name {
  582. color: #333;
  583. font-size: 16px;
  584. margin-right: 10px;
  585. }
  586. }
  587. .personal-pet-info-3 {
  588. display: flex;
  589. align-items: baseline;
  590. font-size: 14px;
  591. margin-top: 5px;
  592. color: #7D8196;
  593. .personal-pet-info-age {
  594. padding: 0 10px;
  595. margin: 0 10px;
  596. border-left: solid 2px #7D8196;
  597. border-right: solid 2px #7D8196;
  598. }
  599. }
  600. }
  601. }
  602. .personal-pet-info-disposition {
  603. padding: 10px;
  604. color: #7D8196;
  605. font-size: 14px;
  606. background: #f9f9f9;
  607. border-radius: 5px;
  608. margin-top: 10px;
  609. }
  610. .personal-pet-info-btns {
  611. display: flex;
  612. justify-content: flex-end;
  613. margin-top: 10px;
  614. .personal-pet-info-btn {
  615. display: flex;
  616. font-size: 14px;
  617. color: #7D8196;
  618. margin-left: 20px;
  619. }
  620. }
  621. }
  622. .reward-list-item {
  623. padding: 10px 0px 10px 0;
  624. .reward-info {
  625. display: flex;
  626. // align-items: center;
  627. justify-content: flex-start;
  628. .reward-info-1 {
  629. margin-left: 10px;
  630. width: 100%;
  631. .reward-info-2 {
  632. display: flex;
  633. flex-wrap: wrap;
  634. .reward-name {
  635. color: #333;
  636. font-size: 16px;
  637. width: 60%;
  638. }
  639. }
  640. .reward-info-3 {
  641. align-items: baseline;
  642. font-size: 14px;
  643. margin-top: 5px;
  644. color: #7D8196;
  645. }
  646. }
  647. }
  648. .personal-pet-info-disposition {
  649. padding: 10px;
  650. color: #7D8196;
  651. font-size: 14px;
  652. background: #f9f9f9;
  653. border-radius: 5px;
  654. margin-top: 10px;
  655. }
  656. .personal-pet-info-btns {
  657. display: flex;
  658. justify-content: flex-end;
  659. margin-top: 10px;
  660. .personal-pet-info-btn {
  661. display: flex;
  662. font-size: 14px;
  663. color: #7D8196;
  664. margin-left: 20px;
  665. }
  666. }
  667. }
  668. .service-img {
  669. width: 60px;
  670. height: 60px;
  671. // border: #FFBF60 1px solid;
  672. // border-radius: 35px;
  673. }
  674. .personal-pet {
  675. width: 100%;
  676. .service-new-title {
  677. display: flex;
  678. font-weight: 500;
  679. font-size: 28rpx;
  680. color: #333333;
  681. line-height: 33rpx;
  682. margin: 42rpx 0 30rpx;
  683. justify-content: space-between;
  684. .service-new-title-left {
  685. display: flex;
  686. align-items: center;
  687. .service-new-flag {
  688. width: 8rpx;
  689. height: 32rpx;
  690. background: #FFBF60;
  691. border-radius: 30rpx 30rpx 30rpx 30rpx;
  692. margin-right: 10rpx;
  693. }
  694. }
  695. }
  696. .split-line {
  697. width: 100%;
  698. height: 1rpx;
  699. background: #EFEFEF;
  700. }
  701. .service-new-pet-content {
  702. // padding: 20rpx;
  703. }
  704. }
  705. .service-record {
  706. width: 100%;
  707. .service-record-title {
  708. display: flex;
  709. font-weight: 500;
  710. font-size: 28rpx;
  711. color: #333333;
  712. line-height: 33rpx;
  713. margin: 42rpx 0 30rpx;
  714. justify-content: space-between;
  715. .service-record-title-left {
  716. display: flex;
  717. align-items: center;
  718. .service-record-flag {
  719. width: 8rpx;
  720. height: 32rpx;
  721. background: #FFBF60;
  722. border-radius: 30rpx 30rpx 30rpx 30rpx;
  723. margin-right: 10rpx;
  724. }
  725. }
  726. }
  727. .split-line {
  728. width: 100%;
  729. height: 1rpx;
  730. background: #EFEFEF;
  731. }
  732. .service-record-content {
  733. // padding: 20rpx;
  734. .service-record-item {
  735. padding: 10px 0px 0px 0;
  736. .service-record-info {
  737. display: flex;
  738. align-items: center;
  739. justify-content: flex-start;
  740. .service-record-info-1 {
  741. margin-left: 10px;
  742. width: 100%;
  743. .service-record-info-2 {
  744. display: flex;
  745. flex-wrap: wrap;
  746. .service-record-info-title {
  747. display: flex;
  748. flex-wrap: wrap;
  749. width: 80%;
  750. }
  751. .service-record-name {
  752. color: #333;
  753. font-size: 28rpx;
  754. // line-height: 28rpx;
  755. font-weight: 500;
  756. font-style: normal;
  757. }
  758. .service-record-location {
  759. color: #FFAA48;
  760. font-size: 28rpx;
  761. font-weight: 400;
  762. // line-height: 32rpx;
  763. }
  764. }
  765. .service-record-info-3 {
  766. display: flex;
  767. align-items: baseline;
  768. font-size: 24rpx;
  769. // line-height: 32rpx;
  770. color: #7D8196;
  771. font-weight: 400;
  772. }
  773. .service-record-info-4 {
  774. display: flex;
  775. align-items: baseline;
  776. font-size: 24rpx;
  777. // margin-top: 10px;
  778. color: #7D8196;
  779. font-weight: 400;
  780. line-height: 32rpx;
  781. }
  782. }
  783. }
  784. .service-record-des {
  785. margin: 20rpx 0 20rpx 0;
  786. font-size: 28rpx;
  787. font-weight: 400;
  788. color: #333;
  789. }
  790. .service-record-pet-images {
  791. margin: 20rpx 0 20rpx 0;
  792. display: flex;
  793. flex-wrap: wrap;
  794. .service-record-pet-images-item {
  795. width: 152rpx;
  796. height: 152rpx;
  797. border-radius: 20rpx;
  798. margin-right: 10rpx;
  799. }
  800. }
  801. }
  802. }
  803. }
  804. }
  805. }
  806. </style>