码迷,mamicode.com
首页 > 微信 > 详细

小程序

时间:2020-01-26 11:53:49      阅读:248      评论:0      收藏:0      [点我收藏+]

标签:程序   ted   border   c51   默认   窗口   round   uid   sele   

[ ]注释

 

[for循环使用 https://cn.vuejs.org/v2/guide/list.html#%E5%9C%A8-v-for-%E9%87%8C%E4%BD%BF%E7%94%A8%E5%AF%B9%E8%B1%A1]

uni官网 https://uniapp.dcloud.io/   tabBar里面的下面代码 代码示例 是:页数

页面切换图标官网 https://www.iconfont.cn/

 

 

"tabBar": {

    "color": "#7A7E83",  [tab 上的文字默认颜色]

    "selectedColor": "#3cc51f",  [tab 上的文字选中时的颜色]

    "borderStyle": "black",  [tabbar 上边框的颜色]

    "backgroundColor": "#ffffff",  [窗口的背景色]

"list": [{

    "pagePath": "pages/component/index",  [要引入的页面地址]

    "iconPath": "static/image/icon_component.png",  [没点击的图标]

    "selectedIconPath": "static/image/icon_component_HL.png",  [点击过后的图标]

    "text": "组件"  [换成页面名字]

  }, {

    "pagePath": "pages/API/index",  [要引入的页面地址]

    "iconPath": "static/image/icon_API.png",  [没点击的图标]

    "selectedIconPath": "static/image/icon_API_HL.png",  [点击过后的图标]

    "text": "接口"   [换成页面名字]

  }]

 }

 

 

uni官网 https://uniapp.dcloud.io/component/README 组件 里面轮播啥都有

 

 

 

      

小程序

标签:程序   ted   border   c51   默认   窗口   round   uid   sele   

原文地址:https://www.cnblogs.com/lhgq/p/12233900.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!