This commit is contained in:
@fawn-nine
2023-07-03 15:39:10 +08:00
parent 40a469f8fd
commit 37150dbd79
10 changed files with 30 additions and 11 deletions

View File

@@ -169,7 +169,7 @@
<!--pdf 选项卡六--> <!--pdf 选项卡六-->
</ul> </ul>
</div> </div>
<div class="content conthtmn"> <div class="content conthtmn" id="html88">
<!--Tradition 选项卡二--> <!--Tradition 选项卡二-->
</div> </div>

View File

@@ -62,7 +62,7 @@
<p>Too many journals to choose? Please select the topic of your manuscript.</p> <p>Too many journals to choose? Please select the topic of your manuscript.</p>
<!-- <input id="comindex" autocomplete="off" placeholder="Please choose topics">--> <!-- <input id="comindex" autocomplete="off" placeholder="Please choose topics">-->
<div id="com_index" name="name"></div> <div id="com_index" name="name"></div>
<span class="es_serch_span" style="display: none;font-size: 12px;color: #e91c1c;margin-left: 5px;">Please choose topics</span> <span class="es_serch_span" style="display: none;font-size: 12px;color: #e91c1c;margin-left: 5px;">Please select a topic</span>
<a target="_blank" class="es_serch_btn"><i class="fa fa-hand-o-right" aria-hidden="true"></i>Search</a> <a target="_blank" class="es_serch_btn"><i class="fa fa-hand-o-right" aria-hidden="true"></i>Search</a>
</div> </div>

View File

@@ -193,7 +193,7 @@
<i class="fa fa-hand-o-right" aria-hidden="true" style="margin-right: 5px"></i>Search <i class="fa fa-hand-o-right" aria-hidden="true" style="margin-right: 5px"></i>Search
</a> </a>
<span class="es_serch_span" <span class="es_serch_span"
style="display: none;font-size: 12px;color: #e91c1c;margin-left: 5px;">Please choose topics</span> style="display: none;font-size: 12px;color: #e91c1c;margin-left: 5px;">Please select a topic</span>
</div> </div>
<div> <div>
<a href="tmrde" target="_blank"> <a href="tmrde" target="_blank">

View File

@@ -226,7 +226,7 @@
<i class="fa fa-hand-o-right" aria-hidden="true" style="margin-right: 5px"></i>Search <i class="fa fa-hand-o-right" aria-hidden="true" style="margin-right: 5px"></i>Search
</a> </a>
<span class="es_serch_span" <span class="es_serch_span"
style="display: none;font-size: 12px;color: #e91c1c;margin-left: 5px;">Please choose topics</span> style="display: none;font-size: 12px;color: #e91c1c;margin-left: 5px;">Please select a topic</span>
</div> </div>
<div> <div>
<a href="tmrde" target="_blank"> <a href="tmrde" target="_blank">

View File

@@ -6862,6 +6862,23 @@ function article_con() {
} }
} }
$('.wen_rong .content-box .conthtmn').html(str); $('.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>')
}
} }

View File

@@ -1085,13 +1085,14 @@ function bf_list() {
$('#com_index').selectivity({ $('#com_index').selectivity({
allowClear: true, allowClear: true,
items: new_arry, items: new_arry,
placeholder: 'Please choose topics' placeholder: 'Please select a topic'
}) })
$('.es_serch_btn').click(function () { $('.es_serch_btn').click(function () {
$('.es_serch_span').css('display', 'none') $('.es_serch_span').css('display', 'none')
if ($('#com_index').selectivity('val') == null) { if ($('#com_index').selectivity('val') == null) {
$('.es_serch_span').css('display', 'block') $('.es_serch_span').css('display', 'block')
$('.es_serch_span').text('Please select a topic')
ShowDanger("Request was aborted"); ShowDanger("Request was aborted");
} else { } else {
window.open("atr_wisdom.html?&wis_dom=" + $('#com_index').selectivity('val')); window.open("atr_wisdom.html?&wis_dom=" + $('#com_index').selectivity('val'));

View File

@@ -68,7 +68,7 @@ function sy_index() {
$('#com_index').selectivity({ $('#com_index').selectivity({
allowClear: true, allowClear: true,
items: new_arry, items: new_arry,
placeholder: 'Please choose topics' placeholder: 'Please select a topic'
}) })
$('.es_serch_btn').click(function () { $('.es_serch_btn').click(function () {
@@ -8136,7 +8136,7 @@ function art_wisdom() {
$('#com_index').selectivity({ $('#com_index').selectivity({
allowClear: true, allowClear: true,
items: new_arry, items: new_arry,
placeholder: 'Please choose topics' placeholder: 'Please select a topic'
}) })
$('.es_serch_btn').click(function () { $('.es_serch_btn').click(function () {
@@ -8372,7 +8372,7 @@ function rev_ver() {
$('#com_index').selectivity({ $('#com_index').selectivity({
allowClear: true, allowClear: true,
items: new_arry, items: new_arry,
placeholder: 'Please choose topics' placeholder: 'Please select a topic'
}) })
$('.es_serch_btn').click(function () { $('.es_serch_btn').click(function () {

View File

@@ -321,7 +321,7 @@ $.ajax({
$('#com_index').selectivity({ $('#com_index').selectivity({
allowClear: true, allowClear: true,
items: new_arry, items: new_arry,
placeholder: 'Please choose topics' placeholder: 'Please select a topic'
}) })
$('.es_serch_btn').click(function () { $('.es_serch_btn').click(function () {

View File

@@ -428,7 +428,7 @@ $.ajax({
$('#com_index').selectivity({ $('#com_index').selectivity({
allowClear: true, allowClear: true,
items: new_arry, items: new_arry,
placeholder: 'Please choose topics' placeholder: 'Please select a topic'
}) })
$('.es_serch_btn').click(function () { $('.es_serch_btn').click(function () {

View File

@@ -1002,13 +1002,14 @@ function bf_list() {
$('#com_index').selectivity({ $('#com_index').selectivity({
allowClear: true, allowClear: true,
items: new_arry, items: new_arry,
placeholder: 'Please choose topics' placeholder: 'Please select a topic'
}) })
$('.es_serch_btn').click(function () { $('.es_serch_btn').click(function () {
$('.es_serch_span').css('display', 'none') $('.es_serch_span').css('display', 'none')
if ($('#com_index').selectivity('val') == null) { if ($('#com_index').selectivity('val') == null) {
$('.es_serch_span').css('display', 'block') $('.es_serch_span').css('display', 'block')
$('.es_serch_span').text('Please select a topic')
ShowDanger("Request was aborted"); ShowDanger("Request was aborted");
} else { } else {
window.open("atr_wisdom.html?&wis_dom=" + $('#com_index').selectivity('val')); window.open("atr_wisdom.html?&wis_dom=" + $('#com_index').selectivity('val'));