Browse Source

我的兑换商铺导航

yufei
余菲 1 year ago
parent
commit
2b1dd334a9
2 changed files with 1 additions and 2 deletions
  1. +0
    -1
      components/exchangeInfo/index.js
  2. +1
    -1
      package_mine/pages/exchange/index.wxml

+ 0
- 1
components/exchangeInfo/index.js View File

'dataSource'(value) { 'dataSource'(value) {
let item = {} let item = {}
item = {...value} item = {...value}
console.log(value, '====');
if(value.goods.goodsImage) { if(value.goods.goodsImage) {
item.coverImage = value.goods.goodsImage.split(',')[0] item.coverImage = value.goods.goodsImage.split(',')[0]
} }

+ 1
- 1
package_mine/pages/exchange/index.wxml View File

<view class="exchange_info"> <view class="exchange_info">
<exchange-info dataSource="{{item}}"> <exchange-info dataSource="{{item}}">
<view class="nav_box"> <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> </view>
</exchange-info> </exchange-info>
</view> </view>

Loading…
Cancel
Save