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.

929 lines
28 KiB

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