Files
xhs-examples/xhs-mini-demos/api-case/alipay-auth/alipay-auth.xhsml
2025-09-14 00:21:54 +08:00

35 lines
954 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<view class="container">
<showbox title="支付宝信息授权">
<box>
<view class="_ui-input">
<text style="word-break:break-all;">输入的 authInfo 为: {{authInfo}}</text>
</view>
<view class="_ui-input">
<input
value="{{authInfo}}"
placeholder="填参数 authInfo类型字符串"
placeholder-style="color: #3333334D;"
bindinput="bindInput"
maxlength="3000"
/>
</view>
<view class="_ui-input">
修改 showLoading
<switch
style="transform:scale(0.7)"
checked="{{showLoading}}"
color="rgba(255, 36, 66, 1)"
bindchange="changeLoading"
/>
</view>
<view class="_ui-space mt-8">
<button
class="_ui-button"
hover-class="_ui-button-hover"
bindtap="auth"
>点击授权</button>
</view>
</box>
</showbox>
</view>