Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Inscrição
Iniciar sessão
weapp
/
C
Vigiar
8
Marcar como favorito
0
Derivar
0
Código
Questões
0
Pedidos de integração
0
Lançamentos
66
Wiki
Trabalho
Ver a proveniência
[门店][修改]:[门店列表跳转到详情增加事件]
tags/湖南版5.1.4
meo
há 6 anos
ascendente
c6dcd53adb
cometimento
20377762f3
2 ficheiros alterados
com
10 adições
e
1 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+9
-0
pages/index/searchbar/index.js
+1
-1
pages/index/searchbar/index.wxml
+ 9
- 0
pages/index/searchbar/index.js
Ver ficheiro
@@ -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 ficheiro
@@ -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>
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar