依赖更新 && 构建调整 (#60)

* upgrade dependencies

* 更改所有 saladcss 写法

* fix: 升级依赖导致的样式错误

* fix: build vant css

* use es module when pack && webpack scope hoisting

* fix: vue module version

* delete unused npm script

* fix: build:vant script not work

* fix: webpack config format

* fix: build minify vant.js

* fix: captain ui relative link
This commit is contained in:
neverland
2017-07-28 11:02:33 +08:00
committed by Yao
parent 31bc31af81
commit 50983ca28e
68 changed files with 3678 additions and 3149 deletions
+37 -39
View File
@@ -1,47 +1,45 @@
@import './mixins/border_retina.css';
@component-namespace van {
@b panel {
background: #fff;
.van-panel {
background: #fff;
position: relative;
&::after {
@mixin border-retina (top, bottom);
}
&__header {
padding: 10px 15px;
position: relative;
&::after {
@mixin border-retina (bottom);
}
}
&__title {
font-size: 14px;
color: #333;
}
&__desc {
font-size: 12px;
color: #666;
}
&__status {
font-size: 14px;
position: absolute;
top: 10px;
right: 15px;
color: #FF4444;
}
&__footer {
padding: 10px 15px;
position: relative;
&::after {
@mixin border-retina (top, bottom);
}
@e header {
padding: 10px 15px;
position: relative;
&::after {
@mixin border-retina (bottom);
}
}
@e title {
font-size: 14px;
color: #333;
}
@e desc {
font-size: 12px;
color: #666;
}
@e status {
font-size: 14px;
position: absolute;
top: 10px;
right: 15px;
color: #FF4444;
}
@e footer {
padding: 10px 15px;
position: relative;
&::after {
@mixin border-retina (top);
}
@mixin border-retina (top);
}
}
}