|
@@ -1,9 +1,11 @@
|
|
|
<!--pages/us/index.wxml-->
|
|
|
<scroll-view class="scrollarea" scroll-y type="list">
|
|
|
<view class="index_main">
|
|
|
- <button class="user" open-type="chooseAvatar" bindchooseavatar="chooseavatar">
|
|
|
- <image style="width: 202rpx;height:202rpx;" src="{{ userUrl || '../../images/user.png'}}" />
|
|
|
+ <button wx:if="{{!userUrl}}" class="user" open-type="chooseAvatar" bindchooseavatar="chooseavatar">
|
|
|
+ <image style="width: 202rpx;height:202rpx;" src="../../images/user.png" />
|
|
|
</button>
|
|
|
+ <image class="user" wx:else src="{{ userUrl }}" />
|
|
|
+
|
|
|
<Container wx:if="{{phone}}">
|
|
|
<van-cell is-link url="/pages/userData/index">
|
|
|
<view slot="title" class="title">
|