Files
damai-wx/pages/baxia/webview/baxia.wxml
MagicalKudzu 8079e6c819 首次提交
2025-12-12 10:35:12 +08:00

14 lines
720 B
Plaintext

<template name="baxiaTmp">
<web-view bindmessage="onMessage" src="{{webViewSrc}}" wx:if="{{showWebView}}"></web-view>
<view class="baxia-auth-container" wx:else>
<view class="baxia-auth-txt">
<text>请允许授权,以进行下一步操作</text>
</view>
<view class="baxia-auth-txt-detail">
<text>获取您的公开信息(昵称、头像、性别、地区)</text>
</view>
<button bindtap="bindGetUserProfile" class="baxia-auth-btn" type="primary" wx:if="{{canIUse}}">授权</button>
<button bindgetuserinfo="bindGetUserInfo" class="baxia-auth-btn" openType="getUserInfo" type="primary" wx:else>授权</button>
</view>
</template>