weichaochao 5 jaren geleden
bovenliggende
commit
c15018b012
2 gewijzigde bestanden met toevoegingen van 13 en 11 verwijderingen
  1. 8
    8
      src/pages/house/edit/components/poster.jsx
  2. 5
    3
      src/pages/house/edit/components/share.jsx

+ 8
- 8
src/pages/house/edit/components/poster.jsx Bestand weergeven

111
               building.buildingTag && building.buildingTag.map(item => <span>{item.tagName}</span>)
111
               building.buildingTag && building.buildingTag.map(item => <span>{item.tagName}</span>)
112
             }
112
             }
113
           </p>
113
           </p>
114
-          <p style={{
114
+          {/* <p style={{
115
             margin: '10px 20px', fontSize: '20px', color: '#222', fontWeight: '600',
115
             margin: '10px 20px', fontSize: '20px', color: '#222', fontWeight: '600',
116
             display: '-webkit-box', lineClamp: '3', height: '36px', lineHeight: '36px',
116
             display: '-webkit-box', lineClamp: '3', height: '36px', lineHeight: '36px',
117
             WebkitLineClamp: '1',
117
             WebkitLineClamp: '1',
128
             WebkitBoxOrient: 'vertical',
128
             WebkitBoxOrient: 'vertical',
129
             overflow: 'hidden',
129
             overflow: 'hidden',
130
             textOverflow: 'ellipsis',
130
             textOverflow: 'ellipsis',
131
-          }}>{textAreaValue || '海报描述'}</p>
131
+          }}>{textAreaValue || '海报描述'}</p> */}
132
           <div style={{ backgroundColor: '#f1f1f1', padding: '22px 30px', boxShadow: '0px 6px 12px -4px #dcdcdc',position:'relative' }}>
132
           <div style={{ backgroundColor: '#f1f1f1', padding: '22px 30px', boxShadow: '0px 6px 12px -4px #dcdcdc',position:'relative' }}>
133
             <p style={{margin:'0',fontSize:'18px',color:'#888'}}>长按识别小程序码</p>
133
             <p style={{margin:'0',fontSize:'18px',color:'#888'}}>长按识别小程序码</p>
134
             <p style={{margin:'0',fontSize:'18px',color:'#888'}}>进入<span style={{margin:'0 5px',fontSize:'18px',color:'#333',fontWeight:'600'}}>{miniappName||'置业V顾问'}</span>报名活动</p>
134
             <p style={{margin:'0',fontSize:'18px',color:'#888'}}>进入<span style={{margin:'0 5px',fontSize:'18px',color:'#333',fontWeight:'600'}}>{miniappName||'置业V顾问'}</span>报名活动</p>
139
       </div>
139
       </div>
140
       <div >
140
       <div >
141
         <div style={{ display: 'flex', width: '100%', margin: '30px 0' }}>
141
         <div style={{ display: 'flex', width: '100%', margin: '30px 0' }}>
142
-          <p style={{ minWidth: '200px', color: '#222', textAlign: 'right', margin: '0 30px 0 0' }}><span style={{ color: 'red' }}>*</span> 楼盘海报图</p>
142
+          <p style={{ minWidth: '200px', color: '#222', textAlign: 'right', margin: '0 30px 0 0' }}><span style={{ color: 'red' }}>*</span> 海报图</p>
143
           <ImageUploader value={imgValue} onChange={e => changeImg(e)} />
143
           <ImageUploader value={imgValue} onChange={e => changeImg(e)} />
144
         </div>
144
         </div>
145
-        <p style={{ fontSize: '0.5vw', color: '#A9A9A9', marginLeft: '230px', marginBottom: '30px'}}>建议图片尺寸:750*600px,比例5:4,格式:jpg,用于楼盘海报</p>
145
+        <p style={{ fontSize: '0.5vw', color: '#A9A9A9', marginLeft: '230px', marginBottom: '30px'}}>建议尺寸:640*960px,比例2::3,格式:jpg,文件小于300KB,用于:吸引用户在线选房</p>
146
         <div style={{ display: 'flex', alignItems: 'center', width: '100%', marginBottom: '60px' }}>
146
         <div style={{ display: 'flex', alignItems: 'center', width: '100%', marginBottom: '60px' }}>
147
-          <p style={{ minWidth: '200px', color: '#222', textAlign: 'right', margin: '0 30px 0 0' }}>海报标题</p>
148
-          <Input style={{ width: '20vw' }} value={inputValue} placeholder="请输入海报标题" onChange={e => changeInput(e.target.value)} />
147
+          {/* <p style={{ minWidth: '200px', color: '#222', textAlign: 'right', margin: '0 30px 0 0' }}>海报标题</p>
148
+          <Input style={{ width: '20vw' }} value={inputValue} placeholder="请输入海报标题" onChange={e => changeInput(e.target.value)} /> */}
149
         </div>
149
         </div>
150
-        <div style={{ display: 'flex', margin: '10px 0 40px 0', width: '100%' }}>
150
+        {/* <div style={{ display: 'flex', margin: '10px 0 40px 0', width: '100%' }}>
151
           <p style={{ minWidth: '200px', color: '#222', textAlign: 'right', margin: '0 30px 0 0' }}>海报描述</p>
151
           <p style={{ minWidth: '200px', color: '#222', textAlign: 'right', margin: '0 30px 0 0' }}>海报描述</p>
152
           <TextArea rows={5} maxLength={1024} value={textAreaValue} onChange={e => changeTextArea(e.target.value)} />
152
           <TextArea rows={5} maxLength={1024} value={textAreaValue} onChange={e => changeTextArea(e.target.value)} />
153
-        </div>
153
+        </div> */}
154
 
154
 
155
       </div>
155
       </div>
156
     </div>
156
     </div>

+ 5
- 3
src/pages/house/edit/components/share.jsx Bestand weergeven

31
           setShareContentId(data[0].shareContentId)
31
           setShareContentId(data[0].shareContentId)
32
           changeImg(data[0].shareContentImg)
32
           changeImg(data[0].shareContentImg)
33
           changeInput(data[0].shareContentTitle)
33
           changeInput(data[0].shareContentTitle)
34
+        }else{
35
+          changeInput("诚挚邀您在线选房购房~");
34
         }
36
         }
