Browse Source

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

xujing 5 years ago
parent
commit
73529af936

+ 3
- 3
src/pages/h5SampleManager/h5Sample/add.jsx View File

85
             {
85
             {
86
               required: true,
86
               required: true,
87
               message: '请填写正确的联系方式',
87
               message: '请填写正确的联系方式',
88
-              max:11,
89
-              min:11,
90
-              pattern: new RegExp('^[0-9]*$'),
88
+              // max:11,
89
+              // min:11,
90
+              pattern: new RegExp('^1[0-9]{10}$'),
91
             },
91
             },
92
           ],
92
           ],
93
         })(<Input/>)}
93
         })(<Input/>)}

+ 1
- 1
src/pages/h5SampleManager/h5Sample/components/ContactInfo.jsx View File

82
                   <div className={styles.right}>{this.props.type.address}</div>
82
                   <div className={styles.right}>{this.props.type.address}</div>
83
                 </div>}
83
                 </div>}
84
               </div>
84
               </div>
85
-              {this.props.type.avatar != null && this.props.type.avatar != '' &&
85
+              {this.props.type.wxCardImg != null && this.props.type.wxCardImg != '' &&
86
               <div style={{ textAlign: 'center' }}>
86
               <div style={{ textAlign: 'center' }}>
87
                 <img src={this.props.type.wxCardImg} height="80px" width="80px" />
87
                 <img src={this.props.type.wxCardImg} height="80px" width="80px" />
88
                 <p style={{ margin: ' 0px', fontSize: '0.096rem', color: '#666' }}>扫码添加微信好友</p>
88
                 <p style={{ margin: ' 0px', fontSize: '0.096rem', color: '#666' }}>扫码添加微信好友</p>