sendList.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <template>
  2. <view class="sbox">
  3. <u-list @scrolltolower="scrolltolower" height="100%">
  4. <u-list-item v-for="(item, index) in list" :key="item.id">
  5. <view class="sbox-item">
  6. <view class="sbox-item-top adfacjb">
  7. <view class="sbox-item-top-left adfac">
  8. <image :src="imgBase+'avatar.png'"></image>
  9. <text>{{'刘怡然'}}</text>
  10. <view class="type">{{'赞助人Sponsor'}}</view>
  11. </view>
  12. <view class="sbox-item-top-right adfac">
  13. <image :src="imgBase+'send_success.png'"></image>
  14. <!-- <image :src="imgBase+'send_fail.png'"></image> -->
  15. <text>{{'发送成功'}}</text>
  16. </view>
  17. </view>
  18. <view class="sbox-item-pre first adfacjb">
  19. <view class="sbox-item-pre-left">报告名称:</view>
  20. <view class="sbox-item-pre-right">{{'甜梦巧克力公司PREILL分析报告/专业版'}}</view>
  21. </view>
  22. <view class="sbox-item-pre adfacjb">
  23. <view class="sbox-item-pre-left">团队名称:</view>
  24. <view class="sbox-item-pre-right">{{'甜梦巧克力有限公司'}}</view>
  25. </view>
  26. <view class="sbox-item-pre adfacjb">
  27. <view class="sbox-item-pre-left">发送时间:</view>
  28. <view class="sbox-item-pre-right">{{'2025-05-28 12:00:00'}}</view>
  29. </view>
  30. </view>
  31. </u-list-item>
  32. </u-list>
  33. </view>
  34. </template>
  35. <script>
  36. export default {
  37. props:{
  38. list:{
  39. typeof:Array,
  40. default:[]
  41. }
  42. },
  43. data(){
  44. return {
  45. }
  46. },
  47. methods:{
  48. scrolltolower(){
  49. this.$emit('scrolltolower')
  50. },
  51. }
  52. }
  53. </script>
  54. <style scoped lang="scss">
  55. .sbox{
  56. height: 100%;
  57. &-item{
  58. margin-top: 20rpx;
  59. background: #FFFFFF;
  60. border-radius: 24rpx;
  61. padding: 36rpx 24rpx;
  62. &-top{
  63. &-left{
  64. image{
  65. width: 48rpx;
  66. height: 48rpx;
  67. }
  68. text{
  69. font-family: PingFang-SC, PingFang-SC;
  70. font-weight: bold;
  71. font-size: 32rpx;
  72. color: #002846;
  73. line-height: 32rpx;
  74. margin-left: 20rpx;
  75. }
  76. .type{
  77. padding: 5rpx 16rpx;
  78. background: #FFF7DC;
  79. border-radius: 20rpx;
  80. margin-left: 11rpx;
  81. font-family: PingFangSC, PingFang SC;
  82. font-weight: 400;
  83. font-size: 22rpx;
  84. color: #BA9B31;
  85. line-height: 30rpx;
  86. }
  87. }
  88. &-right{
  89. image{
  90. width: 26rpx;
  91. height: 26rpx;
  92. }
  93. text{
  94. font-family: PingFangSC, PingFang SC;
  95. font-weight: 400;
  96. font-size: 24rpx;
  97. color: #95A5B1;
  98. line-height: 32rpx;
  99. margin-left: 6rpx;
  100. }
  101. }
  102. }
  103. &-pre{
  104. margin-top: 36rpx;
  105. &-left{
  106. font-family: PingFangSC, PingFang SC;
  107. font-weight: 400;
  108. font-size: 26rpx;
  109. color: #667E90;
  110. line-height: 26rpx;
  111. width: 130rpx;
  112. }
  113. &-right{
  114. width: calc(100% - 130rpx);
  115. font-family: PingFangSC, PingFang SC;
  116. font-weight: 400;
  117. font-size: 26rpx;
  118. color: #002846;
  119. line-height: 26rpx;
  120. text-align: right;
  121. }
  122. &.first{
  123. margin-top: 24rpx;
  124. border-top: 1rpx solid #EFEFEF;
  125. padding-top: 24rpx;
  126. }
  127. }
  128. }
  129. }
  130. </style>