weui-rails 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/lib/weui-rails/version.rb +1 -1
  3. data/vendor/assets/stylesheets/base/variable/_global.scss +23 -20
  4. data/vendor/assets/stylesheets/base/variable/_monokai.scss +11 -11
  5. data/vendor/assets/stylesheets/base/variable/_weui_button.scss +18 -18
  6. data/vendor/assets/stylesheets/base/variable/_weui_cell.scss +11 -11
  7. data/vendor/assets/stylesheets/base/variable/_weui_grid.scss +4 -4
  8. data/vendor/assets/stylesheets/base/variable/_weui_msg.scss +7 -7
  9. data/vendor/assets/stylesheets/base/variable/_weui_progress.scss +5 -5
  10. data/vendor/assets/stylesheets/icon/weui_icon_font.scss +1 -1
  11. data/vendor/assets/stylesheets/widget/weui_button/weui_btn_default.scss +3 -3
  12. data/vendor/assets/stylesheets/widget/weui_button/weui_btn_disabled.scss +2 -2
  13. data/vendor/assets/stylesheets/widget/weui_button/weui_btn_global.scss +2 -2
  14. data/vendor/assets/stylesheets/widget/weui_button/weui_btn_plain.scss +4 -4
  15. data/vendor/assets/stylesheets/widget/weui_button/weui_btn_primary.scss +3 -3
  16. data/vendor/assets/stylesheets/widget/weui_button/weui_btn_warn.scss +3 -3
  17. data/vendor/assets/stylesheets/widget/weui_button/weui_button.scss +9 -9
  18. data/vendor/assets/stylesheets/widget/weui_cell/weui_access.scss +4 -4
  19. data/vendor/assets/stylesheets/widget/weui_cell/weui_cell_global.scss +9 -8
  20. data/vendor/assets/stylesheets/widget/weui_cell/weui_check/weui_check_common.scss +2 -2
  21. data/vendor/assets/stylesheets/widget/weui_cell/weui_check/weui_checkbox.scss +7 -7
  22. data/vendor/assets/stylesheets/widget/weui_cell/weui_check/weui_radio.scss +6 -6
  23. data/vendor/assets/stylesheets/widget/weui_cell/weui_form/weui_form_common.scss +13 -13
  24. data/vendor/assets/stylesheets/widget/weui_cell/weui_form/weui_select.scss +5 -5
  25. data/vendor/assets/stylesheets/widget/weui_cell/weui_form/weui_select_after.scss +2 -2
  26. data/vendor/assets/stylesheets/widget/weui_cell/weui_form/weui_select_before.scss +4 -4
  27. data/vendor/assets/stylesheets/widget/weui_cell/weui_form/weui_vcode.scss +2 -2
  28. data/vendor/assets/stylesheets/widget/weui_cell/weui_switch.scss +2 -2
  29. data/vendor/assets/stylesheets/widget/weui_cell/weui_uploader.scss +11 -11
  30. data/vendor/assets/stylesheets/widget/weui_grid/weui_grid.scss +30 -12
  31. data/vendor/assets/stylesheets/widget/weui_media_box/weui_media_box.scss +24 -26
  32. data/vendor/assets/stylesheets/widget/weui_page/weui_article.scss +1 -1
  33. data/vendor/assets/stylesheets/widget/weui_page/weui_msg.scss +8 -8
  34. data/vendor/assets/stylesheets/widget/weui_panel/weui_panel.scss +4 -4
  35. data/vendor/assets/stylesheets/widget/weui_progress/weui_progress.scss +4 -4
  36. data/vendor/assets/stylesheets/widget/weui_searchbar/weui_searchbar.scss +16 -16
  37. data/vendor/assets/stylesheets/widget/weui_tab/navbar.scss +5 -5
  38. data/vendor/assets/stylesheets/widget/weui_tab/tabbar.scss +8 -7
  39. data/vendor/assets/stylesheets/widget/weui_tab/weui_tab.scss +8 -4
  40. data/vendor/assets/stylesheets/widget/weui_tips/weui_actionsheet.scss +6 -6
  41. data/vendor/assets/stylesheets/widget/weui_tips/weui_dialog.scss +13 -14
  42. data/vendor/assets/stylesheets/widget/weui_tips/weui_mask.scss +7 -7
  43. data/vendor/assets/stylesheets/widget/weui_tips/weui_toast.scss +9 -9
  44. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f676075193edf332309fc797b748b8c46a49768
