<view class="container"><block wx:if="{{loading}}"><view class="loading"><text>加载中...</text></view></block><web-view src="{{webviewUrl}}" data-event-opts="{{[['message',[['handleMessage',['$event']]]],['load',[['onLoads',['$event']]]],['error',[['onError',['$event']]]]]}}" bindmessage="__e" bindload="__e" binderror="__e"></web-view></view>