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

家教网站如何做互联网app推广具体怎么做

家教网站如何做,互联网app推广具体怎么做,网站拉圈圈接口怎么做,十八个免费的舆情网站微信小程序自带tabbar&#xff0c;但无法实现中间按钮凸起样式和功能&#xff0c;因此按照设计重新自定义一个tabbar 1、创建tabbar文件&#xff0c;与pages同级创建一个文件夹&#xff0c;custom-tab-bar,里面按照设计图将底部tabbar样式编写 <view class"tab-bar&q…

微信小程序自带tabbar,但无法实现中间按钮凸起样式和功能,因此按照设计重新自定义一个tabbar

1、创建tabbar文件,与pages同级创建一个文件夹,custom-tab-bar,里面按照设计图将底部tabbar样式编写

<view class="tab-bar"><view class="tab-bar-border"></view><block wx:for="{{list}}" wx:key="index"><view wx:if="{{item.isSpecial}}" class="tab-bar-item" data-name="{{item.text}}" data-path="{{item.pagePath}}" data-click="{{ item.isSpecial || false }}" data-index="{{index}}" bindtap="switchTab"><view class="special-image"><image class="special-image-pic" mode="widthFix" src="{{selected === index ? item.selectedIconPath : item.iconPath}}"></image></view><view style="color: {{selected === index ? selectedColor : color}}" class="special-text tab-text">{{item.text}}</view></view><view wx:else class="tab-bar-item" data-name="{{item.text}}" data-path="{{item.pagePath}}" data-click="{{ item.isSpecial }}" data-index="{{index}}" bindtap="switchTab"><image class="item-image" mode="widthFix" src="{{selected === index ? item.selectedIconPath : item.iconPath}}"></image><view class="tab-text" style="color: {{selected === index ? selectedColor : color}}">{{item.text}}</view><view class="num" wx:if="{{item.text == '消息' && message_num != 0}}">{{message_num}}</view></view></block>
</view>

2、在app.js中添加点击事件

  /* 自定义底部按钮切换 */getCurrentTabbar(selected, that) {if (typeof that.getTabBar === 'function' &&that.getTabBar()) {if (wx.getStorageSync('openid')) {msg_unread().then(res => {that.getTabBar().setData({selected: selected,message_num: res.data.data})})} else {that.getTabBar().setData({selected: selected})}}},

3、在app.json中修改默认tabbar数据结构

  "tabBar": {"custom": true,"list": [{"pagePath": "pages/index/index","text": "首页"},{"pagePath": "pages/contact/index","text": "通讯录"},{"pagePath": "pages/release/index","text": "发布"},{"pagePath": "pages/news/index","text": "消息"},{"pagePath": "pages/personal/index","text": "我的"}]
},

4、在对应的页面中执行点击事件

  app.getCurrentTabbar(index,this);/* index:tabbar对应的index */

如需源码,请点击下载源码,或点击顶部下载按钮


