依赖更新 && 构建调整 (#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

View File

@@ -1,5 +1,5 @@
@component-namespace van {
@b modal {
.van {
&-modal {
position: fixed;
width: 100%;
height: 100%;
@@ -9,7 +9,7 @@
transition: all .5s ease-out;
}
@b popup {
&-popup {
position: fixed;
background-color: #fff;
top: 50%;
@@ -18,7 +18,7 @@
backface-visibility: hidden;
transition: .2s ease-out;
@m top {
&--top {
width: 100%;
top: 0;
right: auto;
@@ -27,7 +27,7 @@
transform: translate3d(-50%, 0, 0);
}
@m right {
&--right {
top: 50%;
right: 0;
bottom: auto;
@@ -35,7 +35,7 @@
transform: translate3d(0, -50%, 0);
}
@m bottom {
&--bottom {
width: 100%;
top: auto;
bottom: 0;
@@ -44,7 +44,7 @@
transform: translate3d(-50%, 0, 0);
}
@m left {
&--left {
top: 50%;
right: auto;
bottom: auto;