diff --git a/hybrid/html/local.html b/hybrid/html/local.html
index ad35c4b6030fc27abe093e3c80ed36df968e91ec..1eb65ac124e18b94b7324f075fef90a16b7c6ef1 100644
--- a/hybrid/html/local.html
+++ b/hybrid/html/local.html
@@ -51,6 +51,7 @@
var target = evt.target;
if (target.tagName === 'BUTTON') {
var action = target.getAttribute('data-action');
+ console.log(action);
switch (action) {
case 'switchTab':
uni.switchTab({
diff --git a/manifest.json b/manifest.json
index c1090bcbaf0230df9efadfa9bb1f372ca144443e..e309c620b13199348ba00591d8443559b7223beb 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,11 +1,10 @@
{
"name" : "hello-uniapp x",
- "appid" : "__UNI__4517034",
+ "appid" : "__UNI__3584C99",
"description" : "",
- "versionName" : "1.0.0",
- "versionCode" : "100",
- "uni-app-x" : {
- },
+ "versionName" : "1.0.5",
+ "versionCode" : 105,
+ "uni-app-x" : {},
/* 快应用特有相关 */
"quickapp" : {},
/* 小程序特有相关 */
diff --git a/pages/component/image/image-path.uvue b/pages/component/image/image-path.uvue
index 98005cfbc725aa6c2aef029666b50187a0ba3830..0d561e8d38deb493bf41eeacac9434b9c6738dcd 100644
--- a/pages/component/image/image-path.uvue
+++ b/pages/component/image/image-path.uvue
@@ -36,13 +36,13 @@
},
{
src: logo,
- description: '非static目录'
+ description: '非static目录(需import才能访问)'
},
{
// #ifdef APP-ANDROID
- src: 'file:///storage/emulated/0/Android/data/io.dcloud.uniappx/apps/__UNI__4517034/www/static/test-image/logo.png',
+ src: 'file:///storage/emulated/0/Android/data/io.dcloud.uniappx/apps/__UNI__3584C99/www/static/test-image/logo.png',
// #endif
- // TODO iOS还需再补路径
+ // TODO iOS发版时还需再补路径
description: '本地绝对路径file:///方式。需注意打包后包名appid匹配'
},
{
@@ -100,4 +100,4 @@
margin: 40rpx auto;
width: 200rpx;
}
-
\ No newline at end of file
+
diff --git a/pages/component/slider-100/slider-100.uvue b/pages/component/slider-100/slider-100.uvue
index 551a7993a337ab256929384e51329b5c89f03af0..7659451050b76742b598c1d25d550b39bad421be 100644
--- a/pages/component/slider-100/slider-100.uvue
+++ b/pages/component/slider-100/slider-100.uvue
@@ -44,7 +44,7 @@
updateSliderValue(value : Number) {
// this.sliderValue = value
- // TODO 跳过vue框架,直接修改原生组件
+ // 跳过vue框架,直接修改原生组件
(this.$refs["slider1"]! as ComponentPublicInstance[]).forEach((item) => {
item.$data["$sliderValue"] = value
item.$callMethod("_onRender")
diff --git a/pages/component/web-view-local/web-view-local.uvue b/pages/component/web-view-local/web-view-local.uvue
index ea78e511acb14a0f60981a509f4b44767bdd0e69..684353ff163544c40b97d6b7f74b24ad6009bd42 100644
--- a/pages/component/web-view-local/web-view-local.uvue
+++ b/pages/component/web-view-local/web-view-local.uvue
@@ -15,6 +15,10 @@
methods: {
message(event : WebViewMessageEvent) {
console.log(JSON.stringify(event.detail));
+ uni.showModal({
+ content: JSON.stringify(event.detail),
+ showCancel: false
+ });
},
error(event : WebViewErrorEvent) {
console.log(JSON.stringify(event.detail));
@@ -31,4 +35,4 @@
\ No newline at end of file
+