From 2892f755172ed94998cdc3de3b54e406df7c3ac4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E8=AF=9A=E8=AF=9A?= Date: Thu, 11 Aug 2022 09:39:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BC=96=E8=BE=91=E7=95=8C?= =?UTF-8?q?=E9=9D=A2css=E5=92=8C=E5=9B=BE=E7=89=87=E6=8F=92=E5=85=A5?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/config/config.php | 6 +++--- application/views/bootstrap3/header.php | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/application/config/config.php b/application/config/config.php index 99f00d34..c87d7b8e 100644 --- a/application/config/config.php +++ b/application/config/config.php @@ -701,7 +701,7 @@ $config['access_super_manage'] = array('ycc', 'lmr', 'lyj', 'rz', 'zp'); //编辑器预览样式路径 $config['css_source_cht'] = 'https://data.chinahighlights.com/css/min.php?f=/public/css/global.min.css,/css/festival-detail.css'; -$config['css_source_ch'] = 'https://proxy-data.chinahighlights.com/css/mobile-first.css'; +$config['css_source_ch'] = 'https://data.chinahighlights.com/css/mobile-first.css'; $config['css_source_gm'] = 'https://data.chinarundreisen.com/public/pkg/css/baselAlRkXMnl750806T065919409Z.css'; @@ -716,8 +716,8 @@ $config['css_source_gl'] = 'https://www.guilinchina.net/css/css3/bootstrap/boots $config['css_source_tbt'] = 'https://www.tibetguru.com/css/style.css'; $config['css_source_mbj'] = 'https://www.mybeijingchina.com/css/layout.css'; $config['css_source_yz'] = 'https://www.yangtzeriver.org/css/css3/bootstrap/bootstrap.css'; -$config['css_source_ah'] = 'https://www.asiahighlights.com/min/?f=/css/global.min.css,/js/bootstrap-datepicker/css/bootstrap-datepicker3.standalone.css,/css/basic.css,/css/homepage.css,/css/contact.css,/css/tailor-make.css,/css/tour.css,/css/tour-detail.css,/css/inquiry-form.css,/css/missing.css'; -$config['css_source_gh'] = 'https://www.globalhighlights.com/css/global.css'; +$config['css_source_ah'] = 'https://data.asiahighlights.com/css/mobile-first.css'; +$config['css_source_gh'] = 'https://data.globalhighlights.com/css/gh-global.css'; $config['css_source_ct'] = 'https://data.chinatravel.com/css/min.php?f=/css/css3/bootstrap/bootstrap.css,/css/css3/style.css,/css/css3/destination-details.css'; $config['css_source_chinatravel'] = 'https://data.chinatravel.com/css/newcss3/base.css'; $config['css_source_ts'] = 'https://www.trainspread.com/css/bootstrap.min.css'; diff --git a/application/views/bootstrap3/header.php b/application/views/bootstrap3/header.php index cbfa2c05..562aeb75 100644 --- a/application/views/bootstrap3/header.php +++ b/application/views/bootstrap3/header.php @@ -93,7 +93,9 @@ editor.insertHtml('
' + result.Pinfo[key].Sinfo + ' ' + result.Pinfo[key].Sinfo + '
'); } else if ('config->item('site_code') ?>' == 'ch') { editor.insertHtml('
' + result.Pinfo[key].Sinfo + '' + result.Pinfo[key].Sinfo + '
'); - } else { + } else if ('config->item('site_code') ?>' == 'gh') { + editor.insertHtml('
' + result.Pinfo[key].Sinfo + '' + result.Pinfo[key].Sinfo + '
'); + }else { editor.insertHtml('' + result.Pinfo[key].PName + ''); } use_pictures = use_pictures + result.Pinfo[key].ID + ':' + result.Pinfo[key].PUrl + ':' + result.Pinfo[key].wh + ',';