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.

914 lines
27 KiB

2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months 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. <view style="display: flex;align-items: center;flex-direction: column;">
  219. <view style="flex: 1; padding-right: 10rpx;">
  220. <text>可接单地址{{ index + 1 }}</text>
  221. <text>{{ address.area }} {{ address.address }} {{ address.rangeNo ? address.rangeNo + '公里内' : '' }}</text>
  222. </view>
  223. <view v-if="address.appletOutDate && address.appletOutDate.length"
  224. style="display: flex; justify-content: flex-end;">
  225. <view
  226. style="font-size: 20rpx; color: #FFB13F; display: flex; align-items: center; padding: 2rpx 8rpx; background-color: #FFF9F0; border-radius: 20rpx;"
  227. @click="selectDate = address.appletOutDate.map(n => n.date);$refs.calendarPopup.open('bottom')">
  228. <uni-icons type="calendar" size="20rpx" color="#FFB13F" style="margin-right: 2rpx;"></uni-icons>
  229. <text>点击查看不接单{{address.appletOutDate.length}}</text>
  230. </view>
  231. </view>
  232. </view>
  233. </view>
  234. </view>
  235. <addressMap :addressList="addressList" @clickAddress="clickAddress"/>
  236. </uni-card>
  237. </view>
  238. <view class="service-record" style="padding-bottom: 55px;">
  239. <uni-card :is-shadow="false" padding=0 margin="10px">
  240. <view class="service-record-title" slot="title">
  241. <view class="service-record-title-left">
  242. <view class="service-record-flag"></view>
  243. <view>服务记录</view>
  244. </view>
  245. </view>
  246. <view class="split-line"></view>
  247. <view class="service-record-content">
  248. <view v-for="(item, index) in serviceRecordList" :key="index">
  249. <view class="service-record-item">
  250. <view class="service-record-info">
  251. <view>
  252. <u-avatar :src="companionInfo.userImage || defaultStaffIamge" size="40"
  253. shape="circle"></u-avatar>
  254. </view>
  255. <view class="service-record-info-1">
  256. <view class="service-record-info-2">
  257. <view class="service-record-info-title">
  258. <view class="service-record-name">
  259. {{companionInfo.userName}}
  260. </view>
  261. </view>
  262. <view class="service-record-location">
  263. <text style="color: #FFB13F;">{{item.serviceSpot}}</text>
  264. </view>
  265. </view>
  266. <view class="service-record-info-3" style="width: 100%;">
  267. <view class="ellipsis">
  268. {{item.type == 1 ? '上门喂猫' : '上门遛狗'}}
  269. </view>
  270. <view style="margin: 0 10rpx 0 10rpx;">
  271. |
  272. </view>
  273. <view class="ellipsis">
  274. {{item.serviceTime}}
  275. </view>
  276. </view>
  277. <view class="service-record-info-4" style="width: 100%;" v-if="item.petName">
  278. <view class="ellipsis" style="max-width: 225px;">
  279. 宠物{{ item.petName }}
  280. </view>
  281. </view>
  282. </view>
  283. </view>
  284. <view class="service-record-des">
  285. {{item.text}}
  286. </view>
  287. <view class="service-record-pet-images">
  288. <view v-for="(img,index) in item.images" :key="index">
  289. <image
  290. @click="previewImage(item.images, index)"
  291. 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. import addressMap from '@/components/addressMap.vue'
  343. export default {
  344. mixins: [positionMixin],
  345. components : {
  346. addressMap
  347. },
  348. data() {
  349. return {
  350. currentCompanionPetId: '',
  351. companionInfo: {},
  352. defaultStaffIamge: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png',
  353. collect: false,
  354. year : new Date().getFullYear(),
  355. selectDate : ['2025-4-18', '2025-4-20'],
  356. petList: [
  357. // {
  358. // gender: '女生',
  359. // name: '大咪',
  360. // breed: '中华田园猫',
  361. // age: '12',
  362. // weight: '13.5'
  363. // },
  364. // {
  365. // gender: '女生',
  366. // name: '大咪',
  367. // breed: '中华田园猫',
  368. // age: '12',
  369. // weight: '13.5'
  370. // }
  371. ],
  372. addressList: [],
  373. rewardList: [{
  374. name: '小咪',
  375. star: 3,
  376. time: '2025-1-1 18:00',
  377. des: '服务贴心,态度热情,非常满意',
  378. }, {
  379. name: '中咪',
  380. star: 4,
  381. time: '2025-1-1 18:00',
  382. des: '服务贴心,态度热情,非常满意',
  383. }, {
  384. name: '大咪',
  385. star: 5,
  386. time: '2025-1-1 18:00',
  387. des: '服务贴心,态度热情,非常满意',
  388. }],
  389. serviceRecordList: [
  390. // {
  391. // name: '修狗',
  392. // location: '重庆市',
  393. // type: 1,
  394. // time: '2025-1-15 18:09:32',
  395. // petName: '修狗',
  396. // des: '猫咪正常饮食,无任何异常,排尿较少,可能天气原因, 服务过程全程与主人视频。',
  397. // imageList: [
  398. // {
  399. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  400. // },
  401. // {
  402. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  403. // },
  404. // {
  405. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  406. // },
  407. // {
  408. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  409. // },
  410. // {
  411. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  412. // }
  413. // ]
  414. // },
  415. // {
  416. // name: '修猫',
  417. // location: '上海市',
  418. // type: 2,
  419. // time: '2025-1-15 18:09:32',
  420. // petName: '修猫',
  421. // des: '猫咪正常饮食,无任何异常,排尿较少,可能天气原因, 服务过程全程与主人视频。',
  422. // imageList: [{
  423. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  424. // },
  425. // {
  426. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  427. // },
  428. // {
  429. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  430. // }
  431. // ],
  432. // }, {
  433. // name: '修修补补',
  434. // location: '上海市',
  435. // type: 2,
  436. // time: '2025-1-15 18:09:32',
  437. // petName: '修猫',
  438. // des: '猫咪正常饮食,无任何异常,排尿较少,可能天气原因, 服务过程全程与主人视频。',
  439. // imageList: [{
  440. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  441. // },
  442. // {
  443. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  444. // },
  445. // {
  446. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  447. // },
  448. // {
  449. // url: 'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/banner/gold_people.png'
  450. // }
  451. // ],
  452. // }
  453. ]
  454. }
  455. },
  456. components: {
  457. uniRate,
  458. },
  459. onLoad: function(option) {
  460. this.currentCompanionPetId = option.id;
  461. },
  462. mounted() {
  463. this.getCurrentCompanionPetInfo(this.currentCompanionPetId)
  464. },
  465. methods: {
  466. clickAddress(address){
  467. if(address.appletOutDate && address.appletOutDate.length > 0){
  468. this.selectDate = address.appletOutDate.map(n => n.date);
  469. this.$refs.calendarPopup.open('bottom')
  470. }
  471. },
  472. toBuy(){
  473. this.buyInfo.teacher = this.companionInfo
  474. uni.navigateTo({
  475. url: '/pages/newOrder/serviceNew?type=teacher'
  476. })
  477. },
  478. onClickFav() {
  479. this.collect = !this.collect
  480. this.$forceUpdate()
  481. },
  482. getCurrentCompanionPetInfo(userId) {
  483. getTeacherDetail({userId}).then(response => {
  484. if (response) {
  485. this.companionInfo = response
  486. this.companionInfo.distanceText = this.calculateDistanceAddress(response.appletAddresseList)
  487. }
  488. console.log('getCurrentCompanionPetInfo', response);
  489. })
  490. getTeacherPetList({userId}).then(response => {
  491. if (response.code == 200) {
  492. this.petList = response.data
  493. }
  494. })
  495. getTeacherAddressList({userId}).then(response => {
  496. if (response.code == 200) {
  497. this.addressList = response.data
  498. }
  499. })
  500. getTeacherServiceLogList({userId}).then(res => {
  501. this.serviceRecordList = res
  502. })
  503. },
  504. getOrder() {
  505. uni.navigateTo({
  506. // url: '/pages/newOrder/serviceNew2',
  507. url: `/pages/newOrder/serviceNew2?userName=${this.companionInfo.name}&servicerId=${this.companionInfo.id}`,
  508. });
  509. },
  510. previewImage(urls, current){
  511. uni.previewImage({
  512. current,
  513. urls
  514. })
  515. },
  516. }
  517. }
  518. </script>
  519. <style lang="scss">
  520. .home-content {
  521. background: linear-gradient(360deg, #F5F5F7 82%, #FFBF60 99%);
  522. .card-container {
  523. margin: 0;
  524. padding: 0;
  525. .uni-card {
  526. border-radius: 16rpx;
  527. }
  528. .companion-info {
  529. display: flex;
  530. .companion-info-img {
  531. margin: 20rpx 20rpx 20rpx 40rpx;
  532. .people-img {
  533. width: 168rpx;
  534. height: 168rpx;
  535. border: #FEA714 5rpx solid;
  536. border-radius: 168rpx;
  537. }
  538. }
  539. .companion-info-detail {
  540. width: 70%;
  541. display: flex;
  542. align-items: center;
  543. .companion-info-left {
  544. display: flex;
  545. width: 70%;
  546. .companion-info-left-title {
  547. color: #333;
  548. font-size: 32rpx;
  549. line-height: 32rpx;
  550. margin-right: 10rpx;
  551. font-weight: 900;
  552. font-style: normal;
  553. }
  554. }
  555. }
  556. }
  557. .companion-info-des {
  558. background-color: #FFF4E5;
  559. margin: 20rpx;
  560. display: flex;
  561. align-items: center;
  562. justify-content: center;
  563. border-radius: 16rpx;
  564. .companion-info-des-text {
  565. color: #FFB13F;
  566. margin: 20rpx 34rpx 20rpx 34rpx;
  567. }
  568. }
  569. .bottom-btn-sticky {
  570. z-index: 10;
  571. position: fixed;
  572. bottom: 40rpx;
  573. /* 距离底部的距离 */
  574. // right: 32rpx;
  575. /* 距离右侧的距离 */
  576. // width: 50px;
  577. // /* 按钮的宽度 */
  578. // height: 50px;
  579. .bottom-btn {
  580. width: 670rpx;
  581. height: 80rpx;
  582. border-radius: 120rpx;
  583. background: #FFB13F;
  584. font-size: 32rpx;
  585. color: #FFFFFF;
  586. }
  587. }
  588. .pet-img {
  589. width: 70px;
  590. height: 70px;
  591. border: #FFBF60 1px solid;
  592. border-radius: 35px;
  593. }
  594. .personal-pet-list-item {
  595. // margin: 10px 10px 0 10px;
  596. // border-radius: 5px;
  597. padding: 10px 0px 10px 0;
  598. .personal-pet-info {
  599. display: flex;
  600. align-items: center;
  601. justify-content: flex-start;
  602. .personal-pet-info-1 {
  603. margin-left: 10px;
  604. .personal-pet-info-2 {
  605. display: flex;
  606. flex-wrap: wrap;
  607. .personal-pet-name {
  608. color: #333;
  609. font-size: 16px;
  610. margin-right: 10px;
  611. }
  612. }
  613. .personal-pet-info-3 {
  614. display: flex;
  615. align-items: baseline;
  616. font-size: 14px;
  617. margin-top: 5px;
  618. color: #7D8196;
  619. .personal-pet-info-age {
  620. padding: 0 10px;
  621. margin: 0 10px;
  622. border-left: solid 2px #7D8196;
  623. border-right: solid 2px #7D8196;
  624. }
  625. }
  626. }
  627. }
  628. .personal-pet-info-disposition {
  629. padding: 10px;
  630. color: #7D8196;
  631. font-size: 14px;
  632. background: #f9f9f9;
  633. border-radius: 5px;
  634. margin-top: 10px;
  635. }
  636. .personal-pet-info-btns {
  637. display: flex;
  638. justify-content: flex-end;
  639. margin-top: 10px;
  640. .personal-pet-info-btn {
  641. display: flex;
  642. font-size: 14px;
  643. color: #7D8196;
  644. margin-left: 20px;
  645. }
  646. }
  647. }
  648. .reward-list-item {
  649. padding: 10px 0px 10px 0;
  650. .reward-info {
  651. display: flex;
  652. // align-items: center;
  653. justify-content: flex-start;
  654. .reward-info-1 {
  655. margin-left: 10px;
  656. width: 100%;
  657. .reward-info-2 {
  658. display: flex;
  659. flex-wrap: wrap;
  660. .reward-name {
  661. color: #333;
  662. font-size: 16px;
  663. width: 60%;
  664. }
  665. }
  666. .reward-info-3 {
  667. align-items: baseline;
  668. font-size: 14px;
  669. margin-top: 5px;
  670. color: #7D8196;
  671. }
  672. }
  673. }
  674. .personal-pet-info-disposition {
  675. padding: 10px;
  676. color: #7D8196;
  677. font-size: 14px;
  678. background: #f9f9f9;
  679. border-radius: 5px;
  680. margin-top: 10px;
  681. }
  682. .personal-pet-info-btns {
  683. display: flex;
  684. justify-content: flex-end;
  685. margin-top: 10px;
  686. .personal-pet-info-btn {
  687. display: flex;
  688. font-size: 14px;
  689. color: #7D8196;
  690. margin-left: 20px;
  691. }
  692. }
  693. }
  694. .service-img {
  695. width: 60px;
  696. height: 60px;
  697. // border: #FFBF60 1px solid;
  698. // border-radius: 35px;
  699. }
  700. .personal-pet {
  701. width: 100%;
  702. .service-new-title {
  703. display: flex;
  704. font-weight: 500;
  705. font-size: 28rpx;
  706. color: #333333;
  707. line-height: 33rpx;
  708. margin: 42rpx 0 30rpx;
  709. justify-content: space-between;
  710. .service-new-title-left {
  711. display: flex;
  712. align-items: center;
  713. .service-new-flag {
  714. width: 8rpx;
  715. height: 32rpx;
  716. background: #FFBF60;
  717. border-radius: 30rpx 30rpx 30rpx 30rpx;
  718. margin-right: 10rpx;
  719. }
  720. }
  721. }
  722. .split-line {
  723. width: 100%;
  724. height: 1rpx;
  725. background: #EFEFEF;
  726. }
  727. .service-new-pet-content {
  728. // padding: 20rpx;
  729. }
  730. }
  731. .service-record {
  732. width: 100%;
  733. .service-record-title {
  734. display: flex;
  735. font-weight: 500;
  736. font-size: 28rpx;
  737. color: #333333;
  738. line-height: 33rpx;
  739. margin: 42rpx 0 30rpx;
  740. justify-content: space-between;
  741. .service-record-title-left {
  742. display: flex;
  743. align-items: center;
  744. .service-record-flag {
  745. width: 8rpx;
  746. height: 32rpx;
  747. background: #FFBF60;
  748. border-radius: 30rpx 30rpx 30rpx 30rpx;
  749. margin-right: 10rpx;
  750. }
  751. }
  752. }
  753. .split-line {
  754. width: 100%;
  755. height: 1rpx;
  756. background: #EFEFEF;
  757. }
  758. .service-record-content {
  759. // padding: 20rpx;
  760. .service-record-item {
  761. padding: 10px 0px 0px 0;
  762. .service-record-info {
  763. display: flex;
  764. align-items: center;
  765. justify-content: flex-start;
  766. .service-record-info-1 {
  767. margin-left: 10px;
  768. width: 100%;
  769. .service-record-info-2 {
  770. display: flex;
  771. flex-wrap: wrap;
  772. .service-record-info-title {
  773. display: flex;
  774. flex-wrap: wrap;
  775. width: 80%;
  776. }
  777. .service-record-name {
  778. color: #333;
  779. font-size: 28rpx;
  780. // line-height: 28rpx;
  781. font-weight: 500;
  782. font-style: normal;
  783. }
  784. .service-record-location {
  785. color: #FFAA48;
  786. font-size: 28rpx;
  787. font-weight: 400;
  788. // line-height: 32rpx;
  789. }
  790. }
  791. .service-record-info-3 {
  792. display: flex;
  793. align-items: baseline;
  794. font-size: 24rpx;
  795. // line-height: 32rpx;
  796. color: #7D8196;
  797. font-weight: 400;
  798. }
  799. .service-record-info-4 {
  800. display: flex;
  801. align-items: baseline;
  802. font-size: 24rpx;
  803. // margin-top: 10px;
  804. color: #7D8196;
  805. font-weight: 400;
  806. line-height: 32rpx;
  807. }
  808. }
  809. }
  810. .service-record-des {
  811. margin: 20rpx 0 20rpx 0;
  812. font-size: 28rpx;
  813. font-weight: 400;
  814. color: #333;
  815. }
  816. .service-record-pet-images {
  817. margin: 20rpx 0 20rpx 0;
  818. display: flex;
  819. flex-wrap: wrap;
  820. .service-record-pet-images-item {
  821. width: 152rpx;
  822. height: 152rpx;
  823. border-radius: 20rpx;
  824. margin-right: 10rpx;
  825. }
  826. }
  827. }
  828. }
  829. }
  830. }
  831. }
  832. </style>