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

94 lines
1.5 KiB

1 month ago
1 month ago
  1. <template>
  2. <!-- <div>交易明细</div> -->
  3. <view class="box">
  4. <view class="top flex" :style="{ borderRadius: '31.5rpx' }">
  5. <view class="income flex element" :style="{ borderRadius: '31.5rpx' }">
  6. 收入明细
  7. </view>
  8. <view class="income flex element" :style="{ borderRadius: '31.5rpx' }">
  9. 支出明细
  10. </view>
  11. </view>
  12. <view class="Recharge flex">
  13. <view class="flex">
  14. <image src="https://img1.baidu.com/it/u=3034232350,1041791648&fm=253&fmt=auto&app=138&f=PNG?w=500&h=500"
  15. mode=""></image>
  16. <view class="text1">
  17. <view class="text2">
  18. 伴宠师上门服务
  19. </view>
  20. <view>
  21. 2020-12-29 12:54:54
  22. </view>
  23. </view>
  24. </view>
  25. <view class="text3">
  26. ¥200
  27. </view>
  28. </view>
  29. </view>
  30. </template>
  31. <script>
  32. </script>
  33. <style scoped lang="scss">
  34. .box {
  35. width: 750rpx;
  36. height: 1452rpx;
  37. background-color: #FFFFFF;
  38. padding: 2% 2% 0 2%;
  39. box-sizing: border-box;
  40. }
  41. .top {
  42. width: 722rpx;
  43. height: 63rpx;
  44. background-color: #F3F3F3;
  45. }
  46. .element:hover {
  47. background-color: #FFBF60;
  48. color: white;
  49. }
  50. .income {
  51. width: 361rpx;
  52. height: 63rpx;
  53. line-height: 63rpx;
  54. font-size: 30rpx;
  55. justify-content: center;
  56. }
  57. .Recharge {
  58. padding: 3% 3% 0 2%;
  59. box-sizing: border-box;
  60. justify-content: space-between;
  61. }
  62. .flex {
  63. display: flex;
  64. }
  65. .text1 {
  66. font-size: 30rpx;
  67. color: #949494;
  68. }
  69. .Recharge image {
  70. width: 56rpx;
  71. height: 56rpx;
  72. margin-top: 0.5%;
  73. }
  74. .text2 {
  75. font-weight: 700;
  76. color: #333333;
  77. }
  78. .text3 {
  79. color: #FF2A2A;
  80. }
  81. </style>