开始做登录
This commit is contained in:
14
miniprogram_npm/@vant/weapp/slider/index.wxs
Normal file
14
miniprogram_npm/@vant/weapp/slider/index.wxs
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