mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-17 16:36:03 +08:00
删除无用文件夹
This commit is contained in:
14
wechat/miniprogram_npm/@vant/weapp/divider/index.js
Normal file
14
wechat/miniprogram_npm/@vant/weapp/divider/index.js
Normal file
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
var component_1 = require('../common/component');
|
||||
component_1.VantComponent({
|
||||
props: {
|
||||
dashed: Boolean,
|
||||
hairline: Boolean,
|
||||
contentPosition: String,
|
||||
fontSize: String,
|
||||
borderColor: String,
|
||||
textColor: String,
|
||||
customStyle: String,
|
||||
},
|
||||
});
|
||||
4
wechat/miniprogram_npm/@vant/weapp/divider/index.json
Normal file
4
wechat/miniprogram_npm/@vant/weapp/divider/index.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
9
wechat/miniprogram_npm/@vant/weapp/divider/index.wxml
Normal file
9
wechat/miniprogram_npm/@vant/weapp/divider/index.wxml
Normal file
@@ -0,0 +1,9 @@
|
||||
<wxs src="../wxs/utils.wxs" module="utils" />
|
||||
<wxs src="./index.wxs" module="computed" />
|
||||
|
||||
<view
|
||||
class="custom-class {{ utils.bem('divider', [{ dashed, hairline }, contentPosition]) }}"
|
||||
style="{{ computed.rootStyle({ borderColor, textColor, fontSize, customStyle }) }}"
|
||||
>
|
||||
<slot />
|
||||
</view>
|
||||
18
wechat/miniprogram_npm/@vant/weapp/divider/index.wxs
Normal file
18
wechat/miniprogram_npm/@vant/weapp/divider/index.wxs
Normal file
@@ -0,0 +1,18 @@
|
||||
/* eslint-disable */
|
||||
var style = require('../wxs/style.wxs');
|
||||
var addUnit = require('../wxs/add-unit.wxs');
|
||||
|
||||
function rootStyle(data) {
|
||||
return style([
|
||||
{
|
||||
'border-color': data.borderColor,
|
||||
color: data.textColor,
|
||||
'font-size': addUnit(data.fontSize),
|
||||
},
|
||||
data.customStyle,
|
||||
]);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
rootStyle: rootStyle,
|
||||
};
|
||||
1
wechat/miniprogram_npm/@vant/weapp/divider/index.wxss
Normal file
1
wechat/miniprogram_npm/@vant/weapp/divider/index.wxss
Normal file
@@ -0,0 +1 @@
|
||||
@import '../common/index.wxss';.van-divider{display:flex;align-items:center;margin:16px 0;margin:var(--divider-margin,16px 0);color:#969799;color:var(--divider-text-color,#969799);font-size:14px;font-size:var(--divider-font-size,14px);line-height:24px;line-height:var(--divider-line-height,24px);border:0 solid #ebedf0;border-color:var(--divider-border-color,#ebedf0)}.van-divider:after,.van-divider:before{display:block;flex:1;box-sizing:border-box;height:1px;border-color:inherit;border-style:inherit;border-width:1px 0 0}.van-divider:before{content:""}.van-divider--hairline:after,.van-divider--hairline:before{transform:scaleY(.5)}.van-divider--dashed{border-style:dashed}.van-divider--center:before,.van-divider--left:before,.van-divider--right:before{margin-right:16px;margin-right:var(--divider-content-padding,16px)}.van-divider--center:after,.van-divider--left:after,.van-divider--right:after{content:"";margin-left:16px;margin-left:var(--divider-content-padding,16px)}.van-divider--left:before{max-width:10%;max-width:var(--divider-content-left-width,10%)}.van-divider--right:after{max-width:10%;max-width:var(--divider-content-right-width,10%)}
|
||||
Reference in New Issue
Block a user