freeze.vue 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <template>
  2. <view class="center">
  3. <view class="order-item flex" v-for="(item, index) in 10" :key="index">
  4. <view class="title-box">
  5. <view class="title"><text>推广奖励到账</text></view>
  6. <view class="time"><text>2018-12-1 09:30</text></view>
  7. </view>
  8. <view class="money">
  9. <view class="money-price"><text>+100</text></view>
  10. <view class="money-font"><text>冻结中</text></view>
  11. </view>
  12. </view>
  13. </view>
  14. </template>
  15. <script>
  16. export default {
  17. data() {
  18. return {
  19. list: [],
  20. page: 1,
  21. limit: 10,
  22. loadType: 'more'
  23. };
  24. },
  25. onReachBottom() {
  26. this.loadData();
  27. },
  28. onLoad() {
  29. this.loadData();
  30. },
  31. methods: {
  32. loadData() {}
  33. }
  34. };
  35. </script>
  36. <style lang="scss">
  37. .order-item {
  38. background: #fff;
  39. padding: 20rpx 30rpx;
  40. line-height: 1.5;
  41. border-bottom: 1px solid #f0f4f8;
  42. .title-box {
  43. .title {
  44. font-size: $font-lg;
  45. color: $font-color-base;
  46. }
  47. .time {
  48. font-size: $font-base;
  49. color: $font-color-light;
  50. }
  51. }
  52. .money {
  53. .money-price {
  54. font-size: 36rpx;
  55. font-family: PingFang SC;
  56. font-weight: bold;
  57. color: #ff0000;
  58. }
  59. .money-font {
  60. font-size: 24rpx;
  61. font-family: PingFang SC;
  62. font-weight: 500;
  63. color: #fc4141;
  64. }
  65. }
  66. }
  67. </style>