Commit 8b7d369775f7e6f63a1a607d464ae7358d3dc743

Authored by taiyuan
1 parent ed6b3d6a

设置动态标题

pages/goods/goodsInfo/goodsInfo.js
... ... @@ -254,7 +254,7 @@ Page({
254 254 //------初始化加载----------
255 255 onLoad: function(t) {
256 256 wx.setNavigationBarTitle({
257   - title: "商品详情",
  257 + title: t.title,
258 258 })
259 259 var ee = this,
260 260 that = ee,
... ...