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

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