4
- data.tar.gz: d3c463346c8c0615d87886c5e7f6137358a6e08d
3
+ metadata.gz: ec4b132ba0d31d593ea0df801b367d2ffb1a0deb
4
+ data.tar.gz: ad95c8d8a031f41504567d9a8775c6b616ee033f
5
5
  SHA512:
6
- metadata.gz: 87464517329ff725917adee8fed0a422b95159b8ec2d436d66f2e84a708df7b281d4ab0e83ca8d7b114b54d7fe67575813dbdd80bc5f2a96573d2b1c7870bb9d
7
- data.tar.gz: 940569c68fc0f31a30c512ac0d27b1f8bff7ce855382363ae6d9c89a87baff284425b89ed0cf91ccaf6f51aa689615cbbb5f831b0975658f0a49c68fbeaa6ee7
6
+ metadata.gz: 4c22fd150b1c6c8bf816c2551b80bafe40c484aac0b84cffd71279be65c60d067f36c3fe40e9a1d481dfffdf38efd6e4ca92403ffa5fbc7282567a62dec4f364
7
+ data.tar.gz: 03f70c3bb7d51abdc4d28ff5a02e0ef866b54f5bc40aa6df91e281eb6a97e6566b18746a0687cf60252cf3d26ed965808a20c5c5fdc6d5b5cbe85070041b4cc4
@@ -1,5 +1,5 @@
1
1
  module Weui
2
2
  module Rails
3
- VERSION = '0.4.2'
3
+ VERSION = '0.4.3'
4
4
  end
5
5
  end
@@ -1,32 +1,35 @@
1
- // font family
2
- $sansFont:"Helvetica Neue",Helvetica,Arial,sans-serif;
3
- $serifFont:Georgia, "Times New Roman",Times,serif;
4
- $wpFont:"Microsoft YaHei",sans-serif;
5
- $bizFont:"Helvetica Neue",Helvetica,"Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
6
- $globalFont:$sansFont;
7
- $globalFontSize:14px;
1
+ // namespace
2
+ $weui_ns: 'weui_' !default;
3
+
4
+ // font family
5
+ $sansFont:"Helvetica Neue",Helvetica,Arial,sans-serif !default;
6
+ $serifFont:Georgia, "Times New Roman",Times,serif !default;
7
+ $wpFont:"Microsoft YaHei",sans-serif !default;
8
+ $bizFont:"Helvetica Neue",Helvetica,"Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif !default;
9
+ $globalFont:$sansFont !default;
10
+ $globalFontSize:14px !default;
8
11
 
9
12
  // font color
10
- $globalLinkColor: #61749B;
11
- $globalDescColor: #B2B2B2;
12
- $globalWarnColor: #E64340;
13
- $globalNickNameColor: #576B95;
14
- $globalTextColor: #888;
15
- $globalTitleColor: #000;
13
+ $globalLinkColor: #61749B !default;
14
+ $globalDescColor: #B2B2B2 !default;
15
+ $globalWarnColor: #E64340 !default;
16
+ $globalNickNameColor: #576B95 !default;
17
+ $globalTextColor: #888 !default;
18
+ $globalTitleColor: #000 !default;
16
19
 
17
20
  //border
18
- $globalBorderColor: #BCBAB6;
21
+ $globalBorderColor: #BCBAB6 !default;
19
22
 
20
23
  //arrow
21
- $globalArrowColor: #C7C7CC;
24
+ $globalArrowColor: #C7C7CC !default;
22
25
 
23
26
  //component
24
- $itemActiveColor: #E4E4E4;
27
+ $itemActiveColor: #E4E4E4 !default;
25
28
 
26
29
  //page
27
- $pageDefaultBackgroundColor:#EFEFF4;
30
+ $pageDefaultBackgroundColor:#EFEFF4 !default;
28
31
 
29
32
  // gap
