0
购买

V2版本底栏切换时会有轻微闪烁,以下提供切换V1版本的方法:

1、转到网站后台 - SaleDash - 基本设置 - 模板装修,底栏装修版本改为V1,保存

2、微信开发者工具,编辑小程序文件app.js,data中useCustomTabbartrue改为false

3、微信开发者工具,编辑小程序文件app.json,将以下代码添加到"plugins": {这行前面

以下为代码:

  1. "tabBar": {
  2. "color": "#ffffff",
  3. "selectedColor": "#ffffff",
  4. "backgroundColor": "#ffffff",
  5. "borderStyle": "black",
  6. "list": [{
  7. "pagePath": "pages/index/index",
  8. "iconPath": "/images/tabbar-empty.png",
  9. "selectedIconPath": "/images/tabbar-empty.png",
  10. "text": "首页"
  11. }, {
  12. "pagePath": "pages/category/category",
  13. "iconPath": "/images/tabbar-empty.png",
  14. "selectedIconPath": "/images/tabbar-empty.png",
  15. "text": "分类"
  16. }, {
  17. "pagePath": "pages/post-list/post-list",
  18. "iconPath": "/images/tabbar-empty.png",
  19. "selectedIconPath": "/images/tabbar-empty.png",
  20. "text": "资讯"
  21. }, {
  22. "pagePath": "pages/cart/cart",
  23. "iconPath": "/images/tabbar-empty.png",
  24. "selectedIconPath": "/images/tabbar-empty.png",
  25. "text": "购物车"
  26. }, {
  27. "pagePath": "pages/my/my",
  28. "iconPath": "/images/tabbar-empty.png",
  29. "selectedIconPath": "/images/tabbar-empty.png",
  30. "text": "我的"
  31. }]
  32. },
Privacy Settings
We use cookies to enhance your experience while using our website. If you are using our Services via a browser you can restrict, block or remove cookies through your web browser settings. We also use content and scripts from third parties that may use tracking technologies. You can selectively provide your consent below to allow such third party embeds. For complete information about the cookies we use, data we collect and how we process them, please check our Privacy Policy
Youtube
Consent to display content from Youtube
Vimeo
Consent to display content from Vimeo
Google Maps
Consent to display content from Google
Spotify
Consent to display content from Spotify
Sound Cloud
Consent to display content from Sound
4.0版本更新 以及 社交登录、会员卡、Stripe支付 三大扩展发布! 立即下单
+
演示版 客服 公众号 淘宝
购物车