Skip to content

Commit 8eff7c6

Browse files
author
cunjinli
committed
weui-wxss 改为submodule
1 parent 4939cde commit 8eff7c6

File tree

7 files changed

+12
-3
lines changed

7 files changed

+12
-3
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "src/weui-wxss"]
2+
path = src/weui-wxss
3+
url = https://github.com/Tencent/weui-wxss/

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "weui-miniprogram",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"description": "",
55
"main": "miniprogram_dist/index.js",
66
"scripts": {
@@ -36,7 +36,6 @@
3636
"author": "xushengni,tomylin,cunjinli,rockhou",
3737
"license": "MIT",
3838
"devDependencies": {
39-
"@tencent/tslint-config-wxapp": "0.0.2",
4039
"autoprefixer": "^6.5.1",
4140
"babel-core": "^6.26.3",
4241
"babel-loader": "^7.1.5",

src/weui-wxss

Submodule weui-wxss added at dd6ee7c

tools/demo/example/index.wxss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
* Copyright 2019 Tencent, Inc.
44
* Licensed under the MIT license
55
*/
6-
@import '../common.wxss';
6+
@import './common.wxss';
77

88
.weui-flex{-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-cells{margin-top:0;opacity:0;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:.3s;transition:.3s}.weui-cells:after,.weui-cells:before{display:none}.weui-cells_show{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.weui-cell:before{right:15px}.kind-list__item{margin:10px 0;background-color:#fff;border-radius:2px;overflow:hidden}.kind-list__item:first-child{margin-top:0}.kind-list__img{width:30px;height:30px}.kind-list__item-hd{padding:20px;-webkit-transition:opacity .3s;transition:opacity .3s}.kind-list__item-hd_show{opacity:.4}.kind-list__item-bd{height:0;overflow:hidden}.kind-list__item-bd_show{height:auto}

tools/demo/example/msg/msg_success.wxss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '../common.wxss';
2+
13
page{
24
background-color: #FFFFFF;
35
}

tools/demo/example/msg/msg_text.wxss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '../common.wxss';
2+
13
page{
24
background-color: #FFFFFF;
35
}

tools/demo/example/msg/msg_text_primary.wxss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '../common.wxss';
2+
13
page{
24
background-color: #FFFFFF;
35
}

0 commit comments

Comments
 (0)