Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-easy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
easyUI
hls-easy-ui
Commits
47a7d413
Commit
47a7d413
authored
May 06, 2019
by
Nature
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
px to rem
parent
e0683419
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
236 additions
and
219 deletions
+236
-219
ionic-public-style.less
packages/common/styles/ionic-public-style.less
+48
-48
ionic.less
packages/common/styles/ionic.less
+88
-88
platform-ios.less
packages/common/styles/platform-ios.less
+13
-13
platform-iosx.less
packages/common/styles/platform-iosx.less
+12
-12
publicStyle.less
packages/common/styles/publicStyle.less
+50
-50
index.vue
packages/components/BottomTab/index.vue
+3
-7
index.vue
packages/components/NumberKeyboard/index.vue
+22
-0
App.vue
src/App.vue
+0
-1
No files found.
packages/common/styles/ionic-public-style.less
View file @
47a7d413
.has-footer {
.has-footer {
bottom:
44px
;
bottom:
0.88rem
;
.scrollContent{
.scrollContent{
padding-bottom:
45px
;
padding-bottom:
0.9rem
;
}
}
}
}
.header-top {
.header-top {
margin-top:
34px
;
margin-top:
0.68rem
;
}
}
.has-tabs {
.has-tabs {
.scrollContent{
.scrollContent{
padding-bottom:
50px
;
padding-bottom:
1rem
;
}
}
bottom:
50px
;
bottom:
1rem
;
}
}
.spinner svg {
.spinner svg {
width:
28px
;
width:
0.56rem
;
height:
28px
;
height:
0.56rem
;
}
}
.public-style {
.public-style {
...
@@ -26,32 +26,32 @@
...
@@ -26,32 +26,32 @@
width: 100%;
width: 100%;
font-weight: inherit;
font-weight: inherit;
.bar.button.button-icon .icon:before, .bar .button.button-icon.icon-left:before, .bar .button.button-icon.icon-right:before, .bar .button.button-icon:before, .bar button.button-icon .icon:before, .bar button.button-icon.icon-left:before, .bar button.button-icon.icon-right:before, .bar button.button-icon:before {
.bar.button.button-icon .icon:before, .bar .button.button-icon.icon-left:before, .bar .button.button-icon.icon-right:before, .bar .button.button-icon:before, .bar button.button-icon .icon:before, .bar button.button-icon.icon-left:before, .bar button.button-icon.icon-right:before, .bar button.button-icon:before {
padding-right:
4px
;
padding-right:
0.8rem
;
padding-left:
4px
;
padding-left:
0.8rem
;
font-size:
32px
;
font-size:
0.64rem
;
line-height:
32px
;
line-height:
0.64rem
;
}
}
.bar {
.bar {
background-image: none;
background-image: none;
padding:
5px
0;
padding:
0.1rem
0;
height:
43px
;
height:
0.86rem
;
display: flex;
display: flex;
display: -webkit-flex;
display: -webkit-flex;
align-items: center;
align-items: center;
-webkit-align-items: center;
-webkit-align-items: center;
.title {
.title {
height:
43px
;
height:
0.86rem
;
min-width:
30px
;
min-width:
0.6rem
;
line-height: normal;
line-height: normal;
font-size:
17px
;
font-size:
0.34rem
;
display: flex;
display: flex;
display: -webkit-flex;
display: -webkit-flex;
justify-content: center;
justify-content: center;
-webkit-justify-content: center;
-webkit-justify-content: center;
align-items: center;
align-items: center;
-webkit-align-items: center;
-webkit-align-items: center;
padding-top:
4px
;
padding-top:
0.8rem
;
}
}
}
}
.header-bar {
.header-bar {
...
@@ -60,14 +60,14 @@
...
@@ -60,14 +60,14 @@
.buttons {
.buttons {
.button {
.button {
color: @headerColor;
color: @headerColor;
font-size:
16px
;
font-size:
0.32rem
;
padding-left:
10px
;
padding-left:
0.2rem
;
padding-right:
12.5px
;
padding-right:
0.25rem
;
}
}
}
}
.title {
.title {
color: #4A4A4A;
color: #4A4A4A;
font-size:
17px
;
font-size:
0.34rem
;
//font-weight: 600;
//font-weight: 600;
left: 0 !important;
left: 0 !important;
right: 0 !important;
right: 0 !important;
...
@@ -75,8 +75,8 @@
...
@@ -75,8 +75,8 @@
.iconLeft {
.iconLeft {
text-align: left;
text-align: left;
i {
i {
font-size:
12.5px
;
font-size:
0.25rem
;
padding-left:
5px
;
padding-left:
0.1rem
;
}
}
}
}
}
}
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
.list {
.list {
background-color: #ffffff;
background-color: #ffffff;
//border-bottom: 1px solid rgba(0, 0, 0, 0.10);
//border-bottom: 1px solid rgba(0, 0, 0, 0.10);
margin-bottom:
10px
;
margin-bottom:
0.2rem
;
.item:last-child {
.item:last-child {
.contents {
.contents {
border-bottom: none;
border-bottom: none;
...
@@ -113,9 +113,9 @@
...
@@ -113,9 +113,9 @@
transform: scale(1,1)
transform: scale(1,1)
}
}
.item {
.item {
height:
45px
;
height:
0.9rem
;
border: none;
border: none;
padding: 0 0 0
15px
;
padding: 0 0 0
0.3rem
;
.contents {
.contents {
height: 100%;
height: 100%;
width: 100%;
width: 100%;
...
@@ -127,7 +127,7 @@
...
@@ -127,7 +127,7 @@
align-items: center;
align-items: center;
-webkit-justify-content: space-between;
-webkit-justify-content: space-between;
-webkit-align-items: center;
-webkit-align-items: center;
padding: 0
15px
0 0;
padding: 0
0.3rem
0 0;
&.activated {
&.activated {
opacity: 0.9;
opacity: 0.9;
-webkit-transform: scale(0.95);
-webkit-transform: scale(0.95);
...
@@ -141,13 +141,13 @@
...
@@ -141,13 +141,13 @@
-webkit-justify-content: flex-start;
-webkit-justify-content: flex-start;
-webkit-align-items: center;
-webkit-align-items: center;
letter-spacing: 0;
letter-spacing: 0;
line-height:
16px
;
line-height:
0.32rem
;
font-size: @font-size-big;
font-size: @font-size-big;
color: #838E94;
color: #838E94;
letter-spacing: 0;
letter-spacing: 0;
text-align: center;
text-align: center;
.left-icon {
.left-icon {
margin-right:
10px
;
margin-right:
0.2rem
;
}
}
.required {
.required {
display: flex;
display: flex;
...
@@ -155,9 +155,9 @@
...
@@ -155,9 +155,9 @@
.required::after {
.required::after {
content: '*';
content: '*';
color: #D24E4E;
color: #D24E4E;
height:
8px
;
height:
0.16rem
;
padding-top:
4px
;
padding-top:
0.08rem
;
margin-left:
2.5px
;
margin-left:
0.05rem
;
}
}
}
}
.add-content {
.add-content {
...
@@ -174,7 +174,7 @@
...
@@ -174,7 +174,7 @@
white-space: normal;
white-space: normal;
word-break: break-all;
word-break: break-all;
word-wrap: break-word;
word-wrap: break-word;
line-height:
20px
;
line-height:
0.4rem
;
//输入框
//输入框
input {
input {
font-size: @font-size-middle;
font-size: @font-size-middle;
...
@@ -186,7 +186,7 @@
...
@@ -186,7 +186,7 @@
}
}
//右侧图标
//右侧图标
.right-icon {
.right-icon {
margin-left:
10px
;
margin-left:
0.2rem
;
}
}
//toggle
//toggle
.toggle-check {
.toggle-check {
...
@@ -197,15 +197,15 @@
...
@@ -197,15 +197,15 @@
-webkit-align-items: center;
-webkit-align-items: center;
align-items: center;
align-items: center;
.track {
.track {
width:
40px
;
width:
0.8rem
;
height:
25px
;
height:
0.5rem
;
margin-right:
2.5px
;
margin-right:
0.05rem
;
border-radius:
15px
;
border-radius:
0.3rem
;
.handle {
.handle {
width:
22.5px
;
width:
0.45rem
;
height:
22.5px
;
height:
0.45rem
;
top:
3.5px
;
top:
0.07rem
;
left:
2.5px
;
left:
0.05rem
;
}
}
}
}
}
}
...
@@ -213,10 +213,10 @@
...
@@ -213,10 +213,10 @@
border-color: @check-box-bg;
border-color: @check-box-bg;
background-color: @check-box-bg;
background-color: @check-box-bg;
.handle {
.handle {
width:
22.5px
;
width:
0.45rem
;
height:
22.5px
;
height:
0.45rem
;
top:
3.5px
;
top:
0.07rem
;
left:
9px
;
left:
0.18rem
;
}
}
}
}
}
}
...
@@ -225,7 +225,7 @@
...
@@ -225,7 +225,7 @@
}
}
}
}
.bottom-tab {
.bottom-tab {
height:
44px
;
height:
0.88rem
;
width: 100%;
width: 100%;
background-color: #fff;
background-color: #fff;
position: fixed;
position: fixed;
...
@@ -257,7 +257,7 @@
...
@@ -257,7 +257,7 @@
}
}
.bottom-tab-divider {
.bottom-tab-divider {
width: 2px; /*no*/
width: 2px; /*no*/
height:
30px
;
height:
0.6rem
;
background-color: rgb(214, 217, 218);
background-color: rgb(214, 217, 218);
}
}
}
}
...
...
packages/common/styles/ionic.less
View file @
47a7d413
...
@@ -4112,7 +4112,7 @@ body,
...
@@ -4112,7 +4112,7 @@ body,
padding: 0;
padding: 0;
color: #000;
color: #000;
word-wrap: break-word;
word-wrap: break-word;
font-size:
14px
;
font-size:
0.28rem
;
font-family: -apple-system;
font-family: -apple-system;
font-family: "-apple-system", "Helvetica Neue", "Roboto", "Segoe UI", sans-serif;
font-family: "-apple-system", "Helvetica Neue", "Roboto", "Segoe UI", sans-serif;
//line-height: 40px;
//line-height: 40px;
...
@@ -4215,10 +4215,10 @@ body.grade-c {
...
@@ -4215,10 +4215,10 @@ body.grade-c {
}
}
.scroll-bar-h {
.scroll-bar-h {
right:
2px
;
right:
0.04rem
;
bottom:
3px
;
bottom:
0.06rem
;
left:
2px
;
left:
0.04rem
;
height:
3px
;
height:
0.06rem
;
}
}
.scroll-bar-h .scroll-bar-indicator {
.scroll-bar-h .scroll-bar-indicator {
...
@@ -4226,10 +4226,10 @@ body.grade-c {
...
@@ -4226,10 +4226,10 @@ body.grade-c {
}
}
.scroll-bar-v {
.scroll-bar-v {
top:
2px
;
top:
0.04rem
;
right:
3px
;
right:
0.06rem
;
bottom:
2px
;
bottom:
0.04rem
;
width:
3px
;
width:
0.06rem
;
}
}
.scroll-bar-v .scroll-bar-indicator {
.scroll-bar-v .scroll-bar-indicator {
...
@@ -4238,7 +4238,7 @@ body.grade-c {
...
@@ -4238,7 +4238,7 @@ body.grade-c {
.scroll-bar-indicator {
.scroll-bar-indicator {
position: absolute;
position: absolute;
border-radius:
6px
;
border-radius:
0.12rem
;
background: rgba(0, 0, 0, 0.3);
background: rgba(0, 0, 0, 0.3);
opacity: 1;
opacity: 1;
-webkit-transition: opacity 0.3s linear;
-webkit-transition: opacity 0.3s linear;
...
@@ -4265,7 +4265,7 @@ body.grade-c {
...
@@ -4265,7 +4265,7 @@ body.grade-c {
}
}
ion-infinite-scroll {
ion-infinite-scroll {
height:
60px
;
height:
1.2rem
;
width: 100%;
width: 100%;
display: block;
display: block;
display: -webkit-box;
display: -webkit-box;
...
@@ -4294,7 +4294,7 @@ ion-infinite-scroll {
...
@@ -4294,7 +4294,7 @@ ion-infinite-scroll {
ion-infinite-scroll .icon {
ion-infinite-scroll .icon {
color: #666666;
color: #666666;
font-size:
30px
;
font-size:
0.6rem
;
color: #666666;
color: #666666;
}
}
...
@@ -4328,7 +4328,7 @@ ion-infinite-scroll:not(.active) .icon:before {
...
@@ -4328,7 +4328,7 @@ ion-infinite-scroll:not(.active) .icon:before {
/* If you change these, change platform.scss as well */
/* If you change these, change platform.scss as well */
.has-header {
.has-header {
top:
44px
;
top:
0.88rem
;
}
}
.no-header {
.no-header {
...
@@ -4336,42 +4336,42 @@ ion-infinite-scroll:not(.active) .icon:before {
...
@@ -4336,42 +4336,42 @@ ion-infinite-scroll:not(.active) .icon:before {
}
}
.has-subheader {
.has-subheader {
top:
88px
;
top:
1.76rem
;
}
}
.has-tabs-top {
.has-tabs-top {
top:
93px
;
top:
1.86rem
;
}
}
.has-header.has-subheader.has-tabs-top {
.has-header.has-subheader.has-tabs-top {
top:
137px
;
top:
2.74rem
;
}
}
.has-footer {
.has-footer {
bottom:
44px
;
bottom:
0.88rem
;
}
}
.has-subfooter {
.has-subfooter {
bottom:
88px
;
bottom:
1.56rem
;
}
}
.has-tabs,
.has-tabs,
.bar-footer.has-tabs {
.bar-footer.has-tabs {
bottom:
50px
;
bottom:
1rem
;
}
}
.has-tabs.pane,
.has-tabs.pane,
.bar-footer.has-tabs.pane {
.bar-footer.has-tabs.pane {
bottom:
50px
;
bottom:
1rem
;
height: auto;
height: auto;
}
}
.bar-subfooter.has-tabs {
.bar-subfooter.has-tabs {
bottom:
93px
;
bottom:
1.86rem
;
}
}
.has-footer.has-tabs {
.has-footer.has-tabs {
bottom:
93px
;
bottom:
1.86rem
;
}
}
.pane {
.pane {
...
@@ -4646,9 +4646,9 @@ a.subdued:last-child {
...
@@ -4646,9 +4646,9 @@ a.subdued:last-child {
-webkit-box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
box-sizing: border-box;
padding:
5px
;
padding:
0.1rem
;
width: 100%;
width: 100%;
height:
44px
;
height:
0.88rem
;
border-width: 0;
border-width: 0;
border-style: solid;
border-style: solid;
border-top: 1px solid transparent; /*no*/
border-top: 1px solid transparent; /*no*/
...
@@ -4837,15 +4837,15 @@ a.subdued:last-child {
...
@@ -4837,15 +4837,15 @@ a.subdued:last-child {
left: 0;
left: 0;
z-index: 0;
z-index: 0;
overflow: hidden;
overflow: hidden;
margin: 0
10px
;
margin: 0
0.2rem
;
min-width:
30px
;
min-width:
0.6rem
;
height:
22px
;
height:
0.44rem
;
text-align: center;
text-align: center;
text-overflow: ellipsis;
text-overflow: ellipsis;
white-space: nowrap;
white-space: nowrap;
font-size:
17px
;
font-size:
0.34rem
;
font-weight: 500;
font-weight: 500;
line-height:
44px
;
line-height:
0.88rem
;
}
}
.bar .title.title-left {
.bar .title.title-left {
...
@@ -4864,10 +4864,10 @@ a.subdued:last-child {
...
@@ -4864,10 +4864,10 @@ a.subdued:last-child {
z-index: 1;
z-index: 1;
padding: 0 8px;
padding: 0 8px;
min-width: initial;
min-width: initial;
min-height:
31px
;
min-height:
0.62rem
;
font-weight: 400;
font-weight: 400;
font-size:
13px
;
font-size:
0.26rem
;
line-height:
32px
;
line-height:
0.64rem
;
}
}
.bar .button.button-icon:before,
.bar .button.button-icon:before,
...
@@ -4875,35 +4875,35 @@ a.subdued:last-child {
...
@@ -4875,35 +4875,35 @@ a.subdued:last-child {
.bar button .icon:before, .bar button.icon:before, .bar button.icon-left:before, .bar button.icon-right:before {
.bar button .icon:before, .bar button.icon:before, .bar button.icon-left:before, .bar button.icon-right:before {
padding-right: 2px;
padding-right: 2px;
padding-left: 2px;
padding-left: 2px;
font-size:
20px
;
font-size:
0.4rem
;
line-height:
32px
;
line-height:
0.64rem
;
}
}
.bar .button.button-icon, .bar button.button-icon {
.bar .button.button-icon, .bar button.button-icon {
font-size:
17px
;
font-size:
0.34rem
;
}
}
.bar .button.button-icon .icon:before, .bar .button.button-icon:before, .bar .button.button-icon.icon-left:before, .bar .button.button-icon.icon-right:before, .bar button.button-icon .icon:before, .bar button.button-icon:before, .bar button.button-icon.icon-left:before, .bar button.button-icon.icon-right:before {
.bar .button.button-icon .icon:before, .bar .button.button-icon:before, .bar .button.button-icon.icon-left:before, .bar .button.button-icon.icon-right:before, .bar button.button-icon .icon:before, .bar button.button-icon:before, .bar button.button-icon.icon-left:before, .bar button.button-icon.icon-right:before {
vertical-align: top;
vertical-align: top;
font-size:
32px
;
font-size:
0.64rem
;
line-height:
32px
;
line-height:
0.64rem
;
}
}
.bar .button.button-clear, .bar button.button-clear {
.bar .button.button-clear, .bar button.button-clear {
padding-right: 3px;
padding-right: 3px;
padding-left: 3px;
padding-left: 3px;
font-weight: 300;
font-weight: 300;
font-size:
17px
;
font-size:
0.34rem
;
}
}
.bar .button.button-clear .icon:before, .bar .button.button-clear.icon:before, .bar .button.button-clear.icon-left:before, .bar .button.button-clear.icon-right:before, .bar button.button-clear .icon:before, .bar button.button-clear.icon:before, .bar button.button-clear.icon-left:before, .bar button.button-clear.icon-right:before {
.bar .button.button-clear .icon:before, .bar .button.button-clear.icon:before, .bar .button.button-clear.icon-left:before, .bar .button.button-clear.icon-right:before, .bar button.button-clear .icon:before, .bar button.button-clear.icon:before, .bar button.button-clear.icon-left:before, .bar button.button-clear.icon-right:before {
font-size:
32px
;
font-size:
0.64rem
;
line-height:
32px
;
line-height:
0.64rem
;
}
}
.bar .button.back-button, .bar button.back-button {
.bar .button.back-button, .bar button.back-button {
display: block;
display: block;
margin-right:
5px
;
margin-right:
0.1rem
;
padding: 0;
padding: 0;
white-space: nowrap;
white-space: nowrap;
font-weight: 400;
font-weight: 400;
...
@@ -4915,13 +4915,13 @@ a.subdued:last-child {
...
@@ -4915,13 +4915,13 @@ a.subdued:last-child {
.bar .button-bar > .button,
.bar .button-bar > .button,
.bar .buttons > .button {
.bar .buttons > .button {
min-height:
32px
;
min-height:
0.64rem
;
line-height:
32px
;
line-height:
0.64rem
;
}
}
.bar .button-bar + .button,
.bar .button-bar + .button,
.bar .button + .button-bar {
.bar .button + .button-bar {
margin-left:
5px;
margin-left:
0.1rem
}
}
.bar .buttons,
.bar .buttons,
...
@@ -4935,12 +4935,12 @@ a.subdued:last-child {
...
@@ -4935,12 +4935,12 @@ a.subdued:last-child {
}
}
.bar .buttons-left span {
.bar .buttons-left span {
margin-right:
5px
;
margin-right:
0.1rem
;
display: inherit;
display: inherit;
}
}
.bar .buttons-right span {
.bar .buttons-right span {
margin-left:
5px
;
margin-left:
0.1rem
;
display: inherit;
display: inherit;
}
}
...
@@ -4950,9 +4950,9 @@ a.subdued:last-child {
...
@@ -4950,9 +4950,9 @@ a.subdued:last-child {
.bar .buttons.pull-right,
.bar .buttons.pull-right,
.bar .title + .buttons {
.bar .title + .buttons {
position: absolute;
position: absolute;
top:
5px
;
top:
0.1rem
;
right:
5px
;
right:
0.1rem
;
bottom:
5px
;
bottom:
0.1rem
;
}
}
.platform-android .nav-bar-has-subheader .bar {
.platform-android .nav-bar-has-subheader .bar {
...
@@ -4960,12 +4960,12 @@ a.subdued:last-child {
...
@@ -4960,12 +4960,12 @@ a.subdued:last-child {
}
}
.platform-android .bar .back-button .icon:before {
.platform-android .bar .back-button .icon:before {
font-size:
24px
;
font-size:
0.48rem
;
}
}
.platform-android .bar .title {
.platform-android .bar .title {
font-size:
19px
;
font-size:
0.38rem
;
line-height:
44px
;
line-height:
0.88rem
;
}
}
...
@@ -4976,7 +4976,7 @@ a.subdued:last-child {
...
@@ -4976,7 +4976,7 @@ a.subdued:last-child {
.checkbox {
.checkbox {
position: relative;
position: relative;
display: inline-block;
display: inline-block;
padding:
7px 7px
;
padding:
0.14rem 0.14rem
;
cursor: pointer;
cursor: pointer;
}
}
...
@@ -5107,8 +5107,8 @@ a.subdued:last-child {
...
@@ -5107,8 +5107,8 @@ a.subdued:last-child {
.checkbox input,
.checkbox input,
.checkbox-icon {
.checkbox-icon {
position: relative;
position: relative;
width:
28px
;
width:
0.56rem
;
height:
28px
;
height:
0.56rem
;
display: block;
display: block;
border: 0;
border: 0;
background: transparent;
background: transparent;
...
@@ -5123,7 +5123,7 @@ a.subdued:last-child {
...
@@ -5123,7 +5123,7 @@ a.subdued:last-child {
height: 100%;
height: 100%;
border-width: 1px; /*no*/
border-width: 1px; /*no*/
border-style: solid;
border-style: solid;
border-radius:
28px
;
border-radius:
0.56rem
;
background: #fff;
background: #fff;
content: ' ';
content: ' ';
-webkit-transition: background-color 20ms ease-in-out;
-webkit-transition: background-color 20ms ease-in-out;
...
@@ -5145,8 +5145,8 @@ input:checked + .checkbox-icon:before {
...
@@ -5145,8 +5145,8 @@ input:checked + .checkbox-icon:before {
top: 33%;
top: 33%;
left: 25%;
left: 25%;
display: table;
display: table;
width:
14px
;
width:
0.28rem
;
height:
6px
;
height:
0.12rem
;
border: 1px solid #fff; /*no*/
border: 1px solid #fff; /*no*/
border-top: 0;
border-top: 0;
border-right: 0;
border-right: 0;
...
@@ -5200,7 +5200,7 @@ input:checked + .checkbox-icon:before {
...
@@ -5200,7 +5200,7 @@ input:checked + .checkbox-icon:before {
}
}
.platform-ios.platform-cordova .modal-wrapper .modal .bar-header:not(.bar-subheader) {
.platform-ios.platform-cordova .modal-wrapper .modal .bar-header:not(.bar-subheader) {
height:
88px
;
height:
1.76rem
;
}
}
.platform-ios.platform-cordova .modal-wrapper .modal .bar-header:not(.bar-subheader) > * {
.platform-ios.platform-cordova .modal-wrapper .modal .bar-header:not(.bar-subheader) > * {
...
@@ -5209,24 +5209,24 @@ input:checked + .checkbox-icon:before {
...
@@ -5209,24 +5209,24 @@ input:checked + .checkbox-icon:before {
.platform-ios.platform-cordova .modal-wrapper .modal .tabs-top > .tabs,
.platform-ios.platform-cordova .modal-wrapper .modal .tabs-top > .tabs,
.platform-ios.platform-cordova .modal-wrapper .modal .tabs.tabs-top {
.platform-ios.platform-cordova .modal-wrapper .modal .tabs.tabs-top {
top:
88px
;
top:
1.76rem
;
}
}
.platform-ios.platform-cordova .modal-wrapper .modal .has-header,
.platform-ios.platform-cordova .modal-wrapper .modal .has-header,
.platform-ios.platform-cordova .modal-wrapper .modal .bar-subheader {
.platform-ios.platform-cordova .modal-wrapper .modal .bar-subheader {
top:
88px
;
top:
1.76rem
;
}
}
.platform-ios.platform-cordova .modal-wrapper .modal .has-subheader {
.platform-ios.platform-cordova .modal-wrapper .modal .has-subheader {
top:
176px
;
top:
3.52rem
;
}
}
.platform-ios.platform-cordova .modal-wrapper .modal .has-header.has-tabs-top {
.platform-ios.platform-cordova .modal-wrapper .modal .has-header.has-tabs-top {
top:
186px
;
top:
3.72rem
;
}
}
.platform-ios.platform-cordova .modal-wrapper .modal .has-header.has-subheader.has-tabs-top {
.platform-ios.platform-cordova .modal-wrapper .modal .has-header.has-subheader.has-tabs-top {
top:
274px
;
top:
5.48rem
;
}
}
.modal-backdrop-bg {
.modal-backdrop-bg {
...
@@ -5340,10 +5340,10 @@ input:checked + .checkbox-icon:before {
...
@@ -5340,10 +5340,10 @@ input:checked + .checkbox-icon:before {
transition-property: background-color, border;
transition-property: background-color, border;
display: inline-block;
display: inline-block;
box-sizing: border-box;
box-sizing: border-box;
width:
51px
;
width:
1.02rem
;
height:
31px
;
height:
0.62rem
;
border: solid 1px #e6e6e6; /*no*/
border: solid 1px #e6e6e6; /*no*/
border-radius:
20px
;
border-radius:
0.4rem
;
background-color: #fff;
background-color: #fff;
content: ' ';
content: ' ';
cursor: pointer;
cursor: pointer;
...
@@ -5365,20 +5365,20 @@ input:checked + .checkbox-icon:before {
...
@@ -5365,20 +5365,20 @@ input:checked + .checkbox-icon:before {
transition-property: background-color, transform;
transition-property: background-color, transform;
position: absolute;
position: absolute;
display: block;
display: block;
width:
27px
;
width:
0.54rem
;
height:
27px
;
height:
0.54rem
;
border-radius:
27px
;
border-radius:
0.54rem
;
background-color: #fff;
background-color: #fff;
top:
7px
;
top:
0.14rem
;
left:
7px
;
left:
0.14rem
;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 1px 1px rgba(0, 0, 0, 0.15);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 1px 1px rgba(0, 0, 0, 0.15);
}
}
.toggle .handle:before {
.toggle .handle:before {
position: absolute;
position: absolute;
top: -
4px
;
top: -
0.02rem
;
left: -
22px
;
left: -
0.44rem
;
padding:
18px 34px
;
padding:
0.36rem 0.68rem
;
content: " ";
content: " ";
}
}
...
@@ -5394,7 +5394,7 @@ input:checked + .checkbox-icon:before {
...
@@ -5394,7 +5394,7 @@ input:checked + .checkbox-icon:before {
.item-toggle,
.item-toggle,
.item-toggle.item-complex .item-content {
.item-toggle.item-complex .item-content {
padding-right:
99px
;
padding-right:
1.98rem
;
}
}
.item-toggle.item-complex {
.item-toggle.item-complex {
...
@@ -5403,8 +5403,8 @@ input:checked + .checkbox-icon:before {
...
@@ -5403,8 +5403,8 @@ input:checked + .checkbox-icon:before {
.item-toggle .toggle {
.item-toggle .toggle {
position: absolute;
position: absolute;
top:
10px
;
top:
0.2rem
;
right:
16px
;
right:
0.32rem
;
z-index: 3;
z-index: 3;
}
}
...
@@ -5414,8 +5414,8 @@ input:checked + .checkbox-icon:before {
...
@@ -5414,8 +5414,8 @@ input:checked + .checkbox-icon:before {
.toggle-small .track {
.toggle-small .track {
border: 0;
border: 0;
width:
34px
;
width:
0.68rem
;
height:
15px
;
height:
0.3rem
;
background: #9e9e9e;
background: #9e9e9e;
}
}
...
@@ -5424,10 +5424,10 @@ input:checked + .checkbox-icon:before {
...
@@ -5424,10 +5424,10 @@ input:checked + .checkbox-icon:before {
}
}
.toggle-small .handle {
.toggle-small .handle {
top:
2px
;
top:
0.1rem
;
left:
4px
;
left:
0.2rem
;
width:
21px
;
width:
0.42rem
;
height:
21px
;
height:
0.42rem
;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); /*no*/
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); /*no*/
}
}
...
@@ -5438,7 +5438,7 @@ input:checked + .checkbox-icon:before {
...
@@ -5438,7 +5438,7 @@ input:checked + .checkbox-icon:before {
}
}
.toggle-small.item-toggle .toggle {
.toggle-small.item-toggle .toggle {
top:
19px
;
top:
0.38rem
;
}
}
.toggle-small .toggle-light input:checked + .track {
.toggle-small .toggle-light input:checked + .track {
...
@@ -5527,7 +5527,7 @@ input:checked + .checkbox-icon:before {
...
@@ -5527,7 +5527,7 @@ input:checked + .checkbox-icon:before {
.item-radio .item-content {
.item-radio .item-content {
/* give some room to the right for the checkmark icon */
/* give some room to the right for the checkmark icon */
padding-right:
128px
;
padding-right:
2.56rem
;
}
}
.item-radio .radio-icon {
.item-radio .radio-icon {
...
@@ -5537,9 +5537,9 @@ input:checked + .checkbox-icon:before {
...
@@ -5537,9 +5537,9 @@ input:checked + .checkbox-icon:before {
right: 0;
right: 0;
z-index: 3;
z-index: 3;
visibility: hidden;
visibility: hidden;
padding:
14px
;
padding:
0.28rem
;
height: 100%;
height: 100%;
font-size:
24px
;
font-size:
0.48rem
;
}
}
.item-radio input {
.item-radio input {
...
...
packages/common/styles/platform-ios.less
View file @
47a7d413
.platform-ios {
.platform-ios {
.bar .title + .buttons {
.bar .title + .buttons {
top: auto;
top: auto;
bottom:
12px
;
bottom:
0.24rem
;
}
}
.has-header {
.has-header {
top:
64px
;
top:
1.28rem
;
}
}
.header-top {
.header-top {
margin-top:
63px
;
margin-top:
1.26rem
;
}
}
.img {
.img {
margin-top:
10px
;
margin-top:
0.2rem
;
}
}
.bar {
.bar {
background-image: none;
background-image: none;
padding:
5px 0 5px
0;
padding:
0.1rem 0 0.1rem
0;
height:
64px
!important;
height:
1.28rem
!important;
display: flex;
display: flex;
display: -webkit-flex;
display: -webkit-flex;
align-items: center;
align-items: center;
-webkit-align-items: center;
-webkit-align-items: center;
.title {
.title {
height:
48px
;
height:
0.96rem
;
min-width:
30px
;
min-width:
0.6rem
;
line-height:
48px
;
line-height:
0.96rem
;
font-size:
17px
;
font-size:
0.34rem
;
display: flex;
display: flex;
display: -webkit-flex;
display: -webkit-flex;
justify-content: center;
justify-content: center;
-webkit-justify-content: center;
-webkit-justify-content: center;
align-items: center;
align-items: center;
-webkit-align-items: center;
-webkit-align-items: center;
margin-top:
4px
;
margin-top:
0.08rem
;
}
}
}
}
.content {
.content {
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
color: #D24E4E;
color: #D24E4E;
position: absolute;
position: absolute;
top: 0;
top: 0;
right: -
8px
;
right: -
0.16rem
;
height:
8px
;
height:
0.16rem
;
padding-top: 2px;
padding-top: 2px;
}
}
}
}
...
...
packages/common/styles/platform-iosx.less
View file @
47a7d413
...
@@ -2,18 +2,18 @@
...
@@ -2,18 +2,18 @@
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios{
.platform-ios{
.has-header {
.has-header {
top:
84px
;
top:
1.68rem
;
}
}
.has-tabs {
.has-tabs {
bottom:
84px
;
bottom:
1.68rem
;
}
}
.has-footer{
.has-footer{
margin-bottom:
34px
;
margin-bottom:
0.68rem
;
}
}
.public-style {
.public-style {
.bottom-tab{
.bottom-tab{
height:
78px;
height:
1.56rem;
padding-bottom:
34px
;
padding-bottom:
0.68rem
;
}
}
}
}
}
}
...
@@ -21,22 +21,22 @@
...
@@ -21,22 +21,22 @@
// iPhoneX适配
// iPhoneX适配
@media (device-width: 414
) and (device-height: 896
){
@media (device-width: 414
px) and (device-height: 896px
){
.platform-ios{
.platform-ios{
.has-header {
.has-header {
top:
84px
;
top:
1.68rem
;
}
}
.has-tabs {
.has-tabs {
bottom:
84px
;
bottom:
1.68rem
;
}
}
.has-footer{
.has-footer{
margin-bottom:
34px
;
margin-bottom:
0.68rem
;
}
}
.public-style {
.public-style {
.bottom-tab{
.bottom-tab{
height:
78px
;
height:
1.56rem
;
padding-bottom:
34px
;
padding-bottom:
0.68rem
;
}
}
}
}
}
}
}
}
\ No newline at end of file
packages/common/styles/publicStyle.less
View file @
47a7d413
...
@@ -3,27 +3,27 @@
...
@@ -3,27 +3,27 @@
position: absolute !important;
position: absolute !important;
top: 0;
top: 0;
width: 100%;
width: 100%;
height:
46px
;
height:
0.92rem
;
font-size:
14px
!important;
font-size:
0.28rem
!important;
background: white;
background: white;
.vux-header-left {
.vux-header-left {
font-size:
14px
!important;
font-size:
0.28rem
!important;
top:
12px
!important;
top:
0.24rem
!important;
line-height:
21px
!important;
line-height:
0.42rem
!important;
.vux-header-back {
.vux-header-back {
}
}
.left-arrow {
.left-arrow {
&before {
&before {
width:
12px
!important;
width:
0.24rem
!important;
height:
12px
!important;
height:
0.24rem
!important;
}
}
}
}
}
}
.vux-header-title {
.vux-header-title {
height:
40px
!important;
height:
0.8rem
!important;
line-height:
40px
!important;
line-height:
0.8rem
!important;
font-size:
18px
!important;
font-size:
0.36rem
!important;
}
}
.vux-header-right {
.vux-header-right {
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
}
}
.weui-loading_toast .weui-toast__content {
.weui-loading_toast .weui-toast__content {
margin-top:
7px
!important;
margin-top:
0.14rem
!important;
}
}
.weui-toast {
.weui-toast {
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
max-width: 14em;
max-width: 14em;
min-height: 3em !important;
min-height: 3em !important;
top: 38% !important;
top: 38% !important;
border-radius:
7px
!important;
border-radius:
0.14rem
!important;
}
}
.weui-toast.vux-toast-top {
.weui-toast.vux-toast-top {
...
@@ -58,27 +58,27 @@
...
@@ -58,27 +58,27 @@
}
}
.weui-icon_toast {
.weui-icon_toast {
margin:
15px
0 0 !important;
margin:
0.3rem
0 0 !important;
}
}
.weui-icon_toast.weui-loading {
.weui-icon_toast.weui-loading {
width:
32px
!important;
width:
0.64rem
!important;
height:
32px
!important;
height:
0.64rem
!important;
}
}
.weui-toast__content {
.weui-toast__content {
//margin: 0 0 30px !important;
//margin: 0 0 30px !important;
font-size:
16px
!important;
font-size:
0.32rem
!important;
}
}
.weui-toast_text .weui-toast__content {
.weui-toast_text .weui-toast__content {
border-radius:
10px
!important;
border-radius:
0.2rem
!important;
padding:
6px 7px
;
padding:
0.12rem 0.14rem
;
}
}
.weui-toast.vux-toast-bottom {
.weui-toast.vux-toast-bottom {
top: auto !important;
top: auto !important;
bottom:
50px
!important;
bottom:
1rem
!important;
}
}
.weui-toast_success {
.weui-toast_success {
...
@@ -88,8 +88,8 @@
...
@@ -88,8 +88,8 @@
width: auto !important;
width: auto !important;
.weui-toast__content {
.weui-toast__content {
margin:
10px 5px
!important;
margin:
0.2rem 0.1rem
!important;
line-height:
21px
!important;
line-height:
0.42rem
!important;
}
}
}
}
...
@@ -105,22 +105,22 @@
...
@@ -105,22 +105,22 @@
}
}
.weui-toast.weui-toast_forbidden .weui-toast__content {
.weui-toast.weui-toast_forbidden .weui-toast__content {
margin:
10px 5px
!important;
margin:
0.2rem 0.1rem
!important;
line-height:
21px
!important;
line-height:
0.42rem
!important;
}
}
.weui-icon_toast.weui-loading {
.weui-icon_toast.weui-loading {
margin:
12px
0 0 !important;
margin:
0.24rem
0 0 !important;
}
}
.weui-icon_toast.weui-icon-success-no-circle:before {
.weui-icon_toast.weui-icon-success-no-circle:before {
font-size:
34px
!important;
font-size:
0.68rem
!important;
}
}
.weui-dialog {
.weui-dialog {
width: 70% !important;
width: 70% !important;
max-width:
260px
!important;
max-width:
5.2rem
!important;
border-radius:
10px
!important;
border-radius:
0.2rem
!important;
}
}
.weui-dialog__hd {
.weui-dialog__hd {
...
@@ -128,16 +128,16 @@
...
@@ -128,16 +128,16 @@
}
}
.weui-tabbar__item {
.weui-tabbar__item {
padding:
6px
0 0 !important;
padding:
0.12rem
0 0 !important;
}
}
.weui-tabbar__icon {
.weui-tabbar__icon {
width:
22px
!important;
width:
0.44rem
!important;
height:
22px
!important;
height:
0.44rem
!important;
}
}
.weui-tabbar__label {
.weui-tabbar__label {
font-size:
12px
!important;
font-size:
0.24rem
!important;
}
}
...
@@ -148,52 +148,52 @@
...
@@ -148,52 +148,52 @@
.weui-dialog__title {
.weui-dialog__title {
font-weight: 600 !important;
font-weight: 600 !important;
font-size:
18px
!important;
font-size:
0.36rem
!important;
}
}
.weui-dialog__bd {
.weui-dialog__bd {
font-size:
15px
!important;
font-size:
0.3rem
!important;
min-height: 0.4rem;
min-height: 0.4rem;
}
}
.weui-dialog__ft {
.weui-dialog__ft {
line-height:
48px
!important;
line-height:
0.96rem
!important;
font-size:
18px
!important;
font-size:
0.36rem
!important;
}
}
.dp-header {
.dp-header {
.vux-datetime-cancel {
.vux-datetime-cancel {
padding-left:
15px
!important;
padding-left:
0.3rem
!important;
}
}
.vux-datetime-confirm {
.vux-datetime-confirm {
padding-right:
15px
!important;
padding-right:
0.3rem
!important;
}
}
}
}
.dp-header .dp-item {
.dp-header .dp-item {
font-size:
16px
!important;
font-size:
0.32rem
!important;
height:
44px
!important;
height:
0.88rem
!important;
line-height:
44px
!important;
line-height:
0.88rem
!important;
}
}
.dp-content {
.dp-content {
padding:
10px
0 !important;
padding:
0.2rem
0 !important;
}
}
.scroller-component {
.scroller-component {
height:
238px
!important;
height:
4.76rem
!important;
background-color: #fff;
background-color: #fff;
z-index: 2;
z-index: 2;
}
}
.scroller-mask {
.scroller-mask {
background-size: 100%
102px
!important;
background-size: 100%
2.04rem
!important;
}
}
.scroller-indicator {
.scroller-indicator {
top:
102px
!important;
top:
2.04rem
!important;
height:
34px
!important;
height:
0.68rem
!important;
line-height:
34px
!important;
line-height:
0.68rem
!important;
//border-bottom: 1px solid #cccccc !important;
//border-bottom: 1px solid #cccccc !important;
//border-top: 1px solid #cccccc !important;
//border-top: 1px solid #cccccc !important;
background-image: none !important;
background-image: none !important;
...
@@ -207,9 +207,9 @@
...
@@ -207,9 +207,9 @@
}
}
.scroller-item {
.scroller-item {
font-size:
16px
!important;
font-size:
0.32rem
!important;
height:
34px
!important;
height:
0.68rem
!important;
line-height:
34px
!important;
line-height:
0.68rem
!important;
}
}
.weui-cells {
.weui-cells {
...
@@ -231,7 +231,7 @@
...
@@ -231,7 +231,7 @@
}
}
.weui-textarea {
.weui-textarea {
font-size:
16px
!important;
font-size:
0.32rem
!important;
}
}
.lg-preview-img {
.lg-preview-img {
...
...
packages/components/BottomTab/index.vue
View file @
47a7d413
...
@@ -41,22 +41,18 @@ export default {
...
@@ -41,22 +41,18 @@ export default {
// iPhoneX适配
// iPhoneX适配
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios {
.platform-ios {
//.h-ios {
.h-bottom-tab {
.h-bottom-tab {
height: 78px;
height: 78px;
padding-bottom: 34px;
padding-bottom: 34px;
}
}
//}
}
}
}
}
@media (device-width: 414px) and (device-height: 896px){
@media (device-width: 414px) and (device-height: 896px){
.platform-ios {
.platform-ios {
//.h-ios {
.h-bottom-tab {
.h-bottom-tab {
height: 78px;
height: 78px;
padding-bottom: 34px;
padding-bottom: 34px;
}
}
//}
}
}
}
}
...
...
packages/components/NumberKeyboard/index.vue
View file @
47a7d413
...
@@ -98,6 +98,28 @@
...
@@ -98,6 +98,28 @@
border-bottom: 1px solid #e5e5e5; /*no*/
border-bottom: 1px solid #e5e5e5; /*no*/
border-right: 1px solid #e5e5e5; /*no*/
border-right: 1px solid #e5e5e5; /*no*/
&:nth-child(3){
border-right: none;
}
&:nth-child(6){
border-right: none;
}
&:nth-child(9){
border-right: none;
}
&:nth-child(10){
border-right: none;
border-bottom: none;
}
&:nth-child(11){
border-right: none;
border-bottom: none;
}
&:nth-child(12){
border-right: none;
border-bottom: none;
}
}
}
.delete {
.delete {
...
...
src/App.vue
View file @
47a7d413
...
@@ -66,7 +66,6 @@ export default {
...
@@ -66,7 +66,6 @@ export default {
</
script
>
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
>
html, body, #app {
html, body, #app {
height: 100%;
height: 100%;
width: 100%;
width: 100%;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment