JS使用“\”反斜杠拼接

$('#result_ok').append('

\                     预约挂号医院:西安市第八医院\                     

\                     

\                         预约挂号科室:皮肤科-1科室 皮肤科\                     

\                     

\                         预约挂号医生: \                     

\                     

\                         预约医生级别: \                     

\                     

\                         诊金及挂号费:\                         \                         元\                     

\                     

\                         预约就诊时间:\                         \                         \                     

');

可以正常运行 相当于str+="

",每一行都必须str+=这个固定格式,必须简化掉(懒啊)


沫沫金,2015年倒数第二天纪念发文(庆祝二零一六开年