weichaochao 5 年之前
父節點
當前提交
c15018b012
共有 2 個文件被更改,包括 13 次插入11 次删除
  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 查看文件

@@ -111,7 +111,7 @@ const Poster = props => {
111 111
               building.buildingTag && building.buildingTag.map(item => <span>{item.tagName}</span>)
112 112
             }
113 113
           </p>
114
-          <p style={{
114
+          {/* <p style={{
115 115
             margin: '10px 20px', fontSize: '20px', color: '#222', fontWeight: '600',
116 116
             display: '-webkit-box', lineClamp: '3', height: '36px', lineHeight: '36px',
117 117
             WebkitLineClamp: '1',
@@ -128,7 +128,7 @@ const Poster = props => {
128 128
             WebkitBoxOrient: 'vertical',
129 129
             overflow: 'hidden',
130 130
             textOverflow: 'ellipsis',
131
-          }}>{textAreaValue || '海报描述'}</p>
131
+          }}>{textAreaValue || '海报描述'}</p> */}
132 132
           <div style={{ backgroundColor: '#f1f1f1', padding: '22px 30px', boxShadow: '0px 6px 12px -4px #dcdcdc',position:'relative' }}>
133 133
             <p style={{margin:'0',fontSize:'18px',color:'#888'}}>长按识别小程序码</p>
134 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,18 +139,18 @@ const Poster = props => {
139 139
       </div>
140 140
       <div >
141 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 143
           <ImageUploader value={imgValue} onChange={e => changeImg(e)} />
144 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 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 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 151
           <p style={{ minWidth: '200px', color: '#222', textAlign: 'right', margin: '0 30px 0 0' }}>海报描述</p>
152 152
           <TextArea rows={5} maxLength={1024} value={textAreaValue} onChange={e => changeTextArea(e.target.value)} />
153
-        </div>
153
+        </div> */}
154 154
 
155 155
       </div>
156 156
     </div>

+ 5
- 3
src/pages/house/edit/components/share.jsx 查看文件

@@ -31,6 +31,8 @@ const Share = props => {
31 31
           setShareContentId(data[0].shareContentId)
32 32
           changeImg(data[0].shareContentImg)
33 33
           changeInput(data[0].shareContentTitle)
34
+        }else{
35
+          changeInput("诚挚邀您在线选房购房~");
34 36
         }
35 37
       }).catch(err => {
36 38
         message.info(err.msg || err.message)
@@ -92,13 +94,13 @@ const Share = props => {
92 94
     </div>
93 95
     <div style={{ display: 'flex', alignItems: 'center', width: '100%' }}>
94 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 98
     </div>
97 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 101
       <ImageUploader value={imgValue} onChange={e => changeImg(e)} />
100 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 104
     <Button type="primary" htmlType="submit" onClick={submitShare} style={{ margin: '40px 40px 40px 220px' }}> 确定</Button>
103 105
     <Button onClick={() => router.go(-1)}>取消</Button>
104 106
   </div>