文档介绍:微信小程序开发(一)————————————————————————————————作者:————————————————————————————————日期: “微信”小程序开发(一)开发步骤第1节::{"pages":["pages/index/index","pages/logs/logs"],"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#fff","navigationBarTitleText":"WeChat","navigationBarTextStyle":"black"}}Pages:小程序组成页面;Windows:::App({onLaunch:function(){varlogs=('logs')||[](())('logs',logs)},getUserInfo:function(cb){varthat=this;if(){typeofcb=="function"&&cb()}else{({ess:function(){({ess:function(res){=;typeofcb=="function"&&cb()}})}});}},globalData:{userInfo:null}})第4节:{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:200rpx0;box-sizing:border-box;}第5节::。当有页面的配置文件时,。如果没有指定的页面配置文件,。:<viewclass="container"><viewbindtap="bindViewTap"class="userinfo"><image class="userinfo-avatar" src="{{}}"background-size="cover"></image><textclass="userinf