123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- // pages/home/components/contrast/contrast.js
- const app = getApp()
- Component({
- /**
- * 组件的属性列表
- */
- properties: {
- tablelist:{
- type: Array,
- value: [],
- }
- },
- /**
- * 组件的初始数据
- */
- data: {
- error: "",
- listAll: [
- {
- name: "总浏览量",
- type: "total_pv",
- },
- {
- name: "原创量",
- type: "total_ori",
- },
- {
- name: "总点赞数",
- type: "total_digg",
- },
- {
- name: "总评论数",
- type: "total_comment",
- },
- {
- name: "总转发量",
- type: "total_forward",
- },
- ],
- },
- ready() {
- },
- /**
- * 组件的方法列表
- */
- methods: {
- }
- })
|