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.

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