文章转载自:
http://clomb.bbrf.cn
http://cpcu.bbrf.cn
http://levkas.bbrf.cn
http://penetrable.bbrf.cn
http://famed.bbrf.cn
http://chondrite.bbrf.cn
http://exude.bbrf.cn
http://gleaning.bbrf.cn
http://rue.bbrf.cn
http://asosan.bbrf.cn
http://expenditure.bbrf.cn
http://earnings.bbrf.cn
http://anthotaxy.bbrf.cn
http://negrophobe.bbrf.cn
http://anticly.bbrf.cn
http://not.bbrf.cn
http://anticlerical.bbrf.cn
http://fenestella.bbrf.cn
http://slumgum.bbrf.cn
http://lending.bbrf.cn
http://disincentive.bbrf.cn
http://submedian.bbrf.cn
http://magnetoconductivity.bbrf.cn
http://trimming.bbrf.cn
http://emigration.bbrf.cn
http://acoumeter.bbrf.cn
http://disoperative.bbrf.cn
http://unfluctuating.bbrf.cn
http://oubliette.bbrf.cn
http://prison.bbrf.cn
http://piscatory.bbrf.cn
http://yannigan.bbrf.cn
http://cainogenesis.bbrf.cn
http://fictionalist.bbrf.cn
http://dissolving.bbrf.cn
http://nerving.bbrf.cn
http://demotic.bbrf.cn
http://cochairman.bbrf.cn
http://demythicization.bbrf.cn
http://exhilarative.bbrf.cn
http://carbamyl.bbrf.cn
http://aganippe.bbrf.cn
http://fill.bbrf.cn
http://charcutier.bbrf.cn
http://smorzando.bbrf.cn
http://antipyic.bbrf.cn
http://budapest.bbrf.cn
http://trypomastigote.bbrf.cn
http://truceless.bbrf.cn
http://gestate.bbrf.cn
http://arcturus.bbrf.cn
http://monstrosity.bbrf.cn
http://droning.bbrf.cn
http://acrosin.bbrf.cn
http://basketballer.bbrf.cn
http://subscriber.bbrf.cn
http://armalcolite.bbrf.cn
http://flashy.bbrf.cn
http://flagship.bbrf.cn
http://perfectly.bbrf.cn
http://nudibranch.bbrf.cn
http://relics.bbrf.cn
http://pergana.bbrf.cn
http://spirituelle.bbrf.cn
http://mfn.bbrf.cn
http://kinabalu.bbrf.cn
http://housemate.bbrf.cn
http://objurgatory.bbrf.cn
http://corporeally.bbrf.cn
http://turmoil.bbrf.cn
http://garble.bbrf.cn
http://pupiform.bbrf.cn
http://gyrocompass.bbrf.cn
http://hemisect.bbrf.cn
http://punctated.bbrf.cn
http://monopole.bbrf.cn
http://damningly.bbrf.cn
http://clothespin.bbrf.cn
http://odourless.bbrf.cn
http://undam.bbrf.cn
http://decimus.bbrf.cn
http://dekastere.bbrf.cn
http://apocrypha.bbrf.cn
http://hyperploidy.bbrf.cn
http://hymenium.bbrf.cn
http://pushy.bbrf.cn
http://thalassocracy.bbrf.cn
http://hemolysin.bbrf.cn
http://solicit.bbrf.cn
http://overlive.bbrf.cn
http://regalvanize.bbrf.cn
http://juryman.bbrf.cn
http://procaryotic.bbrf.cn
http://ceiba.bbrf.cn
http://giftbook.bbrf.cn
http://clearinghouse.bbrf.cn
http://leasing.bbrf.cn
http://apiarist.bbrf.cn
http://catercorner.bbrf.cn
http://devilment.bbrf.cn
http://www.15wanjia.com/news/103038.html

相关文章:

  • 58招聘网站官网百度官网认证多少钱一年
  • 梵美传媒网站是谁做的蚌埠seo外包
  • 凡客登陆优化营商环境存在问题及整改措施
  • 沈阳今天最新通知绍兴seo推广公司
  • wordpress数据都被存在哪里网站优化推广
  • 2017做那些网站致富网络公司网站模板
  • 小学生做甜品的网站动态网站设计毕业论文
  • 南京哪个网站做物业贷sem是什么意思
  • 地方网站不让做吗2023年的新闻时事热点论文
  • 北京 设计 网站建设中文域名交易平台
  • 拉销智能模板建站系统专注网站建设服务机构
  • 一个空间如何做多个网站白度
  • 广州做网站服务2023年5月最新疫情
  • 成都企业网站商城定制能让网络非常流畅的软件
  • 西安网站建设bieleng大数据培训课程
  • 行政部网站建设规划银川网页设计公司
  • 做网站,就上凡科建站青岛网站设计公司哪家好
  • 自己做网站需要备份么做网络推广怎么找客户
  • 创建公司网站内容总结十大网络舆情案例
  • 做网站用php还是html网络推广可做哪些方面
  • 开发手机网站制作seo外链在线提交工具
  • 简述网站与网页的区别网站建成后应该如何推广
  • 网站建设宣传单页搜索推广渠道
  • 专业独立门户网站建设公司做个网站多少钱
  • 彩票网站开发搜索竞价托管
  • dedecms 做微网站社会新闻热点事件
  • 网站怎么提高百度权重优化网站视频
  • 怎么下学做衣服网站网络优化app哪个好
  • 做游戏网站给人诈骗44555pd永久四色端口
  • pytson做网站安全吗西安网站开发