mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 19:41:45 +08:00
feat: add agreePrivacyAuthorization button open type (#5527)
This commit is contained in:
parent
6d6d6d736b
commit
610ce18859
@ -179,6 +179,7 @@ Page({
|
||||
| bind:contact | 客服消息回调,<a href="#/action-sheet#actions">openType</a>="contact"时有效 | - |
|
||||
| bind:getphonenumber | 获取用户手机号回调,<a href="#/action-sheet#actions">openType</a>="getPhoneNumber"时有效 | - |
|
||||
| bind:getrealtimephonenumber `v1.10.21` | 获取手机号实时验证回调,<a href="#/action-sheet#actions">openType</a>="getRealtimePhoneNumber"时有效 | - |
|
||||
| bind:agreeprivacyauthorization `v1.10.24` | 同意隐私协议回调,<a href="#/action-sheet#actions">openType</a>="agreePrivacyAuthorization"时有效 | - |
|
||||
| bind:error | 当使用开放能力时,发生错误的回调,<a href="#/action-sheet#actions">openType</a>="launchApp"时有效 | - |
|
||||
| bind:launchapp | 打开 APP 成功的回调,<a href="#/action-sheet#actions">openType</a>="launchApp"时有效 | - |
|
||||
| bind:opensetting | 在打开授权设置页后回调,<a href="#/action-sheet#actions">openType</a>="openSetting"时有效 | - |
|
||||
|
@ -31,6 +31,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -97,6 +98,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -163,6 +165,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -229,6 +232,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -295,6 +299,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -361,6 +366,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
|
@ -157,6 +157,7 @@
|
||||
| bind:contact | 客服消息回调 | - |
|
||||
| bind:getphonenumber | 获取用户手机号回调 | - |
|
||||
| bind:getrealtimephonenumber `v1.10.21` | 获取手机号实时验证回调,open-type=getRealtimePhoneNumber 时有效 | - |
|
||||
| bind:agreeprivacyauthorization `v1.10.24` | 同意隐私协议回调,openType="agreePrivacyAuthorization"时有效 | - |
|
||||
| bind:error | 当使用开放能力时,发生错误的回调 | - |
|
||||
| bind:opensetting | 在打开授权设置页后回调 | - |
|
||||
| bind:chooseavatar | 当 open-type 的值为 chooseAvatar 时,选择头像之后的回调 |
|
||||
|
@ -23,6 +23,7 @@
|
||||
bindcontact="onContact"
|
||||
bindgetphonenumber="onGetPhoneNumber"
|
||||
bindgetrealtimephonenumber="onGetRealTimePhoneNumber"
|
||||
bindagreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
binderror="onError"
|
||||
bindlaunchapp="onLaunchApp"
|
||||
bindopensetting="onOpenSetting"
|
||||
|
@ -34,6 +34,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -71,6 +72,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -108,6 +110,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -146,6 +149,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -181,6 +185,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -229,6 +234,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -264,6 +270,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -312,6 +319,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -347,6 +355,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -395,6 +404,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -430,6 +440,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -478,6 +489,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -526,6 +538,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -609,6 +622,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -675,6 +689,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -710,6 +725,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -758,6 +774,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -802,6 +819,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -846,6 +864,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -909,6 +928,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -946,6 +966,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -983,6 +1004,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -1018,6 +1040,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -1066,6 +1089,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -1101,6 +1125,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -1149,6 +1174,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style="color:#fff;background:#7232dd;border-color:#7232dd"
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -1186,6 +1212,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style="color:#7232dd;border-color:#7232dd"
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -1221,6 +1248,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style="color:#fff;background:linear-gradient(to right, #4bb0ff, #6149f6);border:0"
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
|
@ -218,6 +218,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -253,6 +254,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
|
@ -337,6 +337,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -697,6 +698,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
|
@ -292,6 +292,7 @@ Page({
|
||||
| bind:contact | 客服消息回调 | - |
|
||||
| bind:getphonenumber | 获取用户手机号回调 | - |
|
||||
| bind:getrealtimephonenumber `v1.10.21` | 获取手机号实时验证回调,open-type=getRealtimePhoneNumber 时有效 | - |
|
||||
| bind:agreeprivacyauthorization `v1.10.24` | 同意隐私协议回调,openType="agreePrivacyAuthorization"时有效 | - |
|
||||
| bind:error | 当使用开放能力时,发生错误的回调 | - |
|
||||
| bind:opensetting | 在打开授权设置页后回调 | - |
|
||||
|
||||
|
@ -304,6 +304,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
|
@ -844,6 +844,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
|
@ -45,6 +45,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -112,6 +113,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -180,6 +182,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -231,6 +234,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -298,6 +302,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -370,6 +375,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -442,6 +448,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -508,6 +515,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -557,6 +565,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -624,6 +633,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -689,6 +699,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -755,6 +766,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style="color:#fff;background:#be99ff;border-color:#be99ff"
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -804,6 +816,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style="color:#fff;background:#7232dd;border-color:#7232dd"
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -871,6 +884,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -936,6 +950,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -1002,6 +1017,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style="color:#fff;background:#7232dd;border-color:#7232dd"
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -1051,6 +1067,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style="color:#7232dd;border-color:#7232dd"
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
|
@ -51,6 +51,10 @@ export const button = Behavior({
|
||||
this.triggerEvent('opensetting', event.detail);
|
||||
},
|
||||
|
||||
onAgreePrivacyAuthorization(event) {
|
||||
this.triggerEvent('agreeprivacyauthorization', event.detail);
|
||||
},
|
||||
|
||||
onChooseAvatar(
|
||||
event: WechatMiniprogram.CustomEvent<
|
||||
WechatMiniprogram.GeneralCallbackResult & { avatarUrl: string }
|
||||
|
@ -31,6 +31,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -84,6 +85,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -122,6 +124,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -165,6 +168,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -203,6 +207,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -253,6 +258,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -290,6 +296,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -339,6 +346,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
|
@ -31,6 +31,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -90,6 +91,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
|
@ -140,6 +140,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -175,6 +176,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
|
@ -174,6 +174,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
|
@ -38,6 +38,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style="margin-left: 15px"
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -98,6 +99,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style="margin-left: 115px"
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -162,6 +164,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style="margin-left: 215px;"
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -232,6 +235,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
|
@ -75,6 +75,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style="width: 100%;"
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -189,6 +190,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style="width: 100%;"
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -286,6 +288,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style="width: 100%;"
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -416,6 +419,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style="width: 100%;"
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
|
@ -32,6 +32,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -69,6 +70,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -118,6 +120,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -155,6 +158,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -204,6 +208,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -241,6 +246,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -289,6 +295,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
|
@ -527,6 +527,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
@ -685,6 +686,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
sessionFrom=""
|
||||
showMessageCard="{{false}}"
|
||||
style=""
|
||||
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
bind:chooseavatar="onChooseAvatar"
|
||||
bind:contact="onContact"
|
||||
bind:error="onError"
|
||||
|
Loading…
x
Reference in New Issue
Block a user