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.

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