<!--pages/webview-auth/index.wxml-->
<view class="container">
  <view class="loading" wx:if="{{loading && webViewUrl}}">
    <view class="loading-spinner"></view>
    <text class="loading-text">正在加载授权页面...</text>
  </view>
  <web-view
    wx:if="{{webViewUrl}}"
    src="{{webViewUrl}}"
    bindmessage="onMessage"
    bindload="onWebViewLoad"
  ></web-view>
</view>
