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