复数
This commit is contained in:
@@ -6862,6 +6862,23 @@ function article_con() {
|
||||
}
|
||||
}
|
||||
$('.wen_rong .content-box .conthtmn').html(str);
|
||||
if(result.data.refers.length > 0){
|
||||
var refs = ''
|
||||
var xuhao = 0
|
||||
for(var rr = 0; rr < result.data.refers.length; rr++){
|
||||
|
||||
if(result.data.refers[rr].author == ''){ // 如果格式不正确,或者信息不全
|
||||
continue;
|
||||
}else{
|
||||
xuhao ++
|
||||
let item = "<div><p>"+ xuhao + '.' + result.data.refers[rr].author + result.data.refers[rr].title + "<i>" + result.data.refers[rr].joura +"</i>" + result.data.refers[rr].dateno + ". Available at:<a class='refsLink' href='"+ result.data.refers[rr].doilink +"' target='_blank' style='color:#006699'>"+ result.data.refers[rr].doilink +"</a></p></div>"
|
||||
refs += item
|
||||
}
|
||||
|
||||
}
|
||||
// console.log(refs)
|
||||
$('.wen_rong .content-box .conthtmn').append('<div id="ArticleRef" class="ArticleRef"><p><b>References</b></p>'+ refs +'</div>')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1085,13 +1085,14 @@ function bf_list() {
|
||||
$('#com_index').selectivity({
|
||||
allowClear: true,
|
||||
items: new_arry,
|
||||
placeholder: 'Please choose topics'
|
||||
placeholder: 'Please select a topic'
|
||||
})
|
||||
|
||||
$('.es_serch_btn').click(function () {
|
||||
$('.es_serch_span').css('display', 'none')
|
||||
if ($('#com_index').selectivity('val') == null) {
|
||||
$('.es_serch_span').css('display', 'block')
|
||||
$('.es_serch_span').text('Please select a topic')
|
||||
ShowDanger("Request was aborted!");
|
||||
} else {
|
||||
window.open("atr_wisdom.html?&wis_dom=" + $('#com_index').selectivity('val'));
|
||||
|
||||
@@ -68,7 +68,7 @@ function sy_index() {
|
||||
$('#com_index').selectivity({
|
||||
allowClear: true,
|
||||
items: new_arry,
|
||||
placeholder: 'Please choose topics'
|
||||
placeholder: 'Please select a topic'
|
||||
})
|
||||
|
||||
$('.es_serch_btn').click(function () {
|
||||
@@ -8136,7 +8136,7 @@ function art_wisdom() {
|
||||
$('#com_index').selectivity({
|
||||
allowClear: true,
|
||||
items: new_arry,
|
||||
placeholder: 'Please choose topics'
|
||||
placeholder: 'Please select a topic'
|
||||
})
|
||||
|
||||
$('.es_serch_btn').click(function () {
|
||||
@@ -8372,7 +8372,7 @@ function rev_ver() {
|
||||
$('#com_index').selectivity({
|
||||
allowClear: true,
|
||||
items: new_arry,
|
||||
placeholder: 'Please choose topics'
|
||||
placeholder: 'Please select a topic'
|
||||
})
|
||||
|
||||
$('.es_serch_btn').click(function () {
|
||||
|
||||
Reference in New Issue
Block a user