问卷遗留的问题

dev_auth
杨树林 5 years ago
parent 75924a5130
commit 540364e11a

@ -59,7 +59,11 @@ class PollDetailTabThirdInfo extends Component{
</span>:""
}
</p>
<li className="pl30 pr30 pb15">{item.question.question_title}</li>
<p className="pl30 pr30 pb15"><span className="font-14 flex1" style={{
"white-space": "pre-wrap",
"word-break": "break-all",
"word-wrap": "break-word"
}}>{item.question.question_title}</span></p>
{
// 单选题
item.question.question_type==1 &&

@ -616,11 +616,16 @@ class PollNew extends Component {
// let name="Anchor_"+index;
console.log("scrollToAnchor");
console.log(index);
try {
if (index) {
let anchorElement = document.getElementById(index);
// if(anchorElement) { anchorElement.scrollIntoView(); }
$("html").animate({ scrollTop: $(anchorElement).offset().top - 150})
$("html").animate({scrollTop: $(anchorElement).offset().top - 150})
}
} catch (e) {
}
}
//新增添加题目 有new
addMytopic = (index, pollid, Insertposition, Whether, id,inty) => {

Loading…
Cancel
Save