Commit 99a3d67f by zhangxw

ui适配修改

1 parent 42d18188
<!--packageEquity/components/storePicker/storePicker.wxml--> <!--packageEquity/components/storePicker/storePicker.wxml-->
<popup class="date-background" show="{{show}}" bindconfirm="confirm" height="var(--fontSize800)"> <popup class="date-background" show="{{show}}" bindconfirm="confirm" title="选择活动" height="80%">
<view class='date-container'> <view class='date-container'>
<view class='date-confirm'> <view class='date-confirm'>
<view class="search-box"> <view class="search-box">
......
...@@ -42,7 +42,8 @@ ...@@ -42,7 +42,8 @@
line-height: var(--fontSize70); line-height: var(--fontSize70);
} }
.picker-box{ .picker-box{
height: var(--fontSize450); /* height: var(--fontSize450); */
height: calc(100% - var(--fontSize100));
display: flex; display: flex;
} }
.picker-box .picker{ .picker-box .picker{
......
...@@ -109,5 +109,5 @@ ...@@ -109,5 +109,5 @@
height: var(--fontSize112); height: var(--fontSize112);
position: fixed; position: fixed;
right: var(--fontSize32); right: var(--fontSize32);
bottom: var(--fontSize200); bottom: var(--fontSize100);
} }
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
.search-box { .search-box {
width: calc(100% - var(--fontSize64)); width: calc(100% - var(--fontSize64));
margin: var(--fontSize34) var(--fontSize32) 0; margin: var(--fontSize16) var(--fontSize32) 0;
display: flex; display: flex;
background-color: #fff; background-color: #fff;
position: sticky; position: sticky;
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
.search-box .search-input { .search-box .search-input {
width: 100%; width: 100%;
height: var(--fontSize72); height: var(--fontSize64);
display: flex; display: flex;
align-items: center; align-items: center;
} }
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
.total-box { .total-box {
display: flex; display: flex;
padding: var(--fontSize24) var(--fontSize30); padding: var(--fontSize16) var(--fontSize30);
font-weight: 400; font-weight: 400;
font-size: var(--fontSize28); font-size: var(--fontSize28);
color: #222222; color: #222222;
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
.order-box { .order-box {
background-color: #fdfdfd; background-color: #fdfdfd;
height: calc(100% - var(--fontSize104) - var(--fontSize104) - var(--fontSize52) - var(--fontSize30)); height: calc(100% - var(--fontSize212));
} }
.list { .list {
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
padding: 0 var(--fontSize20); padding: 0 var(--fontSize20);
padding-bottom: 0; padding-bottom: 0;
/* height: calc(100% - var(--fontSize20)); */ /* height: calc(100% - var(--fontSize20)); */
height: calc(100% - var(--fontSize60)); height: calc(100%);
/* height: 100%; */ /* height: 100%; */
} }
......
...@@ -54,9 +54,8 @@ ...@@ -54,9 +54,8 @@
.side-bar { .side-bar {
z-index: 999; z-index: 999;
position: absolute; position: absolute;
top: 0; top: 50%;
/* transform: translateY(-50%); */ transform: translateY(-50%);
font-size: var(--fontSize18);
color: #4c4c4c; color: #4c4c4c;
width: 10%; width: 10%;
opacity: 0; opacity: 0;
...@@ -112,4 +111,10 @@ ...@@ -112,4 +111,10 @@
to { to {
right: 0; right: 0;
} }
}
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
.side-bar{
font-size: var(--fontSize18);
}
} }
\ No newline at end of file \ No newline at end of file
...@@ -220,7 +220,8 @@ page { ...@@ -220,7 +220,8 @@ page {
} }
.btns .confirm { .btns .confirm {
width: var(--fontSize686); // width: var(--fontSize686);
width: calc(100% - var(--fontSize64));
height: var(--fontSize80); height: var(--fontSize80);
color: #fff; color: #fff;
background-color: #347BFF; background-color: #347BFF;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!