@zeppos/zeus-cli 1.5.15 → 1.5.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeppos/zeus-cli",
3
- "version": "1.5.15",
3
+ "version": "1.5.16",
4
4
  "description": "zeus mini-program tools",
5
5
  "main": "index.ts",
6
6
  "author": "zepp",
@@ -16,9 +16,9 @@
16
16
  "permissions": [],
17
17
  "runtime": {
18
18
  "apiVersion": {
19
- "compatible": "3.6.0",
20
- "target": "3.6.0",
21
- "minVersion": "3.6.0"
19
+ "compatible": "3.6",
20
+ "target": "3.6",
21
+ "minVersion": "3.6"
22
22
  }
23
23
  },
24
24
  "targets": {
@@ -27,7 +27,7 @@
27
27
  "data-widget": {
28
28
  "widgets": [
29
29
  {
30
- "path": "page/common/index",
30
+ "path": "data-widget/common/index",
31
31
  "name": "Running Pace Master",
32
32
  "icon": "icon.png",
33
33
  "window": {
@@ -1,6 +1,6 @@
1
1
  import { createWidget, widget, align, text_style, sport_data, edit_widget_group_type } from '@zos/ui'
2
2
 
3
- Page({
3
+ DataWidget({
4
4
  init() {
5
5
  const bg = createWidget(widget.IMG, {
6
6
  x: 0,
@@ -137,11 +137,5 @@ Page({
137
137
  },
138
138
  onInit() {},
139
139
 
140
- onReady() {},
141
-
142
- onShow() {},
143
-
144
- onHide() {},
145
-
146
140
  onDestroy() {}
147
141
  })