Commit 1689d016 by 张立顺

feat 驻店日报

1 parent 557ccd21
......@@ -534,12 +534,14 @@ Page({
},
defaultChoose(index) {
let { frontGearArr, sideRearGearArr, skylightArr } = this.data
let { frontGearArr, sideRearGearArr, skylightArr,sideBeforeRearGearArr,sideAfterRearGearArr } = this.data
// 仅有一个商品直接选中
let arr = [].concat(
sideRearGearArr.length == 1 ? sideRearGearArr : [],
frontGearArr.length == 1 ? frontGearArr : [],
skylightArr.length == 1 ? skylightArr : []
skylightArr.length == 1 ? skylightArr : [],
sideBeforeRearGearArr.length == 1 ? sideBeforeRearGearArr : [],
sideAfterRearGearArr.length == 1 ? sideAfterRearGearArr : [],
)
arr.forEach(val => {
val.count = 1
......
// components/TabBar/TabBar.js
Component({
/**
* 组件的属性列表
*/
properties: {
tabList: {
type: Array,
observer: function (list) {
// 规范化 tab 列表为对象数组,支持字符串与多种字段名
this.normalizeTabList(list)
}
},
activeIndex: {
type: Number,
observer: function (n) {
console.log(this.data.tabIndex, 'activeIndex', n)
console.log(this.data.tabIndex != n)
if (this.data.tabIndex != n) {
this.setData({
tabIndex: this.data.activeIndex
})
this.setTab(this.data.tabIndex)
}
}
},
scroll: Boolean
},
/**
* 组件的初始数据
*/
data: {
tabIndex: 0,
tabItems: []
},
lifetimes: {
ready() {
// console.log('lifetimes',this.data.tabIndex);
// console.log('lifetimes',this.data.activeIndex);
// 确保首屏渲染有规范化后的 tabItems
this.normalizeTabList(this.data.tabList)
this.setTab(this.data.tabIndex)
let that = this
wx.$eventbus.on('page_show', n => {
!that.data.width && that.setTab(that.data.tabIndex)
})
}
},
/**
* 组件的方法列表
*/
methods: {
normalizeTabList(list = []) {
const tabItems = (list || []).map(item => {
let label = ''
let count
if (typeof item === 'string') {
label = item
} else if (item && typeof item === 'object') {
label =
item.text ??
item.label ??
item.name ??
item.title ??
item.brandName ??
''
if (item.firstBrandId == -1) {
label = item.firstBrandName
}
count = item.count
} else {
label = ''
}
return { label, count, _raw: item }
})
this.setData({ tabItems })
},
change(e) {
let { index } = e.currentTarget.dataset
this.setTab(index)
},
setTab(index = 0) {
let { tabIndex } = this.data
wx.$util.getViewInfo(
`#tab-${tabIndex}`,
old => {
let oldLeft = old.left
let oldWidth = old.width
wx.$util.getViewInfo(
`#tab-${index}`,
res => {
let { left, width } = res
if (tabIndex != index) {
let readyLeft = oldLeft > left ? left : oldLeft
let readyWidth =
oldLeft > left ? oldLeft - left : left - oldLeft
this.setData({
activeStyle: `width: var(--fontSize64);background-color:#347BFF;border-radius:3rpx;left:${readyLeft + readyWidth / 2
}px;transition: all .1s;`
})
}
setTimeout(() => {
this.setData({
activeStyle: `width: var(--fontSize64);left:${left + (width - 32) / 2
}px;background-color:#347BFF;`,
tabIndex: index,
to: `to-${index}`,
width
})
const itemObj =
this.data.tabItems && this.data.tabItems[index]
? this.data.tabItems[index]._raw ??
this.data.tabItems[index]
: undefined
this.triggerEvent('click', { index, item: itemObj })
}, 100)
},
this
)
},
this
)
}
}
})
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<block wx:if="{{ scroll }}">
<scroll-view class="scroll" scroll-x enable-flex scroll-with-animation scroll-into-view="{{ to }}">
<block wx:for="{{ tabItems }}" wx:key="index">
<view class="tab-item {{ tabIndex==index?'active':'' }}" bindtap="change" data-index="{{ index }}" id="to-{{ index }}">
<text id="tab-{{ index }}"><text class="tab-item-text">{{item.label}}</text><text wx:if="{{ item.count >= 0 }}" style="font-size: var(--fontSize20);">({{item.count}})</text></text>
</view>
</block>
<!-- <view class="active-doc" style="{{activeStyle}}" /> -->
</scroll-view>
</block>
<block wx:else>
<view
class="tab"
style="grid-template-columns: repeat({{ tabItems.length}}, 1fr);font-size:{{tabItems.length>5?'var(--fontSize24)':'' }} ;"
>
<block wx:for="{{ tabItems }}" wx:key="index">
<!-- style="color:{{tabIndex==index?'#347BFF':''}};" -->
<view class="tab-item {{ tabIndex==index?'active':'' }}" bindtap="change" data-index="{{ index }}">
<text id="tab-{{ index }}"><text class="tab-item-text">{{item.label}}</text><text wx:if="{{ item.count >= 0 }}" style="font-size: var(--fontSize20);">({{item.count}})</text></text>
</view>
</block>
<view class="active-doc" style="{{ activeStyle }}" />
</view>
</block>
\ No newline at end of file
/* components/TabBar/TabBar.wxss */
.tab {
/* background-color: #fff; */
height: var(--fontSize72);
box-sizing: border-box;
display: grid;
align-items: center;
font-size: var(--fontSize28);
color: #347bff;
border-bottom: var(--fontSize1) solid #F2F3F5;
}
.scroll {
/* background-color: #fff; */
height: var(--fontSize104);
box-sizing: border-box;
/* color: #347bff; */
color: #5a5e66;
border-bottom: var(--fontSize1) solid #F2F3F5;
width: 100%;
display: flex;
line-height: var(--fontSize104);
font-size: 0;
}
.active {
/* font-size: var(--fontSize32); */
font-weight: 600;
color: #347BFF;
}
.active-doc {
position: absolute;
bottom: var(--fontSize1);
height: var(--fontSize4);
border-radius: var(--fontSize2) var(--fontSize2) 0 0;
transition: all .25s;
}
.tab .tab-item {
text-align: center;
}
.scroll .tab-item {
width: fit-content;
min-width: var(--fontSize97);
height: 100%;
flex-shrink: 0;
font-size: var(--fontSize28);
text-align: center;
position: relative;
padding: 0 var(--fontSize10);
font-weight: 600;
}
.scroll .active::after {
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 64rpx;
height: var(--fontSize4);
background-color: #347BFF;
content: '';
}
\ No newline at end of file
......@@ -6,7 +6,8 @@
justify-content: space-around;
align-items: center;
background: #fff;
.week_box{
.week_box {
height: var(--fontSize60);
width: 100%;
display: flex;
......@@ -14,14 +15,24 @@
align-items: center;
box-shadow: 0 var(--fontSize4) var(--fontSize8) 0 #cdcdd159;
}
.date_box{
.date_box {
height: var(--fontSize128);
width: 100%;
display: flex;
justify-content: space-around;
align-items: center;
}
.left {
margin-left: 10rpx;
}
.right {
margin-right: 20rpx;
}
}
.weekselect {
height: var(--fontSize80);
flex-direction: row;
......@@ -41,7 +52,8 @@
font-weight: 400;
flex-direction: row;
color: #181A1F;
width: var(--fontSize180);
width: var(--fontSize200);
font-size: 28rpx;
}
.dateType {
......@@ -54,6 +66,7 @@
border-radius: 50%;
width: var(--fontSize64);
height: var(--fontSize64);
.empty {
box-sizing: border-box;
position: absolute;
......@@ -70,7 +83,8 @@
color: #fff;
}
}
.dateType.dateType_disabled{
.dateType.dateType_disabled {
color: #BEC1C7;
}
......@@ -81,7 +95,7 @@
.select-column {
.dateType{
.dateType {
background: #347BFF;
color: #fff;
}
......@@ -109,9 +123,12 @@
font-weight: 500;
font-size: var(--fontSize28);
color: #181A1F;
// font-size: var(--fontSize35);
// font-weight: bold;
// margin-right: auto;
width: 280rpx;
height: 64rpx;
text-align: center;
line-height: 64rpx;
border-radius: 20px;
background: #f2f3f5;
}
.line {
......@@ -121,7 +138,7 @@
}
.lastweek {
width: var(--fontSize180);
width: var(--fontSize200);
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: var(--fontSize28);
......@@ -149,6 +166,12 @@
/* iOS 4.1- */
}
.icon {
width: 36rpx;
height: 36rpx;
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
......
......@@ -3,25 +3,27 @@
<view class="line"></view>
<view class="row weekselect">
<view class="row lastweek" bindtap="lastWeek">
<text class="iconfont icon-sanjiaoleft" style="padding:var(--fontSize15);color: #bec1c7;"></text>
<!-- <text class="iconfont icon-sanjiaoleft" style="padding:var(--fontSize15);color: #bec1c7;"></text> -->
<gl-image class="icon left" src="{{ '/miniProgram/arrow-left.png' }}" webp></gl-image>
<view style="">上一周</view>
</view>
<view class="timeType">{{timeBean.yearMonth}}</view>
<view class="row nextWeek" bindtap="nextWeek">
<block wx:if="{{ !timeBean.isInCurrentWeek }}">
<view style=" ">下一周</view>
<text class="iconfont icon-sanjiaoright" style="padding:var(--fontSize15);color: #bec1c7;"></text>
<gl-image class="icon right" src="{{ '/miniProgram/arrow-right.png' }}" webp></gl-image>
<!-- <text class="iconfont icon-sanjiaoright" style="padding:var(--fontSize15);color: #bec1c7;"></text> -->
</block>
</view>
</view>
<view class="row">
<view class="week_box">
<view wx:for="{{ [0,1,2,3,4,5,6] }}" data-index="{{ index }}" data-disabled="{{ timeBean.weekDayList[index].disabled }}" class="item column" bindtap="itemClick" wx:key="index">
<view wx:for="{{ [0,1,2,3,4,5,6] }}" data-index="{{ index }}" data-disabled="{{ timeBean.weekDayList[index].disabled }}" class="item column" bindtap="itemClick" wx:key="index">
<view class="weekType">{{timeBean.weekDayList[index].week}}</view>
</view>
</view>
<view class="date_box">
<view wx:for="{{ [0,1,2,3,4,5,6] }}" data-index="{{ index }}" data-disabled="{{ timeBean.weekDayList[index].disabled }}" class="item column {{ index==timeBean.selectDay?'select-column':'' }}" bindtap="itemClick" wx:key="index">
<view wx:for="{{ [0,1,2,3,4,5,6] }}" data-index="{{ index }}" data-disabled="{{ timeBean.weekDayList[index].disabled }}" class="item column {{ index==timeBean.selectDay?'select-column':'' }}" bindtap="itemClick" wx:key="index">
<view class="dateType {{timeBean.weekDayList[index].disabled ? 'dateType_disabled' : ''}}">
{{timeBean.weekDayList[index].day}}
<view class="empty" wx:if="{{ !timeBean.weekDayList[index].disabled && !timeBean.weekDayList[index].hasDailyValue }}">空</view>
......
......@@ -32,11 +32,11 @@ Page({
pickerdateList: [
{
id: 'N',
name: '否'
name: '在岗'
},
{
id: 'Y',
name: '是'
name: '调休'
}
],
pickerTemplateList: [
......@@ -133,10 +133,9 @@ Page({
min: 0,
max: 100,
inputPlaceholder: ''
},
{
name: 'person'
},
}
],
hwObjArrayLabelList: [
{
label: '售前整车延保成交数(问界)',
key: 'extendedWarrantyCount',
......@@ -218,15 +217,6 @@ Page({
templateValue: 3,
disabled: true,
inputPlaceholder: '自动填入系统数据'
},
{
label: '未触客返店人数',
key: 'notDeliveryReturnCount',
type: 'number',
required: false,
min: 0,
max: 100,
inputPlaceholder: ''
}
],
hwOhterObjArray: [
......@@ -265,10 +255,12 @@ Page({
min: 0,
max: 100,
inputPlaceholder: ''
},
{
name: 'person'
},
}
],
hwOhterObjArrayLabelList: [
// {
// name: 'person'
// },
{
label: '售前整车延保成交数(鸿蒙)',
key: 'extendedWarrantyCount',
......@@ -290,15 +282,6 @@ Page({
templateValue: 3,
disabled: true,
inputPlaceholder: '自动填入系统数据'
},
{
label: '未触客返店人数',
key: 'notDeliveryReturnCount',
type: 'number',
required: false,
min: 0,
max: 100,
inputPlaceholder: ''
}
],
otherObjArray: [
......@@ -337,10 +320,12 @@ Page({
min: 0,
max: 100,
inputPlaceholder: ''
},
{
name: 'person'
},
}
// {
// name: 'person'
// },
],
otherObjArrayLableList: [
{
label: '北汽无忧成交数',
key: 'bqWorryFreeCount',
......@@ -362,17 +347,44 @@ Page({
disabled: true,
templateValue: 3,
inputPlaceholder: '自动填入系统数据'
},
{
label: '未触客返店人数',
key: 'notDeliveryReturnCount',
type: 'number',
required: false,
min: 0,
max: 100,
inputPlaceholder: ''
}
]
],
tabIndex: 0
},
tabClick(e) {
let { index } = e.detail
let { searchObj } = this.data
// delete searchObj.statusList
this.setData({
tabIndex: index
// searchObj
})
// this.search()
},
handleOnBreakCheckboxChange(e) {
const { value = [] } = e.detail
console.log(e, value, 'handleOnBreakCheckboxChange')
// 由于受控 checked 绑定,change 时可能出现同时包含旧值与新值的情况(['N','Y'])
// 使用前一个选中值与当前 value 比较,取“发生变化”的那个值作为新选中项
const prev = this.data.orderObj.onBreak
let selected
if (value.length === 0) {
// 防止全不选导致状态不可用,默认回退为 'N'
selected = 'N'
} else if (value.length === 1) {
selected = value[0]
} else {
// 两个都存在时,取与之前不同的那个;若未找到则取最后一个兜底
selected = value.find(v => v !== prev) || value[value.length - 1]
}
// 根据选中值更新 onBreak 和 pickerValue
const pickerIndex = this.data.pickerdateList.findIndex(
v => v.id === selected
)
this.setData({
['orderObj.onBreak']: selected,
['orderObj.pickerValue']: pickerIndex >= 0 ? pickerIndex : 0
})
},
handleTemplagePickerChange(e) {
const { value } = e.detail
......@@ -399,23 +411,23 @@ Page({
},
showStorePicker() {
let { userInfo } = this.data
;(userInfo?.isSuper ||
userInfo?.loginRole == 3 ||
userInfo?.loginRole == 5) &&
this.setData({
showPicker: true,
pickerType: 'merchant'
})
; (userInfo?.isSuper ||
userInfo?.loginRole == 3 ||
userInfo?.loginRole == 5) &&
this.setData({
showPicker: true,
pickerType: 'merchant'
})
},
showStaffPicker() {
let { userInfo } = this.data
;(userInfo?.isSuper ||
userInfo?.loginRole == 3 ||
userInfo?.loginRole == 5) &&
this.setData({
showPicker: true,
pickerType: 'staff'
})
; (userInfo?.isSuper ||
userInfo?.loginRole == 3 ||
userInfo?.loginRole == 5) &&
this.setData({
showPicker: true,
pickerType: 'staff'
})
},
navbarReady(e) {
let navBarHeight = e.detail.height
......@@ -540,7 +552,7 @@ Page({
showCancel: false,
confirmText: '确定',
confirmColor: '#347BFF',
success(res) {}
success(res) { }
})
} else {
wx.$util.showToast(message)
......@@ -634,6 +646,7 @@ Page({
otherObjArray,
hwOhterObjArray
})
wx.$util.showToast('必填不能为空')
return false //必填校验没过
}
orderObj.isAdmin = role == 'super' ? true : false
......@@ -672,7 +685,7 @@ Page({
showCancel: false,
confirmText: '确定',
confirmColor: '#347BFF',
success(res) {}
success(res) { }
})
} else {
wx.$util.showToast(message)
......@@ -781,11 +794,9 @@ Page({
0: '问界',
1: '鸿蒙'
}
context += `【${
bandType[el.brandType] || item.firstBrandName
}】 店端总未触客数+门店售前触客数与当月实际交车数不符,差异值${
item.differenceValue
},请相关驻店销售对齐核销再次提交\t\n`
context += `【${bandType[el.brandType] || item.firstBrandName
}】 店端总未触客数+门店售前触客数与当月实际交车数不符,差异值${item.differenceValue
},请相关驻店销售对齐核销再次提交\t\n`
el.deliveryCountinputError = true
el.equityToShopCountinputError = true
el.notDeliveryCountinputError = true
......@@ -1182,7 +1193,7 @@ Page({
if (brandDataList && brandDataList.length) {
carBandList = carBandList.map(item => {
let carBand = brandDataList.find(ele => {
if ([0, 1].includes(ele.brandType)) {
if ([0, 1, 3, 4, 5, 6].includes(ele.brandType)) {
return ele.brandType == item.brandType
} else if (ele.brandType == 2) {
return ele.firstBrandId == item.firstBrandId
......@@ -1272,6 +1283,7 @@ Page({
['orderObj.onBreak']: data.onBreak || 'N',
['orderObj.pickerValue']: data.onBreak == 'Y' ? 1 : 0,
['orderObj.staffCountError']: false,
['orderObj.staffCountEmptyError']: false,
approvalList: data.approvalList || [],
currentWordNumber: data?.remark?.length
})
......@@ -1394,7 +1406,7 @@ Page({
wx.$util.message(message)
}
})
.catch(err => {})
.catch(err => { })
},
inputSearch(e) {
let { pickerType } = this.data
......@@ -1603,7 +1615,7 @@ Page({
}
// }
})
.catch(err => {})
.catch(err => { })
},
/**
* 生命周期函数--监听页面加载
......@@ -1725,5 +1737,5 @@ Page({
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {}
onReady: function () { }
})
......@@ -4,6 +4,7 @@
"weekCalendar": "./components/weekCalendar/weekCalendar",
"gl-cell-staff": "./components/GlCell/GlCell",
"store-picker": "./components/storePicker/storePicker",
"select-item-popup": "./components/selectItemPopup/selectItemPopup"
"select-item-popup": "./components/selectItemPopup/selectItemPopup",
"tab-bar": "./components/TabBar/TabBar"
}
}
\ No newline at end of file
}
......@@ -60,7 +60,7 @@ page {
.main {
// padding: 0 var(--fontSize20) var(--fontSize256);
padding: 0 20rpx 300rpx;
padding: 0 20rpx 52rpx;
.mainheader {
margin: var(--fontSize20) var(--fontSize10) 0;
......@@ -92,11 +92,11 @@ page {
}
page .isFullSucreen {
padding-bottom: 160px !important;
padding-bottom: 160rpx !important;
}
.isFullSucreen-btn {
padding-bottom: 34px !important;
padding-bottom: 150rpx !important;
}
.box {
......@@ -130,10 +130,13 @@ page .isFullSucreen {
// padding: 0 var(--fontSize40);
color: #292D33;
font-size: var(--fontSize28);
border-bottom: 1rpx solid #dee0e3;
// border-bottom: 1rpx solid #dee0e3;
border-bottom: 1rpx solid #eff0f2;
display: flex;
justify-content: space-between;
padding: 24rpx 40rpx;
padding: 0rpx 40rpx;
height: 88rpx;
box-sizing: border-box;
.left {
display: flex;
......@@ -149,8 +152,9 @@ page .isFullSucreen {
.label {
margin-bottom: var(--fontSize16);
// display: flex;
// margin-bottom: var(--fontSize16);
display: flex;
align-items: center;
color: #292d33;
font-size: 28rpx;
......@@ -159,8 +163,12 @@ page .isFullSucreen {
}
.required_text {
display: inline-block;
color: #F24724;
margin-right: var(--fontSize8);
margin-left: var(--fontSize8);
// 与父元素行高一致,避免上移或下移
line-height: 20rpx;
// 移除 vertical-align,交由 flex 居中对齐
}
}
......@@ -169,7 +177,7 @@ page .isFullSucreen {
}
.content-input {
height: var(--fontSize91);
height: var(--fontSize88);
text-align: right;
font-size: var(--fontSize28);
flex: 1;
......@@ -208,7 +216,6 @@ page .isFullSucreen {
line-height: var(--fontSize80);
text-align: right;
}
.placeholder {
......@@ -255,6 +262,11 @@ page .isFullSucreen {
}
}
.templatePicker {
// height: 90rpx;
// width: 160rpx;
}
.templateNameTitle {
margin-right: 20rpx;
......@@ -268,13 +280,15 @@ page .isFullSucreen {
.remark_box {
padding: var(--fontSize20);
// padding: var(--fontSize20);
background-color: #fff;
padding: 24rpx 32rpx 24rpx;
.label {
font-size: var(--fontSize28);
color: #292D33;
margin: var(--fontSize20) 0 var(--fontSize24) var(--fontSize20);
// margin: var(--fontSize20) 0 var(--fontSize24) var(--fontSize20);
margin-bottom: 20rpx
}
.textArea_box {
......@@ -286,6 +300,7 @@ page .isFullSucreen {
.textarea {
height: var(--fontSize130);
width: 335rpx;
}
.currentWordNumber {
......@@ -299,15 +314,25 @@ page .isFullSucreen {
}
}
.staffBox {
margin-left: auto;
margin-right: 10rpx;
}
.staffName {
color: #347bff;
font-size: 28rpx;
}
.btns {
position: fixed;
left: 0;
width: 100%;
bottom: 0;
min-height: var(--fontSize100);
background: #FFFFFF;
// background: #FFFFFF;
box-sizing: border-box;
/* padding: var(--fontSize10) var(--fontSize32); */
margin-bottom: 100rpx;
display: flex;
align-items: center;
justify-content: space-between;
......@@ -318,7 +343,8 @@ page .isFullSucreen {
}
.btns-con {
width: 100%;
// width: 100%;
width: 622rpx;
box-sizing: border-box;
display: flex;
flex-flow: column;
......@@ -351,6 +377,7 @@ page .isFullSucreen {
margin-top: var(--fontSize20);
margin-right: var(--fontSize20);
color: #347BFF;
background-color: #fff;
}
.btns .confirm {
......@@ -456,17 +483,17 @@ page .isFullSucreen {
margin-right: 0;
}
.btns {
position: fixed;
bottom: 0;
width: 100%;
padding: var(--fontSize20);
background: #ffffff;
display: flex;
text-align: center;
font-size: var(--fontSize32);
font-weight: 500;
}
// .btns {
// position: fixed;
// bottom: 0;
// width: 100%;
// padding: var(--fontSize20);
// background: #ffffff;
// display: flex;
// text-align: center;
// font-size: var(--fontSize32);
// font-weight: 500;
// }
.btn-default {
box-sizing: border-box;
......@@ -575,4 +602,97 @@ page .isFullSucreen {
color: #BEC1C7;
text-align: center;
padding: 16rpx 0;
}
.templateNameBox {
margin-top: 28rpx;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40rpx;
margin-bottom: 20rpx;
box-sizing: border-box;
.title {
color: #383838;
font-size: 28rpx;
font-weight: 600;
}
.template {
color: #347bff;
font-size: 28rpx;
margin-left: 16rpx;
}
}
// 自定义 checkbox 组样式(隐藏原生勾选,使用 gl-image 图标)
.checkbox-group {
display: flex;
gap: var(--fontSize24);
}
.checkbox-item {
display: inline-flex;
align-items: center;
gap: var(--fontSize12);
}
.checkbox-item .icon {
width: var(--fontSize36);
height: var(--fontSize36);
}
.hidden-checkbox {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}
.checkbox-item.disabled {
opacity: 0.6;
}
.presonBox {
color: #292d33;
font-size: 28rpx;
padding: 28rpx 32rpx 12rpx;
font-weight: 600;
}
.totalBox {
// width: 100%;
// height: 126rpx;
box-sizing: border-box;
margin-top: 16rpx;
display: flex;
padding: 24rpx 32rpx;
border-radius: 16rpx;
background: #ffffff;
flex-wrap: wrap;
.con {
// flex: 1;
width: 50%;
display: flex;
flex-direction: column;
// margin-bottom: 16rpx;
.label {
color: #757b85;
font-size: 24rpx;
margin-bottom: 8rpx;
}
.num {
font-family: 'numberBold';
font-size: 28rpx;
}
}
// 第3个开始
.con:nth-child(n+3) {
margin-top: 16rpx;
}
}
\ No newline at end of file
// components/TabBar/TabBar.js
Component({
/**
* 组件的属性列表
*/
properties: {
tabList: {
type: Array,
observer: function (list) {
// 规范化 tab 列表为对象数组,支持字符串与多种字段名
this.normalizeTabList(list)
}
},
activeIndex: {
type: Number,
observer: function (n) {
console.log(this.data.tabIndex, 'activeIndex', n)
console.log(this.data.tabIndex != n)
if (this.data.tabIndex != n) {
this.setData({
tabIndex: this.data.activeIndex
})
this.setTab(this.data.tabIndex)
}
}
},
scroll: Boolean
},
/**
* 组件的初始数据
*/
data: {
tabIndex: 0,
tabItems: []
},
lifetimes: {
ready() {
// console.log('lifetimes',this.data.tabIndex);
// console.log('lifetimes',this.data.activeIndex);
// 确保首屏渲染有规范化后的 tabItems
this.normalizeTabList(this.data.tabList)
this.setTab(this.data.tabIndex)
let that = this
wx.$eventbus.on('page_show', n => {
!that.data.width && that.setTab(that.data.tabIndex)
})
}
},
/**
* 组件的方法列表
*/
methods: {
normalizeTabList(list = []) {
const tabItems = (list || []).map(item => {
let label = ''
let count
if (typeof item === 'string') {
label = item
} else if (item && typeof item === 'object') {
label =
item.text ??
item.label ??
item.name ??
item.title ??
item.brandName ??
''
if (item.firstBrandId == -1) {
label = item.firstBrandName
}
count = item.count
} else {
label = ''
}
return { label, count, _raw: item }
})
this.setData({ tabItems })
},
change(e) {
let { index } = e.currentTarget.dataset
this.setTab(index)
},
setTab(index = 0) {
let { tabIndex } = this.data
wx.$util.getViewInfo(
`#tab-${tabIndex}`,
old => {
let oldLeft = old.left
let oldWidth = old.width
wx.$util.getViewInfo(
`#tab-${index}`,
res => {
let { left, width } = res
if (tabIndex != index) {
let readyLeft = oldLeft > left ? left : oldLeft
let readyWidth =
oldLeft > left ? oldLeft - left : left - oldLeft
this.setData({
activeStyle: `width: var(--fontSize64);background-color:#347BFF;border-radius:3rpx;left:${readyLeft + readyWidth / 2
}px;transition: all .1s;`
})
}
setTimeout(() => {
this.setData({
activeStyle: `width: var(--fontSize64);left:${left + (width - 32) / 2
}px;background-color:#347BFF;`,
tabIndex: index,
to: `to-${index}`,
width
})
const itemObj =
this.data.tabItems && this.data.tabItems[index]
? this.data.tabItems[index]._raw ??
this.data.tabItems[index]
: undefined
this.triggerEvent('click', { index, item: itemObj })
}, 100)
},
this
)
},
this
)
}
}
})
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<block wx:if="{{ scroll }}">
<scroll-view class="scroll" scroll-x enable-flex scroll-with-animation scroll-into-view="{{ to }}">
<block wx:for="{{ tabItems }}" wx:key="index">
<view class="tab-item {{ tabIndex==index?'active':'' }}" bindtap="change" data-index="{{ index }}" id="to-{{ index }}">
<text id="tab-{{ index }}"><text class="tab-item-text">{{item.label}}</text><text wx:if="{{ item.count >= 0 }}" style="font-size: var(--fontSize20);">({{item.count}})</text></text>
</view>
</block>
<!-- <view class="active-doc" style="{{activeStyle}}" /> -->
</scroll-view>
</block>
<block wx:else>
<view
class="tab"
style="grid-template-columns: repeat({{ tabItems.length}}, 1fr);font-size:{{tabItems.length>5?'var(--fontSize24)':'' }} ;"
>
<block wx:for="{{ tabItems }}" wx:key="index">
<!-- style="color:{{tabIndex==index?'#347BFF':''}};" -->
<view class="tab-item {{ tabIndex==index?'active':'' }}" bindtap="change" data-index="{{ index }}">
<text id="tab-{{ index }}"><text class="tab-item-text">{{item.label}}</text><text wx:if="{{ item.count >= 0 }}" style="font-size: var(--fontSize20);">({{item.count}})</text></text>
</view>
</block>
<view class="active-doc" style="{{ activeStyle }}" />
</view>
</block>
\ No newline at end of file
/* components/TabBar/TabBar.wxss */
.tab {
/* background-color: #fff; */
height: var(--fontSize72);
box-sizing: border-box;
display: grid;
align-items: center;
font-size: var(--fontSize28);
color: #347bff;
border-bottom: var(--fontSize1) solid #F2F3F5;
}
.scroll {
/* background-color: #fff; */
height: var(--fontSize104);
box-sizing: border-box;
/* color: #347bff; */
color: #5a5e66;
border-bottom: var(--fontSize1) solid #F2F3F5;
width: 100%;
display: flex;
line-height: var(--fontSize104);
font-size: 0;
}
.active {
/* font-size: var(--fontSize32); */
font-weight: 600;
color: #347BFF;
}
.active-doc {
position: absolute;
bottom: var(--fontSize1);
height: var(--fontSize4);
border-radius: var(--fontSize2) var(--fontSize2) 0 0;
transition: all .25s;
}
.tab .tab-item {
text-align: center;
}
.scroll .tab-item {
width: fit-content;
min-width: var(--fontSize97);
height: 100%;
flex-shrink: 0;
font-size: var(--fontSize28);
text-align: center;
position: relative;
padding: 0 var(--fontSize10);
font-weight: 600;
}
.scroll .active::after {
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 64rpx;
height: var(--fontSize4);
background-color: #347BFF;
content: '';
}
\ No newline at end of file
......@@ -6,7 +6,8 @@
justify-content: space-around;
align-items: center;
background: #fff;
.week_box{
.week_box {
height: var(--fontSize60);
width: 100%;
display: flex;
......@@ -14,14 +15,24 @@
align-items: center;
box-shadow: 0 var(--fontSize4) var(--fontSize8) 0 #cdcdd159;
}
.date_box{
.date_box {
height: var(--fontSize128);
width: 100%;
display: flex;
justify-content: space-around;
align-items: center;
}
.left {
margin-left: 10rpx;
}
.right {
margin-right: 20rpx;
}
}
.weekselect {
height: var(--fontSize80);
flex-direction: row;
......@@ -41,7 +52,8 @@
font-weight: 400;
flex-direction: row;
color: #181A1F;
width: var(--fontSize180);
width: var(--fontSize200);
font-size: 28rpx;
}
.dateType {
......@@ -54,6 +66,7 @@
border-radius: 50%;
width: var(--fontSize64);
height: var(--fontSize64);
.empty {
box-sizing: border-box;
position: absolute;
......@@ -70,7 +83,8 @@
color: #fff;
}
}
.dateType.dateType_disabled{
.dateType.dateType_disabled {
color: #BEC1C7;
}
......@@ -81,7 +95,7 @@
.select-column {
.dateType{
.dateType {
background: #347BFF;
color: #fff;
}
......@@ -109,9 +123,12 @@
font-weight: 500;
font-size: var(--fontSize28);
color: #181A1F;
// font-size: var(--fontSize35);
// font-weight: bold;
// margin-right: auto;
width: 280rpx;
height: 64rpx;
text-align: center;
line-height: 64rpx;
border-radius: 20px;
background: #f2f3f5;
}
.line {
......@@ -121,7 +138,7 @@
}
.lastweek {
width: var(--fontSize180);
width: var(--fontSize200);
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: var(--fontSize28);
......@@ -149,6 +166,12 @@
/* iOS 4.1- */
}
.icon {
width: 36rpx;
height: 36rpx;
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
......
......@@ -3,25 +3,27 @@
<view class="line"></view>
<view class="row weekselect">
<view class="row lastweek" bindtap="lastWeek">
<text class="iconfont icon-sanjiaoleft" style="padding:var(--fontSize15);color: #bec1c7;"></text>
<!-- <text class="iconfont icon-sanjiaoleft" style="padding:var(--fontSize15);color: #bec1c7;"></text> -->
<gl-image class="icon left" src="{{ '/miniProgram/arrow-left.png' }}" webp></gl-image>
<view style="">上一周</view>
</view>
<view class="timeType">{{timeBean.yearMonth}}</view>
<view class="row nextWeek" bindtap="nextWeek">
<block wx:if="{{ !timeBean.isInCurrentWeek }}">
<view style=" ">下一周</view>
<text class="iconfont icon-sanjiaoright" style="padding:var(--fontSize15);color: #bec1c7;"></text>
<gl-image class="icon right" src="{{ '/miniProgram/arrow-right.png' }}" webp></gl-image>
<!-- <text class="iconfont icon-sanjiaoright" style="padding:var(--fontSize15);color: #bec1c7;"></text> -->
</block>
</view>
</view>
<view class="row">
<view class="week_box">
<view wx:for="{{ [0,1,2,3,4,5,6] }}" data-index="{{ index }}" data-disabled="{{ timeBean.weekDayList[index].disabled }}" class="item column" bindtap="itemClick" wx:key="index">
<view wx:for="{{ [0,1,2,3,4,5,6] }}" data-index="{{ index }}" data-disabled="{{ timeBean.weekDayList[index].disabled }}" class="item column" bindtap="itemClick" wx:key="index">
<view class="weekType">{{timeBean.weekDayList[index].week}}</view>
</view>
</view>
<view class="date_box">
<view wx:for="{{ [0,1,2,3,4,5,6] }}" data-index="{{ index }}" data-disabled="{{ timeBean.weekDayList[index].disabled }}" class="item column {{ index==timeBean.selectDay?'select-column':'' }}" bindtap="itemClick" wx:key="index">
<view wx:for="{{ [0,1,2,3,4,5,6] }}" data-index="{{ index }}" data-disabled="{{ timeBean.weekDayList[index].disabled }}" class="item column {{ index==timeBean.selectDay?'select-column':'' }}" bindtap="itemClick" wx:key="index">
<view class="dateType {{timeBean.weekDayList[index].disabled ? 'dateType_disabled' : ''}}">
{{timeBean.weekDayList[index].day}}
<view class="empty" wx:if="{{ !timeBean.weekDayList[index].disabled && !timeBean.weekDayList[index].hasDailyValue }}">空</view>
......
......@@ -28,15 +28,18 @@ Page({
//apply-shared页面可以影响组件
styleIsolation: 'apply-shared'
},
data: {
tabList: ['全部', '待跟进', '已升级', '战败'],
tabIndex: 0,
pickerdateList: [
{
id: 'N',
name: '否'
name: '在岗'
},
{
id: 'Y',
name: '是'
name: '调休'
}
],
pickerTemplateList: [
......@@ -149,62 +152,6 @@ Page({
disabled: true,
inputPlaceholder: '自动填入系统数据'
}
// {
// label: '售后整车延保成交数(问界)',
// key: 'afterSaleExtendedWarrantyCount',
// type: 'number',
// required: false,
// min: 0,
// max: 100,
// templateValue: 3,
// disabled: true,
// inputPlaceholder: '自动填入系统数据'
// },
// {
// label: '轮胎险成交数',
// key: 'tireWarrantyCount',
// type: 'number',
// required: false,
// min: 0,
// max: 100,
// placeholder: '',
// disabled: true,
// templateValue: 3,
// inputPlaceholder: '自动填入系统数据'
// },
// {
// label: '安心包MAX成交数',
// key: 'axPackageCount',
// type: 'number',
// required: false,
// min: 0,
// max: 100,
// placeholder: '',
// disabled: true,
// templateValue: 3,
// inputPlaceholder: '自动填入系统数据'
// },
// {
// label: '电池延保成交数',
// key: 'batteryExtendedWarrantyCount',
// type: 'number',
// required: false,
// min: 0,
// max: 100,
// placeholder: '',
// templateValue: 3,
// disabled: true,
// inputPlaceholder: '自动填入系统数据'
// },
// {
// label: '未触客返店人数',
// key: 'notDeliveryReturnCount',
// type: 'number',
// required: false,
// min: 0,
// max: 100,
// inputPlaceholder: ''
// }
],
hwOhterObjArray: [
{
......@@ -243,34 +190,12 @@ Page({
max: 100,
inputPlaceholder: ''
},
{
name: 'person'
},
{
label: '今日成交数',
key: 'totalOrderCount',
type: 'number',
required: false,
min: 0,
max: 100,
templateValue: 3,
disabled: true,
inputPlaceholder: '自动填入系统数据'
}
// {
// label: '售前整车延保成交数(鸿蒙)',
// key: 'extendedWarrantyCount',
// type: 'number',
// required: false,
// min: 0,
// max: 100,
// templateValue: 3,
// disabled: true,
// inputPlaceholder: '自动填入系统数据'
// name: 'person'
// },
// {
// label: '售后整车延保成交数(鸿蒙)',
// key: 'afterSaleExtendedWarrantyCount',
// label: '今日成交数',
// key: 'totalOrderCount',
// type: 'number',
// required: false,
// min: 0,
......@@ -278,15 +203,6 @@ Page({
// templateValue: 3,
// disabled: true,
// inputPlaceholder: '自动填入系统数据'
// },
// {
// label: '未触客返店人数',
// key: 'notDeliveryReturnCount',
// type: 'number',
// required: false,
// min: 0,
// max: 100,
// inputPlaceholder: ''
// }
],
otherObjArray: [
......@@ -299,15 +215,6 @@ Page({
max: 100,
inputPlaceholder: ''
},
// {
// label: '店端总未触客数',
// key: 'notDeliveryCount',
// type: 'number',
// required: true,
// min: 0,
// max: 100,
// inputPlaceholder: ''
// },
{
label: '实际售前触客数',
key: 'equityToShopCount',
......@@ -352,23 +259,58 @@ Page({
min: 0,
max: 3000,
inputPlaceholder: ''
},
{
name: 'person'
},
{
label: '今日成交数',
key: 'totalOrderCount',
type: 'number',
required: false,
min: 0,
max: 100,
templateValue: 3,
disabled: true,
inputPlaceholder: '自动填入系统数据'
}
// {
// name: 'person'
// },
// {
// label: '今日成交数',
// key: 'totalOrderCount',
// type: 'number',
// required: false,
// min: 0,
// max: 100,
// templateValue: 3,
// disabled: true,
// inputPlaceholder: '自动填入系统数据'
// }
]
},
tabClick(e) {
let { index } = e.detail
let { searchObj } = this.data
// delete searchObj.statusList
this.setData({
tabIndex: index
// searchObj
})
// this.search()
},
handleOnBreakCheckboxChange(e) {
const { value = [] } = e.detail
console.log(e, value, 'handleOnBreakCheckboxChange')
// 由于受控 checked 绑定,change 时可能出现同时包含旧值与新值的情况(['N','Y'])
// 使用前一个选中值与当前 value 比较,取“发生变化”的那个值作为新选中项
const prev = this.data.orderObj.onBreak
let selected
if (value.length === 0) {
// 防止全不选导致状态不可用,默认回退为 'N'
selected = 'N'
} else if (value.length === 1) {
selected = value[0]
} else {
// 两个都存在时,取与之前不同的那个;若未找到则取最后一个兜底
selected = value.find(v => v !== prev) || value[value.length - 1]
}
// 根据选中值更新 onBreak 和 pickerValue
const pickerIndex = this.data.pickerdateList.findIndex(
v => v.id === selected
)
this.setData({
['orderObj.onBreak']: selected,
['orderObj.pickerValue']: pickerIndex >= 0 ? pickerIndex : 0
})
},
handleTemplagePickerChange(e) {
const { value } = e.detail
let { hwObjArray, otherObjArray, hwOhterObjArray } = this.data
......@@ -629,6 +571,7 @@ Page({
otherObjArray,
hwOhterObjArray
})
wx.$util.showToast('必填不能为空')
return false //必填校验没过
}
orderObj.isAdmin = role == 'super' ? true : false
......@@ -648,7 +591,7 @@ Page({
let check = await this.dailyReportCheck(orderObj)
console.log(check, 'check')
// 超管和区域运维跳过校验提示
if (check && (!(userInfo?.isSuper || userInfo?.loginRole == 3))) return false
if (check && !(userInfo?.isSuper || userInfo?.loginRole == 3)) return false
// return
wx.$util.showLoading()
api
......@@ -1082,12 +1025,16 @@ Page({
el[e.key] = null
})
}
if (item.brandId == -1) {
item.brandName = item.firstBrandName
}
return el
})
console.log(carBandList, 'carBandList')
// console.log(carBandList, 'carBandList')
} else {
carBandList = []
}
// carBandList = carBandList.map
this.setData({
// reportType,
carBandList
......@@ -1164,7 +1111,7 @@ Page({
if (brandDataList && brandDataList.length) {
carBandList = carBandList.map(item => {
let carBand = brandDataList.find(ele => {
if ([0, 1].includes(ele.brandType)) {
if ([0, 1, 3, 4, 5, 6].includes(ele.brandType)) {
return ele.brandType == item.brandType
} else if (ele.brandType == 2) {
return ele.firstBrandId == item.firstBrandId
......@@ -1304,7 +1251,11 @@ Page({
let { orderObj, staffCurrent } = this.data
// 先查4s店对应的园区店,再用园区店查员工
api
.querySceneRefByShop({ scene: 1, merchantId: orderObj.merchantId, pageSize: 200 })
.querySceneRefByShop({
scene: 1,
merchantId: orderObj.merchantId,
pageSize: 200
})
.then(result => {
// console.log(result, 'result')
let { code, data, message } = result
......
......@@ -4,6 +4,7 @@
"weekCalendar": "./components/weekCalendar/weekCalendar",
"gl-cell-staff": "./components/GlCell/GlCell",
"store-picker": "./components/storePicker/storePicker",
"select-item-popup": "./components/selectItemPopup/selectItemPopup"
"select-item-popup": "./components/selectItemPopup/selectItemPopup",
"tab-bar": "./components/TabBar/TabBar"
}
}
\ No newline at end of file
}
......@@ -42,12 +42,16 @@ page {
margin-left: var(--fontSize12);
// transform: translateY(-52%);
transition: all 0.5s;
}
// .img {
// // width: 36rpx;
// // height: 36rpx;
// // margin-bottom: 25rpx;
// }
.staffBox {
margin-left: auto;
}
.staffName {
color: #347bff;
font-size: 28rpx;
}
.move {
......@@ -60,7 +64,7 @@ page {
.main {
// padding: 0 var(--fontSize20) var(--fontSize256);
padding: 0 20rpx 300rpx;
padding: 0 20rpx 52rpx;
.mainheader {
margin: var(--fontSize20) var(--fontSize10) 0;
......@@ -92,11 +96,11 @@ page {
}
page .isFullSucreen {
padding-bottom: 160px !important;
padding-bottom: 160rpx !important;
}
.isFullSucreen-btn {
padding-bottom: 34px !important;
padding-bottom: 150rpx !important;
}
.box {
......@@ -104,18 +108,11 @@ page .isFullSucreen {
box-shadow: 0 var(--fontSize4) var(--fontSize20) 0 rgba(0, 0, 0, 0.10);
border-radius: var(--fontSize16);
overflow: hidden;
margin-top: var(--fontSize20);
// margin-top: var(--fontSize20);
height: calc(100% - var(--fontSize100));
// padding: var(--fontSize24) 0;
.presonBox {
height: 66rpx;
background: #e7f3ff;
text-align: center;
line-height: 66rpx;
color: #347bff;
font-size: 24rpx;
}
.carBandTitle {
padding: 0 var(--fontSize40) var(--fontSize24);
......@@ -130,10 +127,13 @@ page .isFullSucreen {
// padding: 0 var(--fontSize40);
color: #292D33;
font-size: var(--fontSize28);
border-bottom: 1rpx solid #dee0e3;
// border-bottom: 1rpx solid #dee0e3;
border-bottom: 1rpx solid #eff0f2;
display: flex;
justify-content: space-between;
padding: 24rpx 40rpx;
padding: 0rpx 40rpx;
height: 88rpx;
box-sizing: border-box;
.left {
display: flex;
......@@ -149,8 +149,9 @@ page .isFullSucreen {
.label {
margin-bottom: var(--fontSize16);
// display: flex;
// margin-bottom: var(--fontSize16);
display: flex;
align-items: center;
color: #292d33;
font-size: 28rpx;
......@@ -159,8 +160,12 @@ page .isFullSucreen {
}
.required_text {
display: inline-block;
color: #F24724;
margin-right: var(--fontSize8);
margin-left: var(--fontSize8);
// 与父元素行高一致,避免上移或下移
line-height: 20rpx;
// 移除 vertical-align,交由 flex 居中对齐
}
}
......@@ -169,7 +174,7 @@ page .isFullSucreen {
}
.content-input {
height: var(--fontSize91);
height: var(--fontSize88);
text-align: right;
font-size: var(--fontSize28);
flex: 1;
......@@ -208,7 +213,6 @@ page .isFullSucreen {
line-height: var(--fontSize80);
text-align: right;
}
.placeholder {
......@@ -264,17 +268,21 @@ page .isFullSucreen {
font-weight: 400;
margin-right: 10rpx;
}
margin-bottom: var(--fontSize20);
}
.remark_box {
padding: var(--fontSize20);
// padding: var(--fontSize20);
background-color: #fff;
padding: 24rpx 32rpx 24rpx;
.label {
font-size: var(--fontSize28);
color: #292D33;
margin: var(--fontSize20) 0 var(--fontSize24) var(--fontSize20);
// margin: var(--fontSize20) 0 var(--fontSize24) var(--fontSize20);
margin-bottom: 20rpx
}
.textArea_box {
......@@ -286,6 +294,7 @@ page .isFullSucreen {
.textarea {
height: var(--fontSize130);
width: 335rpx;
}
.currentWordNumber {
......@@ -300,14 +309,15 @@ page .isFullSucreen {
}
.btns {
position: fixed;
left: 0;
// position: fixed;
// left: 0;
width: 100%;
bottom: 0;
min-height: var(--fontSize100);
background: #FFFFFF;
// background: #FFFFFF;
box-sizing: border-box;
/* padding: var(--fontSize10) var(--fontSize32); */
margin-bottom: 100rpx;
display: flex;
align-items: center;
justify-content: space-between;
......@@ -318,7 +328,9 @@ page .isFullSucreen {
}
.btns-con {
width: 100%;
// width: 100%;
width: 622rpx;
// height: 88rpx;
box-sizing: border-box;
display: flex;
flex-flow: column;
......@@ -351,6 +363,7 @@ page .isFullSucreen {
margin-top: var(--fontSize20);
margin-right: var(--fontSize20);
color: #347BFF;
background-color: #fff;
}
.btns .confirm {
......@@ -456,17 +469,17 @@ page .isFullSucreen {
margin-right: 0;
}
.btns {
position: fixed;
bottom: 0;
width: 100%;
padding: var(--fontSize20);
background: #ffffff;
display: flex;
text-align: center;
font-size: var(--fontSize32);
font-weight: 500;
}
// .btns {
// position: fixed;
// bottom: 0;
// width: 100%;
// padding: var(--fontSize20);
// background: #ffffff;
// display: flex;
// text-align: center;
// font-size: var(--fontSize32);
// font-weight: 500;
// }
.btn-default {
box-sizing: border-box;
......@@ -575,4 +588,88 @@ page .isFullSucreen {
color: #BEC1C7;
text-align: center;
padding: 16rpx 0;
}
.templateNameBox {
margin-top: 28rpx;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40rpx;
margin-bottom: 20rpx;
box-sizing: border-box;
.title {
color: #383838;
font-size: 28rpx;
font-weight: 600;
}
.template {
color: #347bff;
font-size: 28rpx;
margin-left: 16rpx;
}
}
// 自定义 checkbox 组样式(隐藏原生勾选,使用 gl-image 图标)
.checkbox-group {
display: flex;
gap: var(--fontSize24);
}
.checkbox-item {
display: inline-flex;
align-items: center;
gap: var(--fontSize12);
}
.checkbox-item .icon {
width: var(--fontSize36);
height: var(--fontSize36);
}
.hidden-checkbox {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}
.checkbox-item.disabled {
opacity: 0.6;
}
.presonBox {
color: #292d33;
font-size: 28rpx;
padding: 28rpx 32rpx 12rpx;
font-weight: 600;
}
.totalBox {
// width: 100%;
// height: 126rpx;
margin-top: 16rpx;
display: flex;
padding: 24rpx 32rpx;
border-radius: 16rpx;
background: #ffffff;
.con {
flex: 1;
display: flex;
flex-direction: column;
.label {
color: #757b85;
font-size: 24rpx;
margin-bottom: 8rpx;
}
.num {
font-family: 'numberBold';
font-size: 28rpx;
}
}
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!