Initial commit,修正
This commit is contained in:
Executable
+52
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
/**
|
||||
* @Author: fm453
|
||||
* @Date: 2018-04-24 02:02:21
|
||||
* @Last Modified by: fm453
|
||||
* @Last Modified time: 2021-08-24 00:47:46
|
||||
* @Email: fm453@lukegzs.com
|
||||
**/
|
||||
|
||||
global $_HI;
|
||||
?>
|
||||
<div class="footer">
|
||||
<div class="footer_con">
|
||||
<div class="footer_top">
|
||||
<dl class="dl01">
|
||||
<dt><a href="<?php echo $_HI['siteUrl'];?>"><img src="<?php echo $_HI['staticUrl'];?>/img/logo-bot.png" alt=""></a></dt>
|
||||
<dd style="font-size:14px;">专注轿运业务O2O<br>车辆运输平台管理系统</dd>
|
||||
</dl>
|
||||
<dl class="dl02">
|
||||
<dd>
|
||||
<em class="dd_em1">办公地址</em>
|
||||
<em class="dd_em2"><?php echo $_HI['addr'];?></em>
|
||||
<br>
|
||||
<em class="dd_em1">备案号</em>
|
||||
<em class="dd_em2"><?php echo $_HI['ICP'];?></em>
|
||||
<br>
|
||||
<!-- <em class="dd_em1">工商标识</em>
|
||||
<em class="dd_em2"><iframe src="http://aic.hainan.gov.cn:880/lz.ashx?vie=076144A08548ACE3D44936D812597B30466F7AF68167CB730DB6365797A35579A499F7E1793EFE34B3771DB8041877B3" allowtransparency="true" scrolling="no" style="overflow:hidden;" frameborder="0"></iframe></em> -->
|
||||
<br>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="dl03">
|
||||
<dd>
|
||||
<em class="dd_em1">友情链接</em>
|
||||
<em class="dd_em2">
|
||||
<a href="http://www.hiluker.com" target="_blank">嗨路客电商</a>
|
||||
<a href="http://www.hiluker.cn" target="_blank">嗨噜客科技</a>
|
||||
<a href="https://vcms.hiluker.com" target="_blank">VCMS-微信公众号管理平台</a>
|
||||
<a href="https://xcx.hiluker.com" target="_blank">嗨噜小程序/轻应用管理平台</a>
|
||||
<a href="http://www.hiluker.cn" target="_blank">嗨噜客科技-我司技术伙伴</a>
|
||||
<a href="http://che.hiluker.com" target="_blank">运车百科-专业汽车托运知识</a>
|
||||
</em>
|
||||
</dd>
|
||||
</dl>
|
||||
<div class="dl04">
|
||||
<ul>
|
||||
<li><a id="wsy">运车客服</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Executable
+36
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/**
|
||||
* @Author: fm453
|
||||
* @Date: 2018-04-24 02:02:21
|
||||
* @Last Modified by: fm453
|
||||
* @Last Modified time: 2021-08-22 09:25:21
|
||||
* @Email: fm453@lukegzs.com
|
||||
**/
|
||||
|
||||
global $_HI;
|
||||
?>
|
||||
|
||||
<!--[if lte IE 8]>
|
||||
<div class="ie6_box" id="alert_ie6_box">
|
||||
<h6>Woo!您的IE浏览器版本过低,请升级您的浏览器,以享受更优质的浏览效果!</h6>
|
||||
<p>我们建议您使用以下浏览器之一:</p>
|
||||
<ul>
|
||||
<li><a href="https://www.google.com/chrome" target="_blank" class="chrome">谷歌Chrome浏览器</a></li>
|
||||
<li><a href="http://www.apple.com/safari/download/" target="_blank" class="safari">苹果Safari浏览器</a></li>
|
||||
<li><a href="http://www.mozilla.org/en-US/firefox/fx/" target="_blank" class="firefox">Firefox浏览器</a></li>
|
||||
<li><a href="http://windows.microsoft.com/en-US/internet-explorer/downloads/ie" target="_blank" class="ie89">Internet Explorer最新版</a></li>
|
||||
</ul>
|
||||
<span><a href="javascript:;" class="ie6_btnClose" onclick="hide_ie6_box();">暂不升级,继续浏览</a></span>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var alert_ie6_box = document.getElementById('alert_ie6_box');
|
||||
function hide_ie6_box(){alert_ie6_box.style.display='none';}
|
||||
</script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="<?php echo $_HI['staticUrl'];?>/js/style.js"></script>
|
||||
<script src="<?php echo $_HI['staticUrl'];?>/js/wow.min.js"></script>
|
||||
<script>
|
||||
if (!(/msie [6|7|8|9]/i.test(navigator.userAgent))){
|
||||
new WOW().init();
|
||||
};
|
||||
</script>
|
||||
Executable
+49
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/**
|
||||
* @Author: fm453
|
||||
* @Date: 2018-04-24 02:02:21
|
||||
# @Last modified by: fm453
|
||||
# @Last modified time: 2021-09-15T10:42:38+08:00
|
||||
* @Email: fm453@lukegzs.com
|
||||
**/
|
||||
|
||||
global $_HI;
|
||||
$_HI['staticUrl'] = Yii::getAlias('@web').'/static';
|
||||
?>
|
||||
|
||||
<title><?php echo $this->params['title']; ?></title>
|
||||
<meta name="description" content="<?php if(isset($seo['description'])){echo $seo['description'];}else{echo $_HI['seo']['description'];}?>">
|
||||
<meta name="keywords" content="<?php if(isset($seo['keywords'])){echo $seo['keywords'];}else{echo $_HI['seo']['keywords'];};?>">
|
||||
<meta name="viewport" content="target-densitydpi=device-dpi, width=1280,user-scalable=no">
|
||||
<link type="text/css" rel="stylesheet" href="<?=Yii::getAlias('@web')?>/static/css/hiluker.css">
|
||||
<link type="text/css" rel="stylesheet" href="<?php echo $_HI['staticUrl'];?>/css/banner.css">
|
||||
<script type="text/javascript" src="<?=Yii::getAlias('@web')?>/static/js/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="<?php echo $_HI['staticUrl'];?>/js/jquery.cookie.js"></script>
|
||||
<script type="text/javascript" src="<?php echo $_HI['staticUrl'];?>/js/banner.js"></script>
|
||||
|
||||
<link rel="shortcut icon" href="<?=Yii::getAlias('@web')?>/favicon.ico">
|
||||
|
||||
<script type="text/javascript">
|
||||
if( $.cookie('name')!='www.hiluker.com' ){
|
||||
(function () {
|
||||
var sUserAgent = navigator.userAgent;
|
||||
if (sUserAgent.indexOf('Android') > -1 || sUserAgent.indexOf('iPhone') > -1 || sUserAgent.indexOf('iPad') > -1 || sUserAgent.indexOf('iPod') > -1 || sUserAgent.indexOf('Symbian') > -1) {
|
||||
//location.href = 'http://m.hiluker.com/';
|
||||
} else {
|
||||
}
|
||||
})();
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
//实现图片慢慢浮现出来的效果
|
||||
$("img").load(function () {
|
||||
//图片默认隐藏
|
||||
$(this).hide();
|
||||
//使用fadeIn特效
|
||||
$(this).fadeIn("5000");
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
Executable
+177
@@ -0,0 +1,177 @@
|
||||
<script type="text/javascript" >
|
||||
/*
|
||||
* JS对象格式
|
||||
* obj={key1:name1,key2:name2,key3:name3}
|
||||
*/
|
||||
|
||||
function FmShowObject(obj){
|
||||
var fm_des = "";
|
||||
console.log('JS对象记录S');
|
||||
for(var name in obj){
|
||||
fm_des += name + ":" + obj[name] + ";";
|
||||
console.log(name);
|
||||
console.log(obj[name]);
|
||||
}
|
||||
console.log('JS对象记录E');
|
||||
return fm_des;
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript" charset='utf-8'>
|
||||
/*
|
||||
* JS数组格式
|
||||
* array=[val1,val2,val3,'','','',]
|
||||
*/
|
||||
|
||||
//判断是否为数组
|
||||
function isArray(o){
|
||||
if(Object.prototype.toString.call(o)=='[object Array]'){
|
||||
return true;
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
//判断数组包含
|
||||
function Array_indexOf(array,val) {
|
||||
for (var i = 0; i < array.length; i++) {
|
||||
if (array[i] == val){
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
//从数组中移除
|
||||
function Array_remove(array,val) {
|
||||
var index = Array_indexOf(array,val);
|
||||
if (index > -1) {
|
||||
array.splice(index, 1);
|
||||
}
|
||||
}
|
||||
|
||||
//从数组中取值
|
||||
function Array_getValue(array,val) {
|
||||
for (var i = 0; i < array.length; i++) {
|
||||
if (array[i] == val) {
|
||||
return array[i];
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" charset='utf-8'>
|
||||
/**——利用JS方法管理客户端cookie————**/
|
||||
/*
|
||||
设置cookie
|
||||
@key 键
|
||||
@value 值
|
||||
@expired 保存时长,以毫秒为单位,默认为7天 7*24*60*60*1000
|
||||
*/
|
||||
function js_setCookie(key,value,expired){
|
||||
expired = isNaN(expired) ? 7*24*60*60*1000 : expired; //使expired必为整数值
|
||||
expired = (expired<=0) ? 7*24*60*60*1000 : expired; //使expired必为正整数值
|
||||
var exp = new Date();
|
||||
exp.setTime(exp.getTime() + expired);
|
||||
document.cookie = key + "="+ escape (value) + ";expires=" + exp.toGMTString();
|
||||
}
|
||||
|
||||
/*
|
||||
读取cookie
|
||||
@key cookie的键值
|
||||
*/
|
||||
function js_getCookie(key){
|
||||
var arr,reg=new RegExp("(^| )"+key+"=([^;]*)(;|$)");
|
||||
if(arr=document.cookie.match(reg))
|
||||
{
|
||||
return unescape(arr[2]);
|
||||
}else{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
删除cookie
|
||||
@key cookie的键值
|
||||
*/
|
||||
function js_delCookie(key){
|
||||
var exp = new Date();
|
||||
exp.setTime(exp.getTime() - 1);
|
||||
var value=getCookie(key);
|
||||
if(value !=null)
|
||||
document.cookie= key + "="+value+";expires="+exp.toGMTString();
|
||||
}
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" charset='utf-8'>
|
||||
/*
|
||||
* 格式化表单
|
||||
* 返回以表单元素及对象值构成的数组对象
|
||||
* 170425 解决单选、复选、下拉框等元素name多对一时显示不正确的BUG
|
||||
*/
|
||||
|
||||
function Form_format(formid){
|
||||
var formid = (typeof(formid)=="string" ? formid : '');
|
||||
var _index, _text, _value, _length;
|
||||
if (!formid) {
|
||||
return false;
|
||||
}
|
||||
var x = document.getElementById(formid);
|
||||
var result={};
|
||||
for (var i=0;i<x.length;i++) {
|
||||
var obj = x.elements[i];
|
||||
var key = obj.name;
|
||||
if (obj.type=='radio') {
|
||||
if(obj.checked){
|
||||
result[key] = obj.value;
|
||||
}
|
||||
}else if (obj.type=='select-one') {
|
||||
//单选下拉框取值,返回单一值
|
||||
_index = obj.selectedIndex; // 选中索引
|
||||
_text = obj.options[_index].text; // 选中文本
|
||||
_value = obj.options[_index].value; // 选中值
|
||||
result[key] = _value;
|
||||
}else if (obj.type=='select-multiple') {
|
||||
//多选下拉框取值,返回数组多值
|
||||
_value =[];
|
||||
_length = obj.options.length;
|
||||
for(var j=0;j<_length;j++){
|
||||
if(obj.options[j].selected){
|
||||
_value.push(obj.options[j].value);
|
||||
}
|
||||
}
|
||||
result[key] = _value;
|
||||
}else if (obj.type=='checkbox') {
|
||||
//取复选框的值,多选项时返回数组
|
||||
if(obj.checked){
|
||||
if(result[key]==null || !isArray(result[key])){
|
||||
result[key] = [];
|
||||
}
|
||||
result[key].push(obj.value);
|
||||
}
|
||||
}else{
|
||||
result[key] = obj.value;
|
||||
}
|
||||
//以下用于打印调试结果
|
||||
//document.write(obj.name);
|
||||
//document.write('-');
|
||||
//document.write(obj.value);
|
||||
//document.write('-');
|
||||
//document.write(obj.type);
|
||||
//document.write('-');
|
||||
//document.write(obj.id);
|
||||
//document.write('<br>');
|
||||
}
|
||||
//过滤空数组,各项的具体值为仅包含一个元素的数组时,改数组为单一值
|
||||
for(k in result){
|
||||
if(isArray(result[k])){
|
||||
if (result[k].length==0) {
|
||||
result.splice(k, 1);
|
||||
}else if (result[k].length==1) {
|
||||
result[k] = result[k][0];
|
||||
}
|
||||
}
|
||||
}
|
||||
console.log(result);
|
||||
return result;
|
||||
}
|
||||
</script>
|
||||
Executable
+52
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
/**
|
||||
* @Author: fm453
|
||||
* @Date: 2018-04-24 02:02:21
|
||||
* @Last Modified by: fm453
|
||||
* @Last Modified time: 2021-08-24 00:55:54
|
||||
* @Email: fm453@lukegzs.com
|
||||
**/
|
||||
|
||||
global $_HI;
|
||||
?>
|
||||
<!--在线咨询插件-->
|
||||
<a>
|
||||
<div class="float_box" style="display:none"><span><img src="<?php echo $_HI['staticUrl'];?>/img/z.png" alt=""></span><p>在</p><p>线</p><p>咨</p><p>询</p></div>
|
||||
</a>
|
||||
<div class="float" style="display: block;">
|
||||
<a>
|
||||
<span class="float_x"><p><img src="<?php echo $_HI['staticUrl'];?>/img/d.png" alt=""></p></span>
|
||||
</a>
|
||||
<div class="float_windows">
|
||||
<a><i class="yunzai"></i></a>
|
||||
<div class="float_online"><a class="mfsy">免费询价</a></div>
|
||||
|
||||
<div class="float_span">
|
||||
<span class="cqfw">在线咨询</span>
|
||||
<a class="float_contact" href="http://wpa.qq.com/msgrd?v=3&uin=1280880631&site=qq&menu=yes" target="_blank">
|
||||
<p class="p_icon1">价格咨询</p>
|
||||
<p class="p_icon2">13647574270</p>
|
||||
</a>
|
||||
<a class="float_contact" href="http://wpa.qq.com/msgrd?v=3&uin=703800825&site=qq&menu=yes" target="_blank">
|
||||
<p class="p_icon1">价格咨询</p>
|
||||
<p class="p_icon2">15203070080</p>
|
||||
</a>
|
||||
<a class="float_contact" href="http://wpa.qq.com/msgrd?v=3&uin=211754155&site=qq&menu=yes" target="_blank">
|
||||
<p class="p_icon1">价格咨询</p>
|
||||
<p class="p_icon2">18589630365</p>
|
||||
</a>
|
||||
<a class="float_contact" href="http://wpa.qq.com/msgrd?v=3&uin=393213759&site=qq&menu=yes" target="_blank">
|
||||
<p class="p_icon1">在途查询</p>
|
||||
<p class="p_icon2">18608981880</p>
|
||||
</a>
|
||||
<span class="float_hotline"><p>服务热线</p><p class="hotline_tel">18608981880</p></span>
|
||||
<div class="float_controls">
|
||||
<a class="controls_a"><i></i></a><a id="top"><i></i></a>
|
||||
<div class="float_qr" style="display: none;">
|
||||
<img class="qr_arrow" src="<?php echo $_HI['staticUrl'];?>/img/j.png" alt="">
|
||||
<span><img src="<?php echo $_HI['staticUrl'];?>/img/r.png" alt=""><p>微信扫一扫</p><p>与客服联系</p></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Executable
+96
@@ -0,0 +1,96 @@
|
||||
<?php
|
||||
/**
|
||||
* @Author: fm453
|
||||
* @Date: 2018-04-24 02:02:21
|
||||
# @Last modified by: fm453
|
||||
# @Last modified time: 2021-09-15T10:37:21+08:00
|
||||
* @Email: fm453@lukegzs.com
|
||||
**/
|
||||
use yii\helpers\Html;
|
||||
use yii\helpers\Url;
|
||||
global $_HI;
|
||||
$_HI['resourceUrl'] = Yii::getAlias('@web').'/resource';
|
||||
?>
|
||||
|
||||
<div class="headerbox">
|
||||
<div class="header_top">
|
||||
<div class="header">
|
||||
<p class="p1">立足海南,布局全国,专注运车,做专业O2O轿运平台服务商</p>
|
||||
<ul>
|
||||
<li><p class="p2" >扫码了解更多 👉🏻</p></li>
|
||||
<li>
|
||||
<a id="qy" href="#" onclick="hitrip()">询价|查单</a>
|
||||
<a id="bz" href="#" onclick="hishop()">司机入驻</a>
|
||||
</li>
|
||||
<li class="p3">
|
||||
<?php if (Yii::$app->user->isGuest) { ?>
|
||||
<a class="a1" href="<?php echo Url::toRoute(['site/login']);?>" target="_top">登录</a>
|
||||
<a class="a2" href="<?php echo Url::toRoute(['site/signup']);?>" target="_top">注册</a>
|
||||
<?php } else { ?>
|
||||
<?php echo Html::beginForm(['/site/logout'], 'post')
|
||||
. Html::tag('a',Html::encode(Yii::$app->user->identity->username),['class' => 'a1','target'=>'_blank'])
|
||||
. Html::submitButton('退出',['class' => 'a2'])
|
||||
. Html::endForm();?>
|
||||
<?php }?>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<script LANGUAGE="javascript">
|
||||
function hitrip()
|
||||
{OpenWindow=window.open("", "newwin", "height=430, width=430,toolbar=no,scrollbars="+scroll+",menubar=no");
|
||||
//写成一行
|
||||
OpenWindow.document.write("<TITLE>欢迎使用路客运车小程序</TITLE>")
|
||||
OpenWindow.document.write("<BODY BGCOLOR=#ffffff>")
|
||||
OpenWindow.document.write("<h1>微信扫码,即刻查询拖车价格</h1>")
|
||||
OpenWindow.document.write("<img src='<?php echo $_HI['resourceUrl'];?>/images/hitripQrcode.jpg' width='320px'>")
|
||||
OpenWindow.document.write("</BODY>")
|
||||
OpenWindow.document.write("</HTML>")
|
||||
OpenWindow.document.close()}
|
||||
function hishop()
|
||||
{OpenWindow=window.open("", "newwin", "height=430, width=430,toolbar=no,scrollbars="+scroll+",menubar=no");
|
||||
//写成一行
|
||||
OpenWindow.document.write("<TITLE>欢迎加入嗨噜圈子(卡友版)</TITLE>")
|
||||
OpenWindow.document.write("<BODY BGCOLOR=#ffffff>")
|
||||
OpenWindow.document.write("<h1>微信扫码,加客服验证申请</h1>")
|
||||
OpenWindow.document.write("<img src='<?php echo $_HI['resourceUrl'];?>/images/hishopQrcode.jpg' width='320px'>")
|
||||
OpenWindow.document.write("</BODY>")
|
||||
OpenWindow.document.write("</HTML>")
|
||||
OpenWindow.document.close()}
|
||||
</script>
|
||||
<div class="header_nav" style="height: 80px;">
|
||||
<div class="header_two">
|
||||
<div class="logo" style="margin-top: 15px;">
|
||||
<a href="<?=Yii::$app->homeUrl ?>"><img src="<?php echo $_HI['staticUrl'];?>/img/logo.png" alt=""></a>
|
||||
</div>
|
||||
|
||||
<div class="container" style="margin-top: 15px;">
|
||||
<ul class="menu">
|
||||
<li class="menu_li menu_li1 <?php if(isset($_GET['ac']) && $_GET['ac']=='home'){echo 'nava';}?>"><a class="" href="<?=Yii::$app->homeUrl ?>" style="line-height: 48px;">车辆托运</a></li>
|
||||
<?php foreach($_HI['menus']['parent'] as $k=>$item){?>
|
||||
<?php if(isset($_HI['menus']['child'][$k])){?>
|
||||
<li class="menu_li menu_li<?php echo ($k+2);?> <?php if($item['do']==$this->params['pageCate'] || $item['ac']==$this->params['pageCate']){echo 'nava';}?>">
|
||||
<a class="" href="<?php if($item['url']){echo $item['url'];}else{echo Url::toRoute([$item['do'].'/'.$item['ac']]);}?>" style="line-height: 48px;"><?php echo $item['title'];?></a>
|
||||
<?php if(isset($item['hot']) && $item['hot']==1){?>
|
||||
<i class="fiery"></i>
|
||||
<?php }?>
|
||||
<ul class="submenu">
|
||||
<?php foreach($_HI['menus']['child'][$k] as $i=>$sitem){?>
|
||||
<li class="menu_li menu_li<?php echo ($k+2);?> <?php if($sitem['ac']==$this->params['pageOpp']){echo 'nava';}?>"><a href="<?php if($sitem['url']){echo $sitem['url'];}else{echo Url::toRoute([$sitem['do'].'/'.$sitem['ac']]);}?>" style="line-height: 48px;"><?php echo $sitem['title'];?></a></li>
|
||||
<?php }?>
|
||||
</ul>
|
||||
</li>
|
||||
<?php }else{?>
|
||||
<li class="menu_li menu_li<?php echo ($k+2);?> <?php if($item['do']==$this->params['pageCate'] || $item['ac']==$this->params['pageCate']){echo 'nava';}?>">
|
||||
<a class="" href="<?php if($item['url']){echo $item['url'];}else{echo Url::toRoute([$item['do'].'/'.$item['ac']]);}?>" style="line-height: 48px;"><?php echo $item['title'];?></a>
|
||||
<?php if(isset($item['hot']) && $item['hot']==1){?>
|
||||
<i class="fiery"></i>
|
||||
<?php }?>
|
||||
</li>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user