6.8 修改样式,增加提示
This commit is contained in:
@ -366,11 +366,15 @@ const AuctionViewAuctions: React.FC = () => {
|
||||
* 我要参拍
|
||||
*/
|
||||
const toParticipate = () => {
|
||||
setIsModalVisible(true);
|
||||
form.setFieldsValue({
|
||||
"organizationName": userData.organizationName,
|
||||
"biddersCpr": userData.fullName,
|
||||
});
|
||||
if (isParticipant()) {//有权限
|
||||
setIsModalVisible(true);
|
||||
form.setFieldsValue({
|
||||
"organizationName": userData.organizationName,
|
||||
"biddersCpr": userData.fullName,
|
||||
});
|
||||
} else {
|
||||
message.info("您好,您不具有参拍人权限,无法参与竞拍出价,您可联系省分接口人配置参拍权限。");
|
||||
}
|
||||
}
|
||||
//参与竞拍
|
||||
const handleOk = () => {
|
||||
@ -458,9 +462,9 @@ const AuctionViewAuctions: React.FC = () => {
|
||||
{overFlag ? '最终价:' : '当前价:'}<span>¥{digitalConversionAmount(String(currentPrice), 2)}</span>
|
||||
</div>
|
||||
{
|
||||
(!overFlag && isParticipant()) && (
|
||||
!overFlag && (
|
||||
viewStatus === '1' ? (
|
||||
startFlag && <div className="saleBlock">
|
||||
startFlag ? (<div className="saleBlock">
|
||||
<>
|
||||
请出价:<span>¥</span>
|
||||
<Input type="text" maxLength={15} value={offerAPrice} autoComplete='off'
|
||||
@ -480,7 +484,11 @@ const AuctionViewAuctions: React.FC = () => {
|
||||
}}>+{range}</button>
|
||||
|
||||
</>
|
||||
</div>
|
||||
</div>) : (
|
||||
<div className="auction-not-started">
|
||||
<span>您已报名参拍,竞拍未开始!</span>
|
||||
</div>
|
||||
)
|
||||
) : (
|
||||
<div style={{ marginBottom: 12 }}>
|
||||
<Button type='primary' key="participate" onClick={() => toParticipate()}>我要参拍</Button>
|
||||
|
@ -45,9 +45,11 @@ ul.small-img-ul li.img.active{ border-color:#b30000; }
|
||||
.saleBlock{ height: 56px;}
|
||||
.saleBlock span{ font-size: 24px; font-weight: bold; color: #b30000;}
|
||||
.saleBlock input[type="text"]{ padding: 2px; width: 200px; height: 28px; border: 1px solid #ddd; border-radius: 2px;}
|
||||
.saleBlock button{ width: 64px; height: 32px; line-height: 32px; text-align: center; background: #b30000; color: #fff; border-radius: 3px; cursor: pointer;}
|
||||
.saleBlock button{ width: 64px; height: 32px; line-height: 32px; text-align: center; background: #b30000; color: #fff; border-radius: 3px; cursor: pointer;margin: 0px;padding: 0px;border: 1px solid #fff;}
|
||||
.otherInform{}
|
||||
.otherInform span{ display:inline-block; float: left; width: 49%; line-height: 2;}
|
||||
.contentParts .rightInform{ position: absolute; top: 10px; right: 15px; width: 280px;}
|
||||
.contentParts .rightInform ul{}
|
||||
.contentParts .rightInform ul li{ margin: 2px 0 8px; line-height: 1.8; color: #999;}
|
||||
.auction-not-started{ height: 48px;}
|
||||
.auction-not-started span{ font-size: 20px; font-weight: bold; color: #b30000;}
|
||||
|
Reference in New Issue
Block a user