浏览代码

我的兑换商铺导航

yufei
余菲 1年前
父节点
当前提交
2b1dd334a9
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. +0
    -1
      components/exchangeInfo/index.js
  2. +1
    -1
      package_mine/pages/exchange/index.wxml

+ 0
- 1
components/exchangeInfo/index.js 查看文件

@@ -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 查看文件

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

正在加载...
取消
保存