35
       }).catch(err => {
37
       }).catch(err => {
36
         message.info(err.msg || err.message)
38
         message.info(err.msg || err.message)
92
     </div>
94
     </div>
93
     <div style={{ display: 'flex', alignItems: 'center', width: '100%' }}>
95
     <div style={{ display: 'flex', alignItems: 'center', width: '100%' }}>
94
       <p style={{ minWidth: '200px', color: '#222', textAlign: 'right', margin: '0 30px 0 0' }}>分享标题</p>
96
       <p style={{ minWidth: '200px', color: '#222', textAlign: 'right', margin: '0 30px 0 0' }}>分享标题</p>
95
-      <Input placeholder="请输入分享标题" value={inputValue} onChange={e => changeInput(e.target.value)} />
97
+      <Input placeholder="请输入分享标题" value={inputValue}  onChange={e => changeInput(e.target.value)} />
96
     </div>
98
     </div>
97
     <div style={{ display: 'flex', width: '100%', marginTop: '40px' }}>
99
     <div style={{ display: 'flex', width: '100%', marginTop: '40px' }}>
98
-      <p style={{ minWidth: '200px', color: '#222', textAlign: 'right', margin: '0 30px 0 0' }}>楼盘分享图</p>
100
+      <p style={{ minWidth: '200px', color: '#222', textAlign: 'right', margin: '0 30px 0 0' }}>分享图</p>
99
       <ImageUploader value={imgValue} onChange={e => changeImg(e)} />
101
       <ImageUploader value={imgValue} onChange={e => changeImg(e)} />
100
     </div>
102
     </div>
101
-    <p style={{ fontSize: '0.5vw', color: '#A9A9A9', marginLeft: '230px', marginTop: '20px' }}>建议图片尺寸:750*600px,比例5:4,格式:jpg,用于楼盘分享好友</p>
103
+    <p style={{ fontSize: '0.5vw', color: '#A9A9A9', marginLeft: '230px', marginTop: '20px' }}>建议尺寸:750*600px,比例5:4,格式:jpg</p>
102
     <Button type="primary" htmlType="submit" onClick={submitShare} style={{ margin: '40px 40px 40px 220px' }}> 确定</Button>
104
     <Button type="primary" htmlType="submit" onClick={submitShare} style={{ margin: '40px 40px 40px 220px' }}> 确定</Button>
103
     <Button onClick={() => router.go(-1)}>取消</Button>
105
     <Button onClick={() => router.go(-1)}>取消</Button>
104
   </div>
106
   </div>