Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Registro
Iniciar sesión
weapp
/
C
Seguir
8
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
66
Wiki
Actividad
Explorar el Código
[门店][修改]:[门店列表跳转到详情增加事件]
tags/湖南版5.1.4
meo
hace 6 años
padre
c6dcd53adb
commit
20377762f3
Se han
modificado 2 ficheros
con
10 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+9
-0
pages/index/searchbar/index.js
+1
-1
pages/index/searchbar/index.wxml
+ 9
- 0
pages/index/searchbar/index.js
Ver fichero
@@ -31,6 +31,15 @@ Page({
})
that.getList(1, that.data.businessId);
},
/**
* 跳转到门店列表的详情页面
*/
gotoDetail(e){
console.log(e)
wx.navigateTo({
url: '/',
})
},
/**
* 生命周期函数--监听页面加载
*/
+ 1
- 1
pages/index/searchbar/index.wxml
Ver fichero
@@ -18,7 +18,7 @@
<view class='lists'>
<view class='posi' wx:if="{{merchantVoList.length>0}}">
<view class='posi_logo' wx:for="{{merchantVoList}}" wx:key="index">
<view class='merchants'>
<view class='merchants'
bindtap='gotoDetail' data-id='{{item.id}}'
>
<view>
<image src='{{item.merchantImgUrl}}'></image>
</view>
Escribir
Vista previa
Cargando…
Cancelar
Guardar