Giter Club home page Giter Club logo

xiaozhangben2023's Introduction

小账本

参考文档

windicss生成

执行以下命令,根据wxml文件中的class,由windicss生成对应的style,写入到miniprogram/windi.wxss中

sh ./miniprogram/gen-windicss.sh

cloud function

{
  name:"xxx", //函数名称
  data: {
    topic: "topic", //区分类型 create/update/delete等等
    payload: {
      
    }
  }
}

小程序端通用方法: miniprogram/utils/remote.js导出post方法,接收参数列表:

  • name 函数名称
  • topic 函数topic,对应data.topic
  • payload 负载的参数,对应data.payload

通用组件

  • authorization : 用于区分登录态和非登录态,带默认slot

通用方法

  • App.setWatcher: 监听函数,接收一个需要监听的对象和监听者对象(类似Vue中的watch对象)

store

computed

dayjs问题

由于微信npm不完备,引入dayjs需要做额外处理,否则只能引入index,详见 iamkun/dayjs#1326

xiaozhangben2023's People

Contributors

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