Commit f2598020 by zhangxw

部分样式调整

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