zj
2024-06-03 561ca040085b6fd6766e471a70b4a3c682deadc2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<template>
  <div id="AdHistory" class="h-full w-full">
    <order-nav :title="$t('历史广告')" />
    <div class="bg-white flex flex-col justify-center items-center pt-185">
      <img src="@/assets/image/assets-center/no-data.png" alt="no-date" class="w-180 h-180" />
      <p>{{ $t('暂无数据') }}</p>
    </div>
  </div>
</template>
 
<script>
import OrderNav from "@/components/order-nav/OrderNav";
import { Cell, Empty, Icon, } from "vant";
export default {
  name: "AdHistory",
  created() {
    console.log(this.$route.query)
    this.pageType = this.$route.query.type
  },
  components: {
    [Icon.name]: Icon,
    [Cell.name]: Cell,
    [Empty.name]: Empty,
    OrderNav,
  },
  data() {
    return {
      pageType: 0,// 0 没有广告历史 1 有广告历史记录
    }
  }
}
</script>
 
<style lang="scss" scoped>
#AdHistory {
  .custom-image .van-empty__image {
    width: 90px;
    height: 90px;
  }
}
</style>