Browse Source

业绩目标

xiaohaizhao 1 year ago
parent
commit
84e49f72df

+ 18 - 0
pages/index/performance/index.js

@@ -0,0 +1,18 @@
+const _Http = getApp().globalData.http;
+Component({
+  options: {
+    addGlobalClass: true
+  },
+  data: {
+    CustomBar: getApp().globalData.CustomBar,
+  },
+  methods: {
+    init() {
+      this.get()
+      return true;
+    },
+    get() {
+      this.selectComponent("#histogram").render();
+    }
+  }
+})

+ 9 - 0
pages/index/performance/index.json

@@ -0,0 +1,9 @@
+{
+  "component": true,
+  "usingComponents": {
+    "figure": "./modules/figure/index",
+    "rankingList": "./modules/rankingList/index",
+    "chart": "./modules/chart/index",
+    "histogram": "./modules/histogram/index"
+  }
+}

+ 0 - 0
pages/index/performance/index.scss


+ 4 - 0
pages/index/performance/index.wxml

@@ -0,0 +1,4 @@
+<figure />
+<chart />
+<histogram id='histogram' />
+<rankingList />