整理文档并接入 H5 体验测试链路
This commit is contained in:
11
miniprogram/pages/experience-webview/experience-webview.wxml
Normal file
11
miniprogram/pages/experience-webview/experience-webview.wxml
Normal file
@@ -0,0 +1,11 @@
|
||||
<view wx:if="{{!webViewReady}}" class="experience-webview__loading">
|
||||
<view class="experience-webview__loading-title">内容页加载中</view>
|
||||
<view wx:if="{{loadErrorText}}" class="experience-webview__loading-error">{{loadErrorText}}</view>
|
||||
</view>
|
||||
|
||||
<web-view
|
||||
wx:if="{{webViewReady && webViewSrc}}"
|
||||
src="{{webViewSrc}}"
|
||||
bindmessage="handleWebViewMessage"
|
||||
binderror="handleWebViewError"
|
||||
></web-view>
|
||||
Reference in New Issue
Block a user