@@ -18,7 +18,6 @@ Component({ | |||
'dataSource'(value) { | |||
let item = {} | |||
item = {...value} | |||
console.log(value, '===='); | |||
if(value.goods.goodsImage) { | |||
item.coverImage = value.goods.goodsImage.split(',')[0] | |||
} |
@@ -5,7 +5,7 @@ | |||
<view class="exchange_info"> | |||
<exchange-info dataSource="{{item}}"> | |||
<view class="nav_box"> | |||
<view class="nav_btn" data-item="{{item}}" bindtap="navigateTo">导航</view> | |||
<view class="nav_btn" data-item="{{item.merchant}}" bindtap="navigateTo">导航</view> | |||
</view> | |||
</exchange-info> | |||
</view> |