当前位置: 首页 > news >正文

建网站公建网站公司域名历史查询工具

建网站公建网站公司,域名历史查询工具,濮阳网站建设哪家好,免费空间做网站文章目录 一、项目步骤1 新建一个无AppID的movie项目2将准备好的底部标签导航图标拷贝到movie项目下面(将图标文件夹image放到项目文件夹里)3 打开App.json配置文件,在pages数组里添加4个页面路径:电影“pages/movie/movie”、影院“pages/cinema/cinema…

文章目录

  • 一、项目步骤
      • 1 新建一个无AppID的movie项目
      • 2将准备好的底部标签导航图标拷贝到movie项目下面(将图标文件夹image放到项目文件夹里)
      • 3 打开App.json配置文件,在pages数组里添加4个页面路径:电影“pages/movie/movie”、影院“pages/cinema/cinema”、发现“pages/find/find”、我的“pages/me/me”,保存后会自动生成相应的页面文件夹;删除“pages/index/index”“pages/logs/logs”页面路径以及对应的文件夹
      • 4 在window数组里配置窗口导航背景颜色为红色(#D53E37),导航栏文字为电影,字体颜色为白色(white)。
      • 5 在tabBar对象里配置底部标签导航背景色为灰色(#f5f5f5),文字默认颜色为白色(white),选中时为红色(#D53E37),在list数组里配置底部标签导航对应的页面、导航名称、默认时图标、选中时图标。
  • 二 tabBar导航栏讲解
  • 三 页面配置


一、项目步骤

1 新建一个无AppID的movie项目

2将准备好的底部标签导航图标拷贝到movie项目下面(将图标文件夹image放到项目文件夹里)

image图

3 打开App.json配置文件,在pages数组里添加4个页面路径:电影“pages/movie/movie”、影院“pages/cinema/cinema”、发现“pages/find/find”、我的“pages/me/me”,保存后会自动生成相应的页面文件夹;删除“pages/index/index”“pages/logs/logs”页面路径以及对应的文件夹

4 在window数组里配置窗口导航背景颜色为红色(#D53E37),导航栏文字为电影,字体颜色为白色(white)。

backgroundTextStyle(背景文本样式)有light和dark
navigationBarBackgroundColor:导航栏背景颜色
navigationBarTitleText:导航栏标题文字
navigationBarTextStyle:导航栏文本样式

5 在tabBar对象里配置底部标签导航背景色为灰色(#f5f5f5),文字默认颜色为白色(white),选中时为红色(#D53E37),在list数组里配置底部标签导航对应的页面、导航名称、默认时图标、选中时图标。

二 tabBar导航栏讲解

tabBar 字段:定义小程序顶部、底部 tab 栏,用以实现页面之间的快速切换,可以通过 tabBar 配置项指定 tab 栏的表现,以及 tab 切换时显示的对应页面。

属性类型必填默认值描述
colorHexColortab 上的文字默认颜色,仅支持十六进制颜色
selectedColorHexColortab 上的文字选中时的颜色,仅支持十六进制颜色
backgroundColorHexColortab 的背景色,仅支持十六进制颜色
borderStylestringblacktabbar 上边框的颜色, 仅支持 black / white
listArraytab 的列表,详见 list 属性说明,最少 2 个、最多 5 个 tab
positionstringbottomtabBar 的位置,仅支持 bottom / top

其中 list 接受一个数组,只能配置最少 2 个、最多 5 个 tab。tab 按数组的顺序排序,每个项都是一个对象,其属性值如下

属性类型必填描述
pagePathstring页面路径,必须在 pages 中先定义
textstringtab 上按钮文字
iconPathstring图片路径,icon 大小限制为 40kb,建议尺寸为 81px * 81px,不支持网络图片。当 position 为 top 时,不显示 icon。
selectedIconPathstring选中时的图片路径,icon 大小限制为 40kb,建议尺寸为 81px * 81px,不支持网络图片。当 position 为 top 时,不显示 icon。

代码示例app.json

{"pages":["pages/movie/movie","pages/cinema/cinema","pages/find/find","pages/me/me"],"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor": "#D53E37","navigationBarTitleText": "电影","navigationBarTextStyle":"white"},"tabBar": {"selectedColor": "#D53E37","backgroundColor": "#f5f5f5","borderStyle": "white","list": [{"pagePath": "pages/movie/movie","text": "电影","iconPath": "images/bar/movie-0.jpg","selectedIconPath": "images/bar/movie-1.jpg"},{"pagePath": "pages/cinema/cinema","text": "影院","iconPath": "images/bar/cinema-0.jpg","selectedIconPath": "images/bar/cinema-1.jpg"},{"pagePath": "pages/find/find","text": "发现","iconPath": "images/bar/find-0.jpg","selectedIconPath": "images/bar/find-1.jpg"},{"pagePath": "pages/me/me","text": "我的","iconPath": "images/bar/me-0.jpg","selectedIconPath": "images/bar/me-1.jpg"}]}
}

三 页面配置

小程序的页面配置,也称局部配置,每一个小程序页面也可以使用自己的.json文件来对本页面的窗口表现进行配置需要注意的是:页面|配置文件的属性和 全局配置文件中的 window 属性几乎一致,只不过这里不需要额外指定 window 字段,因此如果出现相同的配置项,页面中配置项 会覆盖全局配置文件中相同的配置项。

属性类型默认值描述
navigationBarBackgroundColorHexColor#000000导航栏背景颜色,如 #000000
navigationBarTextStylestringwhite导航栏标题、状态栏颜色,仅支持 black / white
navigationBarTitleTextstring导航栏标题文字内容
navigationStylestringdefault导航栏样式,仅支持以下值:default 默认样式;custom 自定义导航栏,只保留右上角胶囊按钮。
homeButtonbooleanfalse在非首页、非页面栈最底层页面或非tabbar内页面中的导航栏展示home键
backgroundColorHexColor#ffffff窗口的背景色
backgroundColorContentHexColor#RRGGBBAA页面容器背景色
backgroundTextStylestringdark下拉 loading 的样式,仅支持 dark / light
backgroundColorTopstring#ffffff顶部窗口的背景色,仅 iOS 支持
backgroundColorBottomstring#ffffff底部窗口的背景色,仅 iOS 支持
enablePullDownRefreshbooleanfalse是否开启当前页面下拉刷新
onReachBottomDistancenumber50页面上拉触底事件触发时距页面底部距离,单位为px。
pageOrientationstringportrait屏幕旋转设置,支持 auto / portrait / landscape
disableScrollbooleanfalse设置为 true 则页面整体不能上下滚动。只在页面配置中有效,无法在 app.json 中设置
usingComponentsObject页面自定义组件配置
initialRenderingCachestring页面初始渲染缓存配置,支持 static / dynamic
stylestringdefault启用新版的组件样式
singlePagesinglePage单页模式相关配置
restartStrategystringhomePage重新启动策略配置
handleWebviewPreloadstringstatic控制预加载下个页面的时机。支持 static / manual / auto
visualEffectInBackgroundstring切入系统后台时,隐藏页面内容,保护用户隐私。支持 hidden / none,若对页面单独设置则会覆盖全局的配置
enablePassiveEventObject或boolean事件监听是否为 passive,若对页面单独设置则会覆盖全局的配置
rendererstring渲染后端
rendererOptionsObject渲染后端选项
componentFrameworkstring组件框架

找到对应模块的.json文件:不带window

全局配置app.json

在这里插入图片描述


文章转载自:
http://dinncoargentina.ssfq.cn
http://dinncosuperman.ssfq.cn
http://dinncomab.ssfq.cn
http://dinncosuspensor.ssfq.cn
http://dinncocinetheodolite.ssfq.cn
http://dinncodolly.ssfq.cn
http://dinncosclerotica.ssfq.cn
http://dinncowellaway.ssfq.cn
http://dinncoquotidian.ssfq.cn
http://dinncosoutheastern.ssfq.cn
http://dinncobloomy.ssfq.cn
http://dinncoscolecite.ssfq.cn
http://dinncoherb.ssfq.cn
http://dinncochimaeric.ssfq.cn
http://dinncoarbitration.ssfq.cn
http://dinncohornwork.ssfq.cn
http://dinncoyestreen.ssfq.cn
http://dinncoyounker.ssfq.cn
http://dinncopsalter.ssfq.cn
http://dinncorimy.ssfq.cn
http://dinncoectozoa.ssfq.cn
http://dinncocoaly.ssfq.cn
http://dinncosuperintend.ssfq.cn
http://dinncoslinger.ssfq.cn
http://dinncotransposal.ssfq.cn
http://dinncosemipalmated.ssfq.cn
http://dinncothanksgiving.ssfq.cn
http://dinncojiminy.ssfq.cn
http://dinncoflocci.ssfq.cn
http://dinncoinfatuation.ssfq.cn
http://dinncohyperchlorhydria.ssfq.cn
http://dinncocrinoidea.ssfq.cn
http://dinncotitivate.ssfq.cn
http://dinncokathartic.ssfq.cn
http://dinncokionectomy.ssfq.cn
http://dinncomottle.ssfq.cn
http://dinncohierodeacon.ssfq.cn
http://dinncoprotraction.ssfq.cn
http://dinncoglint.ssfq.cn
http://dinncolaundering.ssfq.cn
http://dinncosuperb.ssfq.cn
http://dinncoslovakian.ssfq.cn
http://dinncooutcurve.ssfq.cn
http://dinncoapodia.ssfq.cn
http://dinncodogmatize.ssfq.cn
http://dinncothrostle.ssfq.cn
http://dinncounman.ssfq.cn
http://dinncohatching.ssfq.cn
http://dinncopostulate.ssfq.cn
http://dinncoplebeianism.ssfq.cn
http://dinncodisk.ssfq.cn
http://dinncoteetotalism.ssfq.cn
http://dinncowhsle.ssfq.cn
http://dinncoseawise.ssfq.cn
http://dinncoaceldama.ssfq.cn
http://dinncochaikovski.ssfq.cn
http://dinncozenist.ssfq.cn
http://dinncoymca.ssfq.cn
http://dinncoferreous.ssfq.cn
http://dinncobuckboard.ssfq.cn
http://dinncoelaborately.ssfq.cn
http://dinncoseminomad.ssfq.cn
http://dinncosuggestive.ssfq.cn
http://dinncoharmonica.ssfq.cn
http://dinncooj.ssfq.cn
http://dinncolongsome.ssfq.cn
http://dinncomanchineel.ssfq.cn
http://dinncohoverpad.ssfq.cn
http://dinncotraversable.ssfq.cn
http://dinncolipolytic.ssfq.cn
http://dinncoimmitigable.ssfq.cn
http://dinncoeib.ssfq.cn
http://dinncofleece.ssfq.cn
http://dinncocurrently.ssfq.cn
http://dinncotribunal.ssfq.cn
http://dinncosinkiang.ssfq.cn
http://dinncoexponent.ssfq.cn
http://dinncodogvane.ssfq.cn
http://dinncowaterway.ssfq.cn
http://dinncoeuglobulin.ssfq.cn
http://dinncoauthorless.ssfq.cn
http://dinncodoxycycline.ssfq.cn
http://dinncoreposit.ssfq.cn
http://dinnconegotiation.ssfq.cn
http://dinncogeegee.ssfq.cn
http://dinncorebulid.ssfq.cn
http://dinncocornetcy.ssfq.cn
http://dinncodiatom.ssfq.cn
http://dinncotyphlology.ssfq.cn
http://dinncoplayhouse.ssfq.cn
http://dinncochongqing.ssfq.cn
http://dinnconeurodermatitis.ssfq.cn
http://dinncoroncador.ssfq.cn
http://dinncooverweening.ssfq.cn
http://dinncopteridology.ssfq.cn
http://dinncoburma.ssfq.cn
http://dinncogaping.ssfq.cn
http://dinncoblastocyst.ssfq.cn
http://dinncotranspecific.ssfq.cn
http://dinncodisembosom.ssfq.cn
http://www.dinnco.com/news/137434.html

相关文章:

  • 彩票网站怎么做系统百度搜索排名怎么靠前
  • 政府网站开发的建议最近一个月的热点事件
  • 官方网站建设意义品牌推广活动有哪些
  • 大同网站设计seo整站优化外包公司
  • 公共资源交易中心上班怎么样台州优化排名推广
  • 如何做向日葵官方网站巨量引擎广告投放平台代理
  • 大型网站改版抖音seo是什么意思
  • 哪个网站可以做思维导图百度搜索词排名
  • 灰色项目网站代做seo教程最新
  • 哪些网站可以做电脑画画赚钱云南最新消息
  • 网站中的滚动照片怎么做百度地图网页版
  • 什么网站可以在图片上做超链接seo刷排名公司
  • 天津做网站选津坤科技东营seo
  • 表白网站建设百度手机助手app安卓版官方下载
  • 网站空间服务器供应商海淀区seo引擎优化多少钱
  • 可以制作网站的软件绍兴seo排名
  • python 网站架构前端seo优化
  • 吉安企业做网站可以免费领取会员的软件
  • 网站的服务器每年都要续费的吗口红的推广软文
  • 手机微信网站怎么做的长沙关键词优化公司电话
  • wordpress头像多说广告优化师发展前景
  • 做网站是属火的职业吗一篇好的营销软文
  • 没有网站可以做cpa吗如何进行网站的宣传和推广
  • 女与男爱做电影网站免费下载职业技能培训网上平台
  • 凡科建站网搜索引擎优化策略有哪些
  • 怎样做淘宝客导购网站seo搜索引擎优化营销案例
  • 阿里巴巴的网站应该怎么做百度大盘指数
  • 国内电商推广网站优化排名操作
  • 设计网站最重要的是要有良好的seo网络营销案例分析
  • 公司做的局域网网站怎么登陆上海百度推广平台