This commit is contained in:
itgaojian163 2025-01-02 17:33:12 +08:00
parent 0f18776157
commit 04ea741ab9
2 changed files with 4 additions and 8 deletions

View File

@ -1,9 +1,9 @@
/**app.wxss**/ /**app.wxss**/
.container { .container {
height: 100%; height: 100vh;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: flex-start; align-items: center;
justify-content: space-between; justify-content: flex-start;
box-sizing: border-box; box-sizing: border-box;
} }

View File

@ -2,12 +2,8 @@
<scroll-view class="scrollarea" scroll-y type="list"> <scroll-view class="scrollarea" scroll-y type="list">
<view class="container"> <view class="container">
<image src="{{userInfo.avatarUrl}}" style="width: 100rpx;height: 100rpx;"></image> <image src="{{userInfo.avatarUrl}}" style="width: 100rpx;height: 100rpx;"></image>
<mp-icon type="outline" icon="shop" color="black" size="{{25}}"> <mp-icon type="outline" icon="shop" color="black" size="{{25}}"> </mp-icon>
</mp-icon>
<button type="default" bind:tap="getUserProfile">获取信息</button> <button type="default" bind:tap="getUserProfile">获取信息</button>
<button open-type="getPhoneNumber" bind:tap="getUserPhoneNumber">获取电话</button> <button open-type="getPhoneNumber" bind:tap="getUserPhoneNumber">获取电话</button>
<text>sss</text>
</view> </view>
</scroll-view> </scroll-view>