Browse Source

合并

pull/8/head
余菲 1 year ago
parent
commit
6b01cd3750
2 changed files with 8 additions and 8 deletions
  1. +7
    -7
      package_B/pages/exchange/index.js
  2. +1
    -1
      package_B/pages/exchange/index.wxml

+ 7
- 7
package_B/pages/exchange/index.js View File

@@ -28,11 +28,11 @@ Page({
this.setData({ list: [] })
},

/* 跳转至详情页 */
showDetail(e) {
let data = e.currentTarget.dataset.item
wx.navigateTo({
url: '/package_B/pages/feedbackDetail/index?data='+ JSON.stringify(data),
})
}
// /* 跳转至详情页 */
// showDetail(e) {
// let data = e.currentTarget.dataset.item
// wx.navigateTo({
// url: '/package_B/pages/feedbackDetail/index?data='+ JSON.stringify(data),
// })
// }
})

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

@@ -1,7 +1,7 @@
<!--package_B/pages/exchange/index.wxml-->
<view class="protect_container">
<list id="list" class="exchange_list" url="{{current}}" bind:update-list="updateList" list="{{list}}" bind:reset-list="resetList" params="{{params}}">
<view class="exchange_item" data-item="{{item}}" bindtap="showDetail" wx:for="{{list}}" wx:key="index">
<view class="exchange_item" data-item="{{item}}" wx:for="{{list}}" wx:key="index">
<view class="exchange_info">
<image class="exchange_img" src="{{item.shopsImage}}"></image>
<view class="info_box">

Loading…
Cancel
Save