GithubHelp home page GithubHelp logo

six006 / multiple-rate-wxapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from simsir-lin/wechat-miniprogram-rate

0.0 3.0 0.0 4 KB

微信小程序评分组件 wxapp multiple rate component

JavaScript 100.00%

multiple-rate-wxapp's Introduction

multiple-rate-wxapp

微信小程序评分组件 wxapp multiple rate component

multiple-rate-wxapp

下载

git clone https://github.com/simsir-lin/multiple-rate-wxapp.git

预览

打开微信web开发者工具,'本地小程序项目 - 添加项目',项目目录选择为 multiple-rate-wxapp 的目录就可以了,添加项目后就可以进行组件源码的查看和预览demo了。

使用

  1. 将 multiple-rate-wxapp 目录下的components文件夹下的multiple-rate拷贝到你的小程序目录下

  2. 在你要使用的页面的json文件中引入组件,如:index页面的index.json

{
  "navigationBarTitleText": "首页",
  "usingComponents": {
    "multiple-rate": "你的目录/multiple-rate/multiple-rate"
  }
}
  1. 在wxml中即可使用组件
<multiple-rate rate="4" disabled="true"></multiple-rate>
  1. 如看不明白请直接参考项目实例(/pages/index/index)

注意

  • 微信小程序基础库版本至少为1.6.4

贡献

如果你有好的意见或建议,欢迎给我提issue!

multiple-rate-wxapp's People

Contributors

simsir-lin avatar

Watchers

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