Commit eab6b9df authored by haiyoucuv's avatar haiyoucuv

init

parent 357c5e93
......@@ -12,8 +12,7 @@ ComponentWithStore({
fields: {
homeInfo: () => store.homeInfo,
},
actions: {
},
actions: {},
},
data: {
showGetPanel: false,
......@@ -28,6 +27,11 @@ ComponentWithStore({
},
methods: {
getPhoneNumber(e: any) {
console.log(e.detail)
console.log(e.detail.iv)
console.log(e.detail.encryptedData)
},
closeGetPanel() {
this.setData({
showGetPanel: false,
......
......@@ -6,6 +6,7 @@
</swiper-item>
</swiper>
<view class="user_info">
<button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber"></button>
<view class="avatar_box">
<image class="avatar" src="{{userInfo.avatarUrl}}"></image>
</view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment