Giter Site home page Giter Site logo

jygzdx / uniapp-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from a87835546/uniapp-demo

0.0 0.0 0.0 4.82 MB

原生app开发者,初次学习vue/uniapp 时的一些个人心得记录。

License: MIT License

Vue 88.27% JavaScript 3.34% CSS 8.39%

uniapp-demo's Introduction

uni-demo

原生app开发者,初次学习vue/uniapp 时的一些个人心得记录。

常见需要注意的事项

1. 在设置控件宽度的时候,不要使用100%,此时在app端会不生效。要使用100vw.
2. 在使用uni-ui的ui控件时,要以对象的角度去看,注意它的ui组件都是封装过后的,你可能使用原有的方法会不生效.例如input标签的.focus()
3. uni-ui 的 uni-list/uni-list-item 列表控件是不支持v-for指令。所以在使用非固定的列表时需要使用自定义控件
4. scroll-view

uniapp-demo's People

Contributors

a87835546 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.