order-list.vue 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <template>
  2. <div class="list-module">
  3. <div class="list-left">
  4. <div class="image">
  5. <img src="../../static/images/logout.png" alt />
  6. </div>
  7. <div class="list-msg">
  8. <div class="title">天使面孔</div>
  9. <div class="desc">玫瑰花为主</div>
  10. </div>
  11. </div>
  12. <div class="list-right">
  13. <div class="price">¥300.00</div>
  14. <div class="num">*1</div>
  15. </div>
  16. </div>
  17. </template>
  18. <script>
  19. export default {
  20. name: 'list-module',
  21. data() {
  22. return {}
  23. },
  24. methods: {}
  25. }
  26. </script>
  27. <style lang="scss" scoped>
  28. .list-module {
  29. @include disFlex(center, space-between);
  30. padding: 20px 0;
  31. border-bottom: 1px solid $borderColor;
  32. .list-left {
  33. @include disFlex(flex-start, space-between);
  34. .image {
  35. width: 140px;
  36. }
  37. .list-msg {
  38. margin-left: 20px;
  39. .title {
  40. font-size: 28px;
  41. color: $fontColor2;
  42. margin-bottom: 10px;
  43. }
  44. .desc {
  45. color: $fontColor3;
  46. }
  47. }
  48. }
  49. .list-right {
  50. text-align: right;
  51. color: $fontColor2;
  52. .price {
  53. margin-bottom: 70px;
  54. color: #333;
  55. }
  56. }
  57. }
  58. </style>