Commit 548e525e by 高淑倩

defaultAvatar

parent 9f4ddb62
......@@ -11,7 +11,8 @@ wxService.page({
staff : [],
store : [],
rankList:[],
storeList:[]
storeList:[],
defaultAvatar: 'https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/home_default_logo.png'
},
/**
......
......@@ -42,7 +42,7 @@
<block wx:for="{{rankList}}" wx:key="{{index}}" wx:for-item="item">
<view class='table-list-item'>
<view class='lf'>
<image src='https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/home_default_logo.png' mode='aspectFit' />
<image src='{{item.member.avatar? item.member.avatar : defaultAvatar}}' mode='aspectFit' />
<text>{{utils.phoneFormat(item.member.mobile || 17521232119)}}</text>
</view>
<view class='rg'>已招募
......@@ -63,7 +63,7 @@
<block wx:for="{{storeList}}" wx:key="{{index}}" wx:for-item="item">
<view class='table-list-item'>
<view class='lf'>
<image src='https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/home_default_logo.png' mode='aspectFit' />
<image src='{{item.member.avatar? item.member.avatar : defaultAvatar}}' mode='aspectFit' />
<text>龙阳店</text>
</view>
<view class='rg'>已招募
......
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