🐞 fix(#1000663#16#17#18#19#20): 修复发货列表|发货详情的样式问题

This commit is contained in:
xuan
2022-11-11 11:42:31 +08:00
parent 10a304a791
commit 851902873b
18 changed files with 320 additions and 51 deletions
@@ -0,0 +1,12 @@
.time-box {
padding: 40px;
}
.sure-box {
margin-left: 102px;
margin-right: 102px;
font-size: 28px;
font-weight: 500;
}
-19
View File
@@ -1,19 +0,0 @@
.time-box {
padding: 40px;
}
.sure-box {
// padding: 16px 102px 30px 102px;
margin-left: 102px;
margin-right: 102px;
height: 80px;
background: #337FFF;
border-radius: 44px;
font-size: 28px;
font-weight: 500;
color: #FFFFFF;
text-align: center;
line-height: 80px;
}
+6 -4
View File
@@ -1,9 +1,10 @@
import Popup from '@/components/popup'
import { useState, memo } from 'react'
import { View } from '@tarojs/components'
import './index.scss'
import styles from './index.module.scss'
import AtCalendar from '@/components/calendar/index'
import dayjs from 'dayjs'
import NormalButton from '../normalButton'
type DateArg = string | number | Date
interface Props {
@@ -32,7 +33,7 @@ export default memo((props: Props) => {
return (
<>
<View className='time-box'>
<View className={styles['time-box']}>
<AtCalendar
isMultiSelect
format='YYYY-MM-DD 00:00:00'
@@ -43,9 +44,10 @@ export default memo((props: Props) => {
onSelectDate={(e) => handTime?.(e)}
/>
</View>
<View className='sure-box' onClick={() => onSelectDate?.(time)}>
<NormalButton type='primary' onClick={() => onSelectDate?.(time)} size="normal" round customClassName={styles['sure-box']}>确认</NormalButton>
{/* <View className='sure-box' onClick={() => onSelectDate?.(time)}>
确认
</View>
</View> */}
</>
)
})