<!--pages/webview_protocol/webview_protocol.wxml--> <view class='container'> <view class='wrapper'> <web-view class='web-view' wx:if='{{isWebview}}' src='{{url}}'></web-view> <view wx:else class='none'>请升级微信后,再来查看协议</view> </view> </view>