Coder Social home page Coder Social logo

weapp-niu-shop's Introduction

小牛商城 微信小程序版

开发6个小时,中途被微信ide搞懵逼了。

截图

总结

  • 彻底没有dom的概念,整体框架规范与格式与vue几乎一个轮子
  • 使用时间长了,得杀掉IDE重启下。猜测是修改app.json导致什么事件重复监听导致的事件多次执行,没具体跟进
  • wxss 样式与RN基本类似,但是使用的过程中发现部分属性渲染逻辑与web不一样,不知这以后官方会怎么修正。。。
  • 关于rpx单位,设计稿按照640设计,代码写的rem单位。 照着页面的rem值搬砖,rem/16750、rem/16750.... 拿着计算器按.
  • 官方IDE提供开发与预览,开发也可以使用自己喜欢的编辑器,无所谓。但是没有自动刷新,如果编辑js与wxml文件需要点重启或者编译,快捷键刷新不能生效(修改wxss能生效)

相关链接

weapp-niu-shop's People

Contributors

qdsang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

itxcx

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.