|
|
|
|
@ -91,7 +91,7 @@ export default class AtCalendarController extends React.Component<any, any> {
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<Block>
|
|
|
|
|
<View className="at-calendar__controller controller flex-justify-sb">
|
|
|
|
|
<View className='at-calendar__controller controller flex-justify-sb'>
|
|
|
|
|
{hideArrow ? null : (
|
|
|
|
|
<View
|
|
|
|
|
className={classnames(
|
|
|
|
|
@ -103,9 +103,9 @@ export default class AtCalendarController extends React.Component<any, any> {
|
|
|
|
|
onClick={this.props.onPreMonth.bind(this, isMinMonth)}
|
|
|
|
|
/>
|
|
|
|
|
)}
|
|
|
|
|
<View className="calendar-top-date-btn">
|
|
|
|
|
<View className='calendar-top-date-btn'>
|
|
|
|
|
<View
|
|
|
|
|
style="display: flex;align-items: center;"
|
|
|
|
|
style='display: flex;align-items: center;'
|
|
|
|
|
onClick={this.openDate}
|
|
|
|
|
>
|
|
|
|
|
{/* <Text className="controller__info"></Text> */}
|
|
|
|
|
@ -113,10 +113,10 @@ export default class AtCalendarController extends React.Component<any, any> {
|
|
|
|
|
<Text style={{ fontSize: "32rpx", fontWeight: "600" }}>
|
|
|
|
|
{dayjsDate.format("YYYY.MM.DD")}
|
|
|
|
|
</Text>
|
|
|
|
|
<View style="margin-left: 34rpx;">
|
|
|
|
|
<View style='margin-left: 34rpx;'>
|
|
|
|
|
<Image
|
|
|
|
|
src={require("../img/calendar.png")}
|
|
|
|
|
style="width:28rpx;height:28rpx;"
|
|
|
|
|
style='width:28rpx;height:28rpx;'
|
|
|
|
|
/>
|
|
|
|
|
</View>
|
|
|
|
|
</View>
|
|
|
|
|
@ -127,33 +127,33 @@ export default class AtCalendarController extends React.Component<any, any> {
|
|
|
|
|
|
|
|
|
|
<Popup
|
|
|
|
|
show={showDatePicker}
|
|
|
|
|
position="bottom"
|
|
|
|
|
position='bottom'
|
|
|
|
|
// close-icon="/img/fr200/close.png"
|
|
|
|
|
round
|
|
|
|
|
onClick={this.onClickStop}
|
|
|
|
|
// onClose={this.onPopupClose}
|
|
|
|
|
>
|
|
|
|
|
<View className="toolbar">
|
|
|
|
|
<View className="toolbar_title">
|
|
|
|
|
<View className='toolbar'>
|
|
|
|
|
<View className='toolbar_title'>
|
|
|
|
|
<Text>选择日期</Text>
|
|
|
|
|
<View
|
|
|
|
|
style="margin-left: 20rpx;color:#666;font-size: 34rpx"
|
|
|
|
|
className="at-icon at-icon-close popup-date-close"
|
|
|
|
|
style='margin-left: 20rpx;color:#666;font-size: 34rpx'
|
|
|
|
|
className='at-icon at-icon-close popup-date-close'
|
|
|
|
|
onClick={this.onPopupClose}
|
|
|
|
|
></View>
|
|
|
|
|
</View>
|
|
|
|
|
<View className="select_box">
|
|
|
|
|
<View className="text">已选择日期</View>
|
|
|
|
|
<View className="date">{currentDate}</View>
|
|
|
|
|
<View className='select_box'>
|
|
|
|
|
<View className='text'>已选择日期</View>
|
|
|
|
|
<View className='date'>{currentDate}</View>
|
|
|
|
|
</View>
|
|
|
|
|
</View>
|
|
|
|
|
<DatetimePicker
|
|
|
|
|
type="date"
|
|
|
|
|
type='date'
|
|
|
|
|
value={curDate}
|
|
|
|
|
maxDate={maxDate}
|
|
|
|
|
onInput={_.throttle(this.onInput.bind(this), 500)}
|
|
|
|
|
/>
|
|
|
|
|
<View className="btn_confirm" onClick={this.onSelectDate}>
|
|
|
|
|
<View className='btn_confirm' onClick={this.onSelectDate}>
|
|
|
|
|
确定
|
|
|
|
|
</View>
|
|
|
|
|
</Popup>
|
|
|
|
|
|