mirror of
https://git.beihong.wang/wangbeihong/iot-bedroom-environment-controller.git
synced 2026-04-24 07:33:04 +08:00
增加补充相关资料和小程序源码
This commit is contained in:
14
微信小程序源码/iot-home/node_modules/@vant/weapp/lib/slider/index.wxs
generated
vendored
Normal file
14
微信小程序源码/iot-home/node_modules/@vant/weapp/lib/slider/index.wxs
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/* eslint-disable */
|
||||
var style = require('../wxs/style.wxs');
|
||||
var addUnit = require('../wxs/add-unit.wxs');
|
||||
|
||||
function barStyle(barHeight, activeColor) {
|
||||
return style({
|
||||
height: addUnit(barHeight),
|
||||
background: activeColor,
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
barStyle: barStyle,
|
||||
};
|
||||
Reference in New Issue
Block a user