Explorar el Código

合并

pull/8/head
余菲 hace 1 año
padre
commit
6b01cd3750
Se han modificado 2 ficheros con 8 adiciones y 8 borrados
  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 Ver fichero

this.setData({ list: [] }) 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 Ver fichero

<!--package_B/pages/exchange/index.wxml--> <!--package_B/pages/exchange/index.wxml-->
<view class="protect_container"> <view class="protect_container">
<list id="list" class="exchange_list" url="{{current}}" bind:update-list="updateList" list="{{list}}" bind:reset-list="resetList" params="{{params}}"> <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"> <view class="exchange_info">
<image class="exchange_img" src="{{item.shopsImage}}"></image> <image class="exchange_img" src="{{item.shopsImage}}"></image>
<view class="info_box"> <view class="info_box">

Cargando…
Cancelar
Guardar