Compare commits
13 Commits
f8999ef0be
...
test
Author | SHA1 | Date | |
---|---|---|---|
6faa094bb6 | |||
5ddbdfa9e0 | |||
8af3519edb | |||
f766168eae | |||
4bd64edb3f | |||
aacd6e37ed | |||
e529eb733b | |||
aa183f19cd | |||
bc97a3fc73 | |||
a97fc92b2f | |||
dfd0d9d998 | |||
145096be9f | |||
a7f0c20b6f |
1
.java-version
Normal file
1
.java-version
Normal file
@@ -0,0 +1 @@
|
|||||||
|
1.8
|
@@ -3,7 +3,7 @@
|
|||||||
<name>APP</name>
|
<name>APP</name>
|
||||||
<description>app</description>
|
<description>app</description>
|
||||||
<author email="dev@cordova.apache.org" href="https://cordova.apache.org"></author>
|
<author email="dev@cordova.apache.org" href="https://cordova.apache.org"></author>
|
||||||
<content src="index.html" />
|
<content src="http://test.taoya.art/" />
|
||||||
<allow-intent href="http://*/*"/>
|
<allow-intent href="http://*/*"/>
|
||||||
<allow-intent href="https://*/*"/>
|
<allow-intent href="https://*/*"/>
|
||||||
<allow-intent href="tel:*"/>
|
<allow-intent href="tel:*"/>
|
||||||
@@ -14,11 +14,12 @@
|
|||||||
<platform name="android">
|
<platform name="android">
|
||||||
<preference name="Fullscreen" value="true"/>
|
<preference name="Fullscreen" value="true"/>
|
||||||
<icon src="logo.png"></icon>
|
<icon src="logo.png"></icon>
|
||||||
|
|
||||||
</platform>
|
</platform>
|
||||||
<plugin name="phonegap-plugin-barcodescanner" />
|
<plugin name="phonegap-plugin-barcodescanner" />
|
||||||
|
|
||||||
<preference name="GradlePluginKotlinEnabled" value="true" />
|
<preference name="GradlePluginKotlinEnabled" value="true" />
|
||||||
<preference name="GradlePluginKotlinCodeStyle" value="official" />
|
<preference name="GradlePluginKotlinCodeStyle" value="official" />
|
||||||
<preference name="GradlePluginKotlinVersion" value="1.3.50" />
|
<preference name="GradlePluginKotlinVersion" value="1.6.10" />
|
||||||
<preference name="AndroidXEnabled" value="true" />
|
<preference name="AndroidXEnabled" value="true" />
|
||||||
</widget>
|
</widget>
|
||||||
|
1656
package-lock.json
generated
1656
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -21,7 +21,7 @@
|
|||||||
"cordova-android": "^10.1.2",
|
"cordova-android": "^10.1.2",
|
||||||
"cordova-plugin-app-version": "^0.1.14",
|
"cordova-plugin-app-version": "^0.1.14",
|
||||||
"cordova-plugin-battery-status": "^2.0.3",
|
"cordova-plugin-battery-status": "^2.0.3",
|
||||||
"cordova-plugin-camera": "^6.0.0",
|
"cordova-plugin-camera": "7.0.0",
|
||||||
"cordova-plugin-device": "^2.1.0",
|
"cordova-plugin-device": "^2.1.0",
|
||||||
"cordova-plugin-dialogs": "^2.0.2",
|
"cordova-plugin-dialogs": "^2.0.2",
|
||||||
"cordova-plugin-file": "^6.0.2",
|
"cordova-plugin-file": "^6.0.2",
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
"cordova-plugin-file-transfer-jsg": "^2.0.0",
|
"cordova-plugin-file-transfer-jsg": "^2.0.0",
|
||||||
"cordova-plugin-geolocation": "^4.1.0",
|
"cordova-plugin-geolocation": "^4.1.0",
|
||||||
"cordova-plugin-inappbrowser": "^5.0.0",
|
"cordova-plugin-inappbrowser": "^5.0.0",
|
||||||
|
"cordova-plugin-jbprint-jsg": "^1.0.3",
|
||||||
"cordova-plugin-media": "^5.0.4",
|
"cordova-plugin-media": "^5.0.4",
|
||||||
"cordova-plugin-media-capture": "^3.0.3",
|
"cordova-plugin-media-capture": "^3.0.3",
|
||||||
"cordova-plugin-network-information": "^3.0.0",
|
"cordova-plugin-network-information": "^3.0.0",
|
||||||
@@ -36,6 +37,7 @@
|
|||||||
"cordova-plugin-screen-orientation": "^3.0.2",
|
"cordova-plugin-screen-orientation": "^3.0.2",
|
||||||
"cordova-plugin-splashscreen": "^6.0.1",
|
"cordova-plugin-splashscreen": "^6.0.1",
|
||||||
"cordova-plugin-statusbar": "^3.0.0",
|
"cordova-plugin-statusbar": "^3.0.0",
|
||||||
|
"cordova-plugin-test-tl": "^1.1.11",
|
||||||
"cordova-plugin-vibration": "^3.1.1",
|
"cordova-plugin-vibration": "^3.1.1",
|
||||||
"es6-promise-plugin": "^4.2.2",
|
"es6-promise-plugin": "^4.2.2",
|
||||||
"phonegap-plugin-barcodescanner-fix": "^8.1.1",
|
"phonegap-plugin-barcodescanner-fix": "^8.1.1",
|
||||||
@@ -73,7 +75,10 @@
|
|||||||
},
|
},
|
||||||
"cordova-plugin-file-transfer-jsg": {},
|
"cordova-plugin-file-transfer-jsg": {},
|
||||||
"cordova-plugin-app-version": {},
|
"cordova-plugin-app-version": {},
|
||||||
"cordova-plugin-file-opener2": {}
|
"cordova-plugin-file-opener2": {},
|
||||||
|
"cordova-plugin-test-tl": {},
|
||||||
|
"cordova-plugin-file-transfer": {},
|
||||||
|
"cordova-plugin-jbprint-jsg": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
3557
pnpm-lock.yaml
generated
Normal file
3557
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -26,6 +26,7 @@
|
|||||||
<el-button @click="docPrint">文件打印</el-button>
|
<el-button @click="docPrint">文件打印</el-button>
|
||||||
<el-button @click="versionCheck">版本升级</el-button>
|
<el-button @click="versionCheck">版本升级</el-button>
|
||||||
<el-button @click="installAPK" type="danger">安装apk</el-button>
|
<el-button @click="installAPK" type="danger">安装apk</el-button>
|
||||||
|
<el-button @click="customPlugin">自定义插件</el-button>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
|
<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
|
||||||
@@ -40,6 +41,19 @@
|
|||||||
}, 600);
|
}, 600);
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
customPlugin() {
|
||||||
|
console.log(cordovaTest);
|
||||||
|
cordovaTest.coolMethod(
|
||||||
|
"param",
|
||||||
|
(res) => {
|
||||||
|
console.log(res);
|
||||||
|
this.$message.success(res);
|
||||||
|
},
|
||||||
|
(e) => {
|
||||||
|
this.$message.error(e);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
},
|
||||||
installAPK() {
|
installAPK() {
|
||||||
let url = "http://3000.taoya.art/app.apk";
|
let url = "http://3000.taoya.art/app.apk";
|
||||||
var filename = url.split("/").pop();
|
var filename = url.split("/").pop();
|
||||||
|
Reference in New Issue
Block a user