<template>
  <basic-container>
    <avue-data-tabs :option="option"></avue-data-tabs>
  </basic-container>
</template>

<script>
import { getUserClick } from "@/api/operator/statisticalsms";
export default {
  data() {
    return {
      option: {
        data: [
          {
            title: "信息点击数",
            count: 0,
            allcount: 0,
            text: "当前信息点击数",
            color: "rgb(27, 201, 142)",
            key: "数",
          },
        ],
      },
    };
  },
  created() {
    this.getClickNum();
  },
  methods: {
    getClickNum() {
      getUserClick().then((res) => {
        if (res.data.code == 200) {
          this.option.data[0].count = res.data.data;
          this.option.data[0].allcount = res.data.data;
        }
      });
    },
  },
};
</script>

<style></style>
