detail.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <template>
  2. <view>
  3. <view class="card">
  4. <view class="center" >
  5. <image style="width: 140rpx;height: 140rpx;margin-top: -80rpx;border-radius: 50%;" src="../../static/del/del2.png" mode=""></image>
  6. </view>
  7. <view class="content">
  8. <view class="item" >
  9. <text >商户名称</text>
  10. <text>星巴克</text>
  11. </view>
  12. <view class="item" >
  13. <text >手机号码</text>
  14. <text>154****4122</text>
  15. </view>
  16. <view class="item" >
  17. <text >联系人</text>
  18. <text>李建国</text>
  19. </view>
  20. <view class="item" >
  21. <text >地址</text>
  22. <text>广州市天河区</text>
  23. </view>
  24. <view class="item" >
  25. <text >行业</text>
  26. <text>餐饮</text>
  27. </view>
  28. </view>
  29. </view>
  30. <view style="padding:40rpx 30rpx 10rpx;font-weight: 800;font-size: 32rpx;">
  31. <text>数据看板</text>
  32. </view>
  33. <view class="data-board">
  34. <view class="content">
  35. <view class="item">
  36. <text>1660</text>
  37. <text>会员数量</text>
  38. </view>
  39. <view class="item">
  40. <text>1660</text>
  41. <text>积分总价值</text>
  42. </view>
  43. <view class="item">
  44. <text>1660</text>
  45. <text>累计收入</text>
  46. </view>
  47. <view class="item">
  48. <text>166</text>
  49. <text>累计交易笔数</text>
  50. </view>
  51. </view>
  52. </view>
  53. </view>
  54. </template>
  55. <script>
  56. export default {
  57. data() {
  58. return {
  59. }
  60. },
  61. methods: {
  62. }
  63. }
  64. </script>
  65. <style lang="scss" scoped>
  66. .card{
  67. background-color: #FFFFFF;
  68. margin-top: 120rpx;
  69. position: relative;
  70. .content{
  71. padding: 10rpx 50rpx 0;
  72. .item{
  73. padding: 30rpx 0;
  74. border-bottom: 1rpx solid #EBEBEB;
  75. display: flex;
  76. justify-content: space-between;
  77. text:first-child{
  78. color: #888888;
  79. }
  80. text:last-child{
  81. color: #303030;
  82. }
  83. }
  84. .item:last-child{
  85. border: none;
  86. }
  87. }
  88. }
  89. .data-board{
  90. margin: 20rpx;
  91. border-radius: 20rpx;
  92. background-image: linear-gradient(to right,#FF8D32,#FBA33D);
  93. .content{
  94. display: flex;
  95. flex-wrap: wrap;
  96. justify-content: space-around;
  97. .item{
  98. padding: 40rpx;
  99. width: 40%;
  100. display: flex;
  101. flex-direction: column;
  102. justify-content: center;
  103. align-items: center;
  104. text:first-child{
  105. font-weight: 800;
  106. font-size: 38rpx;
  107. color: #FFFFFF;
  108. }
  109. text:last-child{
  110. font-size: 26rpx;
  111. color: #FFF6EE;
  112. }
  113. }
  114. }
  115. }
  116. </style>