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

@@ -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]
}

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

@@ -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>

Loading…
Cancel
Save