mine.vue 19 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036
  1. <template>
  2. <<<<<<< HEAD
  3. <<<<<<< HEAD
  4. <view class="mine-container">
  5. <view class="mine-header">
  6. <img :src="userInfo.avatar" alt="" style="width: 136rpx;height: 136rpx;">
  7. <view class="header-info">
  8. <text class="info-name">{{ userInfo.nickName }}</text>
  9. <text class="info-id">ID: 88888888</text>
  10. <text class="info-edit" @click="handLsetTing">设置> </text>
  11. =======
  12. <view class="mine-container" :style="{ height: `${windowHeight}px` }">
  13. <view class="mine-top-bgc"></view>
  14. <view class="mine-box">
  15. <view class="mine-user">
  16. <view class="user-name-box">
  17. <view class="user-avatar">
  18. <up-avatar :src="userInfo.avatar" shape="square"></up-avatar>
  19. </view>
  20. <view class="user-name">{{ userInfo.nickName }}</view>
  21. <view class="grid-box" v-for="(listItem, listIndex) in setTing" :key="listIndex">
  22. <!-- <up-badge :isDot="true" type="success" class="item-badge"></up-badge> -->
  23. <up-icon :customStyle="{ paddingTop: 20 + 'rpx' }" :name="listItem.iconName" :size="22"
  24. @click="handLsetTing"></up-icon>
  25. <text class="grid-text">{{ listItem.name }}</text>
  26. </view>
  27. </view>
  28. <up-divider></up-divider>
  29. <view class="service-list">
  30. <up-grid :border="false" col="4">
  31. <up-grid-item v-for="(listItem, listIndex) in serviceList" :key="listIndex"
  32. @click="onClick(listItem)">
  33. <view class="grid-box">
  34. <!-- <up-badge :isDot="true" type="success" class="item-badge"></up-badge> -->
  35. <up-icon :customStyle="{ paddingTop: 20 + 'rpx' }" :name="listItem.iconName"
  36. :size="22"></up-icon>
  37. <text class="grid-text">{{ listItem.name }}</text>
  38. </view>
  39. </up-grid-item>
  40. </up-grid>
  41. </view>
  42. >>>>>>> 3e2be9f (fetch:详情tabs/用户新增地址)
  43. =======
  44. <view class="mine-container">
  45. <view class="mine-header">
  46. <img :src="userInfo.avatar" alt="" style="width: 136rpx;height: 136rpx;">
  47. <view class="header-info">
  48. <text class="info-name">{{ userInfo.nickName }}</text>
  49. <text class="info-id">ID: 88888888</text>
  50. <text class="info-edit" @click="handLsetTing">设置> </text>
  51. >>>>>>> 8343935 (fix: 代码合并)
  52. </view>
  53. </view>
  54. <view class="list-box">
  55. <view class="mine-card price-card" v-if="userType == 2">
  56. <view v-for="(item, index) in priceList" :key="item.key" class="price-item"
  57. :style="{ alignItems: index === 0 ? 'flex-start' : 'flex-end' }">
  58. <view class="price-name flex-center"> {{ item.name }} </view>
  59. <view class="price-data flex-center">
  60. {{ index === 0 ? '¥' : '' }}<up-count-to :startVal="0" :endVal="data[item.key]"
  61. :decimals="item.decimals"></up-count-to>
  62. </view>
  63. <text class="grid-min-price" v-if="item.key === 'balance'">待入账 ¥{{ data[item.key] }}</text>
  64. </view>
  65. </view>
  66. <!-- 志愿者 -->
  67. <view class="mine-card status-card" v-if="userType == 2">
  68. <view class="status-card-item" v-for="(listItem, listIndex) in adminList" :key="listIndex"
  69. @click="onClick(listItem)">
  70. <view class="grid-img-box">
  71. <img :src="listItem.iconName" alt="" style="width: 52rpx;height: 52rpx;">
  72. </view>
  73. <text class="grid-text">{{ listItem.name }}</text>
  74. </view>
  75. </view>
  76. <!-- 用户端 -->
  77. <view class="mine-card status-card" v-if="userType == 1">
  78. <view class="status-card-item" v-for="(listItem, listIndex) in userList" :key="listIndex"
  79. @click="onClick(listItem)">
  80. <view class="grid-img-box">
  81. <!-- <img :src="listItem.iconName" alt="" style="width: 52rpx;height: 52rpx;"> -->
  82. <up-icon :name="listItem.iconName" :size="22"></up-icon>
  83. </view>
  84. <text class="grid-text">{{ listItem.name }}</text>
  85. </view>
  86. </view>
  87. <view class="mine-card count-card" v-if="userType == 2">
  88. <view class="count-title">订单统计</view>
  89. <view class="count-list">
  90. <view class="count-item" v-for="(item, index) in orderList" :key="index">
  91. <up-count-to :startVal="0" :endVal="data[item.key]"></up-count-to>
  92. <text class="count-item-text">{{ item.name }}</text>
  93. </view>
  94. </view>
  95. </view>
  96. <view class="mine-card rate-card" v-if="userType == 2">
  97. <view class="count-title">好评率</view>
  98. <view class="rate-list">
  99. <view class="rate-box">
  100. <label class="rate-count">{{ rateValue }}</label>
  101. <text class="rate-text">优秀</text>
  102. </view>
  103. <up-rate v-model="rateValue" active-color="rgba(255, 87, 4, 1)" inactive-color="#b2b2b2" gutter="20"
  104. readonly></up-rate>
  105. </view>
  106. </view>
  107. </view>
  108. </view>
  109. </template>
  110. <script setup>
  111. <<<<<<< HEAD
  112. <<<<<<< HEAD
  113. =======
  114. >>>>>>> 8343935 (fix: 代码合并)
  115. import { onMounted, ref } from 'vue';
  116. import {
  117. onLoad,
  118. onShow
  119. } from '@dcloudio/uni-app';
  120. import store from "@/store"
  121. const userInfo = ref({
  122. avatar: '/static/serverImg/mine/user.png'
  123. })
  124. <<<<<<< HEAD
  125. const rateValue = ref(3)
  126. const priceList = [{
  127. name: '账户余额',
  128. key: 'balance',
  129. decimals: 2
  130. },
  131. {
  132. name: '订单总数',
  133. key: 'orderCount',
  134. decimals: 0
  135. }
  136. ]
  137. const orderList = ref([{
  138. name: '预约单',
  139. key: 'orderCount'
  140. },
  141. {
  142. name: '进行单',
  143. key: 'orderCount'
  144. },
  145. {
  146. name: '完成单',
  147. key: 'orderCount'
  148. },
  149. {
  150. name: '取消单',
  151. key: 'orderCount'
  152. }
  153. ]);
  154. const data = ref({
  155. balance: 0.0,
  156. orderCount: 0,
  157. });
  158. const userType = uni.getStorageSync('userType') //读取本地存储
  159. const adminList = ref(
  160. [{
  161. name: '待服务',
  162. iconName: '/static/serverImg/mine/icon1.png',
  163. page: '/pages/classify',
  164. value: 1
  165. },
  166. {
  167. name: '进行中',
  168. iconName: '/static/serverImg/mine/icon2.png',
  169. page: '/pages/classify',
  170. value: 2
  171. },
  172. {
  173. name: '已完成',
  174. iconName: '/static/serverImg/mine/icon3.png',
  175. page: '/pages/classify',
  176. value: 3
  177. },
  178. {
  179. name: '差评申述',
  180. iconName: '/static/serverImg/mine/icon4.png',
  181. page: '/pages_mine/pages/bad/index'
  182. },
  183. {
  184. name: '钱包',
  185. iconName: '/static/serverImg/mine/icon5.png',
  186. page: '/pages_mine/pages/wallet/index'
  187. },
  188. {
  189. name: '帮助与客服',
  190. iconName: '/static/serverImg/mine/icon6.png',
  191. },
  192. {
  193. name: '用户端',
  194. iconName: '/static/serverImg/mine/icon6.png',
  195. },
  196. ]);
  197. const userList = ref(
  198. [{
  199. name: '待服务',
  200. iconName: 'clock',
  201. page: '/pages/classify',
  202. value: 1
  203. },
  204. {
  205. name: '进行中',
  206. iconName: 'car',
  207. page: '/pages/classify',
  208. value: 2
  209. },
  210. {
  211. name: '已完成',
  212. iconName: 'car-fill',
  213. page: '/pages/classify',
  214. value: 3
  215. },
  216. {
  217. name: '评论',
  218. iconName: 'edit-pen',
  219. },
  220. {
  221. name: '钱包',
  222. iconName: 'rmb-circle',
  223. page: '/pages_mine/pages/wallet/index'
  224. },
  225. {
  226. name: '浏览记录',
  227. iconName: 'eye',
  228. },
  229. {
  230. name: '收藏',
  231. iconName: 'star',
  232. },
  233. {
  234. name: '帮助与客服',
  235. iconName: 'kefu-ermai',
  236. },
  237. {
  238. name: '地址',
  239. iconName: 'kefu-ermai',
  240. },
  241. {
  242. name: '志愿者',
  243. iconName: 'kefu-ermai',
  244. },
  245. ]);
  246. const onClick = (record) => {
  247. console.log('record', record, record.page);
  248. if (record.page && record.value) {
  249. const app = getApp();
  250. app.globalData.switchTabParams = {
  251. tabKey: record.value
  252. };
  253. // JS跳转
  254. uni.switchTab({
  255. url: record.page
  256. });
  257. return;
  258. }
  259. }
  260. const getDetails = async () => {
  261. try {
  262. // const res = await getVolunteerAccount();
  263. // console.log('res',res);
  264. } catch (error) {
  265. console.log('error', error);
  266. }
  267. }
  268. const handLsetTing = () => {
  269. =======
  270. import {
  271. onMounted,
  272. ref
  273. } from 'vue';
  274. import {
  275. getVolunteerAccount
  276. } from '@/api/volunteer.js'
  277. import {
  278. onLoad,
  279. onShow
  280. } from '@dcloudio/uni-app';
  281. import store from "@/store"
  282. const userType = uni.getStorageSync('userType') //读取本地存储
  283. =======
  284. >>>>>>> 8343935 (fix: 代码合并)
  285. const rateValue = ref(3)
  286. const priceList = [{
  287. name: '账户余额',
  288. key: 'balance',
  289. decimals: 2
  290. },
  291. {
  292. name: '订单总数',
  293. key: 'orderCount',
  294. decimals: 0
  295. }
  296. ]
  297. const orderList = ref([{
  298. name: '预约单',
  299. key: 'orderCount'
  300. },
  301. {
  302. name: '进行单',
  303. key: 'orderCount'
  304. },
  305. {
  306. name: '完成单',
  307. key: 'orderCount'
  308. },
  309. {
  310. name: '取消单',
  311. key: 'orderCount'
  312. }
  313. ]);
  314. const data = ref({
  315. balance: 0.0,
  316. orderCount: 0,
  317. });
  318. const userType = uni.getStorageSync('userType') //读取本地存储
  319. const adminList = ref(
  320. [{
  321. name: '待服务',
  322. iconName: '/static/serverImg/mine/icon1.png',
  323. page: '/pages/classify',
  324. value: 1
  325. },
  326. {
  327. name: '进行中',
  328. iconName: '/static/serverImg/mine/icon2.png',
  329. page: '/pages/classify',
  330. value: 2
  331. },
  332. {
  333. name: '已完成',
  334. iconName: '/static/serverImg/mine/icon3.png',
  335. page: '/pages/classify',
  336. value: 3
  337. },
  338. {
  339. name: '差评申述',
  340. iconName: '/static/serverImg/mine/icon4.png',
  341. page: '/pages_mine/pages/bad/index'
  342. },
  343. {
  344. name: '钱包',
  345. iconName: '/static/serverImg/mine/icon5.png',
  346. page: '/pages_mine/pages/wallet/index'
  347. },
  348. {
  349. name: '帮助与客服',
  350. iconName: '/static/serverImg/mine/icon6.png',
  351. },
  352. {
  353. name: '用户端',
  354. iconName: '/static/serverImg/mine/icon6.png',
  355. },
  356. ]);
  357. const userList = ref(
  358. [{
  359. name: '待服务',
  360. iconName: 'clock',
  361. page: '/pages/classify',
  362. value: 1
  363. },
  364. {
  365. name: '进行中',
  366. iconName: 'car',
  367. page: '/pages/classify',
  368. value: 2
  369. },
  370. {
  371. name: '已完成',
  372. iconName: 'car-fill',
  373. page: '/pages/classify',
  374. value: 3
  375. },
  376. {
  377. name: '评论',
  378. iconName: 'edit-pen',
  379. },
  380. {
  381. name: '钱包',
  382. iconName: 'rmb-circle',
  383. page: '/pages_mine/pages/wallet/index'
  384. },
  385. {
  386. name: '浏览记录',
  387. iconName: 'eye',
  388. },
  389. {
  390. name: '收藏',
  391. iconName: 'star',
  392. },
  393. {
  394. name: '帮助与客服',
  395. iconName: 'kefu-ermai',
  396. },
  397. {
  398. name: '地址',
  399. iconName: 'kefu-ermai',
  400. },
  401. {
  402. name: '志愿者',
  403. iconName: 'kefu-ermai',
  404. },
  405. ]);
  406. const onClick = (record) => {
  407. console.log('record', record, record.page);
  408. if (record.page && record.value) {
  409. const app = getApp();
  410. app.globalData.switchTabParams = {
  411. tabKey: record.value
  412. };
  413. // JS跳转
  414. uni.switchTab({
  415. url: record.page
  416. });
  417. return;
  418. }
  419. }
  420. const getDetails = async () => {
  421. try {
  422. // const res = await getVolunteerAccount();
  423. // console.log('res',res);
  424. } catch (error) {
  425. console.log('error', error);
  426. }
  427. }
  428. <<<<<<< HEAD
  429. const geUserInfo = () => {
  430. console.log(store.state, '>>>>99');
  431. userInfo.value = store.state.user
  432. }
  433. // 设置
  434. const handLsetTing = () => {
  435. >>>>>>> 3e2be9f (fetch:详情tabs/用户新增地址)
  436. =======
  437. const handLsetTing = () => {
  438. >>>>>>> 8343935 (fix: 代码合并)
  439. console.log('123')
  440. uni.navigateTo({
  441. url: '/pages_mine/pages/setupUser/index'
  442. })
  443. }
  444. <<<<<<< HEAD
  445. <<<<<<< HEAD
  446. const geUserInfo = () => {
  447. console.log(store.state, '>>>>99');
  448. userInfo.value = store.state.user
  449. }
  450. onShow(() => {
  451. geUserInfo();
  452. })
  453. </script>
  454. <style lang="scss" scoped>
  455. .mine-container {
  456. position: fixed;
  457. left: 0;
  458. top: 0;
  459. right: 0;
  460. bottom: 0;
  461. background: rgba(245, 245, 245, 1);
  462. overflow-y: auto;
  463. .mine-header {
  464. padding: 42rpx 44rpx;
  465. background: #fff;
  466. display: flex;
  467. .header-info {
  468. display: flex;
  469. flex-direction: column;
  470. margin-left: 36rpx;
  471. .info-name {
  472. font-size: 36rpx;
  473. font-weight: 400;
  474. line-height: 54rpx;
  475. color: rgba(51, 51, 51, 1);
  476. }
  477. .info-id {
  478. font-size: 28rpx;
  479. font-weight: 400;
  480. letter-spacing: 0rpx;
  481. line-height: 42rpx;
  482. color: rgba(153, 153, 153, 1);
  483. }
  484. .info-edit {
  485. font-size: 24rpx;
  486. font-weight: 400;
  487. letter-spacing: 0rpx;
  488. line-height: 36rpx;
  489. color: rgba(102, 102, 102, 1);
  490. }
  491. }
  492. }
  493. .list-box {
  494. padding: 16rpx 40rpx;
  495. .price-card {
  496. display: flex;
  497. align-items: center;
  498. justify-content: space-between;
  499. .price-item {
  500. display: flex;
  501. align-items: center;
  502. flex-direction: column;
  503. .price-name {
  504. font-size: 28rpx;
  505. font-weight: 400;
  506. line-height: 42rpx;
  507. color: rgba(102, 102, 102, 1);
  508. }
  509. .price-data {
  510. font-size: 48rpx;
  511. font-weight: 400;
  512. line-height: 72rpx;
  513. color: rgba(51, 51, 51, 1);
  514. }
  515. .grid-min-price {
  516. font-size: 24rpx;
  517. font-weight: 400;
  518. line-height: 36rpx;
  519. color: rgba(153, 153, 153, 1);
  520. =======
  521. onShow(() => {
  522. geUserInfo();
  523. =======
  524. >>>>>>> 8343935 (fix: 代码合并)
  525. const geUserInfo = () => {
  526. console.log(store.state, '>>>>99');
  527. userInfo.value = store.state.user
  528. }
  529. onShow(() => {
  530. geUserInfo();
  531. })
  532. </script>
  533. <style lang="scss" scoped>
  534. .mine-container {
  535. position: fixed;
  536. left: 0;
  537. top: 0;
  538. right: 0;
  539. bottom: 0;
  540. background: rgba(245, 245, 245, 1);
  541. overflow-y: auto;
  542. .mine-header {
  543. padding: 42rpx 44rpx;
  544. background: #fff;
  545. display: flex;
  546. .header-info {
  547. display: flex;
  548. flex-direction: column;
  549. margin-left: 36rpx;
  550. <<<<<<< HEAD
  551. }
  552. .mine-box {
  553. position: absolute;
  554. top: 40px;
  555. left: 12px;
  556. right: 12px;
  557. bottom: 0px;
  558. overflow-y: auto;
  559. .mine-user {
  560. border-radius: 8px;
  561. background: rgba(255, 255, 255, 1);
  562. margin-bottom: 12px;
  563. .user-name-box {
  564. display: flex;
  565. justify-content: space-between;
  566. align-items: center;
  567. padding: 12px 12px 0;
  568. .user-avatar {}
  569. .user-name {
  570. font-size: 18px;
  571. font-weight: 700;
  572. line-height: 21.09px;
  573. color: rgba(51, 51, 51, 1);
  574. margin-left: 12px;
  575. }
  576. >>>>>>> 3e2be9f (fetch:详情tabs/用户新增地址)
  577. =======
  578. .info-name {
  579. font-size: 36rpx;
  580. font-weight: 400;
  581. line-height: 54rpx;
  582. color: rgba(51, 51, 51, 1);
  583. }
  584. .info-id {
  585. font-size: 28rpx;
  586. font-weight: 400;
  587. letter-spacing: 0rpx;
  588. line-height: 42rpx;
  589. color: rgba(153, 153, 153, 1);
  590. }
  591. .info-edit {
  592. font-size: 24rpx;
  593. font-weight: 400;
  594. letter-spacing: 0rpx;
  595. line-height: 36rpx;
  596. color: rgba(102, 102, 102, 1);
  597. }
  598. }
  599. }
  600. .list-box {
  601. padding: 16rpx 40rpx;
  602. .price-card {
  603. display: flex;
  604. align-items: center;
  605. justify-content: space-between;
  606. .price-item {
  607. display: flex;
  608. align-items: center;
  609. flex-direction: column;
  610. .price-name {
  611. font-size: 28rpx;
  612. font-weight: 400;
  613. line-height: 42rpx;
  614. color: rgba(102, 102, 102, 1);
  615. >>>>>>> 8343935 (fix: 代码合并)
  616. }
  617. .price-data {
  618. font-size: 48rpx;
  619. font-weight: 400;
  620. line-height: 72rpx;
  621. color: rgba(51, 51, 51, 1);
  622. }
  623. .grid-min-price {
  624. font-size: 24rpx;
  625. font-weight: 400;
  626. line-height: 36rpx;
  627. color: rgba(153, 153, 153, 1);
  628. }
  629. }
  630. }
  631. .service-img {
  632. width: 60rpx;
  633. height: 60rpx;
  634. margin-bottom: 10rpx;
  635. }
  636. .service-list {
  637. padding-bottom: 12px;
  638. }
  639. .grid-text {
  640. font-size: 14px;
  641. color: #909399;
  642. padding: 10rpx 0 20rpx 0rpx;
  643. /* #ifndef APP-PLUS */
  644. box-sizing: border-box;
  645. /* #endif */
  646. }
  647. .grid-box {
  648. display: flex;
  649. align-items: center;
  650. justify-content: center;
  651. flex-direction: column;
  652. position: relative;
  653. .item-badge {
  654. position: absolute;
  655. }
  656. }
  657. .price-box {
  658. display: flex;
  659. align-content: center;
  660. justify-content: space-between;
  661. // padding: 12px;
  662. .price-item {
  663. width: 50%;
  664. padding: 12px;
  665. display: flex;
  666. flex-direction: column;
  667. align-items: center;
  668. justify-content: center;
  669. .price-name {
  670. font-size: 28rpx;
  671. font-weight: 400;
  672. line-height: 42rpx;
  673. color: rgba(102, 102, 102, 1);
  674. }
  675. .price-data {
  676. font-size: 48rpx;
  677. font-weight: 400;
  678. line-height: 72rpx;
  679. color: rgba(51, 51, 51, 1);
  680. }
  681. .grid-min-price {
  682. font-size: 24rpx;
  683. font-weight: 400;
  684. line-height: 36rpx;
  685. color: rgba(153, 153, 153, 1);
  686. }
  687. }
  688. }
  689. <<<<<<< HEAD
  690. .status-card {
  691. display: grid;
  692. grid-template-columns: repeat(3, 1fr);
  693. gap: 48rpx;
  694. /* 网格项之间的间距 */
  695. .status-card-item {
  696. display: flex;
  697. align-items: center;
  698. justify-content: center;
  699. flex-direction: column;
  700. .grid-img-box {
  701. padding: 35rpx;
  702. border-radius: 50%;
  703. background: rgba(249, 250, 251, 1);
  704. display: flex;
  705. align-items: center;
  706. justify-content: center;
  707. margin-bottom: 18rpx;
  708. }
  709. .grid-text {
  710. font-size: 28rpx;
  711. font-weight: 400;
  712. line-height: 42rpx;
  713. color: rgba(51, 51, 51, 1);
  714. }
  715. }
  716. <<<<<<< HEAD
  717. }
  718. .count-card {
  719. .count-list {
  720. display: grid;
  721. grid-template-columns: repeat(4, 1fr);
  722. /* 3 列,每列等宽 */
  723. gap: 32rpx;
  724. /* 网格项之间的间距 */
  725. .count-item {
  726. display: flex;
  727. flex-direction: column;
  728. align-items: center;
  729. justify-content: center;
  730. .count-item-text {
  731. font-size: 28rpx;
  732. font-weight: 400;
  733. line-height: 42rpx;
  734. color: rgba(102, 102, 102, 1);
  735. }
  736. =======
  737. =======
  738. >>>>>>> 8343935 (fix: 代码合并)
  739. .status-card {
  740. display: grid;
  741. grid-template-columns: repeat(3, 1fr);
  742. gap: 48rpx;
  743. /* 网格项之间的间距 */
  744. .status-card-item {
  745. display: flex;
  746. align-items: center;
  747. justify-content: center;
  748. flex-direction: column;
  749. .grid-img-box {
  750. padding: 35rpx;
  751. border-radius: 50%;
  752. background: rgba(249, 250, 251, 1);
  753. display: flex;
  754. align-items: center;
  755. justify-content: center;
  756. margin-bottom: 18rpx;
  757. }
  758. <<<<<<< HEAD
  759. }
  760. .price-box {
  761. display: flex;
  762. align-content: center;
  763. justify-content: space-between;
  764. // padding: 12px;
  765. .price-item {
  766. width: 50%;
  767. padding: 12px;
  768. .price-name {
  769. font-size: 16px;
  770. font-weight: 700;
  771. line-height: 23.17px;
  772. color: rgba(51, 51, 51, 1);
  773. margin-bottom: 12px;
  774. }
  775. .price-data {
  776. font-size: 20px;
  777. font-weight: 700;
  778. line-height: 23.44px;
  779. color: rgba(51, 51, 51, 1);
  780. }
  781. .grid-min-price {
  782. font-size: 12px;
  783. font-weight: 500;
  784. line-height: 17.38px;
  785. color: rgba(153, 153, 153, 1);
  786. margin-top: 4px;
  787. }
  788. }
  789. .price-item:first-child {
  790. border-right: 1px solid #dcdfe6;
  791. }
  792. }
  793. }
  794. .rate-box {
  795. display: flex;
  796. align-items: center;
  797. justify-content: space-between;
  798. .rate-left {
  799. font-size: 14px;
  800. font-weight: 500;
  801. letter-spacing: 0px;
  802. line-height: 20.27px;
  803. color: rgba(0, 0, 0, 1);
  804. display: flex;
  805. align-items: center;
  806. justify-content: left;
  807. flex: 1;
  808. }
  809. .rate-rigth {
  810. font-size: 14px;
  811. font-weight: 500;
  812. letter-spacing: 0px;
  813. line-height: 20.27px;
  814. color: rgba(0, 0, 0, 1);
  815. .rate-count {
  816. color: rgba(237, 123, 47, 1);
  817. >>>>>>> 3e2be9f (fetch:详情tabs/用户新增地址)
  818. =======
  819. .grid-text {
  820. font-size: 28rpx;
  821. font-weight: 400;
  822. line-height: 42rpx;
  823. color: rgba(51, 51, 51, 1);
  824. }
  825. }
  826. }
  827. .count-card {
  828. .count-list {
  829. display: grid;
  830. grid-template-columns: repeat(4, 1fr);
  831. /* 3 列,每列等宽 */
  832. gap: 32rpx;
  833. /* 网格项之间的间距 */
  834. .count-item {
  835. display: flex;
  836. flex-direction: column;
  837. align-items: center;
  838. justify-content: center;
  839. .count-item-text {
  840. font-size: 28rpx;
  841. font-weight: 400;
  842. line-height: 42rpx;
  843. color: rgba(102, 102, 102, 1);
  844. }
  845. >>>>>>> 8343935 (fix: 代码合并)
  846. }
  847. }
  848. }
  849. .rate-card {
  850. .rate-list {
  851. display: flex;
  852. align-items: center;
  853. .rate-box {
  854. display: flex;
  855. flex-direction: column;
  856. align-items: center;
  857. .rate-count {
  858. font-size: 64rpx;
  859. font-weight: 400;
  860. line-height: 96rpx;
  861. color: rgba(51, 51, 51, 1);
  862. }
  863. .rate-text {
  864. font-size: 28rpx;
  865. font-weight: 400;
  866. line-height: 42rpx;
  867. color: rgba(102, 102, 102, 1);
  868. }
  869. }
  870. }
  871. }
  872. }
  873. <<<<<<< HEAD
  874. <<<<<<< HEAD
  875. =======
  876. >>>>>>> 8343935 (fix: 代码合并)
  877. }
  878. .mine-card {
  879. border-radius: 24rpx;
  880. background: rgba(255, 255, 255, 1);
  881. box-shadow: 0rpx 0rpx 0rpx rgba(0, 0, 0, 0), 0rpx 0rpx 0rpx rgba(0, 0, 0, 0), 0rpx 4rpx 16rpx rgba(0, 0, 0, 0.05);
  882. margin-bottom: 16rpx;
  883. padding: 40rpx;
  884. }
  885. .count-title {
  886. font-size: 32rpx;
  887. font-weight: 400;
  888. line-height: 48rpx;
  889. color: rgba(51, 51, 51, 1);
  890. margin-bottom: 32rpx;
  891. }
  892. <<<<<<< HEAD
  893. =======
  894. >>>>>>> 3e2be9f (fetch:详情tabs/用户新增地址)
  895. =======
  896. >>>>>>> 8343935 (fix: 代码合并)
  897. </style>