Commit d554f0a8 by 张立顺

Merge branch 'SAAS-V4.37.1_0319' into SAAS-V4.37.0

2 parents 4bba321a e0af45a2
Showing 111 changed files with 963 additions and 580 deletions
...@@ -18,6 +18,12 @@ page { ...@@ -18,6 +18,12 @@ page {
--fontSize#{$i}: calc(#{$i}vmin / 7.5); --fontSize#{$i}: calc(#{$i}vmin / 7.5);
} }
@media screen and (min-device-width: 768px) and (-webkit-min-device-pixel-ratio: 1) {
@for $i from 1 through 1000 {
--fontSize#{$i}: calc(#{$i}vmin / 8.5);
}
}
image { image {
width: 100%; width: 100%;
height: 100%; height: 100%;
......
...@@ -82,6 +82,12 @@ ...@@ -82,6 +82,12 @@
animation: show-side-bar 0.5s forwards; animation: show-side-bar 0.5s forwards;
} }
@media screen and (min-device-width: 600px) and (-webkit-min-device-pixel-ratio: 1) {
.side-bar {
font-size: var(--fontSize12);
}
}
@keyframes show-side-bar { @keyframes show-side-bar {
0% { 0% {
opacity: 0; opacity: 0;
......
...@@ -39,4 +39,15 @@ ...@@ -39,4 +39,15 @@
100%{ 100%{
bottom: 0; bottom: 0;
} }
}
@media screen and (min-device-width: 600px) and (-webkit-min-device-pixel-ratio: 1) {
.tab-bar{
height: var(--fontSize70);
font-size: var(--fontSize16);
}
.tab-bar .item .icon-box{
width: var(--fontSize32);
height: var(--fontSize32);
margin-bottom: var(--fontSize4);
}
} }
\ No newline at end of file \ No newline at end of file
<popup show="{{show}}" bindconfirm="confirm"> <popup show="{{show}}" bindconfirm="confirm" title="{{title == '选择合作门店' ? '销售顾问' : title == '选择园区店' ? '转化人员' : ''}}">
<scroll-view class="seles-box" scroll-y enhanced="{{true}}" show-scrollbar="{{false}}"> <scroll-view class="seles-box" scroll-y enhanced="{{true}}" show-scrollbar="{{false}}">
<view class="box"> <view class="box">
<view class="sub-title text-center">{{title}}</view> <view class="sub-title">{{title}}</view>
<view class="merchant-box" style="max-height:{{moreMerchant?merchantList.length * 100 :''}}rpx"> <view class="merchant-box" style="max-height:{{moreMerchant?merchantList.length * 100 :''}}rpx">
<block wx:for="{{merchantList}}" wx:key="index"> <block wx:for="{{merchantList}}" wx:key="index">
<view class="merchantList {{item.active?'active':''}}" bindtap="changeMerchant" data-item="{{item}}" <view class="merchantList {{item.active?'active':''}}" bindtap="changeMerchant" data-item="{{item}}"
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<image src="../images/open.png" class="icon {{moreMerchant ? 'hide':''}}"></image> <image src="../images/open.png" class="icon {{moreMerchant ? 'hide':''}}"></image>
</view> </view>
</block> </block>
<view class="sub-title text-center">{{subTitle}}</view> <view class="sub-title">{{subTitle}}</view>
<view class="seles-list"> <view class="seles-list">
<block wx:for="{{selesList}}" wx:key="index"> <block wx:for="{{selesList}}" wx:key="index">
<view class="seles text-center {{item.active?'active':''}}" bindtap="changeSelesMan" data-index="{{index}}" <view class="seles text-center {{item.active?'active':''}}" bindtap="changeSelesMan" data-index="{{index}}"
......
...@@ -66,11 +66,13 @@ ...@@ -66,11 +66,13 @@
.sub-title { .sub-title {
height: var(--fontSize100); height: var(--fontSize100);
display: flex;
align-items: center;
font-size: var(--fontSize32); font-size: var(--fontSize32);
color: #333333; color: #333333;
position: sticky; /* position: sticky;
left: 0; left: 0;
top: 0; top: 0; */
background-color: #fff; background-color: #fff;
z-index: 2; z-index: 2;
} }
......
<!--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="60%" title="请选择交易参考号">
<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>
</view> </view>
<scroll-view <scroll-view
......
.sub-title { .sub-title {
height: var(--fontSize100); height: var(--fontSize100);
width: 100%;
font-size: var(--fontSize32); font-size: var(--fontSize32);
color: #222222; color: #222222;
font-weight: 600; font-weight: 600;
position: sticky; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
background-color: #fff; background-color: transparent;
z-index: 2; z-index: 2;
border-bottom: var(--fontSize1) solid #EDEDED; /* border-bottom: var(--fontSize1) solid #EDEDED; */
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.sub-title .all_btn{
.sub-title .all_btn {
position: absolute; position: absolute;
right: var(--fontSize20); right: var(--fontSize50);
font-size: var(--fontSize24); font-size: var(--fontSize24);
color: #9B9B9E; color: #9B9B9E;
font-weight: 400; font-weight: 400;
} }
.text-hide { .text-hide {
white-space:nowrap; white-space: nowrap;
overflow:hidden; overflow: hidden;
text-overflow:ellipsis; text-overflow: ellipsis;
} }
.text-center{
.text-center {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.order_no_box{ .order_no_box {
height: calc(100% - var(--fontSize120)); height: calc(100%);
padding: var(--fontSize20) 0; padding: var(--fontSize20) 0;
} }
.order_no_item{ .order_no_item {
height: var(--fontSize160); height: var(--fontSize160);
box-sizing: border-box; box-sizing: border-box;
background: #F7F8FA; background: #F7F8FA;
...@@ -47,43 +51,45 @@ ...@@ -47,43 +51,45 @@
align-items: center; align-items: center;
margin-top: var(--fontSize20); margin-top: var(--fontSize20);
} }
.order_no_item:first-child{
.order_no_item:first-child {
margin-top: 0; margin-top: 0;
} }
.order_no_item:last-child{
margin-bottom: var(--fontSize20); .order_no_item:last-child {
margin-bottom: var(--fontSize40);
} }
.message{ .message {
display: flex; display: flex;
flex-flow: column; flex-flow: column;
justify-content: center; justify-content: center;
gap: var(--fontSize12); gap: var(--fontSize12);
} }
.checked{ .checked {
width: var(--fontSize32); width: var(--fontSize32);
height: var(--fontSize32); height: var(--fontSize32);
} }
.order_no_item.active{ .order_no_item.active {
background: #347BFF1a; background: #347BFF1a;
border: var(--fontSize2) solid #347BFF; border: var(--fontSize2) solid #347BFF;
border-radius: var(--fontSize16); border-radius: var(--fontSize16);
} }
.order_no_item .item{ .order_no_item .item {
display: flex; display: flex;
font-size: var(--fontSize24); font-size: var(--fontSize24);
color: #333333; color: #333333;
} }
.item .label{ .item .label {
color: #9B9B9E; color: #9B9B9E;
width: var(--fontSize150); width: var(--fontSize150);
margin-right: var(--fontSize40); margin-right: var(--fontSize40);
} }
.item .price_value{ .item .price_value {
font-weight: 600; font-weight: 600;
} }
\ No newline at end of file \ No newline at end of file
...@@ -286,6 +286,7 @@ ...@@ -286,6 +286,7 @@
background: #347BFF; background: #347BFF;
border-radius: var(--fontSize12); border-radius: var(--fontSize12);
margin-bottom: var(--fontSize28); margin-bottom: var(--fontSize28);
font-size: var(--fontSize28);
} }
.wx_title { .wx_title {
......
...@@ -42,15 +42,15 @@ ...@@ -42,15 +42,15 @@
} }
.popup-slot { .popup-slot {
height: calc(100% - var(--fontSize200)); height: calc(100% - var(--fontSize214));
} }
.popup-slot.isFullSucreen { .popup-slot.isFullSucreen {
height: calc(100% - var(--fontSize268)); height: calc(100% - var(--fontSize282));
} }
.popup-slot.isFullSucreen-notitle { .popup-slot.isFullSucreen-notitle {
height: calc(100% - var(--fontSize170)); height: calc(100% - var(--fontSize184));
} }
.popup-footer { .popup-footer {
......
...@@ -10,7 +10,8 @@ ...@@ -10,7 +10,8 @@
} }
.search-box .search-input { .search-box .search-input {
width: var(--fontSize686); /* width: var(--fontSize686); */
width: 100%;
height: var(--fontSize72); height: var(--fontSize72);
background: #F7F8FA; background: #F7F8FA;
border-radius: var(--fontSize38); border-radius: var(--fontSize38);
......
...@@ -403,4 +403,22 @@ ...@@ -403,4 +403,22 @@
font-size: var(--fontSize28); font-size: var(--fontSize28);
color: #BEC1C7; color: #BEC1C7;
margin-top: var(--fontSize24); margin-top: var(--fontSize24);
}
@media screen and (min-device-width: 600px) and (-webkit-min-device-pixel-ratio: 1) {
.wrapper .title_box .title{
font-size: var(--fontSize24);
}
.wrapper .element{
padding: var(--fontSize20);
}
.wrapper .element image{
width: var(--fontSize70);
height: var(--fontSize70);
}
.wrapper .element .text_box .label{
font-size: var(--fontSize26);
}
.wrapper .element .text_box .label_no{
font-size: var(--fontSize20);
}
} }
\ No newline at end of file \ No newline at end of file
/* components/TabBar/TabBar.wxss */ /* components/TabBar/TabBar.wxss */
.tab { .tab {
background-color: #fff; background-color: #fff;
height: var(--fontSize88); height: var(--fontSize72);
box-sizing: border-box; box-sizing: border-box;
display: grid; display: grid;
align-items: center; align-items: center;
......
...@@ -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 {
......
// components/navigationBar/navigationBar.js // components/navigationBar/navigationBar.js
import util from '../../utils/util' import util from '../../utils/util'
const app = getApp()
Component({ Component({
options: { options: {
styleIsolation: 'shared' styleIsolation: 'shared'
...@@ -16,7 +17,16 @@ Component({ ...@@ -16,7 +17,16 @@ Component({
/** /**
* 组件的初始数据 * 组件的初始数据
*/ */
data: {}, data: {
// navigationBarHeight: 70
// // 状态栏高度
// statusBarHeight: app.globalData.statusBarHeight,
// // 导航栏高度
// navigationBarHeight: app.globalData.navigationBarHeight,
// navigationBarStyle: 'font-size: var(--fontSize34)',
// // navigationBarTextWidth: `width:${app.globalData.navigationBarWidth / 2}rpx;padding:0 ${app.globalData.navigationBarPadding / 2}rpx; 0 ${app.globalData.navigationBarPadding / 2}rpx;`
// navigationBarTextWidth: `width:${app.globalData.navigationBarWidth / 2}rpx;padding:${app.globalData.navigationBarPadding / 2}rpx;`
},
/** /**
* 组件的方法列表 * 组件的方法列表
...@@ -33,12 +43,18 @@ Component({ ...@@ -33,12 +43,18 @@ Component({
* 获取自定义导航栏信息 * 获取自定义导航栏信息
*/ */
let _this = this let _this = this
// 获取屏幕宽度和高度
const { windowWidth, windowHeight } = wx.getSystemInfoSync();
// 判断屏幕方向
const isLandscape = windowWidth > windowHeight; // '横屏' : '竖屏'
wx.getSystemInfo({ wx.getSystemInfo({
success(res) { success(res) {
let { let {
fontSizeSetting, fontSizeSetting,
statusBarHeight, statusBarHeight,
screenWidth screenWidth,
pixelRatio
} = res } = res
const { const {
height, height,
...@@ -46,41 +62,54 @@ Component({ ...@@ -46,41 +62,54 @@ Component({
width, width,
top top
} = wx.getMenuButtonBoundingClientRect() } = wx.getMenuButtonBoundingClientRect()
// 判断是否是华为平板设备
let navigationBarHeight = height + (top - statusBarHeight) * 2 + 5 // && pixelRatio >= 2
let isPad = screenWidth >= 600
if (isLandscape) statusBarHeight = 0
console.log(isPad, screenWidth, 'screenWidth');
// let navigationBarHeight = height + (top - statusBarHeight) * 2 + 5
let navigationBarHeight = `var(--fontSize${(height + (top - statusBarHeight) * 2 + 5) * (isPad ? 1 : 2)})`
let navigationBarPadding = screenWidth - right let navigationBarPadding = screenWidth - right
let navigationBarWidth = screenWidth - (navigationBarPadding * 2 + width) - width let navigationBarWidth = screenWidth - (navigationBarPadding * 2 + width) - width
// if(deviceOrientation == 'landscape') statusBarHeight = 0 // if(deviceOrientation == 'landscape') statusBarHeight = 0
_this.setData({ _this.setData({
statusBarHeight, statusBarHeight: `var(--fontSize${statusBarHeight * (isPad ? 1 : 2)})`,
navigationBarHeight, navigationBarHeight,
// navigationBarStyle: `font-size:${fontSizeSetting}px;`, // navigationBarStyle: `font-size:${fontSizeSetting}px;`,
navigationBarStyle: 'font-size: var(--fontSize34)', navigationBarStyle: 'font-size: var(--fontSize34)',
navigationBarTextWidth: `width:${navigationBarWidth}px;padding:0 ${navigationBarPadding}px; 0 ${navigationBarPadding}px;` navigationBarTextWidth: `width:${navigationBarWidth}px;padding:0 ${navigationBarPadding}px; 0 ${navigationBarPadding}px;`
}) })
},
complete() {
// console.log('#navigation-bar');
// setTimeout(() => {
util.getViewInfo(
'#navigation-bar',
res => {
// console.log(res, '#navigation-bar');
_this.triggerEvent('navbarReady', res)
_this.setData({
showNavBar: true
})
},
_this
)
// }, 0)
} }
}) })
setTimeout(() => {
util.getViewInfo(
'#navigation-bar',
res => {
_this.triggerEvent('navbarReady', res)
_this.setData({
showNavBar: true
})
},
this
)
}, 100)
} }
}, },
pageLifetimes: { pageLifetimes: {
resize(res) { resize(res) {
if (res.deviceOrientation == 'landscape') this.setData({ console.log(res, 'res');
statusBarHeight: 0 // this.setData({
}) // statusBarHeight: 0
else this.init() // })
// else
this.init()
} }
}, },
ready() { ready() {
......
<view class='navigation-bar' id='navigation-bar' style='padding-top:{{statusBarHeight}}px;height:{{navigationBarHeight}}px;{{navStyle}}'> <view class='navigation-bar' id='navigation-bar' style='padding-top:{{statusBarHeight}};height:{{navigationBarHeight}};{{navStyle}}'>
<!-- hidden="{{!showNavBar}}" wx:if="{{showNavBar}}" --> <!-- hidden="{{!showNavBar}}" wx:if="{{showNavBar}}" -->
<view class="navigation-bar-box" style="{{navigationBarStyle}}"> <!-- <view class="navigation-bar-box" style="{{navigationBarStyle}}"> -->
<view class="navigation-bar-titleText" style="{{navigationBarTextWidth}}"> <view class="navigation-bar-box">
<slot/> <view class="navigation-bar-titleText" style="{{navigationBarTextWidth}}">
</view> <slot />
<block wx:if="{{showBack}}"> </view>
<view class="back-box" bindtap="back"> <block wx:if="{{showBack}}">
<view class="back"> <view class="back-box" bindtap="back">
<image src="../../images/back.png" /> <view class="back">
</view> <image src="../../images/back.png" />
</view> </view>
</view>
</block> </block>
<block wx:if="{{showMenu}}"> <block wx:if="{{showMenu}}">
<view class="menu-box" bindtap="showMenuPopup"> <view class="menu-box" bindtap="showMenuPopup">
<view class="menu-class"> <view class="menu-class">
<image src="https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/navgation-bar-menu.png" /> <image src="https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/navgation-bar-menu.png" />
</view> </view>
</view> </view>
</block> </block>
</view> </view>
</view> </view>
\ No newline at end of file \ No newline at end of file
/* components/navigationBar/navigationBar.wxss */ /* components/navigationBar/navigationBar.wxss */
.navigation-bar{ .navigation-bar {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
...@@ -8,16 +8,18 @@ ...@@ -8,16 +8,18 @@
box-shadow: 0 var(--fontSize1) 0 0 #E9E9E9; box-shadow: 0 var(--fontSize1) 0 0 #E9E9E9;
background-color: #fff; background-color: #fff;
} }
.navigation-bar-box{
.navigation-bar-box {
position: relative; position: relative;
height: 100%; height: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
box-sizing: border-box; box-sizing: border-box;
font-size: var(--fontSize34);
} }
.navigation-bar-titleText{
.navigation-bar-titleText {
font-family: PingFangSC-Medium; font-family: PingFangSC-Medium;
font-weight: 500; font-weight: 500;
font-size: var(--fontSize34); font-size: var(--fontSize34);
...@@ -28,14 +30,16 @@ ...@@ -28,14 +30,16 @@
box-sizing: border-box; box-sizing: border-box;
text-align: center; text-align: center;
} }
.back-box{
.back-box {
width: var(--fontSize160); width: var(--fontSize160);
height: 100%; height: 100%;
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
} }
.back{
.back {
position: absolute; position: absolute;
left: var(--fontSize20); left: var(--fontSize20);
top: 50%; top: 50%;
...@@ -44,7 +48,7 @@ ...@@ -44,7 +48,7 @@
height: var(--fontSize36); height: var(--fontSize36);
} }
.menu-box{ .menu-box {
width: var(--fontSize160); width: var(--fontSize160);
height: 100%; height: 100%;
position: absolute; position: absolute;
...@@ -52,11 +56,30 @@ ...@@ -52,11 +56,30 @@
top: 0; top: 0;
} }
.menu-box .menu-class{ .menu-box .menu-class {
position: absolute; position: absolute;
left: var(--fontSize20); left: var(--fontSize20);
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
width: var(--fontSize40); width: var(--fontSize40);
height: var(--fontSize40); height: var(--fontSize40);
}
@media screen and (min-device-width: 600px) and (-webkit-min-device-pixel-ratio: 1) {
.navigation-bar-box{
font-size: var(--fontSize23);
}
.navigation-bar-titleText {
font-size: var(--fontSize23);
}
.back {
width: var(--fontSize18);
height: var(--fontSize18);
}
.menu-box .menu-class {
width: var(--fontSize20);
height: var(--fontSize20);
}
} }
\ No newline at end of file \ No newline at end of file
<!--packageEquity/components/storePicker/storePicker.wxml--> <!--packageEquity/components/storePicker/storePicker.wxml-->
<popup class="date-background" popup-slot-class="popup-style" show="{{ show }}" bindconfirm="confirm" height="var(--fontSize800)"> <popup class="date-background" popup-slot-class="popup-style" show="{{ show }}" bindconfirm="confirm" 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">
......
/* packageEquity/components/storePicker/storePicker.wxss */ /* packageEquity/components/storePicker/storePicker.wxss */
.search-box { .search-box {
width: calc(100% - var(--fontSize64));
height: var(--fontSize104); height: var(--fontSize104);
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -10,7 +11,8 @@ ...@@ -10,7 +11,8 @@
} }
.search-box .search-input { .search-box .search-input {
width: var(--fontSize686); /* width: var(--fontSize686); */
width: 100%;
height: var(--fontSize72); height: var(--fontSize72);
background: #F7F8FA; background: #F7F8FA;
border-radius: var(--fontSize38); border-radius: var(--fontSize38);
......
<!--components/subShopMerchant/subShopMerchant.wxml--> <!--components/subShopMerchant/subShopMerchant.wxml-->
<popup show="{{show}}" bindconfirm="confirm"> <popup show="{{show}}" bindconfirm="confirm" title="{{title}}">
<scroll-view class="sub-shop-merchant-box" scroll-y enhanced="{{true}}" show-scrollbar="{{false}}"> <scroll-view class="sub-shop-merchant-box" scroll-y enhanced="{{true}}" show-scrollbar="{{false}}">
<view class="box"> <view class="box">
<view class="sub-title text-center">{{title}}</view> <!-- <view class="sub-title text-center">{{title}}</view> -->
<view class="merchant-box"> <view class="merchant-box">
<block wx:for="{{subShopMerchantList}}" wx:key="index"> <block wx:for="{{subShopMerchantList}}" wx:key="index">
<view class="merchantList {{item.active?'active':''}}" bindtap="changeMerchant" data-item="{{item}}" <view class="merchantList {{item.active?'active':''}}" bindtap="changeMerchant" data-item="{{item}}"
......
<view class="popup" hidden="{{!showPopup}}" catchtouchmove="noScroll"> <view class="popup" hidden="{{!showPopup}}">
<view class="popup-bg" bindtap="hidePopup" /> <!-- catchtouchmove="noScroll" -->
<view class="popup-content" style="height:{{height}}"> <view class="popup-bg" bindtap="hidePopup" />
<block wx:if="{{title}}"> <view class="popup-content" style="height:{{height}}">
<view class="popup-title text-center">{{title}}</view> <block wx:if="{{title}}">
</block> <view class="popup-title text-center">{{title}}</view>
<!-- {{isFullSucreen?title?'isFullSucreen':'isFullSucreen-notitle':''}}" --> </block>
<view class="{{tips?'popup-slot-other':'popup-slot'}}"> <!-- {{isFullSucreen?title?'isFullSucreen':'isFullSucreen-notitle':''}}" -->
<slot/> <view class="{{tips?'popup-slot-other':'popup-slot'}}">
</view> <slot />
<block wx:if="{{tips}}"> </view>
<view class="tips text-center">{{tips}}</view> <block wx:if="{{tips}}">
</block> <view class="tips text-center">{{tips}}</view>
<!-- {{isFullSucreen?'isFullSucreen':''}} --> </block>
<view class="popup-footer "> <!-- {{isFullSucreen?'isFullSucreen':''}} -->
<view class="cancel btn text-center" bindtap="hidePopup">取消</view> <view class="popup-footer ">
<view class="confirm btn text-center" bindtap="confirm">确认</view> <view class="cancel btn text-center" bindtap="hidePopup">取消</view>
</view> <view class="confirm btn text-center" bindtap="confirm">确认</view>
</view> </view>
</view> </view>
</view>
\ No newline at end of file \ No newline at end of file
...@@ -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));
......
<!-- packageEquity/pages/carEquity/components/GLForm/GLForm.wxml --> <!-- packageEquity/pages/carEquity/components/GLForm/GLForm.wxml -->
<view wx:for="{{formDataList}}" wx:key="index"> <view wx:for="{{formDataList}}" wx:key="index">
<gl-cell <gl-cell border="{{!item.noBorder}}" class="{{item.name}}" haveArrow="{{item.haveArrow || false}}" valueAlign="right" label="{{item.label}}" labelWidth="{{item.labelWidth || labelWidth}}" placeholder="{{item.placeholder || ''}}" bindclick="handleCellClick" data-target="{{item}}" data-idx="{{index}}" cellHeight="{{!item.noCellHeight}}">
border="{{!item.noBorder}}" <!-- slot -->
class="{{item.name}}" <slot wx:if="{{item.type == 'slot'}}" name="{{item.name}}" />
haveArrow="{{item.haveArrow || false}}" <!-- input / textarea -->
valueAlign="right" <view wx:if="{{item.type == 'input'}}" class="input-box">
label="{{item.label}}" <!-- rows="1" -->
labelWidth="{{item.labelWidth || labelWidth}}" <van-field class="textarea" custom-style="padding: var(--fontSize20) 0;font-size: var(--fontSize28);" border="{{ false}}" value="{{formData[item.name]}}" input-align="{{itme.inputAlign || 'right'}}" autosize hold-keyboard type="{{item.fieldType || 'textarea'}}" placeholder="{{item.placeholder || '请输入'}}" maxlength="{{item.maxlength || 140}}" disabled="{{item.disabled||disable}}" readonly="{{item.readonly}}" data-attr="{{item.name}}" bindinput="handleInput" />
placeholder="{{item.placeholder || ''}}" <text wx:if="{{item.suffix}}" class="input-suffix">{{item.suffix}}</text>
bindclick="handleCellClick" </view>
data-target="{{item}}"
data-idx="{{index}}"
cellHeight="{{!item.noCellHeight}}">
<!-- slot -->
<slot wx:if="{{item.type == 'slot'}}" name="{{item.name}}" />
<!-- input / textarea -->
<view wx:if="{{item.type == 'input'}}" class="input-box">
<!-- rows="1" -->
<van-field
class="textarea"
custom-style="padding: var(--fontSize20) 0;font-size: var(--fontSize28);"
border="{{ false}}"
value="{{formData[item.name]}}"
input-align="{{itme.inputAlign || 'right'}}"
autosize
hold-keyboard
type="{{item.fieldType || 'text'}}"
placeholder="{{item.placeholder || '请输入'}}"
maxlength="{{item.maxlength || 140}}"
disabled="{{item.disabled||disable}}"
readonly="{{item.readonly}}"
data-attr="{{item.name}}"
bindinput="handleInput" />
<text wx:if="{{item.suffix}}" class="input-suffix">{{item.suffix}}</text>
</view>
<!-- 流水号 --> <!-- 流水号 -->
<view wx:if="{{item.type == 'outTradeNo'}}" class="no_class"> <view wx:if="{{item.type == 'outTradeNo'}}" class="no_class">
<view wx:if="{{formData.outTradeNo}}" class="text-hide"> <view wx:if="{{formData.outTradeNo}}" class="text-hide">
{{formData.outTradeNo}} {{formData.outTradeNo}}
</view> </view>
<view wx:else class="placeholder-class">{{item.placeholder || '请选择'}}</view> <view wx:else class="placeholder-class">{{item.placeholder || '请选择'}}</view>
</view> </view>
<!-- picker --> <!-- picker -->
<view class="picker" wx:if="{{item.type == 'select'}}"> <view class="picker" wx:if="{{item.type == 'select'}}">
<image class="arrow" src="/components/images/arrow-x.png" /> <image class="arrow" src="/components/images/arrow-x.png" />
<view class="text-hide" wx:if="{{formData[item.optionName]}}"> <view class="text-hide" wx:if="{{formData[item.optionName]}}">
{{formData[item.optionName]}} {{formData[item.optionName]}}
...@@ -56,6 +31,5 @@ ...@@ -56,6 +31,5 @@
</view> </view>
<text class="placeholder" wx:else>请输入</text> <text class="placeholder" wx:else>请输入</text>
</view> </view>
</gl-cell> </gl-cell>
</view> </view>
\ No newline at end of file \ No newline at end of file
<!--packageCrowdFunding/components/PickerSelect/PickerSelect.wxml--> <!--packageCrowdFunding/components/PickerSelect/PickerSelect.wxml-->
<popup show="{{show}}" bindconfirm="confirm" bindcancel="cancel" height="{{popupHeight || '60%'}}"> <popup show="{{show}}" bindconfirm="confirm" bindcancel="cancel" height="{{popupHeight || '60%'}}" title="{{title}}">
<view class="sub-title text-center">{{title}}</view> <!-- <view class="sub-title text-center">{{title}}</view> -->
<scroll-view class="picker_select_box" scroll-y enhanced="{{true}}" show-scrollbar="{{false}}"> <scroll-view class="picker_select_box" scroll-y enhanced="{{true}}" show-scrollbar="{{false}}">
<block wx:for="{{optionList}}" wx:key="index"> <block wx:for="{{optionList}}" wx:key="index">
<view class="picker_item {{item.active?'active':''}}" bindtap="changeitem" data-target="{{item}}"> <view class="picker_item {{item.active?'active':''}}" bindtap="changeitem" data-target="{{item}}">
......
<!--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">
......
/* packageEquity/components/storePicker/storePicker.wxss */ /* packageEquity/components/storePicker/storePicker.wxss */
.date-container{
height: 100%;
}
.search-box { .search-box {
width: calc(100% - var(--fontSize64));
height: var(--fontSize104); height: var(--fontSize104);
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -10,7 +13,8 @@ ...@@ -10,7 +13,8 @@
} }
.search-box .search-input { .search-box .search-input {
width: var(--fontSize686); /* width: var(--fontSize686); */
width: 100%;
height: var(--fontSize72); height: var(--fontSize72);
background: #F7F8FA; background: #F7F8FA;
border-radius: var(--fontSize38); border-radius: var(--fontSize38);
...@@ -42,7 +46,8 @@ ...@@ -42,7 +46,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{
......
...@@ -65,4 +65,14 @@ ...@@ -65,4 +65,14 @@
/* height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--envSafeAreaInsetBottom)); /* height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--envSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--constantSafeAreaInsetBottom)); */ height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--constantSafeAreaInsetBottom)); */
width: 100%; width: 100%;
}
@media screen and (min-device-width: 600px) and (-webkit-min-device-pixel-ratio: 1) {
.layout{
height: calc(100vh - var(--fontSize70) - var(--constantSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize70) - var(--envSafeAreaInsetBottom));
}
.tipsHeigh{
height: calc(100vh - var(--fontSize70) - var(--fontSize72) var(--constantSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize60) - var(--fontSize72) - var(--envSafeAreaInsetBottom));
}
} }
\ No newline at end of file \ No newline at end of file
.layout {
.layout{
height: 100vh; height: 100vh;
box-sizing: border-box; box-sizing: border-box;
} }
.navigation-title{
.navigation-title {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.navigation-title .arrow { .navigation-title .arrow {
flex-shrink: 0; flex-shrink: 0;
width: var(--fontSize32); width: var(--fontSize32);
...@@ -17,6 +17,14 @@ ...@@ -17,6 +17,14 @@
transform: rotate(180deg); transform: rotate(180deg);
transition: all 0.5s; transition: all 0.5s;
} }
@media screen and (min-device-width: 600px) and (-webkit-min-device-pixel-ratio: 1) {
.navigation-title .arrow {
width: var(--fontSize24);
height: var(--fontSize24);
}
}
.headerBar { .headerBar {
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
...@@ -97,17 +105,20 @@ ...@@ -97,17 +105,20 @@
.headerBar .totalCount .right { .headerBar .totalCount .right {
margin-left: var(--fontSize40); margin-left: var(--fontSize40);
} }
.picker-box{
.picker-box {
height: var(--fontSize450); height: var(--fontSize450);
display: flex; display: flex;
} }
.picker-box .picker{
.picker-box .picker {
width: 100%; width: 100%;
} }
.addOrder { .addOrder {
width: var(--fontSize112); width: var(--fontSize112);
height: var(--fontSize112); height: var(--fontSize132);
position: fixed; position: fixed;
right: var(--fontSize32); right: var(--fontSize32);
bottom: var(--fontSize200); bottom: var(--fontSize80);
} }
\ No newline at end of file \ No newline at end of file
...@@ -6,6 +6,7 @@ import { getOrderDetail, createPayOrder, createPayOrderAPI, getSamePriceGoodsAPI ...@@ -6,6 +6,7 @@ import { getOrderDetail, createPayOrder, createPayOrderAPI, getSamePriceGoodsAPI
import { createQrcodeImage, uploadImg } from '~/api/api' import { createQrcodeImage, uploadImg } from '~/api/api'
import qrcode from '~/utils/lib/wxqrcode' import qrcode from '~/utils/lib/wxqrcode'
let time = null let time = null
const navStyle = 'background:transparent;box-shadow:none;'
Page({ Page({
/** /**
* 页面的初始数据 * 页面的初始数据
...@@ -67,7 +68,8 @@ Page({ ...@@ -67,7 +68,8 @@ Page({
customOutTradeNo: '', // 门店收款交易流水号 customOutTradeNo: '', // 门店收款交易流水号
customPayVoucher: [], // 门店收款付款凭证 customPayVoucher: [], // 门店收款付款凭证
textAreaValue: '', // 备注回显 textAreaValue: '', // 备注回显
goodsNumber: 1 // 购买商品数量 默认购买一个 goodsNumber: 1, // 购买商品数量 默认购买一个
navStyle
}, },
// 生成小程序码 // 生成小程序码
createWxQrcode() { createWxQrcode() {
...@@ -433,6 +435,11 @@ Page({ ...@@ -433,6 +435,11 @@ Page({
selectPayType == 3 ? this.posPay(outTradeNo) : this.createWxQrcode() selectPayType == 3 ? this.posPay(outTradeNo) : this.createWxQrcode()
}, },
onPageScroll({scrollTop}){
this.setData({
navStyle:scrollTop > 20 ? '' : navStyle
})
},
/** /**
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
......
...@@ -10,38 +10,24 @@ page { ...@@ -10,38 +10,24 @@ page {
width: 100%; width: 100%;
height: var(--fontSize320); height: var(--fontSize320);
padding: var(--fontSize24) var(--fontSize36) var(--fontSize32); padding: var(--fontSize24) var(--fontSize36) var(--fontSize32);
background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/headerBg-l.png'); background-image: url(https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/headerBg-l.png);
background-size: 100% 100%; background-size: 100% 100%;
//z-index: -1;
.titleBox {
display: flex;
padding-top: var(--fontSize80);
align-items: center;
width: 55%;
justify-content: space-between;
color: #fff;
.imgBox image {
width: var(--fontSize22);
height: var(--fontSize32);
display: inline-block;
vertical-align: middle;
}
}
.money { .money {
position: absolute;
color: #fff; color: #fff;
font-size: var(--fontSize28); font-size: var(--fontSize28);
display: flex; display: flex;
margin-top: var(--fontSize40); left: var(--fontSize36);
bottom: var(--fontSize74);
.sum {
font-size: var(--fontSize34)
}
} }
} }
@media screen and (min-device-width: 768px) and (-webkit-min-device-pixel-ratio: 1) {
.big-img {
height: var(--fontSize180);
}
}
.box { .box {
box-sizing: border-box; box-sizing: border-box;
...@@ -95,8 +81,8 @@ page { ...@@ -95,8 +81,8 @@ page {
} }
.tab-qrcode { .tab-qrcode {
width: var(--fontSize430); width: var(--fontSize360);
height: var(--fontSize430); height: var(--fontSize360);
} }
.tab-desc { .tab-desc {
......
...@@ -2,13 +2,14 @@ ...@@ -2,13 +2,14 @@
<wxs src="../balanceNote/index.wxs" module="filter" /> <wxs src="../balanceNote/index.wxs" module="filter" />
<wxs src="/packageCrowdFunding/index.wxs" module="filter2" /> <wxs src="/packageCrowdFunding/index.wxs" module="filter2" />
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy> <glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<navigation-bar showBack navStyle="{{navStyle}}" bindback="back">去支付</navigation-bar>
<view class="big-img page-box isFullSucreen"> <view class="big-img page-box isFullSucreen">
<view class="titleBox"> <!-- <view class="titleBox">
<view class="imgBox" bind:tap="back"> <view class="imgBox" bind:tap="back">
<image src="/packageCrowdFunding/images/arrow-left.png" /> <image src="/packageCrowdFunding/images/arrow-left.png" />
</view> </view>
<view class="navigation-title-text">去支付</view> <view class="navigation-title-text">去支付</view>
</view> </view> -->
<view class="money"> <view class="money">
{{supplementOrderFlag == 1 ? '付款金额' : '尾款金额'}} {{supplementOrderFlag == 1 ? '付款金额' : '尾款金额'}}
<view class="sum">¥{{orderDetail.totalPrice || 0}}</view> <view class="sum">¥{{orderDetail.totalPrice || 0}}</view>
......
<!--packageCrowdFunding/pages/additionRecordOrder/additionRecordOrder.wxml--> <!--packageCrowdFunding/pages/additionRecordOrder/additionRecordOrder.wxml-->
<view class="addition-record-order"> <view class="addition-record-order">
<view class="title">订单信息</view> <view class="title">订单信息</view>
<scroll-view scroll-y class="content-box" style="height: calc(100vh - var(--fontSize220));"> <view class="content-box">
<view class="box"> <view class="box">
<gl-form formData="{{orderInfo}}" bindshowPickerSelect="showPickerSelect" formDataList="{{orderObj.shopFormList}}"></gl-form> <gl-form formData="{{orderInfo}}" bindshowPickerSelect="showPickerSelect" formDataList="{{orderObj.shopFormList}}"></gl-form>
</view> </view>
<view class="box"> <view class="box">
<gl-form bindshowOrderNoPopup="showOrderNoPopup" bindshowPickerSelect="showPickerSelect" bindshowMask="showMask" formData="{{orderInfo}}" dataAttrName="orderInfo" formDataList="{{orderObj.orderFormList}}"></gl-form> <gl-form bindshowOrderNoPopup="showOrderNoPopup" bindshowPickerSelect="showPickerSelect" bindshowMask="showMask" formData="{{orderInfo}}" dataAttrName="orderInfo" formDataList="{{orderObj.orderFormList}}"></gl-form>
</view> </view>
</scroll-view> </view>
<view class="btn-box {{isFullSucreen?'isFullSucreen-btn':''}}"> <view class="btn-box {{isFullSucreen?'isFullSucreen-btn':''}}">
<view class="btn" bindtap="confirm">确定</view> <view class="btn" bindtap="confirm">确定</view>
</view> </view>
......
...@@ -21,10 +21,7 @@ ...@@ -21,10 +21,7 @@
} }
.btn-box{ .btn-box{
position: fixed;
left: 0;
width: 100%; width: 100%;
bottom: 0;
min-height: var(--fontSize100); min-height: var(--fontSize100);
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
...@@ -33,7 +30,8 @@ ...@@ -33,7 +30,8 @@
font-size: var(--fontSize28); font-size: var(--fontSize28);
} }
.btn{ .btn{
width: var(--fontSize622); /* width: var(--fontSize622); */
width: 100%;
height: var(--fontSize88); height: var(--fontSize88);
color: #fff; color: #fff;
border-radius: var(--fontSize12); border-radius: var(--fontSize12);
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
import constantData from './constant/data' import constantData from './constant/data'
const app = getApp() const app = getApp()
const navStyle = 'background:transparent;box-shadow:none;'
import api from '~/packageCrowdFunding/api' import api from '~/packageCrowdFunding/api'
Page({ Page({
...@@ -49,7 +50,8 @@ Page({ ...@@ -49,7 +50,8 @@ Page({
handle: 'input' handle: 'input'
} }
], ],
confirmFlag: false confirmFlag: false,
navStyle
}, },
handleTransaction() { handleTransaction() {
this.setData({ this.setData({
...@@ -210,6 +212,12 @@ Page({ ...@@ -210,6 +212,12 @@ Page({
this.initOrderInfo() this.initOrderInfo()
}, },
onPageScroll({scrollTop}){
this.setData({
navStyle:scrollTop > 20 ? '' : navStyle
})
},
/** /**
* 生命周期函数--监听页面初次渲染完成 * 生命周期函数--监听页面初次渲染完成
*/ */
......
...@@ -8,32 +8,21 @@ ...@@ -8,32 +8,21 @@
width: 100%; width: 100%;
height: var(--fontSize320); height: var(--fontSize320);
padding: var(--fontSize24) var(--fontSize36) var(--fontSize32); padding: var(--fontSize24) var(--fontSize36) var(--fontSize32);
background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/headerBg-l.png'); background-image: url(https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/headerBg-l.png);
background-size: 100% 100%; background-size: 100% 100%;
.titleBox{
display: flex;
padding-top: var(--fontSize80);
align-items: center;
width: 55%;
justify-content: space-between;
color: #fff;
.imgBox image{
width: var(--fontSize24);
height: var(--fontSize34);
display: inline-block;
vertical-align: middle;
}
}
.money{ .money{
position: absolute;
color: #fff; color: #fff;
font-size: var(--fontSize28); font-size: var(--fontSize28);
display: flex; display: flex;
margin-top: var(--fontSize40); left: var(--fontSize36);
.sum{ bottom: var(--fontSize74);
font-size: var(--fontSize34) } } }
.box{ .box{
position: absolute;
top: var(--fontSize230);
width: calc(100% - var(--fontSize72));
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
...@@ -81,6 +70,14 @@ ...@@ -81,6 +70,14 @@
} }
} }
} }
@media screen and (min-device-width: 768px) and (-webkit-min-device-pixel-ratio: 1) {
.big-img {
height: var(--fontSize180);
.box{
top: var(--fontSize100);
}
}
}
.infoBox{ .infoBox{
margin-top: var(--fontSize60); margin-top: var(--fontSize60);
......
<!--packageCrowdFunding/pages/balanceNote/balanceNote.wxml--> <!--packageCrowdFunding/pages/balanceNote/balanceNote.wxml-->
<wxs src="index.wxs" module="filter" /> <wxs src="index.wxs" module="filter" />
<navigation-bar showBack navStyle="{{navStyle}}" bindback="back">去支付</navigation-bar>
<view class="big-img page-box isFullSucreen"> <view class="big-img page-box isFullSucreen">
<view class="titleBox"> <!-- <view class="titleBox">
<view class="imgBox" bind:tap="back"> <view class="imgBox" bind:tap="back">
<image src="/packageCrowdFunding/images/arrow-left.png"></image> <image src="/packageCrowdFunding/images/arrow-left.png"></image>
</view> </view>
<view class="navigation-title-text"> <view class="navigation-title-text">
去支付 去支付
</view> </view>
</view> </view> -->
<!-- 补录单显示付款金额(订单总价 众筹价) --> <!-- 补录单显示付款金额(订单总价 众筹价) -->
<view class="money">{{orderInfo.supplementOrderFlag == 1 ? '付款金额' : '尾款金额'}} <view class="money">{{orderInfo.supplementOrderFlag == 1 ? '付款金额' : '尾款金额'}}
<view class="sum">{{orderInfo.tailPayment}}</view> <view class="sum">{{orderInfo.tailPayment}}</view>
......
...@@ -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;
} }
...@@ -101,8 +101,8 @@ ...@@ -101,8 +101,8 @@
.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: var(--fontSize29); height: var(--fontSize38);
line-height: var(--fontSize29); line-height: var(--fontSize38);
} }
.input-placeholder { .input-placeholder {
...@@ -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%; */
} }
......
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
//margin-top: var(--fontSize160); //margin-top: var(--fontSize160);
padding: var(--fontSize190) var(--fontSize20); padding: 0 var(--fontSize20);
background-color: #F4F5F7; background-color: #F4F5F7;
height: 100vh; height: 100%;
} }
.title{ .title{
margin: 0 0 var(--fontSize20) var(--fontSize32); margin: var(--fontSize20) var(--fontSize32);
font-weight: 500; font-weight: 500;
font-size: var(--fontSize32); font-size: var(--fontSize32);
color: #222222; color: #222222;
...@@ -23,10 +23,10 @@ ...@@ -23,10 +23,10 @@
} }
.btn-box{ .btn-box{
position: fixed; //position: fixed;
left: 0; //left: 0;
width: 100%; width: 100%;
bottom: 0; //bottom: 0;
min-height: var(--fontSize100); min-height: var(--fontSize100);
box-sizing: border-box; box-sizing: border-box;
//display: flex; //display: flex;
...@@ -35,7 +35,8 @@ ...@@ -35,7 +35,8 @@
font-size: var(--fontSize28); font-size: var(--fontSize28);
} }
.btn{ .btn{
width: var(--fontSize622); //width: var(--fontSize622);
width: 100%;
height: var(--fontSize88); height: var(--fontSize88);
margin: var(--fontSize24) auto; margin: var(--fontSize24) auto;
color: #fff; color: #fff;
......
...@@ -10,21 +10,20 @@ ...@@ -10,21 +10,20 @@
</view> </view>
</view> </view>
</navigation-bar> </navigation-bar>
<view class="addition-record-order"> <view class="addition-record-order" style="padding-top:{{navBarHeight}}px;position: relative;">
<view class="title">订单信息</view> <view class="title">订单信息</view>
<scroll-view scroll-y class="content-box" style="height: calc(100vh - {{navBarHeight}}px - var(--fontSize250));"> <view class="content-box" style="height: 100%;">
<view class="box"> <view class="box">
<gl-form formData="{{orderInfo}}" dataAttrName="orderInfo" bindshowPickerSelect="showPickerSelect" formDataList="{{orderObj.shopFormList}}"></gl-form> <gl-form formData="{{orderInfo}}" dataAttrName="orderInfo" bindshowPickerSelect="showPickerSelect" formDataList="{{orderObj.shopFormList}}"></gl-form>
</view> </view>
<view class="box"> <view class="box">
<gl-form bindshowOrderNoPopup="showOrderNoPopup" dataAttrName="orderInfo" bindshowPickerSelect="showPickerSelect" bindshowMask="showMask" formData="{{orderInfo}}" formDataList="{{orderObj.orderFormList}}"></gl-form> <gl-form bindshowOrderNoPopup="showOrderNoPopup" dataAttrName="orderInfo" bindshowPickerSelect="showPickerSelect" bindshowMask="showMask" formData="{{orderInfo}}" formDataList="{{orderObj.orderFormList}}"></gl-form>
</view> </view>
<view class="btn-box {{isFullSucreen?'isFullSucreen-btn':''}}">
</scroll-view>
<view class="btn-box {{isFullSucreen?'isFullSucreen-btn':''}}">
<!-- <view class="btn" bindtap="confirm" data-target="wechat">微信支付</view> <!-- <view class="btn" bindtap="confirm" data-target="wechat">微信支付</view>
<view class="btn-lucency" bindtap="confirm" data-target="pos">POS机支付</view> --> <view class="btn-lucency" bindtap="confirm" data-target="pos">POS机支付</view> -->
<view class="btn" bindtap="confirm">确定</view> <view class="btn" bindtap="confirm">确定</view>
</view>
</view> </view>
</view> </view>
<picker-select <picker-select
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
bindrefresherrefresh="search" bindrefresherrefresh="search"
bindscrolltolower="onBottomRefresh" bindscrolltolower="onBottomRefresh"
class="list" class="list"
style="height:calc(100% - var(--fontSize208));" style="height:calc(100% - var(--fontSize152));"
refresher-threshold="104" refresher-threshold="104"
refresher-triggered="{{triggered}}"> refresher-triggered="{{triggered}}">
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
} }
.main { .main {
margin-top: calc(-1 * var(--fontSize20)); /* margin-top: calc(-1 * var(--fontSize20)); */
background: #FFFFFF; background: #FFFFFF;
border-radius: var(--fontSize48) var(--fontSize48) 0 0; border-radius: var(--fontSize48) var(--fontSize48) 0 0;
overflow: hidden; overflow: hidden;
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
.search-box { .search-box {
width: 100%; width: 100%;
padding: var(--fontSize32) var(--fontSize32) 0; padding: var(--fontSize16) var(--fontSize32) 0;
display: flex; display: flex;
background-color: #fff; background-color: #fff;
position: sticky; position: sticky;
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
background: #F7F8FA; background: #F7F8FA;
border-radius: var(--fontSize38); border-radius: var(--fontSize38);
width: 100%; width: 100%;
height: var(--fontSize72); height: var(--fontSize64);
display: flex; display: flex;
align-items: center; align-items: center;
} }
...@@ -138,8 +138,8 @@ ...@@ -138,8 +138,8 @@
.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: var(--fontSize29); height: var(--fontSize38);
line-height: var(--fontSize29); line-height: var(--fontSize38);
} }
.input-placeholder { .input-placeholder {
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
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: fit-content; height: fit-content;
padding: var(--fontSize30) var(--fontSize36); padding: var(--fontSize30) var(--fontSize36) var(--fontSize80);
} }
.tips-text{ .tips-text{
......
...@@ -12,8 +12,10 @@ ...@@ -12,8 +12,10 @@
} }
.input-suffix { .input-suffix {
height: var(--fontSize88); /* height: var(--fontSize88);
line-height: var(--fontSize88); line-height: var(--fontSize88); */
height: var(--fontSize132);
line-height: var(--fontSize132);
margin-left: var(--fontSize4); margin-left: var(--fontSize4);
} }
......
/* packageEquity/components/GlButton/GlButton.wxss */ /* packageEquity/components/GlButton/GlButton.wxss */
.btnCom { .btnCom {
.btn { .btn {
width: var(--fontSize622); // width: var(--fontSize622);
width: 100%;
height: var(--fontSize88); height: var(--fontSize88);
margin: var(--fontSize20) auto 0; margin: var(--fontSize20) auto 0;
// background: #347BFF; // background: #347BFF;
......
<!--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%" title="{{title}}">
<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> -->
</view> <!-- </view> -->
<scroll-view <scroll-view
class="order_no_box" class="order_no_box"
scroll-y scroll-y
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
} }
.order_no_box{ .order_no_box{
height: calc(100% - var(--fontSize120)); height: calc(100% - var(--fontSize20));
padding: var(--fontSize20) 0; padding: var(--fontSize20) 0;
} }
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
margin-top: 0; margin-top: 0;
} }
.order_no_item:last-child{ .order_no_item:last-child{
margin-bottom: var(--fontSize20); margin-bottom: var(--fontSize40);
} }
.message{ .message{
......
...@@ -69,4 +69,14 @@ ...@@ -69,4 +69,14 @@
/* height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--envSafeAreaInsetBottom)); /* height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--envSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) var(--constantSafeAreaInsetBottom)); */ height: calc(100vh - var(--fontSize100) - var(--fontSize72) var(--constantSafeAreaInsetBottom)); */
width: 100%; width: 100%;
}
@media screen and (min-device-width: 600px) and (-webkit-min-device-pixel-ratio: 1) {
.layout{
height: calc(100vh - var(--fontSize70) - var(--constantSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize70) - var(--envSafeAreaInsetBottom));
}
.tipsHeigh{
height: calc(100vh - var(--fontSize70) - var(--fontSize72) var(--constantSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize70) - var(--fontSize72) - var(--envSafeAreaInsetBottom));
}
} }
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/aiInspection/aiInspection.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/aiInspectionDetail/aiInspectionDetail.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/aiInspectionReception/aiInspectionReception.wxss */
\ No newline at end of file \ No newline at end of file
...@@ -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(--fontSize24);
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: 600px) 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
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
<view <view
wx:if="{{ flag }}" wx:if="{{ flag }}"
class="order-box" class="order-box"
style="height: {{ tabIndex != 3 && list.length && isShowTips ? 'calc(100% - var(--fontSize104) - var(--fontSize104) - var(--fontSize38))' : 'calc(100% - var(--fontSize104) - var(--fontSize74))' }}" style="height: {{ tabIndex != 3 && list.length && isShowTips ? 'calc(100% - var(--fontSize160) - var(--fontSize68))' : 'calc(100% - var(--fontSize160))' }}"
> >
<scroll-view <scroll-view
scroll-y scroll-y
...@@ -105,20 +105,22 @@ ...@@ -105,20 +105,22 @@
<view>{{item.createdDate}}</view> <view>{{item.createdDate}}</view>
<!-- 超管isSuper/商户类型 userType 1账号不可操作 --> <!-- 超管isSuper/商户类型 userType 1账号不可操作 -->
<block wx:if="{{ (!userInfo.isSuper && userInfo.userType == 2&&item.orderStatus!=4)||(item.orderStatus==2) }}"> <block wx:if="{{ (!userInfo.isSuper && userInfo.userType == 2&&item.orderStatus!=4)||(item.orderStatus==2) }}">
<view <view class="btn_box_class">
wx:if="{{ item.orderStatus == '2' }}" <view
class="order-btn" wx:if="{{ item.orderStatus == '2' }}"
bindtap="handlePreviewContract" class="order-btn"
data-target="{{ item }}" bindtap="handlePreviewContract"
data-type="download" data-target="{{ item }}"
>下载合同</view> data-type="download"
<view >下载合同</view>
wx:if="{{ item.orderStatus == '2' }}" <view
class="order-btn default-btn" wx:if="{{ item.orderStatus == '2' }}"
bindtap="handlePreviewContract" class="order-btn default-btn"
data-target="{{ item }}" bindtap="handlePreviewContract"
>{{btnTxt[item.orderStatus]}}</view> data-target="{{ item }}"
<view wx:else class="order-btn" bindtap="handleRecordOrder" data-target="{{ item }}">{{btnTxt[item.orderStatus]}}</view> >{{btnTxt[item.orderStatus]}}</view>
<view wx:else class="order-btn" bindtap="handleRecordOrder" data-target="{{ item }}">{{btnTxt[item.orderStatus]}}</view>
</view>
</block> </block>
</view> </view>
</view> </view>
......
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
.search-box { .search-box {
width: 100%; width: 100%;
padding: var(--fontSize12) var(--fontSize32) 0; padding: var(--fontSize16) var(--fontSize32) 0;
display: flex; display: flex;
background-color: #fff; background-color: #fff;
position: sticky; position: sticky;
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
background: #F7F8FA; background: #F7F8FA;
border-radius: var(--fontSize38); border-radius: var(--fontSize38);
width: 100%; width: 100%;
height: var(--fontSize72); height: var(--fontSize64);
display: flex; display: flex;
align-items: center; align-items: center;
} }
...@@ -153,8 +153,8 @@ ...@@ -153,8 +153,8 @@
.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: var(--fontSize29); height: var(--fontSize38);
line-height: var(--fontSize29); line-height: var(--fontSize38);
} }
.input-placeholder { .input-placeholder {
...@@ -404,15 +404,26 @@ ...@@ -404,15 +404,26 @@
border-top: var(--fontSize1) solid #EDEDED; border-top: var(--fontSize1) solid #EDEDED;
padding: var(--fontSize20) var(--fontSize32); padding: var(--fontSize20) var(--fontSize32);
} }
.btn_box_class{
display: flex;
align-items: center;
}
.order-btn { .order-btn {
box-sizing: border-box; box-sizing: border-box;
height: var(--fontSize56); height: var(--fontSize56);
/* line-height: var(--fontSize56); */
display: flex;
align-items: center;
justify-content: center;
font-size: var(--fontSize28); font-size: var(--fontSize28);
color: #FFFFFF; color: #FFFFFF;
background: #347BFF; background: #347BFF;
border-radius: var(--fontSize32); border-radius: var(--fontSize32);
padding: var(--fontSize8) var(--fontSize40); padding: 0 var(--fontSize40);
margin-right: var(--fontSize10);
}
.order-btn:last-child{
margin-right: 0;
} }
.order-btn.default-btn { .order-btn.default-btn {
...@@ -420,6 +431,7 @@ ...@@ -420,6 +431,7 @@
border: var(--fontSize2) solid #347BFF; border: var(--fontSize2) solid #347BFF;
border-radius: var(--fontSize32); border-radius: var(--fontSize32);
color: #347BFF; color: #347BFF;
margin-left: var(--fontSize30);
} }
.list .item .order { .list .item .order {
......
/* packageEquity/pages/carQuotation/CarQuotationPay/CarQuotationPay.wxss */ /* packageEquity/pages/carQuotation/CarQuotationPay/CarQuotationPay.wxss */
page { page {
height: 100vh; height: 100vh;
background-color: #f3f5f7 background-color: #f3f5f7
} }
...@@ -13,6 +13,13 @@ ...@@ -13,6 +13,13 @@
background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/headerBg-l.png'); background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/headerBg-l.png');
background-size: 100% 100%; background-size: 100% 100%;
} }
@media screen and (min-device-width: 768px) and (-webkit-min-device-pixel-ratio: 1) {
.big-img {
height: var(--fontSize180);
}
}
.big-img .money { .big-img .money {
position: absolute; position: absolute;
color: #fff; color: #fff;
...@@ -25,6 +32,7 @@ ...@@ -25,6 +32,7 @@
.big-img .money .sum { .big-img .money .sum {
font-size: var(--fontSize34) font-size: var(--fontSize34)
} }
.big-img .titleBox { .big-img .titleBox {
display: flex; display: flex;
padding-top: var(--fontSize80); padding-top: var(--fontSize80);
...@@ -40,23 +48,26 @@ ...@@ -40,23 +48,26 @@
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
.box {
.box {
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
width: var(--fontSize710); width: var(--fontSize710);
height: var(--fontSize716); height: var(--fontSize646);
background: #FFFFFF; background: #FFFFFF;
border-radius: var(--fontSize16); border-radius: var(--fontSize16);
margin: calc(-1 * var(--fontSize34)) auto var(--fontSize34); margin: calc(-1 * var(--fontSize34)) auto var(--fontSize34);
} }
.box .right image { .box .right image {
width: var(--fontSize14); width: var(--fontSize14);
height: var(--fontSize24); height: var(--fontSize24);
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
.box .tab-head { .box .tab-head {
display: flex; display: flex;
width: 100%; width: 100%;
...@@ -66,6 +77,7 @@ ...@@ -66,6 +77,7 @@
overflow: hidden; overflow: hidden;
flex-shrink: 0; flex-shrink: 0;
} }
.box .tab-head .tab-item { .box .tab-head .tab-item {
flex: 1; flex: 1;
display: flex; display: flex;
...@@ -77,10 +89,12 @@ ...@@ -77,10 +89,12 @@
background-color: #ebf2fd; background-color: #ebf2fd;
z-index: 2; z-index: 2;
} }
.box .tab-head .tab-item.active { .box .tab-head .tab-item.active {
background: #fff; background: #fff;
} }
.box .pay-box{
.box .pay-box {
flex-shrink: 0; flex-shrink: 0;
display: flex; display: flex;
flex-flow: column; flex-flow: column;
...@@ -91,20 +105,24 @@ ...@@ -91,20 +105,24 @@
.box .pay-box .tab-title { .box .pay-box .tab-title {
margin: var(--fontSize36) 0; margin: var(--fontSize36) 0;
} }
.box .pay-box .tab-qrcode { .box .pay-box .tab-qrcode {
width: var(--fontSize430); width: var(--fontSize360);
height: var(--fontSize430); height: var(--fontSize360);
} }
.box .pay-box .tab-desc { .box .pay-box .tab-desc {
margin-top: var(--fontSize20); margin-top: var(--fontSize20);
font-size: var(--fontSize24); font-size: var(--fontSize24);
color: #666666; color: #666666;
} }
.OrderInfoPay { .OrderInfoPay {
// background-color: #f5f5f5; // background-color: #f5f5f5;
padding-bottom: var(--fontSize20); padding-bottom: var(--fontSize20);
width: var(--fontSize710); width: var(--fontSize710);
margin: 0 auto; margin: 0 auto;
.payType { .payType {
display: flex; display: flex;
margin: var(--fontSize44) 0; margin: var(--fontSize44) 0;
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
.order-popup-content { .order-popup-content {
position: absolute; position: absolute;
left: 50%; left: 50%;
top: 50%; top: 49%;
width: calc(100% - var(--fontSize128)); width: calc(100% - var(--fontSize128));
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0 var(--fontSize4) var(--fontSize20) 0 rgba(0, 0, 0, 0.10); box-shadow: 0 var(--fontSize4) var(--fontSize20) 0 rgba(0, 0, 0, 0.10);
...@@ -145,43 +145,50 @@ ...@@ -145,43 +145,50 @@
height: 100%; height: 100%;
} }
.order-popup-content .input-box .input .outTradeNo_placeholder{ .order-popup-content .input-box .input .outTradeNo_placeholder {
color: #B6B6B8; color: #B6B6B8;
font-size: var(--fontSize24); font-size: var(--fontSize24);
} }
.order-popup-content .upload-content{ .order-popup-content .upload-content {
display: flex; display: flex;
flex-flow: column; flex-flow: column;
padding: var(--fontSize24) var(--fontSize48); padding: var(--fontSize24) var(--fontSize48);
} }
.title-text{
.title-text {
font-weight: 400; font-weight: 400;
font-size: var(--fontSize28); font-size: var(--fontSize28);
color: #282829; color: #282829;
margin-bottom: var(--fontSize18); margin-bottom: var(--fontSize18);
} }
.van-uploader .van-uploader__wrapper { .van-uploader .van-uploader__wrapper {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: var(--fontSize22); gap: var(--fontSize22);
} }
.van-uploader .van-uploader__wrapper .van-uploader__upload{
.van-uploader .van-uploader__wrapper .van-uploader__upload {
order: -1; order: -1;
} }
.van-uploader .van-uploader__wrapper .van-uploader__preview,.van-uploader__upload{
.van-uploader .van-uploader__wrapper .van-uploader__preview,
.van-uploader__upload {
margin: 0; margin: 0;
border-radius: var(--fontSize8); border-radius: var(--fontSize8);
/* width: var(--fontSize160) !important; /* width: var(--fontSize160) !important;
height: var(--fontSize160) !important; */ height: var(--fontSize160) !important; */
position: relative; position: relative;
} }
.van-uploader .van-uploader__wrapper .van-uploader__preview image{
.van-uploader .van-uploader__wrapper .van-uploader__preview image {
border-radius: var(--fontSize8); border-radius: var(--fontSize8);
/* width: var(--fontSize160) !important; /* width: var(--fontSize160) !important;
height: var(--fontSize160) !important; */ height: var(--fontSize160) !important; */
} }
.van-uploader .van-uploader__wrapper .van-uploader__preview .van-uploader__preview-delete{
.van-uploader .van-uploader__wrapper .van-uploader__preview .van-uploader__preview-delete {
width: var(--fontSize36); width: var(--fontSize36);
height: var(--fontSize36); height: var(--fontSize36);
background-color: rgba(0, 0, 0, 1); background-color: rgba(0, 0, 0, 1);
...@@ -193,11 +200,13 @@ ...@@ -193,11 +200,13 @@
top: calc(-1 * var(--fontSize8)); top: calc(-1 * var(--fontSize8));
right: calc(-1 * var(--fontSize8)); right: calc(-1 * var(--fontSize8));
} }
.van-uploader .van-uploader__wrapper .van-uploader__preview .van-uploader__preview-delete .van-uploader__preview-delete-icon{
.van-uploader .van-uploader__wrapper .van-uploader__preview .van-uploader__preview-delete .van-uploader__preview-delete-icon {
font-size: var(--fontSize36); font-size: var(--fontSize36);
transform: scale(.7); transform: scale(.7);
} }
.van-uploader .van-uploader__wrapper .van-uploader__preview .van-uploader__preview-delete::after{
.van-uploader .van-uploader__wrapper .van-uploader__preview .van-uploader__preview-delete::after {
width: 0; width: 0;
} }
...@@ -287,6 +296,7 @@ ...@@ -287,6 +296,7 @@
background: #347BFF; background: #347BFF;
border-radius: var(--fontSize12); border-radius: var(--fontSize12);
margin-bottom: var(--fontSize28); margin-bottom: var(--fontSize28);
font-size: var(--fontSize28);
} }
.wx_title { .wx_title {
...@@ -295,7 +305,7 @@ ...@@ -295,7 +305,7 @@
color: #333333; color: #333333;
font-weight: 500; font-weight: 500;
text-align: center; text-align: center;
line-height:2; line-height: 2;
} }
.wx_code_box { .wx_code_box {
...@@ -305,7 +315,7 @@ ...@@ -305,7 +315,7 @@
padding-bottom: var(--fontSize70); padding-bottom: var(--fontSize70);
border-bottom-left-radius: var(--fontSize16); border-bottom-left-radius: var(--fontSize16);
border-bottom-right-radius: var(--fontSize16); border-bottom-right-radius: var(--fontSize16);
min-height:var(--fontSize198); min-height: var(--fontSize198);
box-sizing: border-box; box-sizing: border-box;
} }
...@@ -315,14 +325,16 @@ ...@@ -315,14 +325,16 @@
color: #FFFFFF; color: #FFFFFF;
font-weight: 500; font-weight: 500;
} }
.wx_code_box .qr{
height:var(--fontSize300); .wx_code_box .qr {
width:var(--fontSize300); height: var(--fontSize300);
margin:0 auto; width: var(--fontSize300);
padding:var(--fontSize26) 0; margin: 0 auto;
padding: var(--fontSize26) 0;
} }
.wx_code_box .wx_qrcode{
width:var(--fontSize300); .wx_code_box .wx_qrcode {
height:var(--fontSize300); width: var(--fontSize300);
border-radius:var(--fontSize8); height: var(--fontSize300);
border-radius: var(--fontSize8);
} }
\ No newline at end of file \ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
title="添加其他商业险" title="添加其他商业险"
show="{{show}}" show="{{show}}"
bindconfirm="confirm" bindconfirm="confirm"
height="var(--fontSize800)"> height="85%">
<view class="popBox"> <view class="popBox">
<view class="title">商业险名称</view> <view class="title">商业险名称</view>
<van-field <van-field
......
...@@ -12,16 +12,28 @@ ...@@ -12,16 +12,28 @@
.inputBox { .inputBox {
display: flex; display: flex;
box-sizing: border-box; box-sizing: border-box;
width: var(--fontSize630); /* width: var(--fontSize630); */
width: 100%;
height: var(--fontSize88); height: var(--fontSize88);
align-items: center; align-items: center;
border: var(--fontSize2) solid #EFF0F2; border: var(--fontSize2) solid #EFF0F2;
border-radius: var(--fontSize12); border-radius: var(--fontSize12);
overflow: hidden; overflow: hidden;
margin: var(--fontSize16) 0; margin: var(--fontSize16) 0;
font-size: var(--fontSize24);
}
.inputBox .unit_text{
font-size: var(--fontSize24);
}
.inputBox van-cell{
width: 100%;
} }
.inputBox .van-field__body { .inputBox .van-field__body {
padding-left: var(--fontSize8); padding-left: var(--fontSize8);
width: var(--fontSize570); /* width: var(--fontSize570); */
width: calc(100% - var(--fontSize8));
font-size: var(--fontSize24);
} }
\ No newline at end of file \ No newline at end of file
...@@ -40,7 +40,7 @@ Component({ ...@@ -40,7 +40,7 @@ Component({
orderInfo: {}, orderInfo: {},
companytype: { companytype: {
name: '保险公司', name: '保险公司',
height: 'var(--fontSize900)', height: '85%',
optionsList: [ optionsList: [
{ {
value: '中国人保' value: '中国人保'
...@@ -70,7 +70,7 @@ Component({ ...@@ -70,7 +70,7 @@ Component({
}, },
threetype: { threetype: {
name: '第三方责任险', name: '第三方责任险',
height: 'var(--fontSize800)', height: '85%',
optionsList: [ optionsList: [
{ {
value: '100万' value: '100万'
...@@ -96,7 +96,7 @@ Component({ ...@@ -96,7 +96,7 @@ Component({
}, },
drivertype: { drivertype: {
name: '车上人员责任险(司机)', name: '车上人员责任险(司机)',
height: 'var(--fontSize650)', height: '85%',
optionsList: [ optionsList: [
{ {
value: '1万' value: '1万'
...@@ -116,7 +116,7 @@ Component({ ...@@ -116,7 +116,7 @@ Component({
}, },
passengertype: { passengertype: {
name: '车上人员责任险(乘客)', name: '车上人员责任险(乘客)',
height: 'var(--fontSize650)', height: '85%',
optionsList: [ optionsList: [
{ {
value: '1万' value: '1万'
...@@ -136,7 +136,7 @@ Component({ ...@@ -136,7 +136,7 @@ Component({
}, },
gearboxtype: { gearboxtype: {
name: '变速箱类型', name: '变速箱类型',
height: 'var(--fontSize810)', height: '85%',
optionsList: [ optionsList: [
{ {
value: 'MT变速箱' value: 'MT变速箱'
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
show="{{show}}" show="{{show}}"
bindconfirm="confirm" bindconfirm="confirm"
height="{{optionsObj.height}}"> height="{{optionsObj.height}}">
<view class="box"> <scroll-view scroll-y class="box">
<block <block
wx:for="{{optionsList}}" wx:for="{{optionsList}}"
wx:for-item="item" wx:for-item="item"
...@@ -31,6 +31,6 @@ ...@@ -31,6 +31,6 @@
</view> </view>
</view> </view>
</block> </block>
</view> </scroll-view>
</popup> </popup>
...@@ -19,6 +19,10 @@ ...@@ -19,6 +19,10 @@
align-items: center; align-items: center;
} }
.box{
height: calc(100%);
}
.list { .list {
box-sizing: border-box; box-sizing: border-box;
height: var(--fontSize88); height: var(--fontSize88);
...@@ -68,15 +72,20 @@ ...@@ -68,15 +72,20 @@
display: flex; display: flex;
/* justify-content: center; */ /* justify-content: center; */
align-items: center; align-items: center;
width: 100%;
} }
/* .custom-class */ /* .custom-class */
.inputSty { .inputSty {
box-sizing: border-box; box-sizing: border-box;
width: var(--fontSize400); /* width: var(--fontSize400); */
width: calc(100% - var(--fontSize200));
display: flex;
align-items: center;
height: var(--fontSize72); height: var(--fontSize72);
margin-left: var(--fontSize32); margin-left: var(--fontSize32);
padding: var(--fontSize16) var(--fontSize20); padding: 0 var(--fontSize20);
/* padding: var(--fontSize16) var(--fontSize20); */
background: #F4F5F7; background: #F4F5F7;
border: var(--fontSize2) solid #EFF0F2; border: var(--fontSize2) solid #EFF0F2;
border-radius: var(--fontSize8); border-radius: var(--fontSize8);
......
...@@ -14,7 +14,8 @@ ...@@ -14,7 +14,8 @@
.insuranceCompany { .insuranceCompany {
box-sizing: border-box; box-sizing: border-box;
padding: var(--fontSize32); padding: var(--fontSize32);
width: var(--fontSize710); // width: var(--fontSize710);
width: 100%;
height: var(--fontSize120); height: var(--fontSize120);
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0 var(--fontSize6) var(--fontSize16) 0 #cdcdd159; box-shadow: 0 var(--fontSize6) var(--fontSize16) 0 #cdcdd159;
...@@ -54,7 +55,8 @@ ...@@ -54,7 +55,8 @@
.selectItem { .selectItem {
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
width: var(--fontSize630); // width: var(--fontSize630);
width: 100%;
height: var(--fontSize88); height: var(--fontSize88);
background: #FFFFFF; background: #FFFFFF;
border: var(--fontSize2) solid #EFF0F2; border: var(--fontSize2) solid #EFF0F2;
...@@ -132,7 +134,8 @@ ...@@ -132,7 +134,8 @@
.inputBox { .inputBox {
display: flex; display: flex;
box-sizing: border-box; box-sizing: border-box;
width: var(--fontSize585); //width: var(--fontSize585);
width: 100%;
height: var(--fontSize88); height: var(--fontSize88);
align-items: center; // padding: var(--fontSize24); align-items: center; // padding: var(--fontSize24);
border: var(--fontSize2) solid #EFF0F2; border: var(--fontSize2) solid #EFF0F2;
...@@ -140,9 +143,10 @@ ...@@ -140,9 +143,10 @@
overflow: hidden; overflow: hidden;
margin: var(--fontSize16) 0; margin: var(--fontSize16) 0;
.van-field__body { van-cell {
padding-left: var(--fontSize8); padding-left: var(--fontSize8);
width: var(--fontSize570); // width: var(--fontSize570);
width: 100%;
} }
} }
...@@ -230,7 +234,7 @@ ...@@ -230,7 +234,7 @@
.goodsInfo { .goodsInfo {
// flex: 1; // flex: 1;
width: 80%; width: 100%;
} }
} }
.errorMessage { .errorMessage {
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
bindinput="handleInput" bindinput="handleInput"
> >
<view slot="left-icon"> <view slot="left-icon">
<view>¥</view> <view class="unit_text">¥</view>
</view> </view>
</van-field> </van-field>
<view class="title">第三方责任险</view> <view class="title">第三方责任险</view>
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
bindinput="handleInput" bindinput="handleInput"
> >
<view slot="left-icon"> <view slot="left-icon">
<view>¥</view> <view class="unit_text">¥</view>
</view> </view>
</van-field> </van-field>
<view class="title">车上人员责任险(司机)</view> <view class="title">车上人员责任险(司机)</view>
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
bindinput="handleInput" bindinput="handleInput"
> >
<view slot="left-icon"> <view slot="left-icon">
<view>¥</view> <view class="unit_text">¥</view>
</view> </view>
</van-field> </van-field>
<view class="title">车上人员责任险(乘客)</view> <view class="title">车上人员责任险(乘客)</view>
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
bindinput="handleInput" bindinput="handleInput"
> >
<view slot="left-icon"> <view slot="left-icon">
<view>¥</view> <view class="unit_text">¥</view>
</view> </view>
</van-field> </van-field>
</view> </view>
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
bindinput="handleInput" bindinput="handleInput"
> >
<view slot="left-icon"> <view slot="left-icon">
<view>¥</view> <view class="unit_text">¥</view>
</view> </view>
</van-field> </van-field>
</view> </view>
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
bindinput="handleInput" bindinput="handleInput"
> >
<view slot="left-icon"> <view slot="left-icon">
<view>¥</view> <view class="unit_text">¥</view>
</view> </view>
</van-field> </van-field>
<view class="title">车船税</view> <view class="title">车船税</view>
...@@ -229,7 +229,7 @@ ...@@ -229,7 +229,7 @@
bindinput="handleInput" bindinput="handleInput"
> >
<view slot="left-icon"> <view slot="left-icon">
<view>¥</view> <view class="unit_text">¥</view>
</view> </view>
</van-field> </van-field>
</van-collapse-item> </van-collapse-item>
...@@ -292,7 +292,7 @@ ...@@ -292,7 +292,7 @@
data-type="number" data-type="number"
> >
<view slot="left-icon"> <view slot="left-icon">
<view>¥</view> <view class="unit_text">¥</view>
</view> </view>
</van-field> </van-field>
</block> </block>
...@@ -314,7 +314,7 @@ ...@@ -314,7 +314,7 @@
bindinput="handleInput" bindinput="handleInput"
> >
<view slot="left-icon"> <view slot="left-icon">
<view>¥</view> <view class="unit_text">¥</view>
</view> </view>
</van-field> </van-field>
<view class="errorMessage" wx:if="{{ showError }}">金额小于最低限制</view> <view class="errorMessage" wx:if="{{ showError }}">金额小于最低限制</view>
......
<popup <popup class="date-background" show="{{show}}" bindconfirm="confirm" title="推荐人" height="80%">
class="date-background" <view class='date-container'>
show="{{show}}" <view class='date-confirm'>
bindconfirm="confirm" <view class="search-box">
height="90%"> <view class="search-input">
<view class='date-container'> <block wx:if="{{!edit}}">
<view class='date-confirm'> <view class="input {{searchValue?'':'placeholder'}}" bindtap="open">
<view class="search-box"> <block wx:if="{{searchValue}}">{{searchValue}}</block>
<view class="search-input"> <block wx:else>
<block wx:if="{{!edit}}"> <image src="./images/search.png" class="icon" />
<view class="input {{searchValue?'':'placeholder'}}" bindtap="open"> {{'请输入名字'}}
<block wx:if="{{searchValue}}">{{searchValue}}</block> </block>
<block wx:else> </view>
<image src="./images/search.png" class="icon" /> </block>
{{'请输入名字'}} <block wx:else>
</block> <input type="text" class="input" value='{{searchValue}}' focus='{{inputFocus}}' confirm-type="search" bindinput='input' bindblur="inputBlur" bindconfirm="inputConfifm" />
</view> </block>
</block> </view>
<block wx:else> </view>
<input </view>
type="text" <view class="picker-box">
class="input" <picker-view class="picker" value="{{defaultSelectStoreIndex}}" immediate-change="true" indicator-class="indicator" bindchange="changeStore">
value='{{searchValue}}' <picker-view-column>
focus='{{inputFocus}}' <block wx:for="{{pickerList}}" wx:key="merchantId">
confirm-type="search" <view class="view pickViewColumn">{{item.staffName}}</view>
bindinput='input' </block>
bindblur="inputBlur" </picker-view-column>
bindconfirm="inputConfifm" /> </picker-view>
</block> </view>
</view> </view>
</view> </popup>
</view>
<view class="picker-box">
<picker-view
class="picker"
value="{{defaultSelectStoreIndex}}"
immediate-change="true"
indicator-class="indicator"
bindchange="changeStore">
<picker-view-column>
<block wx:for="{{pickerList}}" wx:key="merchantId">
<view class="view pickViewColumn">{{item.staffName}}</view>
</block>
</picker-view-column>
</picker-view>
</view>
</view>
</popup>
\ No newline at end of file \ No newline at end of file
...@@ -7,10 +7,12 @@ ...@@ -7,10 +7,12 @@
justify-content: center; justify-content: center;
margin: 0 var(--fontSize32); margin: 0 var(--fontSize32);
font-size: var(--fontSize28); font-size: var(--fontSize28);
width: 100%;
} }
.search-box .search-input { .search-box .search-input {
width: var(--fontSize686); /* width: var(--fontSize686); */
width: 100%;
height: var(--fontSize72); height: var(--fontSize72);
background: #F7F8FA; background: #F7F8FA;
border-radius: var(--fontSize38); border-radius: var(--fontSize38);
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
bind:tap="clearCanvas" bind:tap="clearCanvas"
webp webp
class="circle_wrap_icon" class="circle_wrap_icon"
src="../../../images/sign_del.png" /> src="../../../../images/sign_del.png" />
</cover-view> </cover-view>
<view class="can_wrap"> <view class="can_wrap">
<canvas <canvas
......
...@@ -127,6 +127,9 @@ Component({ ...@@ -127,6 +127,9 @@ Component({
// console.log(this.data.userInfo) // console.log(this.data.userInfo)
this.onLoad(true) this.onLoad(true)
// this.getMerchant4SMode() // this.getMerchant4SMode()
},
resize(res) {
} }
}, },
...@@ -562,7 +565,7 @@ Component({ ...@@ -562,7 +565,7 @@ Component({
var delBtnWidth = that.data.delBtnWidth var delBtnWidth = that.data.delBtnWidth
//如果距离小于删除按钮的1/2,不显示删除按钮 //如果距离小于删除按钮的1/2,不显示删除按钮
var txtStyle = disX > delBtnWidth / 2 ? 'left:-' + delBtnWidth + 'rpx' : 'left:0' var txtStyle = disX > delBtnWidth / 2 ? 'left:-' + delBtnWidth + 'rpx' : 'left:0'
//获取手指触摸的是哪一项 //获取手指触摸的是哪一项
var index = e.currentTarget.dataset.index var index = e.currentTarget.dataset.index
// var ind = e.currentTarget.dataset.ind // var ind = e.currentTarget.dataset.ind
......
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
.search-box { .search-box {
width: 100%; width: 100%;
padding: var(--fontSize32) var(--fontSize32) 0; padding: var(--fontSize16) var(--fontSize32) 0;
display: flex; display: flex;
background-color: #fff; background-color: #fff;
position: sticky; position: sticky;
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
background: #F7F8FA; background: #F7F8FA;
border-radius: var(--fontSize38); border-radius: var(--fontSize38);
width: 100%; width: 100%;
height: var(--fontSize72); height: var(--fontSize64);
display: flex; display: flex;
align-items: center; align-items: center;
} }
...@@ -145,6 +145,8 @@ ...@@ -145,6 +145,8 @@
.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: var(--fontSize38);
line-height: var(--fontSize38);
} }
.input-placeholder { .input-placeholder {
...@@ -190,7 +192,7 @@ ...@@ -190,7 +192,7 @@
.order-box { .order-box {
background-color: #fdfdfd; background-color: #fdfdfd;
height: calc(100% - var(--fontSize104) - var(--fontSize94)); height: calc(100% - var(--fontSize160));
} }
.list { .list {
...@@ -509,6 +511,9 @@ ...@@ -509,6 +511,9 @@
.order-btn { .order-btn {
box-sizing: border-box; box-sizing: border-box;
height: var(--fontSize56); height: var(--fontSize56);
display: flex;
align-items: center;
justify-content: center;
font-size: var(--fontSize28); font-size: var(--fontSize28);
color: #FFFFFF; color: #FFFFFF;
background: #347BFF; background: #347BFF;
...@@ -524,7 +529,7 @@ ...@@ -524,7 +529,7 @@
} }
.padding_20 { .padding_20 {
padding: var(--fontSize8) var(--fontSize20); padding: 0 var(--fontSize20);
} }
.list .item .order { .list .item .order {
...@@ -609,7 +614,9 @@ ...@@ -609,7 +614,9 @@
.tipsCon { .tipsCon {
box-sizing: border-box; box-sizing: border-box;
width: var(--fontSize646); /* width: var(--fontSize646); */
margin: 0 var(--fontSize32);
width: calc(100% - var(--fontSize64));
height: var(--fontSize56); height: var(--fontSize56);
margin: var(--fontSize20) auto 0; margin: var(--fontSize20) auto 0;
line-height: var(--fontSize56); line-height: var(--fontSize56);
...@@ -688,7 +695,7 @@ ...@@ -688,7 +695,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;
...@@ -726,7 +733,7 @@ ...@@ -726,7 +733,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 {
......
<!--packageCrowdFunding/pages/homePage/index/index.wxml--> <!--packageCrowdFunding/pages/homePage/index/index.wxml-->
<view class="layout_box"> <view class="layout_box">
<view class="top_box"> <view class="top_box">
<view class="top_item" wx:for="{{ staticDataList }}" wx:key="index"> <view class="top_item" wx:for="{{ staticDataList }}" wx:key="index">
<view class="label">{{item.label}}</view> <view class="label">{{item.label}}</view>
<view class="value"> <view class="value">
<text style="font-size: var(--fontSize28);margin-right: var(--fontSize4);">¥</text> <text style="font-size: var(--fontSize28);margin-right: var(--fontSize4);">¥</text>
{{statisticsObj[item.value]||0}} {{statisticsObj[item.value]||0}}
</view> </view>
<view class="tips_box"> <view class="tips_box">
<text>{{item.tipsLabel}}</text> <text>{{item.tipsLabel}}</text>
<text class="num_text">{{statisticsObj[item.tipsValue]||0}}</text> <text class="num_text">{{statisticsObj[item.tipsValue]||0}}</text>
</view> </view>
</view> </view>
</view> </view>
<view class="{{!waitInputCount ? 'constent_no_tips_box' : ''}} content_box"> <view class="{{!waitInputCount ? 'constent_no_tips_box' : ''}} content_box">
<view class="headerCon"> <view class="headerCon">
<view class="tips-text text-hide"> <view class="tips-text text-hide">
你好, 你好,
<text>{{loginRoleLabel[loginRole]|| ''}}{{userInfo.name || ''}}</text> <text>{{loginRoleLabel[loginRole]|| ''}}{{userInfo.name || ''}}</text>
</view> </view>
<view class="dataCon"> <view class="dataCon">
<view class="today item {{ dataActive=='today'?'active':'' }}" bindtap="changeDataSelect" data-name="today">本日</view> <view class="today item {{ dataActive=='today'?'active':'' }}" bindtap="changeDataSelect" data-name="today">本日</view>
<view class="month item {{ dataActive=='month'?'active':'' }}" bindtap="changeDataSelect" data-name="month">本月</view> <view class="month item {{ dataActive=='month'?'active':'' }}" bindtap="changeDataSelect" data-name="month">本月</view>
<view class="total item {{ dataActive=='total'?'active':'' }}" bindtap="changeDataSelect" data-name="total">累计</view> <view class="total item {{ dataActive=='total'?'active':'' }}" bindtap="changeDataSelect" data-name="total">累计</view>
</view> </view>
</view> </view>
<view class="totalCon"> <view class="totalCon">
<view class="item"> <view class="item">
<view class="label">个人产值</view> <view class="label">个人产值</view>
<veiw class="number"> <veiw class="number">
<text class="unit">¥ </text> <text class="unit">¥ </text>
{{staticData.totalOutputValue||0}} {{staticData.totalOutputValue||0}}
</veiw> </veiw>
</view> </view>
<view class="item"> <view class="item">
<view class="label">转化率</view> <view class="label">转化率</view>
<veiw class="number">{{staticData.conversionRate > 100 ? 100 : staticData.conversionRate ||0}}%</veiw> <veiw class="number">{{staticData.conversionRate > 100 ? 100 : staticData.conversionRate ||0}}%</veiw>
</view> </view>
</view> </view>
<view class="static_box"> <view class="static_box">
<view class="static_item" wx:for="{{ itemDataList }}" wx:key="index" wx:for-index="index"> <view class="static_item" wx:for="{{ itemDataList }}" wx:key="index" wx:for-index="index">
<view class="label"> <view class="label">
<image src="{{ IMG_URL}}staticIcon/{{item.icon }}.png" mode="" /> <image src="{{ IMG_URL}}staticIcon/{{item.icon }}.png" mode="" />
<view class="label_text">{{item.label}}</view> <view class="label_text">{{item.label}}</view>
</view> </view>
<view class="value"> <view class="value">
<text wx:if="{{ item.unit }}" style="font-size: var(--fontSize24);margin-right: var(--fontSize4);">¥</text> <text wx:if="{{ item.unit }}" style="font-size: var(--fontSize24);margin-right: var(--fontSize4);">¥</text>
{{staticData[item.value]||0}} {{staticData[item.value]||0}}
</view> </view>
</view> </view>
</view> </view>
<view class="title">展业工具</view> <view class="title">展业工具</view>
<view class="menu_box"> <view class="menu_box">
<block wx:for="{{ menuList }}" wx:key="index"> <block wx:for="{{ menuList }}" wx:key="index">
<block wx:if="{{ item.menuText == '工资绩效' }}"> <!-- <block wx:if="{{ item.menuText == '工资绩效' }}"> -->
<view class="menu_item" bindtap="navGo" data-item="{{ item }}"> <view class="menu_item" bindtap="navGo" data-item="{{ item }}">
<view class="icon"> <view class="icon">
<image src="{{ IMG_URL}}crowdFunding/{{item.icon }}.png" mode="widthFix" /> <image src="{{ IMG_URL}}crowdFunding/{{item.icon }}.png" mode="widthFix" />
</view> </view>
<view class="text">{{item.menuText}}</view> <view class="text">{{item.menuText}}</view>
</view> <view class="hot_icon" wx:if="{{ item.tipsNum }}">{{item.tipsNum}}</view>
</block> <view class="bubble_icon" wx:if="{{ item.noRead }}"></view>
<block wx:else> </view>
<!-- </block> -->
<!-- <block wx:else>
<block wx:if="{{ item.default }}"> <block wx:if="{{ item.default }}">
<view class="menu_item" bindtap="navGo" data-item="{{ item }}"> <view class="menu_item" bindtap="navGo" data-item="{{ item }}">
<view class="icon"> <view class="icon">
...@@ -83,9 +85,9 @@ ...@@ -83,9 +85,9 @@
</view> </view>
</block> </block>
</block> </block>
</block> </block> -->
</block> </block>
</view> </view>
</view> </view>
</view> </view>
<task-dialog wx:if="{{ showTaskDialog }}" showDialog="{{ showTaskDialog }}" taskInfo="{{ taskInfo }}"></task-dialog> <task-dialog wx:if="{{ showTaskDialog }}" showDialog="{{ showTaskDialog }}" taskInfo="{{ taskInfo }}"></task-dialog>
\ No newline at end of file \ No newline at end of file
// packageEquity/pages/residentTarget/residentTarget.js // packageEquity/pages/residentTarget/residentTarget.js
import { taskMarkAsReadApi } from '../../api' import { taskMarkAsReadApi } from '../../api'
import { ImgUrl } from '~/config.js' import { ImgUrl } from '~/config.js'
const navStyle = 'background-color: transparent;box-shadow:none;'
Page({ Page({
/** /**
...@@ -8,7 +9,7 @@ Page({ ...@@ -8,7 +9,7 @@ Page({
*/ */
data: { data: {
ImgUrl: ImgUrl + '/miniProgram/', ImgUrl: ImgUrl + '/miniProgram/',
navStyle: 'background-color: transparent;box-shadow:none;', navStyle,
taskInfo: {}, taskInfo: {},
userInfo: {} userInfo: {}
}, },
...@@ -25,6 +26,11 @@ Page({ ...@@ -25,6 +26,11 @@ Page({
userInfo: wx.$util.getUserInfo() userInfo: wx.$util.getUserInfo()
}) })
}, },
onPageScroll({scrollTop}){
this.setData({
navStyle:scrollTop > 20 ? '' : navStyle
})
},
markAsRead(options) { markAsRead(options) {
taskMarkAsReadApi({id: options?.id}).then(res => { taskMarkAsReadApi({id: options?.id}).then(res => {
let { code, data, message } = res let { code, data, message } = res
......
...@@ -5,7 +5,11 @@ page{ ...@@ -5,7 +5,11 @@ page{
.navigation-title { .navigation-title {
font-weight: 500; font-weight: 500;
font-size: var(--fontSize36); font-size: var(--fontSize36);
color: #fff; }
@media screen and (min-device-width: 600px) and (-webkit-min-device-pixel-ratio: 1) {
.navigation-title {
font-size: var(--fontSize23);
}
} }
.layout { .layout {
......
<!--pages/tabDateIndex/components/DateScreen/DateScreen.wxml--> <!--pages/tabDateIndex/components/DateScreen/DateScreen.wxml-->
<scroll-view scroll-y class="confirm-box" style="height:calc(100% - {{height}}px);margin-top:{{navBarHeight}}px;" <scroll-view scroll-y class="confirm-box" style="height:calc(100vh - {{navBarHeight}}px);margin-top:{{navBarHeight}}px;"
hidden="{{!show}}"> hidden="{{!show}}">
<view class="main" style="min-height:calc(100% - {{btnHeight}}px)"> <view class="main" style="min-height:calc(100% - {{btnHeight}}px)">
<!-- 非超管转化人员 --> <!-- 非超管转化人员 -->
...@@ -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;
} }
......
...@@ -13,8 +13,9 @@ page { ...@@ -13,8 +13,9 @@ page {
.search-box { .search-box {
width: 100%; width: 100%;
height: var(--fontSize104); // height: var(--fontSize104);
padding-left: var(--fontSize32); padding-left: var(--fontSize32);
padding-top: var(--fontSize16);
display: flex; display: flex;
align-items: center; align-items: center;
background-color: #fff; background-color: #fff;
...@@ -28,7 +29,7 @@ page { ...@@ -28,7 +29,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(--fontSize144));
height: var(--fontSize72); height: var(--fontSize72);
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -49,7 +50,8 @@ page { ...@@ -49,7 +50,8 @@ page {
.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: var(--fontSize28); height: var(--fontSize38);
line-height: var(--fontSize38);
} }
.input-placeholder { .input-placeholder {
...@@ -57,7 +59,7 @@ page { ...@@ -57,7 +59,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;
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
bindrefresherrefresh="search" bindrefresherrefresh="search"
bindscrolltolower="scrollonReachBottom" bindscrolltolower="scrollonReachBottom"
class="list" class="list"
style="height:calc(100vh - {{navBarHeight}}px - var(--fontSize300));" style="height:calc(100vh - {{navBarHeight}}px - var(--fontSize252));"
refresher-threshold="104" refresher-threshold="104"
refresher-triggered="{{triggered}}" refresher-triggered="{{triggered}}"
class="list"> class="list">
......
...@@ -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;'
})
},
/** /**
* 生命周期函数--监听页面初次渲染完成 * 生命周期函数--监听页面初次渲染完成
*/ */
......
...@@ -158,7 +158,8 @@ ...@@ -158,7 +158,8 @@
</view> </view>
</block> </block>
<block wx:if="{{showWorkBox}}"> <block wx:if="{{showWorkBox}}">
<view class="work-box" catchtouchmove="noScroll"> <!-- catchtouchmove="noScroll" -->
<view class="work-box">
<view class="work-bg" bindtap="showWork" /> <view class="work-bg" bindtap="showWork" />
<view class="work-content"> <view class="work-content">
<view class="work-title text-center hasborder">工位设置</view> <view class="work-title text-center hasborder">工位设置</view>
...@@ -198,5 +199,5 @@ ...@@ -198,5 +199,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: 73%;
overflow: scroll;
padding: 0 var(--fontSize32); padding: 0 var(--fontSize32);
box-sizing: border-box; box-sizing: border-box;
color: #323233; color: #323233;
...@@ -333,10 +335,22 @@ page { ...@@ -333,10 +335,22 @@ page {
} }
.work-title { .work-title {
width: calc(100% - var(--fontSize64));
height: var(--fontSize100); height: var(--fontSize100);
position: absolute;
top: 0;
font-size: var(--fontSize28);
font-weight: 500;
}
.work-body {
margin: var(--fontSize100) 0;
height: calc(100% - var(--fontSize200));
overflow: auto;
} }
.work-body .item { .work-body .item {
height: var(--fontSize100); height: var(--fontSize100);
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -400,8 +414,11 @@ page { ...@@ -400,8 +414,11 @@ page {
.work-footer { .work-footer {
display: flex; display: flex;
height: var(--fontSize100); height: var(--fontSize100);
width: calc(100% - var(--fontSize64));
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
position: absolute;
bottom: var(--fontSize10);
} }
.work-footer .cancel, .work-footer .cancel,
......
<!--pages/tabWorkOrder/components/OrderScreen/OrderScreen.wxml--> <!--pages/tabWorkOrder/components/OrderScreen/OrderScreen.wxml-->
<scroll-view scroll-y class="confirm-box" style="height:calc(100% - {{height}}px);margin-top:{{navBarHeight}}px;" <scroll-view scroll-y class="confirm-box" style="height:calc(100vh - {{navBarHeight}}px);margin-top:{{navBarHeight}}px;"
hidden="{{!show}}"> hidden="{{!show}}">
<view class="main" style="padding-bottom:{{btnHeight}}px"> <view class="main" style="padding-bottom:{{btnHeight}}px">
<!-- 非超管转化人员 --> <!-- 非超管转化人员 -->
...@@ -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;
} }
......
...@@ -12,8 +12,9 @@ page { ...@@ -12,8 +12,9 @@ page {
.search-box { .search-box {
width: 100%; width: 100%;
height: var(--fontSize104); /* height: var(--fontSize104); */
padding-left: var(--fontSize32); padding-left: var(--fontSize32);
padding-top: var(--fontSize16);
display: flex; display: flex;
align-items: center; align-items: center;
background-color: #fff; background-color: #fff;
...@@ -27,7 +28,7 @@ page { ...@@ -27,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(100% - var(--fontSize192)); width: calc(100% - var(--fontSize144));
height: var(--fontSize72); height: var(--fontSize72);
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -47,7 +48,8 @@ page { ...@@ -47,7 +48,8 @@ page {
.search-box .search-input .input { .search-box .search-input .input {
font-size: var(--fontSize28); font-size: var(--fontSize28);
height: 100%; height: var(--fontSize38);
line-height: var(--fontSize38);
width: calc(100% - var(--fontSize136)); width: calc(100% - var(--fontSize136));
} }
......
...@@ -160,7 +160,7 @@ page { ...@@ -160,7 +160,7 @@ page {
border-radius: var(--fontSize12); border-radius: var(--fontSize12);
} }
.login-form .input input{ .login-form .input input{
height: var(--fontSize28); height: var(--fontSize38);
} }
.login-form .input .clear { .login-form .input .clear {
flex-shrink: 0; flex-shrink: 0;
...@@ -211,3 +211,83 @@ page { ...@@ -211,3 +211,83 @@ page {
/* left: 50%; */ /* left: 50%; */
/* transform: translateX(-50%); */ /* transform: translateX(-50%); */
} }
@media screen and (min-device-width: 600px) and (-webkit-min-device-pixel-ratio: 1) {
.wx .img{
width: var(--fontSize200);
height: var(--fontSize178);
}
.wx .title{
font-weight: 600;
font-size: var(--fontSize52);
color: #181A1F;
padding-top: 2vh;
}
.wx .subtitle {
font-size: var(--fontSize40);
color: #181A1F;
margin-bottom: 2vh;
}
.login-btn {
margin: 4vh 0 var(--fontSize28);
background-image: linear-gradient(125deg, #65B8F8 0%, #347BFF 100%);
border-radius: var(--fontSize12);
text-align: center;
font-size: var(--fontSize32);
color: #fff;
height: var(--fontSize70);
line-height: var(--fontSize70);
width: var(--fontSize594);
font-weight: normal;
transition: all .5s;
position: relative;
}
.login-btn button {
opacity: 0;
position: absolute;
top: 0;
left: 0;
padding: 0;
width: 100% !important;
height: var(--fontSize70);
box-sizing: border-box;
}
.mobile_btn {
width: var(--fontSize594);
height: var(--fontSize70);
background: #E6F0FD;
border-radius: var(--fontSize12);
color: #347BFF;
text-align: center;
line-height: var(--fontSize70);
font-size: var(--fontSize32);
}
.auth_box{
padding: var(--fontSize20) 0;
width: 100%;
}
.phone_login{
width: 100%;
}
.phone_login .title {
font-weight: 600;
font-size: var(--fontSize48);
color: #181A1F;
padding: 4vh 0 2vh;
display: flex;
justify-content: center;
}
.login-form .login_btn {
width: var(--fontSize594);
height: var(--fontSize70);
background-image: linear-gradient(125deg, #65B8F8 0%, #347BFF 100%);
border-radius: var(--fontSize12);
color: #fff;
text-align: center;
line-height: var(--fontSize70);
margin: var(--fontSize94) 0 var(--fontSize40);
}
}
{ {
"appid": "wx570d9331f9ace0bd", "appid": "wx24ebae5768e74138",
"projectname": "%E7%B2%BE%E5%93%81%E5%8D%87%E7%BA%A7", "projectname": "%E7%B2%BE%E5%93%81%E5%8D%87%E7%BA%A7",
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.29.2", "libVersion": "2.29.2",
......
...@@ -65,4 +65,14 @@ ...@@ -65,4 +65,14 @@
/* height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--envSafeAreaInsetBottom)); /* height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--envSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--constantSafeAreaInsetBottom)); */ height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--constantSafeAreaInsetBottom)); */
width: 100%; width: 100%;
}
@media screen and (min-device-width: 600px) and (-webkit-min-device-pixel-ratio: 1) {
.layout{
height: calc(100vh - var(--fontSize70) - var(--constantSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize70) - var(--envSafeAreaInsetBottom));
}
.tipsHeigh{
height: calc(100vh - var(--fontSize70) - var(--fontSize72) var(--constantSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize70) - var(--fontSize72) - var(--envSafeAreaInsetBottom));
}
} }
\ No newline at end of file \ No newline at end of file
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
bindrefresherrefresh="search" bindrefresherrefresh="search"
bindscrolltolower="onBottomRefresh" bindscrolltolower="onBottomRefresh"
class="list" class="list"
style="height:calc(100% - var(--fontSize208));" style="height:calc(100% - var(--fontSize152));"
refresher-threshold="104" refresher-threshold="104"
refresher-triggered="{{triggered}}"> refresher-triggered="{{triggered}}">
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
} }
.main { .main {
margin-top: calc(-1 * var(--fontSize20)); /* margin-top: calc(-1 * var(--fontSize20)); */
background: #FFFFFF; background: #FFFFFF;
border-radius: var(--fontSize48) var(--fontSize48) 0 0; border-radius: var(--fontSize48) var(--fontSize48) 0 0;
overflow: hidden; overflow: hidden;
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
.search-box { .search-box {
width: 100%; width: 100%;
padding: var(--fontSize32) var(--fontSize32) 0; padding: var(--fontSize16) var(--fontSize32) 0;
display: flex; display: flex;
background-color: #fff; background-color: #fff;
position: sticky; position: sticky;
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
background: #F7F8FA; background: #F7F8FA;
border-radius: var(--fontSize38); border-radius: var(--fontSize38);
width: 100%; width: 100%;
height: var(--fontSize72); height: var(--fontSize64);
display: flex; display: flex;
align-items: center; align-items: center;
} }
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
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: fit-content; height: fit-content;
padding: var(--fontSize30) var(--fontSize36); padding: var(--fontSize30) var(--fontSize36) var(--fontSize80);
} }
.production-list{ .production-list{
.title{ .title{
......
// subvehicleConversion/pages/relatedFinalPayment/relatedFinalPayment.js // subvehicleConversion/pages/relatedFinalPayment/relatedFinalPayment.js
import api from '~/subvehicleConversion/api' import api from '~/subvehicleConversion/api'
const navStyle = 'background:transparent;box-shadow:none;'
Page({ Page({
/** /**
* 页面的初始数据 * 页面的初始数据
...@@ -37,7 +37,8 @@ Page({ ...@@ -37,7 +37,8 @@ Page({
value: 'subOrderCode' value: 'subOrderCode'
} }
], ],
confirmFlag: false confirmFlag: false,
navStyle
}, },
handleTransaction() { handleTransaction() {
this.setData({ this.setData({
...@@ -104,6 +105,12 @@ Page({ ...@@ -104,6 +105,12 @@ Page({
}) })
}, },
onPageScroll({scrollTop}){
this.setData({
navStyle:scrollTop > 20 ? '' : navStyle
})
},
/** /**
* 生命周期函数--监听页面初次渲染完成 * 生命周期函数--监听页面初次渲染完成
*/ */
......
<!--subvehicleConversion/pages/relatedFinalPayment/relatedFinalPayment.wxml--> <!--subvehicleConversion/pages/relatedFinalPayment/relatedFinalPayment.wxml-->
<navigation-bar showBack navStyle="{{navStyle}}" bindback="back">关联尾款单</navigation-bar>
<view class="big-img page-box isFullSucreen"> <view class="big-img page-box isFullSucreen">
<view class="titleBox"> <!-- <view class="titleBox">
<view class="imgBox" bind:tap="back"> <view class="imgBox" bind:tap="back">
<image src="/subvehicleConversion/images/arrow-left.png"></image> <image src="/subvehicleConversion/images/arrow-left.png"></image>
</view> </view>
<view class="navigation-title-text"> <view class="navigation-title-text">
关联尾款单 关联尾款单
</view> </view>
</view> </view> -->
<!-- 补录单显示付款金额(订单总价 众筹价) --> <!-- 补录单显示付款金额(订单总价 众筹价) -->
<view class="money">尾款金额 <view class="money">尾款金额
<view class="sum">{{orderInfo.tailPayment}}</view> <view class="sum">{{orderInfo.tailPayment}}</view>
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/headerBg-l.png'); background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/headerBg-l.png');
background-size: 100% 100%; background-size: 100% 100%;
} }
.titleBox{ .titleBox{
display: flex; display: flex;
padding-top: var(--fontSize80); padding-top: var(--fontSize80);
...@@ -26,16 +27,21 @@ ...@@ -26,16 +27,21 @@
vertical-align: middle; vertical-align: middle;
} }
.money{ .money{
position: absolute;
color: #fff; color: #fff;
font-size: var(--fontSize28); font-size: var(--fontSize28);
display: flex; display: flex;
margin-top: var(--fontSize40); left: var(--fontSize36);
bottom: var(--fontSize74);
} }
.money .sum{ .money .sum{
font-size: var(--fontSize34) font-size: var(--fontSize34)
} }
.box{ .big-img .box{
position: absolute;
top: var(--fontSize230);
width: calc(100% - var(--fontSize72));
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
...@@ -48,6 +54,15 @@ ...@@ -48,6 +54,15 @@
font-size: var(--fontSize28); font-size: var(--fontSize28);
} }
@media screen and (min-device-width: 768px) and (-webkit-min-device-pixel-ratio: 1) {
.big-img {
height: var(--fontSize180);
}
.big-img .box{
top: var(--fontSize100);
}
}
.box .label{ .box .label{
width: var(--fontSize140); width: var(--fontSize140);
} }
......
/* subvehicleConversion/components/supplementaryOrderDetail/supplementaryOrderDetail.wxss */ /* subvehicleConversion/components/supplementaryOrderDetail/supplementaryOrderDetail.wxss */
.main { .main {
margin-top: calc(-1 * var(--fontSize20)); /* margin-top: calc(-1 * var(--fontSize20)); */
background: #FFFFFF; background: #FFFFFF;
border-radius: var(--fontSize48) var(--fontSize48) 0 0; border-radius: var(--fontSize48) var(--fontSize48) 0 0;
overflow: hidden; overflow: hidden;
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
.search-box { .search-box {
width: calc(100% - var(--fontSize64)); width: calc(100% - var(--fontSize64));
margin: var(--fontSize32) var(--fontSize32) 0; margin: var(--fontSize16) var(--fontSize32) 0;
display: flex; display: flex;
background-color: #fff; background-color: #fff;
position: sticky; position: sticky;
...@@ -90,8 +90,8 @@ transform: rotate(-90deg); ...@@ -90,8 +90,8 @@ transform: rotate(-90deg);
} }
.search-box .select_box .option_box .option{ .search-box .select_box .option_box .option{
display: block; display: block;
height: var(--fontSize88); height: var(--fontSize72);
line-height: var(--fontSize88); line-height: var(--fontSize72);
text-align: center; text-align: center;
color: #333333; color: #333333;
overflow: hidden; overflow: hidden;
...@@ -112,7 +112,7 @@ transform: rotate(-90deg); ...@@ -112,7 +112,7 @@ transform: rotate(-90deg);
.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;
} }
...@@ -132,8 +132,8 @@ transform: rotate(-90deg); ...@@ -132,8 +132,8 @@ transform: rotate(-90deg);
.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: var(--fontSize29); height: var(--fontSize38);
line-height: var(--fontSize29); line-height: var(--fontSize38);
} }
.input-placeholder { .input-placeholder {
...@@ -165,7 +165,7 @@ transform: rotate(-90deg); ...@@ -165,7 +165,7 @@ transform: rotate(-90deg);
.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;
...@@ -179,14 +179,14 @@ transform: rotate(-90deg); ...@@ -179,14 +179,14 @@ transform: rotate(-90deg);
.order-box { .order-box {
background-color: #fdfdfd; background-color: #fdfdfd;
height: calc(100% - var(--fontSize104) - var(--fontSize104) - var(--fontSize76)); height: calc(100% - var(--fontSize226));
} }
.list { .list {
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
padding: 0 var(--fontSize20); padding: 0 var(--fontSize20);
height: calc(100% - var(--fontSize20)); height: 100%;
} }
.list .empty{ .list .empty{
......
...@@ -3,6 +3,7 @@ import { getOrderDetail, createPayOrder, updateOrderRemark } from '~/subvehicleC ...@@ -3,6 +3,7 @@ import { getOrderDetail, createPayOrder, updateOrderRemark } from '~/subvehicleC
import { createQrcodeImage } from '~/api/api' import { createQrcodeImage } from '~/api/api'
import qrcode from '~/utils/lib/wxqrcode' import qrcode from '~/utils/lib/wxqrcode'
import pageApi from '~/api/api' import pageApi from '~/api/api'
const navStyle = 'background:transparent;box-shadow:none;'
let time = null let time = null
Page({ Page({
/** /**
...@@ -51,7 +52,8 @@ Page({ ...@@ -51,7 +52,8 @@ Page({
} }
], ],
showRemark: false, showRemark: false,
textAreaValue: '' // 备注回显 textAreaValue: '', // 备注回显
navStyle
}, },
// 生成小程序码 // 生成小程序码
createWxQrcode() { createWxQrcode() {
...@@ -223,6 +225,12 @@ Page({ ...@@ -223,6 +225,12 @@ Page({
*/ */
onLoad(options) {}, onLoad(options) {},
onPageScroll({scrollTop}){
this.setData({
navStyle:scrollTop > 20 ? '' : navStyle
})
},
/** /**
* 生命周期函数--监听页面显示 * 生命周期函数--监听页面显示
*/ */
......
<!--subvehicleConversion/pages/supplementaryOrderPay/supplementaryOrderPay.wxml--> <!--subvehicleConversion/pages/supplementaryOrderPay/supplementaryOrderPay.wxml-->
<wxs src="./index.wxs" module="filter" /> <wxs src="./index.wxs" module="filter" />
<navigation-bar showBack navStyle="{{navStyle}}" bindback="back">去支付</navigation-bar>
<view class="big-img page-box isFullSucreen"> <view class="big-img page-box isFullSucreen">
<view class="titleBox"> <!-- <view class="titleBox">
<view class="imgBox" bind:tap="back"> <view class="imgBox" bind:tap="back">
<image src="/subvehicleConversion/images/arrow-left.png" /> <image src="/subvehicleConversion/images/arrow-left.png" />
</view> </view>
<view class="navigation-title-text">去支付</view> <view class="navigation-title-text">去支付</view>
</view> </view> -->
<view class="money"> <view class="money">
尾款金额 尾款金额
<!-- 详情接口金额返回的是元 需*100转为分 --> <!-- 详情接口金额返回的是元 需*100转为分 -->
......
...@@ -6,6 +6,11 @@ page { ...@@ -6,6 +6,11 @@ page {
.navigation-title-text{ .navigation-title-text{
font-size: var(--fontSize28); font-size: var(--fontSize28);
} }
@media screen and (min-device-width: 600px) and (-webkit-min-device-pixel-ratio: 1) {
.navigation-title-text {
font-size: var(--fontSize23);
}
}
.big-img { .big-img {
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
...@@ -16,10 +21,12 @@ page { ...@@ -16,10 +21,12 @@ page {
background-size: 100% 100%; background-size: 100% 100%;
} }
.big-img .money { .big-img .money {
position: absolute;
color: #fff; color: #fff;
font-size: var(--fontSize28); font-size: var(--fontSize28);
display: flex; display: flex;
margin-top: var(--fontSize40); left: var(--fontSize36);
bottom: var(--fontSize74);
} }
.big-img .money .sum { .big-img .money .sum {
...@@ -46,11 +53,16 @@ page { ...@@ -46,11 +53,16 @@ page {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
width: var(--fontSize710); width: var(--fontSize710);
height: var(--fontSize716); height: var(--fontSize646);
background: #FFFFFF; background: #FFFFFF;
border-radius: var(--fontSize16); border-radius: var(--fontSize16);
margin: calc(-1 * var(--fontSize34)) auto var(--fontSize34); margin: calc(-1 * var(--fontSize34)) auto var(--fontSize34);
} }
@media screen and (min-device-width: 768px) and (-webkit-min-device-pixel-ratio: 1) {
.big-img {
height: var(--fontSize180);
}
}
.box .right image { .box .right image {
width: var(--fontSize14); width: var(--fontSize14);
height: var(--fontSize24); height: var(--fontSize24);
...@@ -92,8 +104,8 @@ page { ...@@ -92,8 +104,8 @@ page {
margin: var(--fontSize36) 0; margin: var(--fontSize36) 0;
} }
.box .pay-box .tab-qrcode { .box .pay-box .tab-qrcode {
width: var(--fontSize430); width: var(--fontSize360);
height: var(--fontSize430); height: var(--fontSize360);
} }
.box .pay-box .tab-desc { .box .pay-box .tab-desc {
margin-top: var(--fontSize20); margin-top: var(--fontSize20);
......
...@@ -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);
......
...@@ -14,30 +14,33 @@ ...@@ -14,30 +14,33 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.sub-title .all_btn{
.sub-title .all_btn {
position: absolute; position: absolute;
right: var(--fontSize20); right: var(--fontSize20);
font-size: var(--fontSize24); font-size: var(--fontSize24);
color: #9B9B9E; color: #9B9B9E;
font-weight: 400; font-weight: 400;
} }
.text-hide { .text-hide {
white-space:nowrap; white-space: nowrap;
overflow:hidden; overflow: hidden;
text-overflow:ellipsis; text-overflow: ellipsis;
} }
.text-center{
.text-center {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.order_no_box{ .order_no_box {
height: calc(100% - var(--fontSize120)); height: calc(100% - var(--fontSize120));
padding: var(--fontSize20) 0; padding: var(--fontSize20) 0;
} }
.order_no_item{ .order_no_item {
box-sizing: border-box; box-sizing: border-box;
background: #F7F8FA; background: #F7F8FA;
border-radius: var(--fontSize16); border-radius: var(--fontSize16);
...@@ -48,40 +51,42 @@ ...@@ -48,40 +51,42 @@
margin-top: var(--fontSize20); margin-top: var(--fontSize20);
position: relative; position: relative;
} }
.order_no_item:first-child{
.order_no_item:first-child {
margin-top: 0; margin-top: 0;
} }
.order_no_item:last-child{
margin-bottom: var(--fontSize20); .order_no_item:last-child {
margin-bottom: var(--fontSize40);
} }
.message{ .message {
display: flex; display: flex;
flex-flow: column; flex-flow: column;
justify-content: center; justify-content: center;
gap: var(--fontSize12); gap: var(--fontSize12);
} }
.checked{ .checked {
width: var(--fontSize32); width: var(--fontSize32);
height: var(--fontSize32); height: var(--fontSize32);
flex-shrink: 0; flex-shrink: 0;
} }
.order_no_item.active{ .order_no_item.active {
background: #347BFF1a; background: #347BFF1a;
border: var(--fontSize2) solid #347BFF; border: var(--fontSize2) solid #347BFF;
border-radius: var(--fontSize16); border-radius: var(--fontSize16);
} }
.order_no_item .item{ .order_no_item .item {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: var(--fontSize24); font-size: var(--fontSize24);
color: #292D33; color: #292D33;
} }
.option_box{ .option_box {
position: absolute; position: absolute;
z-index: 200; z-index: 200;
top: var(--fontSize226); top: var(--fontSize226);
...@@ -93,7 +98,8 @@ ...@@ -93,7 +98,8 @@
border-radius: var(--fontSize16); border-radius: var(--fontSize16);
height: var(--fontSize176); height: var(--fontSize176);
} }
.option_box::after{
.option_box::after {
height: 0; height: 0;
width: 0; width: 0;
content: ''; content: '';
...@@ -102,22 +108,24 @@ ...@@ -102,22 +108,24 @@
border-right: var(--fontSize14) solid #FFFFFF; border-right: var(--fontSize14) solid #FFFFFF;
top: calc(-1 * var(--fontSize24)); top: calc(-1 * var(--fontSize24));
left: var(--fontSize88); left: var(--fontSize88);
z-index:-1; z-index: -1;
transform: rotate(90deg); transform: rotate(90deg);
} }
.option_box::before{
.option_box::before {
height: 0; height: 0;
width: 0; width: 0;
content: ''; content: '';
position: absolute; position: absolute;
border: var(--fontSize14) solid transparent; border: var(--fontSize14) solid transparent;
border-right: var(--fontSize14) solid #FFFFFF; border-right: var(--fontSize14) solid #FFFFFF;
top: calc(-1 * var(--fontSize24)); top: calc(-1 * var(--fontSize24));
left: var(--fontSize88); left: var(--fontSize88);
z-index:-1; z-index: -1;
transform: rotate(90deg); transform: rotate(90deg);
} }
.option_box .option{
.option_box .option {
display: block; display: block;
height: var(--fontSize88); height: var(--fontSize88);
line-height: var(--fontSize88); line-height: var(--fontSize88);
...@@ -127,20 +135,20 @@ ...@@ -127,20 +135,20 @@
font-size: var(--fontSize28); font-size: var(--fontSize28);
} }
.option_box .option:first-child{ .option_box .option:first-child {
border-radius: var(--fontSize16) var(--fontSize16) 0 0; border-radius: var(--fontSize16) var(--fontSize16) 0 0;
} }
.option_box .option:last-child{ .option_box .option:last-child {
border-radius: 0 0 var(--fontSize16) var(--fontSize16); border-radius: 0 0 var(--fontSize16) var(--fontSize16);
} }
.option_box .option.active{ .option_box .option.active {
background: #347bff1a; background: #347bff1a;
color: #347BFF; color: #347BFF;
} }
.mask_class{ .mask_class {
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
background: transparent; background: transparent;
...@@ -150,24 +158,24 @@ ...@@ -150,24 +158,24 @@
z-index: 100; z-index: 100;
} }
.item .label{ .item .label {
color: #999EA8; color: #999EA8;
width: var(--fontSize130); width: var(--fontSize130);
margin-right: var(--fontSize32); margin-right: var(--fontSize32);
} }
.item .value{ .item .value {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.item .value .copy_icon{ .item .value .copy_icon {
width: var(--fontSize32); width: var(--fontSize32);
height: var(--fontSize32); height: var(--fontSize32);
margin-left: var(--fontSize8); margin-left: var(--fontSize8);
} }
.item .select_value{ .item .select_value {
height: var(--fontSize48); height: var(--fontSize48);
background: #FFFFFF; background: #FFFFFF;
border: var(--fontSize1) solid #DEE0E3; border: var(--fontSize1) solid #DEE0E3;
...@@ -183,6 +191,6 @@ ...@@ -183,6 +191,6 @@
height: var(--fontSize28); height: var(--fontSize28);
} }
.item .price_value{ .item .price_value {
font-weight: 600; font-weight: 600;
} }
\ No newline at end of file \ No newline at end of file
...@@ -26,7 +26,7 @@ page ::-webkit-scrollbar { ...@@ -26,7 +26,7 @@ page ::-webkit-scrollbar {
} }
} }
.static_box{ .static_box {
margin: var(--fontSize32) 0 var(--fontSize14) 0; margin: var(--fontSize32) 0 var(--fontSize14) 0;
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, var(--fontSize216)); grid-template-columns: repeat(auto-fill, var(--fontSize216));
...@@ -34,26 +34,26 @@ page ::-webkit-scrollbar { ...@@ -34,26 +34,26 @@ page ::-webkit-scrollbar {
align-items: center; align-items: center;
} }
.static_box .static_item{ .static_box .static_item {
background: #F6FCFE; background: #F6FCFE;
border-radius: var(--fontSize12); border-radius: var(--fontSize12);
margin-bottom: var(--fontSize18); margin-bottom: var(--fontSize18);
padding: var(--fontSize24) var(--fontSize8); padding: var(--fontSize24) var(--fontSize8);
} }
.static_box .static_item .label{ .static_box .static_item .label {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: var(--fontSize22); font-size: var(--fontSize22);
color: #5A6066; color: #5A6066;
} }
.static_box .static_item .label image{ .static_box .static_item .label image {
width: var(--fontSize36); width: var(--fontSize36);
height: var(--fontSize36); height: var(--fontSize36);
} }
.static_box .static_item .value{ .static_box .static_item .value {
margin-left: var(--fontSize44); margin-left: var(--fontSize44);
font-size: var(--fontSize36); font-size: var(--fontSize36);
color: #2D2D33; color: #2D2D33;
...@@ -80,6 +80,12 @@ page ::-webkit-scrollbar { ...@@ -80,6 +80,12 @@ page ::-webkit-scrollbar {
max-width: calc(100% - var(--fontSize24)); max-width: calc(100% - var(--fontSize24));
} }
@media screen and (min-device-width: 600px) and (-webkit-min-device-pixel-ratio: 1) {
.navigation-title-text {
font-size: var(--fontSize23);
}
}
.navigation-title .arrow { .navigation-title .arrow {
width: var(--fontSize20); width: var(--fontSize20);
height: var(--fontSize16); height: var(--fontSize16);
...@@ -118,7 +124,7 @@ page ::-webkit-scrollbar { ...@@ -118,7 +124,7 @@ page ::-webkit-scrollbar {
} }
.top_box{ .top_box {
width: calc(100% - var(--fontSize24)); width: calc(100% - var(--fontSize24));
height: var(--fontSize212); height: var(--fontSize212);
box-sizing: border-box; box-sizing: border-box;
...@@ -131,16 +137,16 @@ page ::-webkit-scrollbar { ...@@ -131,16 +137,16 @@ page ::-webkit-scrollbar {
box-shadow: 0 var(--fontSize4) var(--fontSize20) 0 #0000001a; box-shadow: 0 var(--fontSize4) var(--fontSize20) 0 #0000001a;
} }
.top_box .top_item{ .top_box .top_item {
width: 33%; width: 33%;
} }
.top_item .label{ .top_item .label {
font-size: var(--fontSize24); font-size: var(--fontSize24);
font-weight: 600; font-weight: 600;
} }
.top_item .value{ .top_item .value {
font-size: var(--fontSize40); font-size: var(--fontSize40);
margin: var(--fontSize4) 0 var(--fontSize12) 0; margin: var(--fontSize4) 0 var(--fontSize12) 0;
height: var(--fontSize64); height: var(--fontSize64);
...@@ -149,19 +155,19 @@ page ::-webkit-scrollbar { ...@@ -149,19 +155,19 @@ page ::-webkit-scrollbar {
font-family: numberBold; font-family: numberBold;
} }
.top_item .tips_box{ .top_item .tips_box {
display: flex; display: flex;
align-items: center; align-items: center;
word-break: break-all; word-break: break-all;
} }
.top_item .tips_box text{ .top_item .tips_box text {
font-size: var(--fontSize20); font-size: var(--fontSize20);
margin-right: var(--fontSize12); margin-right: var(--fontSize12);
color: rgba(255, 255, 255, .7); color: rgba(255, 255, 255, .7);
} }
.top_item .tips_box .num_text{ .top_item .tips_box .num_text {
font-size: var(--fontSize28); font-size: var(--fontSize28);
margin: 0; margin: 0;
color: #ffffff; color: #ffffff;
...@@ -179,6 +185,7 @@ page ::-webkit-scrollbar { ...@@ -179,6 +185,7 @@ page ::-webkit-scrollbar {
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding-bottom: var(--fontSize50); padding-bottom: var(--fontSize50);
.label { .label {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: var(--fontSize24); font-size: var(--fontSize24);
...@@ -201,7 +208,7 @@ page ::-webkit-scrollbar { ...@@ -201,7 +208,7 @@ page ::-webkit-scrollbar {
} }
.menu .item .hot_icon{ .menu .item .hot_icon {
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
...@@ -215,7 +222,7 @@ page ::-webkit-scrollbar { ...@@ -215,7 +222,7 @@ page ::-webkit-scrollbar {
justify-content: center; justify-content: center;
} }
.menu .item .bubble_icon{ .menu .item .bubble_icon {
position: absolute; position: absolute;
right: var(--fontSize14); right: var(--fontSize14);
top: var(--fontSize12); top: var(--fontSize12);
...@@ -237,7 +244,7 @@ page ::-webkit-scrollbar { ...@@ -237,7 +244,7 @@ page ::-webkit-scrollbar {
} }
.tips { .tips {
margin-bottom: var(--fontSize24); // margin-bottom: var(--fontSize24);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
...@@ -258,7 +265,7 @@ page ::-webkit-scrollbar { ...@@ -258,7 +265,7 @@ page ::-webkit-scrollbar {
flex-shrink: 0; flex-shrink: 0;
} }
.change_box{ .change_box {
width: var(--fontSize220); width: var(--fontSize220);
height: var(--fontSize52); height: var(--fontSize52);
background: #F7F8FA; background: #F7F8FA;
...@@ -268,7 +275,7 @@ page ::-webkit-scrollbar { ...@@ -268,7 +275,7 @@ page ::-webkit-scrollbar {
justify-content: center; justify-content: center;
} }
.change_box .change_btn{ .change_box .change_btn {
font-size: var(--fontSize24); font-size: var(--fontSize24);
color: #5A5E66; color: #5A5E66;
width: var(--fontSize72); width: var(--fontSize72);
...@@ -277,13 +284,15 @@ page ::-webkit-scrollbar { ...@@ -277,13 +284,15 @@ page ::-webkit-scrollbar {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.change_box .change_btn.active{
.change_box .change_btn.active {
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0 0 4px 0 #0000000f; box-shadow: 0 0 4px 0 #0000000f;
border-radius: 3px; border-radius: 3px;
color: #181A1F; color: #181A1F;
font-weight: 500; font-weight: 500;
} }
.unit { .unit {
font-size: var(--fontSize24); font-size: var(--fontSize24);
color: #222222; color: #222222;
...@@ -346,11 +355,13 @@ page ::-webkit-scrollbar { ...@@ -346,11 +355,13 @@ page ::-webkit-scrollbar {
line-height: var(--fontSize32); line-height: var(--fontSize32);
display: flex; display: flex;
align-item: center; align-item: center;
.icon { .icon {
width: var(--fontSize40); width: var(--fontSize40);
height: var(--fontSize40); height: var(--fontSize40);
} }
.name_label{
.name_label {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: var(--fontSize22); font-size: var(--fontSize22);
...@@ -369,7 +380,8 @@ page ::-webkit-scrollbar { ...@@ -369,7 +380,8 @@ page ::-webkit-scrollbar {
margin-left: var(--fontSize44); margin-left: var(--fontSize44);
display: flex; display: flex;
align-items: center; align-items: center;
.unit{
.unit {
margin-right: var(--fontSize4); margin-right: var(--fontSize4);
} }
} }
...@@ -380,11 +392,13 @@ page ::-webkit-scrollbar { ...@@ -380,11 +392,13 @@ page ::-webkit-scrollbar {
} }
} }
} }
.utils{
.utils {
display: flex; display: flex;
align-items: center; align-items: center;
height: var(--fontSize80); height: var(--fontSize80);
} }
.myPerformance { .myPerformance {
box-sizing: border-box; box-sizing: border-box;
margin-bottom: var(--fontSize32); margin-bottom: var(--fontSize32);
...@@ -978,4 +992,4 @@ page ::-webkit-scrollbar { ...@@ -978,4 +992,4 @@ page ::-webkit-scrollbar {
margin-left: auto; margin-left: auto;
border: 1px solid #F24724; border: 1px solid #F24724;
border-radius: var(--fontSize28); border-radius: var(--fontSize28);
} }
\ 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!