猫妈狗爸伴宠师小程序前端代码
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.

121 lines
2.2 KiB

2 months ago
  1. <template>
  2. <view class="box w-100 h100">
  3. <view class="header-info">
  4. <view class="base flex-rowl">
  5. <image src="" mode=""></image>
  6. <view class="flex-colt">
  7. <view class="size-32 mb16">
  8. 猫小姐
  9. </view>
  10. <view class="title size-22 color-fff">
  11. 初级合伙人
  12. </view>
  13. <view class="color-a55 size-24 mt16">
  14. 当前分成比例25%晋级后分成比例30%
  15. </view>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="order bg-fff">
  20. <view class="tabs flex-around">
  21. <view class="item size-30">
  22. 未下单
  23. </view>
  24. <view class="item size-30">
  25. 已下单
  26. </view>
  27. </view>
  28. <view class="list">
  29. <view class="li" v-for="item in 4">
  30. <view class="top flex-rowl">
  31. <image src="" mode=""></image>
  32. <view class="size-30 ml5">
  33. 猫小咪
  34. </view>
  35. </view>
  36. <view class="flex-between time">
  37. <view class="size-30 color-999">
  38. 注册时间
  39. </view>
  40. <view class="size-30 color-999">
  41. 2024-11-01 18:12:56
  42. </view>
  43. </view>
  44. </view>
  45. </view>
  46. </view>
  47. </view>
  48. </template>
  49. <script setup>
  50. import YCard from "../components/y-card.vue"
  51. </script>
  52. <style scoped lang="scss">
  53. .box {
  54. background: linear-gradient(180deg, #ffbf60, #ffe6bf, #F5F5F7 433rpx);
  55. .header-info {
  56. padding: 23rpx 36rpx;
  57. .base {
  58. image {
  59. width: 139rpx;
  60. height: 139rpx;
  61. background-color: red;
  62. border-radius: 50%;
  63. margin-right: 20rpx;
  64. }
  65. }
  66. .title {
  67. border: 4rpx solid #fff;
  68. border-radius: 30rpx;
  69. padding: 0 10rpx;
  70. background-color: #FFA848;
  71. }
  72. }
  73. .order {
  74. border-radius: 16rpx;
  75. margin: 0 16rpx;
  76. padding-bottom: 34rpx;
  77. .tabs {
  78. padding: 63rpx 0 43rpx;
  79. .item {
  80. border-bottom: 6rpx solid #FFBF60;
  81. padding-bottom: 10rpx;
  82. }
  83. }
  84. .list {
  85. margin: 0 30rpx;
  86. .li {
  87. background-color: #F9F9F9;
  88. padding: 17rpx;
  89. border-radius: 16rpx;
  90. margin-bottom: 16rpx;
  91. .time {
  92. border-top: 1rpx solid #999;
  93. padding-top: 15rpx;
  94. margin-top: 25rpx;
  95. }
  96. .top {
  97. image {
  98. width: 85rpx;
  99. height: 85rpx;
  100. border-radius: 50%;
  101. background-color: red;
  102. margin-right: 8rpx;
  103. }
  104. }
  105. }
  106. }
  107. }
  108. }
  109. </style>