提交 44af1dae 编写于 作者: H hdx

web-view: 调整部分功能仅支持app

上级 bfb09725
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<web-view id="web-view" class="uni-flex-item" :src="src" :webview-styles="webview_styles" @message="message" <web-view id="web-view" class="uni-flex-item" :src="src" :webview-styles="webview_styles" @message="message"
@error="error" @loading="loading" @load="load" @download="download"> @error="error" @loading="loading" @load="load" @download="download">
</web-view> </web-view>
<!-- #ifdef APP -->
<view class="uni-padding-wrap uni-common-mt"> <view class="uni-padding-wrap uni-common-mt">
<view class="uni-input-v"> <view class="uni-input-v">
<input class="uni-input" confirmType="go" placeholder="输入网址跳转" @confirm="confirm" /> <input class="uni-input" confirmType="go" placeholder="输入网址跳转" @confirm="confirm" />
...@@ -19,6 +20,7 @@ ...@@ -19,6 +20,7 @@
<button type="primary" @click="nativeToWeb">原生和Web通信</button> <button type="primary" @click="nativeToWeb">原生和Web通信</button>
</view> </view>
</view> </view>
<!-- #endif -->
</view> </view>
</template> </template>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册