30
- $gap5:5px;
31
- $gap10:10px;
32
- $gap15:15px;
33
+ $gap5:5px !default;
34
+ $gap10:10px !default;
35
+ $gap15:15px !default;
@@ -1,11 +1,11 @@
1
- $monokaiCaret:#F8F8F0;
2
- $monokaiGreen:#A6E22E;
3
- $monokaiOrange:#FD971F;
4
- $monokaiBlue:#66D9EF;
5
- $monokaiRed:#F92672;
6
- $monokaiPurple:#AE81FF;
7
- $monokaiBrown:#E6DB74;
8
- $monokaiFindHighlight:#FFE792;
9
- $monokaiLineHighlight:#3E3D32;
10
- $monokaiSelection:#49483E;
11
- $monokaiBg:#272822;
1
+ $monokaiCaret:#F8F8F0 !default;
2
+ $monokaiGreen:#A6E22E !default;
3
+ $monokaiOrange:#FD971F !default;
4
+ $monokaiBlue:#66D9EF !default;
5
+ $monokaiRed:#F92672 !default;
6
+ $monokaiPurple:#AE81FF !default;
7
+ $monokaiBrown:#E6DB74 !default;
8
+ $monokaiFindHighlight:#FFE792 !default;
9
+ $monokaiLineHighlight:#3E3D32 !default;
10
+ $monokaiSelection:#49483E !default;
11
+ $monokaiBg:#272822 !default;
@@ -1,21 +1,21 @@
1
- $weuiBtnDefaultGap:15px;
2
- $weuiBtnHeight:42px;
3
- $weuiBtnMiniHeight:1.9;
4
- $weuiBtnFontSize:18px;
5
- $weuiBtnFontColor:#FFFFFF;
6
- $weuiBtnDisabledFontColor:rgba(255,255,255,.6);
7
- $weuiBtnActiveFontColor:rgba(255,255,255,.4);
8
- $weuiBtnMiniFontSize:14px;
9
- $weuiBtnBorderRadius:5px;
1
+ $weuiBtnDefaultGap:15px !default;
2
+ $weuiBtnHeight:42px !default;
3
+ $weuiBtnMiniHeight:1.9 !default;
4
+ $weuiBtnFontSize:18px !default;
5
+ $weuiBtnFontColor:#FFFFFF !default;
6
+ $weuiBtnDisabledFontColor:rgba(255,255,255,.6) !default;
7
+ $weuiBtnActiveFontColor:rgba(255,255,255,.4) !default;
8
+ $weuiBtnMiniFontSize:14px !default;
9
+ $weuiBtnBorderRadius:5px !default;
10
10
 
11
- $weuiBtnDefaultBg:#F7F7F7;
12
- $weuiBtnDefaultActiveBg:#DEDEDE;
13
- $weuiBtnDefaultFontColor:#454545;
14
- $weuiBtnDefaultDisabledFontColor:#C9C9C9;
15
- $weuiBtnDefaultActiveFontColor:#A1A1A1;
11
+ $weuiBtnDefaultBg:#F7F7F7 !default;
12
+ $weuiBtnDefaultActiveBg:#DEDEDE !default;
13
+ $weuiBtnDefaultFontColor:#454545 !default;
14
+ $weuiBtnDefaultDisabledFontColor:#C9C9C9 !default;
15
+ $weuiBtnDefaultActiveFontColor:#A1A1A1 !default;
16
16
 
17
- $weuiBtnPrimaryBg:#04be02;
18
- $weuiBtnPrimaryActiveBg:#039702;
17
+ $weuiBtnPrimaryBg:#04be02 !default;
18
+ $weuiBtnPrimaryActiveBg:#039702 !default;
19
19
 
20
- $weuiBtnWarnBg:#ef4f4f;
21
- $weuiBtnWarnActiveBg:#c13e3e;
20
+ $weuiBtnWarnBg:#ef4f4f !default;
21
+ $weuiBtnWarnActiveBg:#c13e3e !default;
@@ -1,14 +1,14 @@
1
- $weuiCellBg:#FFFFFF;
2
- $weuiCellBorderColor:#D9D9D9;
3
- $weuiCellGapV:10px;
4
- $weuiCellGapH:15px;
5
- $weuiCellInnerGapH:.35em;
6
- $weuiCellLabelWidth:105px;
1
+ $weuiCellBg:#FFFFFF !default;
2
+ $weuiCellBorderColor:#D9D9D9 !default;
3
+ $weuiCellGapV:10px !default;
4
+ $weuiCellGapH:15px !default;
5
+ $weuiCellInnerGapH:.35em !default;
6
+ $weuiCellLabelWidth:105px !default;
7
7
 
8
8
 
