weui-wxss 中 使用 navigator 点击没有反应?
发布于 5 年前 作者 xiaomin 7408 次浏览 来自 官方Issues

<view class=“kind-list__item-bd {{item.open ? ‘kind-list__item-bd_show’ : ‘’}}”>

<view class=“weui-cells {{item.open ? ‘weui-cells_show’ : ‘’}}”>

<block wx:for="{{item.pages}}" wx:for-item=“page” wx:key="*this">

<!-- <navigator url="{{item.path}}/{{page}}/{{page}}" class=“weui-cell weui-cell_access” > -->

<navigator url="/pages/ReciteWord/ListenWord/ListenWord" class=“weui-cell weui-cell_access” >

<view class=“weui-cell__bd”>{{page}}</view>

<view class=“weui-cell__ft weui-cell__ft_in-access”></view>

</navigator>

</block>

</view>

</view>

点击没有反应

2 回复

建议先自行检查一下代码,若还有问题,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

navigateTo:fail page “/pages/ReciteWord/ListenWord/ListenWord” is not found

console.error @ VM9723:1

O @ WAService.js:1

a @ WAService.js:1

Du @ WAService.js:1

Nu @ WAService.js:1

(anonymous) @ WAService.js:1

(anonymous) @ WAService.js:1

n @ appservice?t=1571384110440:2313

(anonymous) @ appservice?t=1571384110440:2313

(anonymous) @ appservice?t=1571384110440:2313

_ws.onmessage @ appservice?t=1571384110440:2313

上面的截图里面,这个页面存在的

就是这个页面

回到顶部