deeke-script-app 1.3.2 → 1.3.3
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/@deekeScript/@type/interface/System.d.ts +1 -1
- package/package.json +1 -1
- package/script/index.js +1 -0
- package/script/task/dy.js +13 -6
- package/script/task/dyApp.js +4 -4
- package/script/task/dyCity.js +1 -1
- package/script/task/tool.js +16 -7
|
@@ -96,7 +96,7 @@ interface System {
|
|
|
96
96
|
* @param dataForm
|
|
97
97
|
* @param content
|
|
98
98
|
*/
|
|
99
|
-
public
|
|
99
|
+
public getDataFrom(key: string, dataForm: string, content: string): string | null;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
export { };
|
package/package.json
CHANGED
package/script/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//这个文件不用编写代码
|
package/script/task/dy.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
let
|
|
2
|
-
toker_view_video_keywords: Storage.get("toker_view_video_keywords"),
|
|
3
|
-
toker_view_video_second: Storage.getInteger("toker_view_video_second"),
|
|
4
|
-
toker_run_sex: Storage.getArray("toker_run_sex")
|
|
5
|
-
};
|
|
1
|
+
let dyApp = require("./dyApp");
|
|
6
2
|
|
|
7
|
-
|
|
3
|
+
let tag = UiSelector().id('name').findOne();
|
|
4
|
+
|
|
5
|
+
// console.log(tag.click());
|
|
6
|
+
let config = {
|
|
7
|
+
toker_view_video_keywords: Storage.get('toker_view_video_keywords'),
|
|
8
|
+
toker_view_video_second: Storage.getInteger('toker_view_video_second'),
|
|
9
|
+
toker_run_sex: Storage.getArray('toker_run_sex'),
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
console.log(config, dyApp.getName());//获取json文件中的配置参数
|
|
13
|
+
|
|
14
|
+
FloatDialogs.show('提示', '请编写业务代码');
|
package/script/task/dyApp.js
CHANGED
package/script/task/dyCity.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
FloatDialogs.show(
|
|
1
|
+
FloatDialogs.show('提示', '请编写业务代码');
|
package/script/task/tool.js
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
let
|
|
2
|
-
intoApp() {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
let myTask = {
|
|
2
|
+
intoApp() {
|
|
3
|
+
//打开并进入App
|
|
4
|
+
},
|
|
5
|
+
|
|
6
|
+
backApp() {
|
|
7
|
+
//退出当前App
|
|
8
|
+
},
|
|
9
|
+
|
|
10
|
+
task(){
|
|
11
|
+
//任务代码
|
|
12
|
+
},
|
|
13
|
+
|
|
5
14
|
run() {
|
|
6
|
-
FloatDialogs.show(
|
|
15
|
+
FloatDialogs.show('提示', '请编写业务代码');
|
|
7
16
|
}
|
|
8
|
-
}
|
|
17
|
+
}
|
|
9
18
|
|
|
10
|
-
|
|
19
|
+
myTask.run();
|