9
- $weuiCellHeight: 44px;
10
- $weuiCellFontSize:17px;
11
- $weuiCellTipsFontSize:14px;
9
+ $weuiCellHeight: 44px !default;
10
+ $weuiCellFontSize:17px !default;
11
+ $weuiCellTipsFontSize:14px !default;
12
12
 
13
- $weuiCellLineHeight: ($weuiCellHeight - 2 * $weuiCellGapV) / $weuiCellFontSize; // 高度为44px,减去上下padding的行高
14
- $weuiCellsMarginTop: 20 / ($weuiCellFontSize / ($weuiCellFontSize * 0 + 1)) + em;
13
+ $weuiCellLineHeight: ($weuiCellHeight - 2 * $weuiCellGapV) / $weuiCellFontSize !default; // 高度为44px,减去上下padding的行高
14
+ $weuiCellsMarginTop: 20 / ($weuiCellFontSize / ($weuiCellFontSize * 0 + 1)) + em !default;
@@ -1,4 +1,4 @@
1
- $weuiGridBorderColor: #D9D9D9;
2
- $weuiGridFontSize: 14px;
3
- $weuiGridIconSize: 28px;
4
- $weuiGridColumnCount: 3;
1
+ $weuiGridBorderColor: #D9D9D9 !default;
2
+ $weuiGridFontSize: 14px !default;
3
+ $weuiGridIconSize: 28px !default;
4
+ $weuiGridColumnCount: 3 !default;
@@ -1,7 +1,7 @@
1
- $weuiMsgPaddingTop:36px;
2
- $weuiMsgIconGap:30px;
3
- $weuiMsgTextGap:25px;
4
- $weuiMsgTitleGap:5px;
5
- $weuiMsgOprGap:25px;
6
- $weuiMsgExtraAreaGap:15px;
7
- $weuiMsgExtraAreaOfMinHeight:438px;
1
+ $weuiMsgPaddingTop:36px !default;
2
+ $weuiMsgIconGap:30px !default;
3
+ $weuiMsgTextGap:25px !default;
4
+ $weuiMsgTitleGap:5px !default;
5
+ $weuiMsgOprGap:25px !default;
6
+ $weuiMsgExtraAreaGap:15px !default;
7
+ $weuiMsgExtraAreaOfMinHeight:438px !default;
@@ -1,5 +1,5 @@
1
- $weuiProgressBg: #ebebeb;
2
- $weuiProgressColor: #09bb07;
3
- $weuiProgressHeight: 3px;
4
- $weuiProgressCloseBg: #ef4f4f;
5
- $weuiProgressActiveBg: #c13e3e;
1
+ $weuiProgressBg: #ebebeb !default;
2
+ $weuiProgressColor: #09bb07 !default;
3
+ $weuiProgressHeight: 3px !default;
4
+ $weuiProgressCloseBg: #ef4f4f !default;
5
+ $weuiProgressActiveBg: #c13e3e !default;
@@ -57,7 +57,7 @@
57
57
  }
58
58
 
59
59
  .weui_icon_cancel:before {
60
- font-size: 23px;
60
+ font-size: 22px;
61
61
  color: #F43530;
62
62
  }
63
63
 
@@ -1,12 +1,12 @@
1
1
  @import "../../base/fn";
2
2
 
