Commit f2598020 by zhangxw

部分样式调整

1 parent 0606f97f
......@@ -15,6 +15,7 @@ page {
.main{
/* padding-bottom: var(--fontSize100); */
height: calc(100% - var(--fontSize104));
background: #F7F8FA;
}
.bg {
......@@ -352,6 +353,7 @@ page {
flex-flow: column;
justify-content: center;
align-items: center;
padding-bottom: var(--fontSize30);
}
.logout {
......
......@@ -46,6 +46,7 @@
}
.popup-slot-other {
height: calc(100% - var(--fontSize200) - var(--fontSize71));
overflow: scroll;
}
.popup-slot.isFullSucreen{
height: calc(100% - var(--fontSize268));
......
<!--packageCrowdFunding/components/OrderNoPopup/OrderNoPopup.wxml-->
<wxs src="index.wxs" module="filter" />
<popup show="{{show}}" bindconfirm="confirm" bindcancel="cancel" height="60%">
<popup show="{{show}}" bindconfirm="confirm" bindcancel="cancel" height="80%">
<view class="sub-title">
<view>{{title}}</view>
<!-- <view class="all_btn" bindtap="getList" data-target="true">全部</view> -->
......
......@@ -49,7 +49,7 @@
tipsProps="{{tipsProps}}"
bind:closeTips="closeTips" />
</view>
<view wx:if="{{flag}}" class="order-box" style="height: {{tabIndex != 3 && list.length && isShowTips ? 'calc(100% - var(--fontSize104) - var(--fontSize104) - var(--fontSize38))' : 'calc(100% - var(--fontSize104) - var(--fontSize74))'}}">
<view wx:if="{{flag}}" class="order-box" style="height: {{tabIndex != 3 && list.length && isShowTips ? 'calc(100% - var(--fontSize104) - var(--fontSize104) - var(--fontSize58))' : 'calc(100% - var(--fontSize104) - var(--fontSize94))'}}">
<scroll-view
scroll-y
enable-back-to-top
......
......@@ -108,7 +108,7 @@
.search-box {
width: 100%;
padding: var(--fontSize12) var(--fontSize32) 0;
padding: var(--fontSize32) var(--fontSize32) 0;
display: flex;
background-color: #fff;
position: sticky;
......
......@@ -2,7 +2,7 @@
class="date-background"
show="{{show}}"
bindconfirm="confirm"
height="90%">
height="80%">
<view class='date-container'>
<view class='date-confirm'>
<view class="search-box">
......
......@@ -33,6 +33,10 @@
color: #C8C9CC;
}
.date-container{
height: 100%;
}
.date-confirm {
display: flex;
justify-content: center;
......
......@@ -145,6 +145,7 @@
.search-box .search-input .input {
font-size: var(--fontSize28);
width: calc(100% - var(--fontSize136));
height: 100%;
}
.input-placeholder {
......@@ -684,7 +685,7 @@
.fixed-btns {
position: fixed;
right: var(--fontSize20);
bottom: var(--fontSize250);
bottom: var(--fontSize150);
/* width: var(--fontSize104); */
/* height: var(--fontSize296); */
display: flex;
......@@ -722,7 +723,7 @@
.arrowIcon {
position: fixed;
right: 0;
bottom: var(--fontSize250);
bottom: var(--fontSize150);
width: var(--fontSize36);
height: var(--fontSize136);
background: #FFFFFF;
......
/* packageCrowdFunding/pages/homePage/index/index.wxss */
.layout_box {
width: 100%;
height: 100vh;
height: 100%;
background: #FAFBFF;
padding-top: var(--fontSize6);
overflow: scroll;
......@@ -59,15 +59,7 @@
background: #FFFFFF;
box-shadow: 0 var(--fontSize4) var(--fontSize20) 0 #0000001a;
border-radius: var(--fontSize32) var(--fontSize32) 0 0;
height: calc(100% - var(--fontSize490) - var(--constantSafeAreaInsetBottom));
height: calc(100% - var(--fontSize490) - var(--envSafeAreaInsetBottom));
padding: var(--fontSize30) var(--fontSize36) var(--fontSize80);
overflow-y: scroll;
}
.constent_no_tips_box {
height: calc(100% - var(--fontSize332) - var(--constantSafeAreaInsetBottom));
height: calc(100% - var(--fontSize332) - var(--envSafeAreaInsetBottom));
}
.headerCon {
......
......@@ -89,7 +89,7 @@
<calendar allowSameDay shortcut bindselect='rangeSelect' id="calendar" data-index="{{index}}" data-name="dateTimeList" dateType='range' calenderColor='#347BFF'
vertical minDate="2020-10-01" isComponents>
</calendar>
<view style="display: flex;align-items: center;">
<view style="display: flex;align-items: center;width: 100%;">
<view bindtap="showCalendar" data-type="show" class="item custom-time text-center {{!item.startDate ? 'grey' : ''}} {{item.active?'active':''}}">{{item.startDate || '开始时间'}}</view>-
<view bindtap="showCalendar" data-type="show" class="item custom-time text-center {{!item.endDate ? 'grey' : ''}} {{item.active?'active':''}}">{{item.endDate || '结束时间'}}</view>
</view>
......
......@@ -66,7 +66,8 @@
}
.box .list-box .item {
width: var(--fontSize214);
/* width: var(--fontSize214); */
width: calc(234 / 750 * 100%);
min-height: var(--fontSize68);
border-radius: var(--fontSize4);
box-sizing: border-box;
......@@ -79,7 +80,7 @@
background-color: #F7F8FA;
color: #292D33;
transition: all .2s;
margin: 0 var(--fontSize20) var(--fontSize20) 0;
margin: 0 calc(20 / 750 * 100%) calc(20 / 750 *100%) 0;
}
.box .list-box .item .text-item{
......@@ -102,7 +103,8 @@
}
.box .list-box .item.custom-time{
width: var(--fontSize316);
/* width: var(--fontSize316); */
width: calc(316 / 750 * 100%);
margin-bottom: 0;
}
......
......@@ -28,7 +28,7 @@ page {
.search-box .search-input {
background: #F7F8FA;
border-radius: var(--fontSize38);
width: calc(574 / 750 * 100%);
width: calc(100% - var(--fontSize192));
height: var(--fontSize72);
display: flex;
align-items: center;
......@@ -57,7 +57,7 @@ page {
}
.search-box .search {
width: calc(144 / 750 * 100%);
width: var(--fontSize144);
height: 100%;
color: #666;
box-sizing: border-box;
......
......@@ -345,6 +345,12 @@ Page({
},
// jump: e => wx.$router.jump(e),
onPageScroll({scrollTop}){
this.setData({
navStyle: scrollTop > 90 ? 'background-color: #FFFFFF;box-shadow:none;' : 'background-color: rgba(0,0,0,0);box-shadow:none;'
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
......
......@@ -198,5 +198,5 @@
</view>
</block>
<!-- isYqdSuper -->
<switch-popup show="{{showMerchantPop}}" height="{{merchantPopConfig.height}}" title="{{merchantPopConfig.title}}" isYqdSuper="{{isYqdSuper}}" tips="{{merchantPopConfig.tips}}" />
<switch-popup show="{{showMerchantPop}}" height="{{'80%'}}" title="{{merchantPopConfig.title}}" isYqdSuper="{{isYqdSuper}}" tips="{{merchantPopConfig.tips}}" />
</block>
\ No newline at end of file
......@@ -316,6 +316,8 @@ page {
overflow: hidden;
left: 0;
width: 100%;
height: 80%;
overflow: scroll;
padding: 0 var(--fontSize32);
box-sizing: border-box;
color: #323233;
......
......@@ -89,7 +89,7 @@
<calendar allowSameDay shortcut bindselect='rangeSelect' id="orderCalendar" data-index="{{index}}" data-name="orderTimeList" dateType='range' calenderColor='#347BFF'
vertical minDate="2020-10-01" maxDate="{{maxDate}}" isComponents>
</calendar>
<view style="display: flex;align-items: center;">
<view style="display: flex;align-items: center;width: 100%;">
<view bindtap="showCalendar" data-type="show" data-target="showOrder" class="item custom-time text-center {{!item.orderStartDate ? 'grey' : ''}} {{item.active?'active':''}}">{{item.orderStartDate || '开始时间'}}</view>-
<view bindtap="showCalendar" data-type="show" data-target="showOrder" class="item custom-time text-center {{!item.orderEndDate ? 'grey' : ''}} {{item.active?'active':''}}">{{item.orderEndDate || '结束时间'}}</view>
</view>
......@@ -111,7 +111,7 @@
<calendar allowSameDay shortcut bindselect='rangeSelect' data-index="{{index}}" id="payCalendar" data-name="payTimeList" dateType='range' calenderColor='#347BFF'
vertical minDate="2020-10-01" maxDate="{{maxDate}}" isComponents>
</calendar>
<view style="display: flex;align-items: center;">
<view style="display: flex;align-items: center;width: 100%;">
<view bindtap="showCalendar" data-type="show" data-target="showPay" class="item custom-time text-center {{!item.payStartDate ? 'grey' : ''}} {{item.active?'active':''}}">{{item.payStartDate || '开始时间'}}</view>-
<view bindtap="showCalendar" data-type="show" data-target="showPay" class="item custom-time text-center {{!item.payEndDate ? 'grey' : ''}} {{item.active?'active':''}}">{{item.payEndDate || '结束时间'}}</view>
</view>
......
......@@ -66,20 +66,20 @@
}
.box .list-box .item {
width: var(--fontSize214);
/* width: var(--fontSize214); */
width: calc(234 / 750 * 100%);
min-height: var(--fontSize68);
border-radius: var(--fontSize4);
box-sizing: border-box;
border: var(--fontSize2) solid transparent;
padding: var(--fontSize16) var(--fontSize33);
margin-bottom: var(--fontSize20);
flex-wrap: wrap;
font-size: var(--fontSize24);
text-align: center;
background-color: #F7F8FA;
color: #292D33;
transition: all .2s;
margin: 0 var(--fontSize20) var(--fontSize20) 0;
margin: 0 calc(20 / 750 * 100%) calc(20 / 750 * 100%) 0;
}
.box .list-box .item .text-item{
......@@ -102,7 +102,8 @@
}
.box .list-box .item.custom-time{
width: var(--fontSize316);
/* width: var(--fontSize316); */
width: calc(316 / 750 * 100%);
margin-bottom: 0;
}
......
......@@ -40,7 +40,7 @@
</view>
</swiper-item>
</swiper> -->
<view wx:if="{{isShow}}" class="flex-around flex-wrap calendar-main" style="height:{{swiperHeight}}rpx">
<view wx:if="{{isShow}}" class="flex-around flex-wrap calendar-main" style="height: var(--fontSize{{swiperHeight}})">
<view wx:for="{{dateList1}}" wx:key="dateList" class="day">
<view class="bg {{item.full == today?'now':''}}" catchtap="dayOnSelect" data-full="{{item.full}}" data-day="{{item.day}}" data-year="{{item.year}}" data-month="{{item.month}}">
<view class="{{(item.year == selectDay.year && item.month == selectDay.month) ? (item.day === selectDay.day && oldCurrent === listIndex ?'select':''): 'other-month'}} {{item.full == currentSelect ? 'select' : ''}}">{{item.day}}</view>
......
......@@ -160,7 +160,8 @@
.calendar .calendar-main .day {
position: relative;
width: var(--fontSize100);
/* width: var(--fontSize100); */
width: calc(100 / 750 * 100%);
color: #666;
text-align: center;
height: var(--fontSize98);
......
......@@ -5,7 +5,7 @@
hidden="{{hidden}}"
scroll-y
enable-back-to-top
refresher-enabled="{{true}}"
refresher-enabled="{{false}}"
bindrefresherrefresh="refreshList"
refresher-threshold="104"
style="height:100%;"
......
......@@ -47,7 +47,7 @@
.wx-popup-con {
/* margin: var(--fontSize60) var(--fontSize10); */
padding: 0 var(--fontSize32);
height: var(--fontSize840);
height: var(--fontSize600);
text-align: center;
font-weight: 400;
}
......
......@@ -366,6 +366,7 @@ page {
box-sizing: border-box;
display: flex;
padding: var(--fontSize10) 0;
width: calc(100% - var(--fontSize80));
}
.btn-box .contentText {
......@@ -387,13 +388,15 @@ page {
}
.btns .save {
width: var(--fontSize186);
/* width: var(--fontSize186); */
width: 28%;
color: #347BFF;
margin-right: var(--fontSize20);
}
.btns .confirm {
width: var(--fontSize480);
/* width: var(--fontSize480); */
width: 72%;
color: #fff;
background-color: #347BFF;
}
......
......@@ -149,6 +149,7 @@ page {
.input {
text-align: right;
font-size: var(--fontSize28);
height: 100%;
}
.placeholder-class {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!