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