You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
638 B

2 weeks ago
<view class="user-container">
<view class="header">
<view wx:if="{{ userInfo.nickName }}">
<image mode="widthFix" src="{{ userInfo.avatarUrl }}"></image>
<text>{{ userInfo.nickName }}</text>
</view>
<view wx:else>
<button type="primary" bindtap="getUserProfile">登录</button>
</view>
</view>
<view class="service">
<van-grid column-num="3">
<van-grid-item url="/pages/search/search" icon-color="{{ item.color }}" wx:for="{{ list }}" wx:key="index" icon="{{ item.icon }}" text="{{ item.text }}" />
</van-grid>
</view>
</view>