| 插件 | CMS建站系统大众版 V4.1 |
| 应用作者 | 迅睿官方自营 |
| 发布时间 | 2022-03-01 15:30:06 |
| 更新时间 | 2026-03-31 10:25:30 |
以
url: app.globalData.http_api + "s=news&c=show&id=24&api_call_function=module_show"
这个页面为例,应该这么写呢,在page.js里
网上找到的方法类似这样,但是求好人指点,具体这么写:
Page({
onLoad(opts){
// 设置导航栏为对应导航 wx.setNavigationBarTitle({
title: (opts.navName != '' ? opts.navName : '') + '商铺列表' })
}
})
wx.setNavigationBarTitle({ title: '当前页面'})