Giter VIP home page Giter VIP logo

weex-tabbar's Introduction

EN

how to run ?

cnpm install
./start

visit http://localhost:12580/web

Fix Weex Vue 2.0 at HTML5 can't display embed

update points

  1. update web/index.html set body height, let div flex:1 can full screen
  2. update web/index.html set body margin:8px to 0px
  3. add tabbar-web.vue, removed type , change visibility to display

Now there are other issues to be resolved

  1. When display on HTML5 the top has 1px space
  2. There is a blank when the page is switched

中文

怎么运行?

cnpm install
./start

访问 http://localhost:12580/web

解决了 Weex Vue2.0 在H5 上tabbar embed无法正常显示的问题

在原版的基础上有此处修改

  1. 修改 web/index.html 设置了body 的高度 使得divflex:1 能全屏
  2. 修改 web/index.html 修改了body 默认的 margin:8px 为 0px
  3. 新增了 tabbar-web.vue, 移除 type 属性, 修改 visibilitydisplay 属性

目前还存在的一些问题,

  1. 在H5上的tabbar 内容会顶部 1px 的空隙 待修复
  2. H5 tabbar 切换 使用 display 替换 visibility 会导致切换时闪一下, 出现空白

weex-tabbar's People

Contributors

totzcc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.