3
- .weui_btn_default {
3
+ .#{$weui_ns}btn_default {
4
4
  background-color: $weuiBtnDefaultBg;
5
5
  color: $weuiBtnDefaultFontColor;
6
- &:not(.weui_btn_disabled):visited {
6
+ &:not(.#{$weui_ns}btn_disabled):visited {
7
7
  color: $weuiBtnDefaultFontColor;
8
8
  }
9
- &:not(.weui_btn_disabled):active {
9
+ &:not(.#{$weui_ns}btn_disabled):active {
10
10
  color: $weuiBtnDefaultActiveFontColor;
11
11
  background-color: $weuiBtnDefaultActiveBg;
12
12
  }
@@ -1,9 +1,9 @@
1
1
  @import "../../base/fn";
2
2
 
3
- .weui_btn_disabled {
3
+ .#{$weui_ns}btn_disabled {
4
4
  color: $weuiBtnDisabledFontColor;
5
5
 
6
- &.weui_btn_default {
6
+ &.#{$weui_ns}btn_default {
7
7
  color: $weuiBtnDefaultDisabledFontColor;
8
8
  }
9
9
  }
@@ -1,6 +1,6 @@
1
1
  @import "../../base/fn";
2
2
 
3
- .weui_btn {
3
+ .#{$weui_ns}btn {
4
4
  position: relative;
5
5
  display: block;
6
6
  margin-left: auto;
@@ -30,7 +30,7 @@
30
30
  border-radius: $weuiBtnBorderRadius*2;
31
31
  }
32
32
 
33
- &.weui_btn_inline {
33
+ &.#{$weui_ns}btn_inline {
34
34
  display: inline-block;
35
35
  }
36
36
  }
@@ -1,6 +1,6 @@
1
1
  @import "../../base/fn";
2
2
 
3
- .weui_btn_plain_primary {
3
+ .#{$weui_ns}btn_plain_primary {
4
4
  color: $weuiBtnPrimaryBg;
5
5
  border: 1px solid $weuiBtnPrimaryBg;
6
6
  &:active {
@@ -11,12 +11,12 @@
11
11
  }
12
12
  }
13
13
 
14
- button.weui_btn_plain_primary, input.weui_btn_plain_primary {
14
+ button.#{$weui_ns}btn_plain_primary, input.#{$weui_ns}btn_plain_primary {
15
15
  border-width: 1px;
16
16
  background-color: transparent;
17
17
  }
18
18
 
19
- .weui_btn_plain_default {
19
+ .#{$weui_ns}btn_plain_default {
20
20
  color: #5A5A5A;
21
21
  border: 1px solid #5A5A5A;
22
22
  &:after {
@@ -24,7 +24,7 @@ button.weui_btn_plain_primary, input.weui_btn_plain_primary {
24
24
  }
25
25
  }
26
26
 
27
- button.weui_btn_plain_default, input.weui_btn_plain_default {
27
+ button.#{$weui_ns}btn_plain_default, input.#{$weui_ns}btn_plain_default {
28
28
  border-width: 1px;
29
29
  background-color: transparent;
30
30
  }
@@ -1,11 +1,11 @@
1
1
  @import "../../base/fn";
2
2
 
3
- .weui_btn_primary {
3
+ .#{$weui_ns}btn_primary {
4
4
  background-color: $weuiBtnPrimaryBg;
5
- &:not(.weui_btn_disabled):visited {
5
+ &:not(.#{$weui_ns}btn_disabled):visited {
6
6
  color: $weuiBtnFontColor;
7
7
  }
8
- &:not(.weui_btn_disabled):active {
8
+ &:not(.#{$weui_ns}btn_disabled):active {
9
9
  color: $weuiBtnActiveFontColor;
10
10
  background-color: $weuiBtnPrimaryActiveBg;
11
11
  }
@@ -1,11 +1,11 @@
1
1
  @import "../../base/fn";
2
2
 
3
- .weui_btn_warn {
3
+ .#{$weui_ns}btn_warn {
4
4
  background-color: $weuiBtnWarnBg;
5
- &:not(.weui_btn_disabled):visited {
5
+ &:not(.#{$weui_ns}btn_disabled):visited {
6
6
  color: $weuiBtnFontColor;
7
7
  }
8
- &:not(.weui_btn_disabled):active {
8
+ &:not(.#{$weui_ns}btn_disabled):active {
9
9
  color: $weuiBtnActiveFontColor;
10
10
  background-color: $weuiBtnWarnActiveBg;
11
11
  }
@@ -1,7 +1,7 @@
1
1
  @import "../../base/fn";
2
2
 
3
- .weui_btn {
4
- &.weui_btn_mini {
3
+ .#{$weui_ns}btn {
4
+ &.#{$weui_ns}btn_mini {
5
5
  line-height: $weuiBtnMiniHeight;
6
6
  font-size: $weuiBtnMiniFontSize;
7
7
  padding: 0 .75em;
@@ -10,7 +10,7 @@
10
10
  }
11
11
 
12
12
  button, input {
13
- &.weui_btn {
13
+ &.#{$weui_ns}btn {
14
14
  width: 100%;
15
15
  border-width: 0;
16
16
  outline: 0;
@@ -19,26 +19,26 @@ button, input {
19
19
  outline: 0;
20
20
  }
21
21
  }
22
- &.weui_btn_inline,&.weui_btn_mini {
22
+ &.#{$weui_ns}btn_inline,&.#{$weui_ns}btn_mini {
23
23
  width: auto;
24
24
  }
25
25
  }
26
26
 
27
27
  /*gap between btn*/
28
- .weui_btn + .weui_btn {
28
+ .#{$weui_ns}btn + .#{$weui_ns}btn {
29
29
  margin-top: $weuiBtnDefaultGap;
30
30
  }
31
31
 
32
- .weui_btn.weui_btn_inline + .weui_btn.weui_btn_inline {
32
+ .#{$weui_ns}btn.#{$weui_ns}btn_inline + .#{$weui_ns}btn.#{$weui_ns}btn_inline {
33
33
  margin-top: auto;
34
34
  margin-left: $weuiBtnDefaultGap;
35
35
  }
36
36
 
37
- .weui_btn_area {
37
+ .#{$weui_ns}btn_area {
38
38
  margin: $weuiCellsMarginTop $weuiBtnDefaultGap .3em;
39
- &.weui_btn_area_inline {
39
+ &.#{$weui_ns}btn_area_inline {
40
40
  display: flex;
41
- .weui_btn {
41
+ .#{$weui_ns}btn {
42
42
  margin-top: auto;
43
43
  margin-right: $weuiBtnDefaultGap;
44
44
  width: 100%;
@@ -1,17 +1,17 @@
1
1
  @import "../../base/fn";
2
2
 
3
- .weui_cells_access {
4
- .weui_cell:not(.no_access) {
3
+ .#{$weui_ns}cells_access {
4
+ .#{$weui_ns}cell:not(.no_access) {
5
5
  // 在cell_access和其它类型的cell混着用的场景下,其它cell要加no_access,避免有点击态
6
6
  @include setTapColor();
7
7
  &:active {
8
8
  background-color: #ECECEC;
9
9
  }
10
10
  }
11
- a.weui_cell {
11
+ a.#{$weui_ns}cell {
12
12
  color: inherit;
13
13
  }
14
- .weui_cell_ft {
14
+ .#{$weui_ns}cell_ft {
15
15
  &:after {
16
16
  content: " ";
17
17
  @include setArrow_Wap(right, 6px, #C8C8CD, 2px);
@@ -1,6 +1,6 @@
1
1
  @import "../../base/fn";
2
2
 
3
- .weui_cell {
3
+ .#{$weui_ns}cell {
4
4
  // onepx
5
5
  position: relative;
6
6
  &:before {
@@ -13,7 +13,7 @@
13
13
  }
14
14
  }
15
15
  }
16
- .weui_cells {
16
+ .#{$weui_ns}cells {
17
17
  margin-top: $weuiCellsMarginTop;
18
18
  background-color: $weuiCellBg;
19
19
  line-height: $weuiCellLineHeight;
@@ -32,19 +32,20 @@
32
32
  }
33
33
  }
34
34
 
35
- .weui_cells_title {
35
+ .#{$weui_ns}cells_title {
36
36
  margin-top: .77em;
37
+ margin-bottom: .3em;
37
38
  padding-left: $weuiCellGapH;
38
39
  padding-right: $weuiCellGapH;
39
40
  color: $globalTextColor;
40
41
  font-size: $weuiCellTipsFontSize;
41
42
 
42
- & + .weui_cells{
43
+ & + .#{$weui_ns}cells{
43
44
  margin-top: 0;
44
45
  }
45
46
  }
46
47
 
47
- .weui_cells_tips{
48
+ .#{$weui_ns}cells_tips{
48
49
  margin-top: .3em; // 8px - 行高
49
50
  color: $globalTextColor;
50
51
  padding-left: 15px;
@@ -52,18 +53,18 @@
52
53
  font-size: $weuiCellTipsFontSize;
53
54
  }
54
55
 
55
- .weui_cell {
56
+ .#{$weui_ns}cell {
56
57
  padding: $weuiCellGapV $weuiCellGapH;
57
58
  position: relative; //这个是为了兼容cells容器onepx方案被before挡住而做的
58
59
  display: flex;
59
60
  align-items: center;
60
61
  }
61
62
 
62
- .weui_cell_ft {
63
+ .#{$weui_ns}cell_ft {
63
64
  text-align:right;
64
65
  color: $globalTextColor;
65
66
  }
66
67
 
67
- .weui_cell_primary {
68
+ .#{$weui_ns}cell_primary {
68
69
  flex: 1;
69
70
  }