Ver código fonte

feature: 添加标题ohplay

Damon 8 meses atrás
pai
commit
2dd4a51790
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4 0
      pages/index/index.js

+ 4 - 0
pages/index/index.js

@@ -16,6 +16,10 @@ import route_constant from '../../utils/route_constant.js'
 
 Page({
   data: {
+    nvabarData: {
+      showCapsule: 0, //是否显示左上角图标   1表示显示    0表示不显示
+      title: 'OhPlay', //导航栏 中间的标题
+    },
     bannerList: [{
         imgUrl: 'http://img1.baidu.com/it/u=2343623234,438083234&fm=253&app=138&f=JPEG?w=684&h=1216'
       },