魏超 5 年之前
父節點
當前提交
389f1d3e5b

+ 3
- 3
src/pages/h5SampleManager/h5Sample/add.jsx 查看文件

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 查看文件

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>