zzqt.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <template>
  2. <div id="zzqt">
  3. <el-row>
  4. <el-col :span="24">
  5. <el-col :span="24" class="list" v-for="(item, index) in zzqtList" :key="index">
  6. <el-col :span="24" class="name">
  7. {{ item.product_name }}
  8. </el-col>
  9. <el-col :span="24" class="text">
  10. 营销人:<span>{{ item.username }}</span>
  11. </el-col>
  12. <el-col :span="24" class="text">
  13. 购买人:<span>{{ item.market_username }}</span>
  14. </el-col>
  15. </el-col>
  16. </el-col>
  17. </el-row>
  18. </div>
  19. </template>
  20. <script>
  21. import { mapState, createNamespacedHelpers } from 'vuex';
  22. export default {
  23. name: 'zzqt',
  24. props: {
  25. zzqtList: null,
  26. },
  27. components: {},
  28. data: function() {
  29. return {};
  30. },
  31. created() {},
  32. methods: {},
  33. computed: {
  34. ...mapState(['user']),
  35. pageTitle() {
  36. return `${this.$route.meta.title}`;
  37. },
  38. },
  39. metaInfo() {
  40. return { title: this.$route.meta.title };
  41. },
  42. };
  43. </script>
  44. <style lang="less" scoped>
  45. .list {
  46. margin: 0 5px 10px 5px;
  47. width: 97%;
  48. padding: 0 10px;
  49. border-radius: 10px;
  50. background: #f9fafc;
  51. .name {
  52. padding: 5px 0px;
  53. font-size: 16px;
  54. }
  55. .text {
  56. padding: 5px 0;
  57. font-size: 14px;
  58. color: #ccc;
  59. span {
  60. color: #000;
  61. }
  62. }
  63. }
  64. </style>