mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
* feat(Rate): css variables * fix(Rate): adjust less variables name * fix(Rate): adjust less variables name * docs(Rate): adjust doc - 示例与文档对应 - 对照vant文档做了一些调整 - 增加 `监听 change 事件` - 删除 `props` 中的版本列 * fix(Rate): adjust demo
19 lines
284 B
JavaScript
19 lines
284 B
JavaScript
import Page from '../../common/page';
|
|
import Toast from '../../dist/toast/toast';
|
|
|
|
Page({
|
|
data: {
|
|
value1: 3,
|
|
value2: 3,
|
|
value3: 3,
|
|
value4: 2.5,
|
|
value5: 4,
|
|
value6: 3,
|
|
value8: 2,
|
|
},
|
|
|
|
onChange(event) {
|
|
Toast('当前值:' + event.detail);
|
|
},
|
|
});
|