傅行帆 5 年之前
父節點
當前提交
f034ceb1a2
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2
    2
      src/pages/building/list/add/components/buildingProjectType.jsx
  2. 1
    1
      src/pages/building/list/index.jsx

+ 2
- 2
src/pages/building/list/add/components/buildingProjectType.jsx 查看文件

@@ -102,8 +102,8 @@ class TypeForm extends React.Component {
102 102
                 )}
103 103
               </Form.Item>
104 104
             <Form.Item label="价格区间" help='最高价与最低价一致时,只展示一个'>
105
-              {getFieldDecorator('startPrice')(<Input type="number" placeholder="最低价" style={{width: '60px'}} maxLength="9" onChange={e => this.onChange(e, 'startPrice')} />)} --
106
-              {getFieldDecorator('endPrice')(<Input type="number" placeholder="最高价" style={{width: '60px'}} maxLength="9" onChange={e => this.onChange(e, 'endPrice')} />)}{this.props.type.priceType === "average" ? "元/㎡" : "万元/套"}
105
+              {getFieldDecorator('startPrice')(<Input type="number" placeholder="最低价" style={{width: '120px'}} maxLength="9" onChange={e => this.onChange(e, 'startPrice')} />)} --
106
+              {getFieldDecorator('endPrice')(<Input type="number" placeholder="最高价" style={{width: '120px'}} maxLength="9" onChange={e => this.onChange(e, 'endPrice')} />)}{this.props.type.priceType === "average" ? "元/㎡" : "万元/套"}
107 107
             </Form.Item>
108 108
             <Form.Item label="销售状态" >
109 109
             {getFieldDecorator('marketStatus')(

+ 1
- 1
src/pages/building/list/index.jsx 查看文件

@@ -128,7 +128,7 @@ function CartBody(props) {
128 128
         <p className={Styles.cardItem}>
129 129
           <span className={Styles.title}>均价</span>
130 130
           <span >
131
-            :<span style={{ color: '#FF0707', fontSize: '20px' }}> {data.price || '待定'} </span>{data.priceType == "total" ? "万元/套" : "元/m²"}
131
+            :<span style={{ color: '#FF0707', fontSize: '20px' }}> {data.price || '待定'} </span>
132 132
         </span>
133 133
         </p>
134 134
         <p className={Styles.cardItem}>