微信小程序全方位深度解析课程Dome-First项目app.json

微信小程序全方位深度解析课程Dome-First项目app.json

课程观看地址:http://edu.csdn.net/course/detail/3081


//app.json
{
  "pages":[
    "pages/index/index",
    "pages/logs/logs",
    "pages/test/test",
    "pages/navii/navi",
    "pages/module/module"
  ],
  "window":{
    "backgroundTextStyle":"light",
    "navigationBarBackgroundColor": "#000",
    "navigationBarTitleText": "微信",
    "navigationBarTextStyle":"white"
  },
  "tabBar":{
    "color":"#ccc",
    "selectedColor":"black",
    "list":[{
      "pagePath":"pages/index/index",
      "text":"首页",
      "iconPath":"images/featured.png",
      "selectedIconPath":"images/featured-actived.png"
    },{
      "pagePath":"pages/module/module",
      "text":"测试页",
      "iconPath":"images/profile.png",
      "selectedIconPath":"images/profile-actived.png"
    },{
      "pagePath":"pages/logs/logs",
      "text":"日志",
      "iconPath":"images/search.png",
      "selectedIconPath":"images/search-actived.png"
    }]
  }
}


/**app.wxss**/
.container {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 200rpx 0;
  box-sizing: border-box;
} 
.rpx{
	width:400rpx;
	height: 400rpx;
	background-color: red;
}


相关内容推荐