Explorar el Código

Merge branch 'v3.5.1' of http://git.ycjcjy.com/zhiyuxing/estateagents-admin-manager into v3.5.1

傅行帆 hace 5 años
padre
commit
374d7bb84c

+ 5
- 2
src/pages/building/list/add/components/base.jsx Ver fichero

@@ -360,9 +360,12 @@ function AddBuilding(props) {
360 360
               rules: [{ required: true, message: '请选择销售状态' }],
361 361
             })(
362 362
               <Select placeholder="销售状态" style={{ width: '1016px' }}>
363
-                <Option value="待定">待定</Option>
363
+                {/* <Option value="待定">待定</Option>
364 364
                 <Option value="在售">在售</Option>
365
-                <Option value="售完">售完</Option>
365
+                <Option value="售完">售完</Option> */}
366
+                <Option value="待售">待售</Option>
367
+                <Option value="在售">在售</Option>
368
+                <Option value="售罄">售罄</Option>
366 369
               </Select>,
367 370
             )}
368 371
           </Form.Item>

+ 7
- 4
src/pages/building/list/index.jsx Ver fichero

@@ -96,16 +96,18 @@ function CartBody(props) {
96 96
       },
97 97
     });
98 98
   }
99
-
99
+// src={((data.buildingImg && data.buildingImg[0]) || {}).url}background: `url(${item.caseCoverImg})` style={{ background: `url(((data.buildingImg && data.buildingImg[0]) || {}).url)` }}
100 100
   const { buildingImg } = data
101
-  console.log("buildingImg: ", data.buildingImg, "data: ", data)
101
+  console.log("buildingImg: ", data.buildingImg, "data: ")
102 102
   return (
103 103
     <Card
104 104
       hoverable
105 105
       style={{ minWidth: '330px', borderRadius: '12px', margin: '10px', boxShadow: '0px 0px 16px 2px rgba(0,0,0,0.12)' }}
106
-      cover={<img alt="example" src={((data.buildingImg && data.buildingImg[0]) || {}).url} style={{ borderRadius: '12px 12px 0 0', width: '100%', height: '14vw' }}></img>}
107
-      bodyStyle={{ padding: '10px 20px' }}
106
+      // cover={}
107
+      // bodyStyle={{ padding: '10px 20px' }}
108 108
     >
109
+    <img className={Styles.cover} style={{ background: `url(${((data.buildingImg && data.buildingImg[0]) || {}).url})` }}   ></img>
110
+    <div style={{ padding: '10px 20px' }}>
109 111
       <p className={Styles.cardText}>
110 112
         <span className={Styles.title}>楼盘编号</span>
111 113
         <span >:{data.code}</span>
@@ -155,6 +157,7 @@ function CartBody(props) {
155 157
         </span>
156 158
       </AuthButton>
157 159
       </p>
160
+      </div>
158 161
     </Card>
159 162
   )
160 163
 }

+ 9
- 0
src/pages/building/list/style.less Ver fichero

@@ -56,4 +56,13 @@
56 56
   white-space: nowrap;
57 57
   overflow: hidden;
58 58
 }
59
+.cover{
60
+  width: 100%;
59 61
 
62
+  padding-bottom: 56.25%;
63
+  background-size: 100% 100% !important;
64
+ 
65
+  border-radius: 12px 12px 0 0;
66
+  
67
+    // height: '14vw';
68
+}

+ 17
- 17
src/pages/carouselFigure/editCarousel.jsx Ver fichero

@@ -86,6 +86,23 @@ const { MonthPicker, RangePicker, WeekPicker } = DatePicker;
86 86
             { required: true, message: '请选择所属项目' },
87 87
           ],
88 88
         },
89
+        {
90
+          label: '发布位置',
91
+          name: 'showPosition',
92
+          type: FieldTypes.Select,
93
+          dict: [{
94
+            label: '首页',
95
+            value: 'index',
96
+          },
97
+          {
98
+            label: '积分商城',
99
+            value: 'mall',
100
+          }],
101
+          value: data.showPosition,
102
+          rules: [
103
+            { required: true, message: '请选择发布位置' },
104
+          ],
105
+        },
89 106
         {
90 107
           label: () => (locationType ? '积分商城轮播图' : '首页轮播图'),
91 108
           name: 'image',
@@ -105,23 +122,6 @@ const { MonthPicker, RangePicker, WeekPicker } = DatePicker;
105 122
             { required: true, message: '请输入标题' },
106 123
           ],
107 124
         },
108
-        {
109
-          label: '发布位置',
110
-          name: 'showPosition',
111
-          type: FieldTypes.Select,
112
-          dict: [{
113
-            label: '首页',
114
-            value: 'index',
115
-          },
116
-          {
117
-            label: '积分商城',
118
-            value: 'mall',
119
-          }],
120
-          value: data.showPosition,
121
-          rules: [
122
-            { required: true, message: '请选择发布位置' },
123
-          ],
124
-        },
125 125
         {
126 126
           label: '类型',
127 127
           name: 'contentType',

+ 1
- 1
src/pages/integralMall/writeOff.jsx Ver fichero

@@ -146,7 +146,7 @@ function header(props) {
146 146
           <div style={{ margin: '110px auto', display: 'block', textAlign: 'center' }}>
147 147
             <Input placeholder="请输入手机号" style={{ width: '200px' }} onChange={changeTel} />
148 148
             <AuthButton name="admin.taPointsExchange.recId.put" noRight={null}>
149
-              <Button type="primary" style={{ marginLeft: '10px', padding: '6px 46px', backgroundColor: '#EA2323', border: 'none' }} onClick={verifyTel}>立即核销</Button>
149
+              <Button type="primary" style={{ marginLeft: '10px', padding: '0px 46px', backgroundColor: '#EA2323', border: 'none' }} onClick={verifyTel}>立即核销</Button>
150 150
             </AuthButton>
151 151
           </div>
152 152
         </TabPane>