bonus.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <template>
  2. <view class="box">
  3. <view style="height: 20rpx;"></view>
  4. <view class="line" v-for="(item,index) in 3">
  5. <view class="linetop">
  6. <view class="name">李瑞</view>
  7. <view class="amount">¥999</view>
  8. </view>
  9. <view class="lineCOnt">
  10. <view class="lineline">
  11. <view class="lineContLeft">
  12. <image src="../../static/timg/icon_dianhua.png" mode="" class="lineContLeftImg"></image>
  13. <view class="lineContLeftMs">17891011123</view>
  14. </view>
  15. </view>
  16. <view class="lineline">
  17. <view class="lineContLeft">
  18. <image src="../../static/timg/icon_danhao.png" mode="" class="lineContLeftImg"></image>
  19. <view class="lineContLeftMs">XS202009200001</view>
  20. </view>
  21. <view class="lineTIme">2020-09-20 12:13:23</view>
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. </template>
  27. <script>
  28. export default {
  29. components: {
  30. },
  31. data() {
  32. return {
  33. themeColor:'',
  34. userInfo:'',
  35. }
  36. },
  37. onLoad(opt) {
  38. this.themeColor = uni.getStorageSync("themeColor");
  39. this.userInfo = uni.getStorageSync("userInfo");
  40. },
  41. onShow() {
  42. },
  43. methods: {
  44. }
  45. }
  46. </script>
  47. <style scoped lang="less">
  48. .box {
  49. width: 100vw;
  50. min-height: 100vh;
  51. background: #F4F5F7;
  52. }
  53. .lineContLeftImg{
  54. width: 30rpx;
  55. height: 30rpx;
  56. margin-right: 10rpx;
  57. }
  58. .line{
  59. width: 702rpx;
  60. background: #FFFFFF;
  61. border-radius: 10rpx;
  62. margin-bottom: 20rpx;
  63. margin-left: 24rpx;
  64. }
  65. .linetop{
  66. display: flex;
  67. justify-content: space-between;
  68. font-size: 30rpx;
  69. padding: 20rpx;
  70. padding-bottom: 0;
  71. }
  72. .lineline{
  73. display: flex;
  74. justify-content: space-between;
  75. padding: 20rpx;
  76. font-weight: 400;
  77. color: #999999;
  78. font-size: 24rpx;
  79. line-height: 30rpx;
  80. }
  81. .lineContLeft{
  82. display: flex;
  83. }
  84. .name{
  85. font-weight: 500;
  86. color: #3C3C3C;
  87. }
  88. .amount{
  89. color: #FF0000;
  90. }
  91. </style>