Commit f00dfccc authored by xieyishang's avatar xieyishang

addxx

parent 76e3f3e9
...@@ -91,15 +91,11 @@ class Index extends Frontend ...@@ -91,15 +91,11 @@ class Index extends Frontend
$page = $page-1; $page = $page-1;
$pagesize = 5; $pagesize = 5;
$pagenum = $page*$pagesize; $pagenum = $page*$pagesize;
//获取当前方法名
$need_field = ['news_id','news_img','news_title','news_comtent','news_view','news_sort','secondary_title', 'FROM_UNIXTIME(news_createtime,"%Y-%m-%d") as news_createtime']; $need_field = ['news_id','news_img','news_title','news_comtent','news_view','news_sort','secondary_title', 'FROM_UNIXTIME(news_createtime,"%Y-%m-%d") as news_createtime'];
$newslist = Db::name('news')->field($need_field)->limit($pagenum,$pagesize )->select(); $newslist = Db::name('news')->field($need_field)->limit($pagenum,$pagesize )->select();
$news = Db::name('news')->select(); $news = Db::name('news')->select();
$count = count($news); $count = count($news);
$action=request()->action();//获取当前方法名
// var_dump($newslist);die;
$action=request()->action();
$this->assign('thispage',$page); $this->assign('thispage',$page);
$this->assign('count',$count); $this->assign('count',$count);
$this->assign('action',$action); $this->assign('action',$action);
...@@ -132,5 +128,85 @@ class Index extends Frontend ...@@ -132,5 +128,85 @@ class Index extends Frontend
return $this->view->fetch(); return $this->view->fetch();
} }
/**
* 添加留言
*/
public function addleaveamsg(){
$fullname = $this->request->post('fullname');
$gender = $this->request->post('gender');
$region = $this->request->post('region');
$userqq = $this->request->post('userqq');
$phone = $this->request->post('phone');
$email = $this->request->post('email');
$content = $this->request->post('content');
$addtime = time();
$adddata = [
'fullname' => $fullname,
'gender' => $gender,
'region' => $region,
'userqq' => $userqq,
'phone' => $phone,
'email' => $email,
'content' => $content,
'addtime'=>$addtime
];
if($adddata["fullname"] == ""){
return ['code' => -1,'data'=>[],'msg' => '姓名不能为空'];
}
if($adddata["region"] == ""){
return ['code' => -3,'data'=>[],'msg' => '地址不能为空'];
}
if($adddata["phone"] == ""){
return ['code' => -4,'data'=>[],'msg' => '电话不能为空'];
}
try {
$res = Db::name('leaveamsg')->insert($adddata);
if($res>0){
return ['code' => 0,'data'=>[],'msg' => '提交成功,请等待工作人员与您联系.'];
}else{
return ['code' => 0,'data'=>[],'msg' => '添加失败'];
}
} catch (Exception $e) {
return ['code' => -5,'data'=>[],'msg' => '错误异常.'];
}
}
/***
* 提交项目开发需求
*
*/
public function adddevlog(){
$projectname = $this->request->post('projectname');
$fullname = $this->request->post('fullname');
$phone = $this->request->post('phone');
$corporatename = $this->request->post('corporatename');
$addtime = time();
$adddata = [
'projectname' => $projectname,
'fullname' => $fullname,
'phone' => $phone,
'corporatename' => $corporatename,
'addtime' => $addtime,
];
if($adddata["projectname"] == ""){
return ['code' => -1,'data'=>[],'msg' => '项目名不能为空'];
}
if($adddata["fullname"] == ""){
return ['code' => -3,'data'=>[],'msg' => '联系人姓名不能为空'];
}
if($adddata["phone"] == ""){
return ['code' => -4,'data'=>[],'msg' => '电话不能为空'];
}
try {
$res = Db::name('devleavlog')->insert($adddata);
if($res>0){
return ['code' => 0,'data'=>[],'msg' => '提交成功,请等待工作人员与您联系.'];
}else{
return ['code' => 0,'data'=>[],'msg' => '添加失败'];
}
} catch (Exception $e) {
return ['code' => -5,'data'=>[],'msg' => '错误异常.'];
}
}
} }
...@@ -37,15 +37,15 @@ ...@@ -37,15 +37,15 @@
<div class="modal-body"> <div class="modal-body">
<div class="lablesfrom"> <div class="lablesfrom">
<p>1.请填写您要定制的项目</p> <p>1.请填写您要定制的项目</p>
<input type="text" class="form-control" placeholder="在这里填写" > <input type="text" name="projectname" class="form-control" placeholder="在这里填写" >
</div> </div>
<div class="lablesfrom"> <div class="lablesfrom">
<p>2.请留下您的联系方式</p> <p>2.请留下您的联系方式</p>
<div class="inputsboxs d-flex"> <div class="inputsboxs d-flex">
<input type="text" class="form-control" placeholder="姓名" > <input type="text" name="fullname" class="form-control" placeholder="姓名" >
<input type="text" class="form-control" placeholder="电话" > <input type="text" name="phone" class="form-control" placeholder="电话" >
</div> </div>
<input type="text" class="form-control" placeholder="公司" > <input type="text" name="corporatename" class="form-control" placeholder="公司" >
</div> </div>
<div class="modal_submit"> <div class="modal_submit">
...@@ -213,6 +213,7 @@ ...@@ -213,6 +213,7 @@
<script src="__CDN__/static/js/bootstrap.min.js"></script> <script src="__CDN__/static/js/bootstrap.min.js"></script>
<script src="__CDN__/static/js/global.js"></script> <script src="__CDN__/static/js/global.js"></script>
<script src="__CDN__/static/js/wow/wow.min.js"></script> <script src="__CDN__/static/js/wow/wow.min.js"></script>
<script src="__CDN__/static/js/layer/layer.js"></script>
<script> <script>
$(function () { $(function () {
new WOW().init(); new WOW().init();
......
...@@ -36,15 +36,15 @@ ...@@ -36,15 +36,15 @@
<div class="modal-body"> <div class="modal-body">
<div class="lablesfrom"> <div class="lablesfrom">
<p>1.请填写您要定制的项目</p> <p>1.请填写您要定制的项目</p>
<input type="text" class="form-control" placeholder="在这里填写" > <input type="text" name="projectname" class="form-control" placeholder="在这里填写" >
</div> </div>
<div class="lablesfrom"> <div class="lablesfrom">
<p>2.请留下您的联系方式</p> <p>2.请留下您的联系方式</p>
<div class="inputsboxs d-flex"> <div class="inputsboxs d-flex">
<input type="text" class="form-control" placeholder="姓名" > <input type="text" name="fullname" class="form-control" placeholder="姓名" >
<input type="text" class="form-control" placeholder="电话" > <input type="text" name="phone" class="form-control" placeholder="电话" >
</div> </div>
<input type="text" class="form-control" placeholder="公司" > <input type="text" name="corporatename" class="form-control" placeholder="公司" >
</div> </div>
<div class="modal_submit"> <div class="modal_submit">
...@@ -278,6 +278,7 @@ ...@@ -278,6 +278,7 @@
<script src="__CDN__/static/js/bootstrap.min.js"></script> <script src="__CDN__/static/js/bootstrap.min.js"></script>
<script src="__CDN__/static/js/global.js"></script> <script src="__CDN__/static/js/global.js"></script>
<script src="__CDN__/static/js/wow/wow.min.js"></script> <script src="__CDN__/static/js/wow/wow.min.js"></script>
<script src="__CDN__/static/js/layer/layer.js"></script>
<script> <script>
$(function () { $(function () {
new WOW().init(); new WOW().init();
......
...@@ -47,55 +47,55 @@ ...@@ -47,55 +47,55 @@
<!-- 联系我们 -->
<!-- 联系我们 --> <!-- 联系我们 -->
<div class="contactus"> <div class="contactus">
<div class="container"> <div class="container">
<div class="tits"><img src="__CDN__/static/images/contactustit.png" alt=""></div> <div class="tits"><img src="__CDN__/static/images/contactustit.png" alt=""></div>
<from class="froms"> <from class="froms" id="livesfrom" method="post" action="#">
<div class="form-group row"> <div class="form-group row">
<div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<input type="text" class="form-control" name="username" placeholder="* 姓名"> <input type="text" class="form-control" name="fullname" placeholder="* 姓名">
</div> </div>
<div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<div class="form-check form-check-inline"> <div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1"> <input class="form-check-input" type="radio" name="gender" id="inlineRadio1" value="1">
<label class="form-check-label" for="inlineRadio1"></label> <span class="form-check-label" for="inlineRadio1"></span>
</div> </div>
<div class="form-check form-check-inline"> <div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2"> <input class="form-check-input" type="radio" name="gender" id="inlineRadio2" value="0">
<label class="form-check-label" for="inlineRadio2"></label> <span class="form-check-label" for="inlineRadio2"></span>
</div> </div>
</div> </div>
</div> </div>
<div class="form-group row"> <div class="form-group row">
<div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<select class="custom-select" id="province"> <select class="custom-select" name="region" id="province">
<option selected>* 所在省份</option> <option selected>* 所在省份</option>
</select> </select>
<select class="custom-select" id="citys"> <select class="custom-select" name="region1" id="citys">
<option selected>* 所在市区</option> <option selected>* 所在市区</option>
</select> </select>
</div> </div>
<div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<input type="text" class="form-control" name="username" placeholder="QQ"> <input type="text" class="form-control" name="userqq" placeholder="QQ">
</div> </div>
</div> </div>
<div class="form-group row"> <div class="form-group row">
<div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<input type="text" class="form-control" name="tel" placeholder="* 手机号码"> <input type="text" class="form-control" name="phone" placeholder="* 手机号码">
</div> </div>
<div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<input type="text" class="form-control" name="emaile" placeholder="邮箱"> <input type="text" class="form-control" name="email" placeholder="邮箱">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<textarea class="textarea form-control" name="" id="" cols="30" rows="10" placeholder="留言"></textarea> <textarea class="textarea form-control" name="content" id="" cols="30" rows="10" placeholder="留言"></textarea>
</div> </div>
<div class="submitbtns"> <div class="submitbtns">
<button type="submit" class="submits">提 交</button> <button id="livesubmit" class="submits">提 交</button>
</div> </div>
</from> </from>
</div> </div>
...@@ -118,6 +118,7 @@ ...@@ -118,6 +118,7 @@
<script src="__CDN__/static/js/area.js"></script> <script src="__CDN__/static/js/area.js"></script>
<script src="__CDN__/static/js/global.js"></script> <script src="__CDN__/static/js/global.js"></script>
<script src="__CDN__/static/js/wow/wow.min.js"></script> <script src="__CDN__/static/js/wow/wow.min.js"></script>
<script src="__CDN__/static/js/layer/layer.js"></script>
<script type="text/javascript" src="https://api.map.baidu.com/api?type=webgl&v=1.0&ak=VyZgcisEXtLl6o5o0oa1Gk2BFkKFAwFq"></script> <script type="text/javascript" src="https://api.map.baidu.com/api?type=webgl&v=1.0&ak=VyZgcisEXtLl6o5o0oa1Gk2BFkKFAwFq"></script>
......
...@@ -201,18 +201,18 @@ ...@@ -201,18 +201,18 @@
<div class="contactus"> <div class="contactus">
<div class="container"> <div class="container">
<div class="tits"><img src="__CDN__/static/images/contactustit.png" alt=""></div> <div class="tits"><img src="__CDN__/static/images/contactustit.png" alt=""></div>
<from class="froms"> <from class="froms" id="livesfrom" method="post" action="#">
<div class="form-group row"> <div class="form-group row">
<div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<input type="text" class="form-control" name="username" placeholder="* 姓名"> <input type="text" class="form-control" name="fullname" placeholder="* 姓名">
</div> </div>
<div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<div class="form-check form-check-inline"> <div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1"> <input class="form-check-input" type="radio" name="gender" id="inlineRadio1" value="1">
<label class="form-check-label" for="inlineRadio1"></label> <label class="form-check-label" for="inlineRadio1"></label>
</div> </div>
<div class="form-check form-check-inline"> <div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2"> <input class="form-check-input" type="radio" name="gender" id="inlineRadio2" value="0">
<label class="form-check-label" for="inlineRadio2"></label> <label class="form-check-label" for="inlineRadio2"></label>
</div> </div>
...@@ -221,31 +221,31 @@ ...@@ -221,31 +221,31 @@
<div class="form-group row"> <div class="form-group row">
<div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<select class="custom-select" id="province"> <select class="custom-select" name="region" id="province">
<option selected>* 所在省份</option> <option selected>* 所在省份</option>
</select> </select>
<select class="custom-select" id="citys"> <select class="custom-select" name="region1" id="citys">
<option selected>* 所在市区</option> <option selected>* 所在市区</option>
</select> </select>
</div> </div>
<div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<input type="text" class="form-control" name="username" placeholder="QQ"> <input type="text" class="form-control" name="userqq" placeholder="QQ">
</div> </div>
</div> </div>
<div class="form-group row"> <div class="form-group row">
<div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<input type="text" class="form-control" name="tel" placeholder="* 手机号码"> <input type="text" class="form-control" name="phone" placeholder="* 手机号码">
</div> </div>
<div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<input type="text" class="form-control" name="emaile" placeholder="邮箱"> <input type="text" class="form-control" name="email" placeholder="邮箱">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<textarea class="textarea form-control" name="" id="" cols="30" rows="10" placeholder="留言"></textarea> <textarea class="textarea form-control" name="content" id="" cols="30" rows="10" placeholder="留言"></textarea>
</div> </div>
<div class="submitbtns"> <div class="submitbtns">
<button type="submit" class="submits">提 交</button> <button id="livesubmit" class="submits">提 交</button>
</div> </div>
</from> </from>
</div> </div>
...@@ -258,6 +258,7 @@ ...@@ -258,6 +258,7 @@
<script src="__CDN__/static/js/area.js"></script> <script src="__CDN__/static/js/area.js"></script>
<script src="__CDN__/static/js/global.js"></script> <script src="__CDN__/static/js/global.js"></script>
<script src="__CDN__/static/js/wow/wow.min.js"></script> <script src="__CDN__/static/js/wow/wow.min.js"></script>
<script src="__CDN__/static/js/layer/layer.js"></script>
<script> <script>
$(function () { $(function () {
var swiper = new Swiper('.swiper-container', { var swiper = new Swiper('.swiper-container', {
...@@ -287,8 +288,6 @@ ...@@ -287,8 +288,6 @@
$("#province").on("change",function(e){ $("#province").on("change",function(e){
initcitys(); initcitys();
}); });
function initcitys(){ function initcitys(){
var taghtml = '<option value="0" selected>* 所在市区</option>'; var taghtml = '<option value="0" selected>* 所在市区</option>';
var provinceVal = $("#province").val(); var provinceVal = $("#province").val();
...@@ -303,8 +302,6 @@ ...@@ -303,8 +302,6 @@
} }
} }
}) })
</script> </script>
</body> </body>
......
...@@ -36,15 +36,15 @@ ...@@ -36,15 +36,15 @@
<div class="modal-body"> <div class="modal-body">
<div class="lablesfrom"> <div class="lablesfrom">
<p>1.请填写您要定制的项目</p> <p>1.请填写您要定制的项目</p>
<input type="text" class="form-control" placeholder="在这里填写" > <input type="text" name="projectname" class="form-control" placeholder="在这里填写" >
</div> </div>
<div class="lablesfrom"> <div class="lablesfrom">
<p>2.请留下您的联系方式</p> <p>2.请留下您的联系方式</p>
<div class="inputsboxs d-flex"> <div class="inputsboxs d-flex">
<input type="text" class="form-control" placeholder="姓名" > <input type="text" name="fullname" class="form-control" placeholder="姓名" >
<input type="text" class="form-control" placeholder="电话" > <input type="text" name="phone" class="form-control" placeholder="电话" >
</div> </div>
<input type="text" class="form-control" placeholder="公司" > <input type="text" name="corporatename" class="form-control" placeholder="公司" >
</div> </div>
<div class="modal_submit"> <div class="modal_submit">
...@@ -175,11 +175,10 @@ ...@@ -175,11 +175,10 @@
<script src="__CDN__/static/js/bootstrap.min.js"></script> <script src="__CDN__/static/js/bootstrap.min.js"></script>
<script src="__CDN__/static/js/global.js"></script> <script src="__CDN__/static/js/global.js"></script>
<script src="__CDN__/static/js/wow/wow.min.js"></script> <script src="__CDN__/static/js/wow/wow.min.js"></script>
<script src="__CDN__/static/js/layer/layer.js"></script>
<script> <script>
$(function () { $(function () {
new WOW().init(); new WOW().init();
}) })
</script> </script>
</body> </body>
......
This diff is collapsed.
...@@ -72,6 +72,111 @@ $(function () { ...@@ -72,6 +72,111 @@ $(function () {
}); });
} }
console.info("11");
//提交留言
$("#livesubmit").on("click",function(){
var fromdata = $("#livesfrom").serialize();
console.log(fromdata);
if($("[name='fullname']").val()==''){
layer.msg('姓名不能为空');
return;
}
if($("[name='region1']").val()=='* 所在市区'){
layer.msg('请选择地区');
return;
}
var gender = null;
if($("[name='gender']")[0].checked){
gender = 1;
}else{
gender = 0;
}
var option = {
fullname:$("[name='fullname']").val(),
region:$('option[value='+$("[name='region']").val()+']').text() + "-" + $('option[value='+$("[name='region1']").val()+']').text(),
userqq:$("[name='userqq']").val(),
phone:$("[name='phone']").val(),
content:$("[name='content']").val(),
email:$("[name='email']").val(),
gender:gender,
};
if(!(/^1(3|4|5|6|7|8|9)\d{9}$/.test(option.phone))){
layer.msg('电话格式有误');
return;
}
// return ;
$.ajax({
type:'post',//方式
url:'/index.php/index/index/addleaveamsg',//url
async:false,//async 异步 sync同步
data:option,
dataType:"json",
success:function(res){
layer.msg(res.msg);
if(res.code==0){
$("[name='fullname']").val("");
$("[name='userqq']").val("");
$("[name='phone']").val("");
$("[name='content']").val("");
$("[name='email']").val("");
$("[name='gender']").val("");
}
},
error:function(err){
layer.msg("请求出错")
}
})
})
//提交留言end
//提交项目开发需求
$("#submitbtnss").on("click",function(){
console.info("111");
var option = {
projectname:$("[name='projectname']").val(),
fullname:$("[name='fullname']").val(),
phone:$("[name='phone']").val(),
corporatename:$("[name='corporatename']").val(),
};
if(option.projectname==""){
layer.msg('项目名称不能为空');
return;
}
if(option.fullname==""){
layer.msg('联系人不能为空');
return;
}
if(!(/^1(3|4|5|6|7|8|9)\d{9}$/.test(option.phone))){
layer.msg('电话格式有误');
return;
}
$.ajax({
type:'post',//方式
url:'/index.php/index/index/adddevlog',//url
async:false,//async 异步 sync同步
data:option,
dataType:"json",
success:function(res){
layer.msg(res.msg);
if(res.code==0){
$("[name='projectname']").val("");
$("[name='fullname']").val("");
$("[name='phone']").val("");
$("[name='corporatename']").val("");
$('#exampleModal').modal('hide');//自动关闭模态窗
}
},
error:function(err){
layer.msg("请求出错")
}
})
})
}) })
......
This diff is collapsed.
/*! layer mobile-v2.0.0 Web 弹层组件 MIT License */
;!function(e){"use strict";var t=document,n="querySelectorAll",i="getElementsByClassName",a=function(e){return t[n](e)},s={type:0,shade:!0,shadeClose:!0,fixed:!0,anim:"scale"},l={extend:function(e){var t=JSON.parse(JSON.stringify(s));for(var n in e)t[n]=e[n];return t},timer:{},end:{}};l.touch=function(e,t){e.addEventListener("click",function(e){t.call(this,e)},!1)};var r=0,o=["layui-m-layer"],c=function(e){var t=this;t.config=l.extend(e),t.view()};c.prototype.view=function(){var e=this,n=e.config,s=t.createElement("div");e.id=s.id=o[0]+r,s.setAttribute("class",o[0]+" "+o[0]+(n.type||0)),s.setAttribute("index",r);var l=function(){var e="object"==typeof n.title;return n.title?'<h3 style="'+(e?n.title[1]:"")+'">'+(e?n.title[0]:n.title)+"</h3>":""}(),c=function(){"string"==typeof n.btn&&(n.btn=[n.btn]);var e,t=(n.btn||[]).length;return 0!==t&&n.btn?(e='<span yes type="1">'+n.btn[0]+"</span>",2===t&&(e='<span no type="0">'+n.btn[1]+"</span>"+e),'<div class="layui-m-layerbtn">'+e+"</div>"):""}();if(n.fixed||(n.top=n.hasOwnProperty("top")?n.top:100,n.style=n.style||"",n.style+=" top:"+(t.body.scrollTop+n.top)+"px"),2===n.type&&(n.content='<i></i><i class="layui-m-layerload"></i><i></i><p>'+(n.content||"")+"</p>"),n.skin&&(n.anim="up"),"msg"===n.skin&&(n.shade=!1),s.innerHTML=(n.shade?"<div "+("string"==typeof n.shade?'style="'+n.shade+'"':"")+' class="layui-m-layershade"></div>':"")+'<div class="layui-m-layermain" '+(n.fixed?"":'style="position:static;"')+'><div class="layui-m-layersection"><div class="layui-m-layerchild '+(n.skin?"layui-m-layer-"+n.skin+" ":"")+(n.className?n.className:"")+" "+(n.anim?"layui-m-anim-"+n.anim:"")+'" '+(n.style?'style="'+n.style+'"':"")+">"+l+'<div class="layui-m-layercont">'+n.content+"</div>"+c+"</div></div></div>",!n.type||2===n.type){var d=t[i](o[0]+n.type),y=d.length;y>=1&&layer.close(d[0].getAttribute("index"))}document.body.appendChild(s);var u=e.elem=a("#"+e.id)[0];n.success&&n.success(u),e.index=r++,e.action(n,u)},c.prototype.action=function(e,t){var n=this;e.time&&(l.timer[n.index]=setTimeout(function(){layer.close(n.index)},1e3*e.time));var a=function(){var t=this.getAttribute("type");0==t?(e.no&&e.no(),layer.close(n.index)):e.yes?e.yes(n.index):layer.close(n.index)};if(e.btn)for(var s=t[i]("layui-m-layerbtn")[0].children,r=s.length,o=0;o<r;o++)l.touch(s[o],a);if(e.shade&&e.shadeClose){var c=t[i]("layui-m-layershade")[0];l.touch(c,function(){layer.close(n.index,e.end)})}e.end&&(l.end[n.index]=e.end)},e.layer={v:"2.0",index:r,open:function(e){var t=new c(e||{});return t.index},close:function(e){var n=a("#"+o[0]+e)[0];n&&(n.innerHTML="",t.body.removeChild(n),clearTimeout(l.timer[e]),delete l.timer[e],"function"==typeof l.end[e]&&l.end[e](),delete l.end[e])},closeAll:function(){for(var e=t[i](o[0]),n=0,a=e.length;n<a;n++)layer.close(0|e[0].getAttribute("index"))}},"function"==typeof define?define(function(){return layer}):function(){var e=document.scripts,n=e[e.length-1],i=n.src,a=i.substring(0,i.lastIndexOf("/")+1);n.getAttribute("merge")||document.head.appendChild(function(){var e=t.createElement("link");return e.href=a+"need/layer.css?2.0",e.type="text/css",e.rel="styleSheet",e.id="layermcss",e}())}()}(window);
\ No newline at end of file
.layui-m-layer{position:relative;z-index:19891014}.layui-m-layer *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.layui-m-layermain,.layui-m-layershade{position:fixed;left:0;top:0;width:100%;height:100%}.layui-m-layershade{background-color:rgba(0,0,0,.7);pointer-events:auto}.layui-m-layermain{display:table;font-family:Helvetica,arial,sans-serif;pointer-events:none}.layui-m-layermain .layui-m-layersection{display:table-cell;vertical-align:middle;text-align:center}.layui-m-layerchild{position:relative;display:inline-block;text-align:left;background-color:#fff;font-size:14px;border-radius:5px;box-shadow:0 0 8px rgba(0,0,0,.1);pointer-events:auto;-webkit-overflow-scrolling:touch;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.2s;animation-duration:.2s}@-webkit-keyframes layui-m-anim-scale{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes layui-m-anim-scale{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.layui-m-anim-scale{animation-name:layui-m-anim-scale;-webkit-animation-name:layui-m-anim-scale}@-webkit-keyframes layui-m-anim-up{0%{opacity:0;-webkit-transform:translateY(800px);transform:translateY(800px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes layui-m-anim-up{0%{opacity:0;-webkit-transform:translateY(800px);transform:translateY(800px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}.layui-m-anim-up{-webkit-animation-name:layui-m-anim-up;animation-name:layui-m-anim-up}.layui-m-layer0 .layui-m-layerchild{width:90%;max-width:640px}.layui-m-layer1 .layui-m-layerchild{border:none;border-radius:0}.layui-m-layer2 .layui-m-layerchild{width:auto;max-width:260px;min-width:40px;border:none;background:0 0;box-shadow:none;color:#fff}.layui-m-layerchild h3{padding:0 10px;height:60px;line-height:60px;font-size:16px;font-weight:400;border-radius:5px 5px 0 0;text-align:center}.layui-m-layerbtn span,.layui-m-layerchild h3{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-m-layercont{padding:50px 30px;line-height:22px;text-align:center}.layui-m-layer1 .layui-m-layercont{padding:0;text-align:left}.layui-m-layer2 .layui-m-layercont{text-align:center;padding:0;line-height:0}.layui-m-layer2 .layui-m-layercont i{width:25px;height:25px;margin-left:8px;display:inline-block;background-color:#fff;border-radius:100%;-webkit-animation:layui-m-anim-loading 1.4s infinite ease-in-out;animation:layui-m-anim-loading 1.4s infinite ease-in-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}.layui-m-layerbtn,.layui-m-layerbtn span{position:relative;text-align:center;border-radius:0 0 5px 5px}.layui-m-layer2 .layui-m-layercont p{margin-top:20px}@-webkit-keyframes layui-m-anim-loading{0%,100%,80%{transform:scale(0);-webkit-transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}@keyframes layui-m-anim-loading{0%,100%,80%{transform:scale(0);-webkit-transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}.layui-m-layer2 .layui-m-layercont i:first-child{margin-left:0;-webkit-animation-delay:-.32s;animation-delay:-.32s}.layui-m-layer2 .layui-m-layercont i.layui-m-layerload{-webkit-animation-delay:-.16s;animation-delay:-.16s}.layui-m-layer2 .layui-m-layercont>div{line-height:22px;padding-top:7px;margin-bottom:20px;font-size:14px}.layui-m-layerbtn{display:box;display:-moz-box;display:-webkit-box;width:100%;height:50px;line-height:50px;font-size:0;border-top:1px solid #D0D0D0;background-color:#F2F2F2}.layui-m-layerbtn span{display:block;-moz-box-flex:1;box-flex:1;-webkit-box-flex:1;font-size:14px;cursor:pointer}.layui-m-layerbtn span[yes]{color:#40AFFE}.layui-m-layerbtn span[no]{border-right:1px solid #D0D0D0;border-radius:0 0 0 5px}.layui-m-layerbtn span:active{background-color:#F6F6F6}.layui-m-layerend{position:absolute;right:7px;top:10px;width:30px;height:30px;border:0;font-weight:400;background:0 0;cursor:pointer;-webkit-appearance:none;font-size:30px}.layui-m-layerend::after,.layui-m-layerend::before{position:absolute;left:5px;top:15px;content:'';width:18px;height:1px;background-color:#999;transform:rotate(45deg);-webkit-transform:rotate(45deg);border-radius:3px}.layui-m-layerend::after{transform:rotate(-45deg);-webkit-transform:rotate(-45deg)}body .layui-m-layer .layui-m-layer-footer{position:fixed;width:95%;max-width:100%;margin:0 auto;left:0;right:0;bottom:10px;background:0 0}.layui-m-layer-footer .layui-m-layercont{padding:20px;border-radius:5px 5px 0 0;background-color:rgba(255,255,255,.8)}.layui-m-layer-footer .layui-m-layerbtn{display:block;height:auto;background:0 0;border-top:none}.layui-m-layer-footer .layui-m-layerbtn span{background-color:rgba(255,255,255,.8)}.layui-m-layer-footer .layui-m-layerbtn span[no]{color:#FD482C;border-top:1px solid #c2c2c2;border-radius:0 0 5px 5px}.layui-m-layer-footer .layui-m-layerbtn span[yes]{margin-top:10px;border-radius:5px}body .layui-m-layer .layui-m-layer-msg{width:auto;max-width:90%;margin:0 auto;bottom:-150px;background-color:rgba(0,0,0,.7);color:#fff}.layui-m-layer-msg .layui-m-layercont{padding:10px 20px}
\ No newline at end of file
This diff is collapsed.
...@@ -46,3 +46,27 @@ ...@@ -46,3 +46,27 @@
--------------------------------------------------------------- ---------------------------------------------------------------
[ 2021-03-07T11:02:50+08:00 ] 127.0.0.1 GET www.fa.com/newsdataile/10 [ 2021-03-07T11:02:50+08:00 ] 127.0.0.1 GET www.fa.com/newsdataile/10
[ error ] [0]致命错误: Call to undefined function app\index\controller\len() [ error ] [0]致命错误: Call to undefined function app\index\controller\len()
---------------------------------------------------------------
[ 2021-03-07T14:42:59+08:00 ] 127.0.0.1 POST www.fa.com/index.php/index/index/addleaveamsg
[ error ] [0]语法解析错误: syntax error, unexpected '=', expecting ']'
---------------------------------------------------------------
[ 2021-03-07T14:43:39+08:00 ] 127.0.0.1 POST www.fa.com/index.php/index/index/addleaveamsg
[ error ] [0]语法解析错误: syntax error, unexpected '=', expecting ']'
---------------------------------------------------------------
[ 2021-03-07T14:43:56+08:00 ] 127.0.0.1 GET www.fa.com/index.html
[ error ] [0]语法解析错误: syntax error, unexpected '=', expecting ']'
---------------------------------------------------------------
[ 2021-03-07T14:43:58+08:00 ] 127.0.0.1 GET www.fa.com/index.html
[ error ] [0]语法解析错误: syntax error, unexpected '=', expecting ']'
---------------------------------------------------------------
[ 2021-03-07T14:58:15+08:00 ] 127.0.0.1 POST www.fa.com/index.php/index/index/addleaveamsg
[ error ] [0]致命错误: Call to a member function fullname() on array
---------------------------------------------------------------
[ 2021-03-07T14:58:28+08:00 ] 127.0.0.1 POST www.fa.com/index.php/index/index/addleaveamsg
[ error ] [8]Trying to get property 'fullname' of non-object
---------------------------------------------------------------
[ 2021-03-07T14:58:36+08:00 ] 127.0.0.1 GET www.fa.com/index.html
[ error ] [0]语法解析错误: syntax error, unexpected '=>' (T_DOUBLE_ARROW)
---------------------------------------------------------------
[ 2021-03-07T14:58:46+08:00 ] 127.0.0.1 POST www.fa.com/index.php/index/index/addleaveamsg
[ error ] [0]致命错误: Call to a member function fullname() on array
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:80:"D:\phpstudy_pro\WWW\www.fa.com\public/../application/index\view\index\index.html";i:1615017285;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\topnav.html";i:1615094111;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\footer.html";i:1615017258;}*/ ?> <?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:80:"D:\phpstudy_pro\WWW\www.fa.com\public/../application/index\view\index\index.html";i:1615101622;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\topnav.html";i:1615094111;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\footer.html";i:1615017258;}*/ ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="zh-cn"> <html lang="zh-cn">
<!-- 完美兼容所有屏幕 基于 bootstrap4.1 --> <!-- 完美兼容所有屏幕 基于 bootstrap4.1 -->
...@@ -259,18 +259,18 @@ ...@@ -259,18 +259,18 @@
<div class="contactus"> <div class="contactus">
<div class="container"> <div class="container">
<div class="tits"><img src="/static/images/contactustit.png" alt=""></div> <div class="tits"><img src="/static/images/contactustit.png" alt=""></div>
<from class="froms"> <from class="froms" id="livesfrom" method="post" action="#">
<div class="form-group row"> <div class="form-group row">
<div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<input type="text" class="form-control" name="username" placeholder="* 姓名"> <input type="text" class="form-control" name="fullname" placeholder="* 姓名">
</div> </div>
<div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<div class="form-check form-check-inline"> <div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1"> <input class="form-check-input" type="radio" name="gender" id="inlineRadio1" value="1">
<label class="form-check-label" for="inlineRadio1"></label> <label class="form-check-label" for="inlineRadio1"></label>
</div> </div>
<div class="form-check form-check-inline"> <div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2"> <input class="form-check-input" type="radio" name="gender" id="inlineRadio2" value="0">
<label class="form-check-label" for="inlineRadio2"></label> <label class="form-check-label" for="inlineRadio2"></label>
</div> </div>
...@@ -279,31 +279,31 @@ ...@@ -279,31 +279,31 @@
<div class="form-group row"> <div class="form-group row">
<div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<select class="custom-select" id="province"> <select class="custom-select" name="region" id="province">
<option selected>* 所在省份</option> <option selected>* 所在省份</option>
</select> </select>
<select class="custom-select" id="citys"> <select class="custom-select" name="region1" id="citys">
<option selected>* 所在市区</option> <option selected>* 所在市区</option>
</select> </select>
</div> </div>
<div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<input type="text" class="form-control" name="username" placeholder="QQ"> <input type="text" class="form-control" name="userqq" placeholder="QQ">
</div> </div>
</div> </div>
<div class="form-group row"> <div class="form-group row">
<div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<input type="text" class="form-control" name="tel" placeholder="* 手机号码"> <input type="text" class="form-control" name="phone" placeholder="* 手机号码">
</div> </div>
<div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<input type="text" class="form-control" name="emaile" placeholder="邮箱"> <input type="text" class="form-control" name="email" placeholder="邮箱">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<textarea class="textarea form-control" name="" id="" cols="30" rows="10" placeholder="留言"></textarea> <textarea class="textarea form-control" name="content" id="" cols="30" rows="10" placeholder="留言"></textarea>
</div> </div>
<div class="submitbtns"> <div class="submitbtns">
<button type="submit" class="submits">提 交</button> <button id="livesubmit" class="submits">提 交</button>
</div> </div>
</from> </from>
</div> </div>
...@@ -361,6 +361,7 @@ ...@@ -361,6 +361,7 @@
<script src="/static/js/area.js"></script> <script src="/static/js/area.js"></script>
<script src="/static/js/global.js"></script> <script src="/static/js/global.js"></script>
<script src="/static/js/wow/wow.min.js"></script> <script src="/static/js/wow/wow.min.js"></script>
<script src="/static/js/layer/layer.js"></script>
<script> <script>
$(function () { $(function () {
var swiper = new Swiper('.swiper-container', { var swiper = new Swiper('.swiper-container', {
...@@ -390,8 +391,6 @@ ...@@ -390,8 +391,6 @@
$("#province").on("change",function(e){ $("#province").on("change",function(e){
initcitys(); initcitys();
}); });
function initcitys(){ function initcitys(){
var taghtml = '<option value="0" selected>* 所在市区</option>'; var taghtml = '<option value="0" selected>* 所在市区</option>';
var provinceVal = $("#province").val(); var provinceVal = $("#province").val();
...@@ -406,8 +405,6 @@ ...@@ -406,8 +405,6 @@
} }
} }
}) })
</script> </script>
</body> </body>
......
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:86:"D:\phpstudy_pro\WWW\www.fa.com\public/../application/index\view\index\newsdataile.html";i:1615094068;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\topnav.html";i:1615085770;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\footer.html";i:1615017258;}*/ ?> <?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:86:"D:\phpstudy_pro\WWW\www.fa.com\public/../application/index\view\index\newsdataile.html";i:1615094068;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\topnav.html";i:1615094111;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\footer.html";i:1615017258;}*/ ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="zh-cn"> <html lang="zh-cn">
<!-- 完美兼容所有屏幕 基于 bootstrap4.1 --> <!-- 完美兼容所有屏幕 基于 bootstrap4.1 -->
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<div class="container homenavs"> <div class="container homenavs">
<nav class="navbar navbar-expand-lg navbar-light "> <nav class="navbar navbar-expand-lg navbar-light ">
<a class="navbar-brand navbar-brand-mobile mr-auto" href="#"> <a class="navbar-brand navbar-brand-mobile mr-auto" href="/">
<img src="/static/images/logos.png" alt="鹿马108"> <img src="/static/images/logos.png" alt="鹿马108">
</a> </a>
...@@ -34,10 +34,10 @@ ...@@ -34,10 +34,10 @@
</button> </button>
<div class="collapse navbar-collapse" id="navbarSupportedContent"> <div class="collapse navbar-collapse" id="navbarSupportedContent">
<a class="navbar-brand mr-auto" href="#"> <a class="navbar-brand mr-auto" href="/">
<img src="/static/images/logos.png" alt="鹿马108"> <img src="/static/images/logos.png" alt="鹿马108">
</a> </a>
<a class="navbar-brand mr-auto min_logos" href="#"> <a class="navbar-brand mr-auto min_logos" href="/">
<img src="/static/images/logo.png" alt="鹿马108"> <img src="/static/images/logo.png" alt="鹿马108">
</a> </a>
<ul class="navbar-nav "> <ul class="navbar-nav ">
......
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:86:"D:\phpstudy_pro\WWW\www.fa.com\public/../application/index\view\index\softwaredev.html";i:1615017383;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\topnav.html";i:1615094111;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\footer.html";i:1615017258;}*/ ?> <?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:86:"D:\phpstudy_pro\WWW\www.fa.com\public/../application/index\view\index\softwaredev.html";i:1615104051;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\topnav.html";i:1615094111;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\footer.html";i:1615017258;}*/ ?>
<!-- 定制网页开发 --> <!-- 定制网页开发 -->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="zh-cn"> <html lang="zh-cn">
...@@ -94,15 +94,15 @@ ...@@ -94,15 +94,15 @@
<div class="modal-body"> <div class="modal-body">
<div class="lablesfrom"> <div class="lablesfrom">
<p>1.请填写您要定制的项目</p> <p>1.请填写您要定制的项目</p>
<input type="text" class="form-control" placeholder="在这里填写" > <input type="text" name="projectname" class="form-control" placeholder="在这里填写" >
</div> </div>
<div class="lablesfrom"> <div class="lablesfrom">
<p>2.请留下您的联系方式</p> <p>2.请留下您的联系方式</p>
<div class="inputsboxs d-flex"> <div class="inputsboxs d-flex">
<input type="text" class="form-control" placeholder="姓名" > <input type="text" name="fullname" class="form-control" placeholder="姓名" >
<input type="text" class="form-control" placeholder="电话" > <input type="text" name="phone" class="form-control" placeholder="电话" >
</div> </div>
<input type="text" class="form-control" placeholder="公司" > <input type="text" name="corporatename" class="form-control" placeholder="公司" >
</div> </div>
<div class="modal_submit"> <div class="modal_submit">
...@@ -278,11 +278,10 @@ ...@@ -278,11 +278,10 @@
<script src="/static/js/bootstrap.min.js"></script> <script src="/static/js/bootstrap.min.js"></script>
<script src="/static/js/global.js"></script> <script src="/static/js/global.js"></script>
<script src="/static/js/wow/wow.min.js"></script> <script src="/static/js/wow/wow.min.js"></script>
<script src="/static/js/layer/layer.js"></script>
<script> <script>
$(function () { $(function () {
new WOW().init(); new WOW().init();
}) })
</script> </script>
</body> </body>
......
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:85:"D:\phpstudy_pro\WWW\www.fa.com\public/../application/index\view\index\appletsdev.html";i:1615017328;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\topnav.html";i:1615094111;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\footer.html";i:1615017258;}*/ ?> <?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:85:"D:\phpstudy_pro\WWW\www.fa.com\public/../application/index\view\index\appletsdev.html";i:1615104379;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\topnav.html";i:1615094111;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\footer.html";i:1615017258;}*/ ?>
<!-- 小程序开发 --> <!-- 小程序开发 -->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="zh-cn"> <html lang="zh-cn">
...@@ -94,15 +94,15 @@ ...@@ -94,15 +94,15 @@
<div class="modal-body"> <div class="modal-body">
<div class="lablesfrom"> <div class="lablesfrom">
<p>1.请填写您要定制的项目</p> <p>1.请填写您要定制的项目</p>
<input type="text" class="form-control" placeholder="在这里填写" > <input type="text" name="projectname" class="form-control" placeholder="在这里填写" >
</div> </div>
<div class="lablesfrom"> <div class="lablesfrom">
<p>2.请留下您的联系方式</p> <p>2.请留下您的联系方式</p>
<div class="inputsboxs d-flex"> <div class="inputsboxs d-flex">
<input type="text" class="form-control" placeholder="姓名" > <input type="text" name="fullname" class="form-control" placeholder="姓名" >
<input type="text" class="form-control" placeholder="电话" > <input type="text" name="phone" class="form-control" placeholder="电话" >
</div> </div>
<input type="text" class="form-control" placeholder="公司" > <input type="text" name="corporatename" class="form-control" placeholder="公司" >
</div> </div>
<div class="modal_submit"> <div class="modal_submit">
...@@ -381,6 +381,7 @@ ...@@ -381,6 +381,7 @@
<script src="/static/js/bootstrap.min.js"></script> <script src="/static/js/bootstrap.min.js"></script>
<script src="/static/js/global.js"></script> <script src="/static/js/global.js"></script>
<script src="/static/js/wow/wow.min.js"></script> <script src="/static/js/wow/wow.min.js"></script>
<script src="/static/js/layer/layer.js"></script>
<script> <script>
$(function () { $(function () {
new WOW().init(); new WOW().init();
......
<?php if (!defined('THINK_PATH')) exit(); /*a:5:{s:83:"D:\phpstudy_pro\WWW\www.fa.com\public/../application/admin\view\auth\rule\edit.html";i:1611580232;s:73:"D:\phpstudy_pro\WWW\www.fa.com\application\admin\view\layout\default.html";i:1611580233;s:70:"D:\phpstudy_pro\WWW\www.fa.com\application\admin\view\common\meta.html";i:1611580233;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\admin\view\auth\rule\tpl.html";i:1611580232;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\admin\view\common\script.html";i:1611580233;}*/ ?>
<!DOCTYPE html>
<html lang="<?php echo $config['language']; ?>">
<head>
<meta charset="utf-8">
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">
<meta name="referrer" content="never">
<link rel="shortcut icon" href="/assets/img/favicon.ico" />
<!-- Loading Bootstrap -->
<link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
<?php if(\think\Config::get('fastadmin.adminskin')): ?>
<link href="/assets/css/skins/<?php echo \think\Config::get('fastadmin.adminskin'); ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
<?php endif; ?>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
<script src="/assets/js/html5shiv.js"></script>
<script src="/assets/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
var require = {
config: <?php echo json_encode($config); ?>
};
</script>
</head>
<body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
<div id="main" role="main">
<div class="tab-content tab-addtabs">
<div id="content">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<section class="content-header hide">
<h1>
<?php echo __('Dashboard'); ?>
<small><?php echo __('Control panel'); ?></small>
</h1>
</section>
<?php if(!IS_DIALOG && !\think\Config::get('fastadmin.multiplenav') && \think\Config::get('fastadmin.breadcrumb')): ?>
<!-- RIBBON -->
<div id="ribbon">
<ol class="breadcrumb pull-left">
<?php if($auth->check('dashboard')): ?>
<li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
<?php endif; ?>
</ol>
<ol class="breadcrumb pull-right">
<?php foreach($breadcrumb as $vo): ?>
<li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
<?php endforeach; ?>
</ol>
</div>
<!-- END RIBBON -->
<?php endif; ?>
<div class="content">
<form id="edit-form" class="form-horizontal form-ajax" role="form" method="POST" action="">
<?php echo token(); ?>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Ismenu'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<?php echo build_radios('row[ismenu]', ['1'=>__('Yes'), '0'=>__('No')], $row['ismenu']); ?>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Parent'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<?php echo build_select('row[pid]', $ruledata, $row['pid'], ['class'=>'form-control', 'required'=>'']); ?>
</div>
</div>
<div class="form-group">
<label for="name" class="control-label col-xs-12 col-sm-2"><?php echo __('Name'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<input type="text" class="form-control" id="name" name="row[name]" data-placeholder-node="<?php echo __('Node tips'); ?>" data-placeholder-menu="<?php echo __('Menu tips'); ?>" value="<?php echo htmlentities($row['name']); ?>" data-rule="required" />
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Title'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<input type="text" class="form-control" id="title" name="row[title]" value="<?php echo htmlentities($row['title']); ?>" data-rule="required" />
</div>
</div>
<div class="form-group">
<label for="icon" class="control-label col-xs-12 col-sm-2"><?php echo __('Icon'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<div class="input-group input-groupp-md">
<input type="text" class="form-control" id="icon" name="row[icon]" value="<?php echo $row['icon']; ?>" />
<a href="javascript:;" class="btn-search-icon input-group-addon"><?php echo __('Search icon'); ?></a>
</div>
</div>
</div>
<div class="form-group">
<label for="weigh" class="control-label col-xs-12 col-sm-2"><?php echo __('Weigh'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<input type="text" class="form-control" id="weigh" name="row[weigh]" value="<?php echo $row['weigh']; ?>" data-rule="required" />
</div>
</div>
<div class="form-group">
<label for="remark" class="control-label col-xs-12 col-sm-2"><?php echo __('Condition'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<textarea class="form-control" id="condition" name="row[condition]"><?php echo htmlentities($row['condition']); ?></textarea>
</div>
</div>
<div class="form-group">
<label for="remark" class="control-label col-xs-12 col-sm-2"><?php echo __('Remark'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<textarea class="form-control" id="remark" name="row[remark]"><?php echo htmlentities($row['remark']); ?></textarea>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2"><?php echo __('Status'); ?>:</label>
<div class="col-xs-12 col-sm-8">
<?php echo build_radios('row[status]', ['normal'=>__('Normal'), 'hidden'=>__('Hidden')], $row['status']); ?>
</div>
</div>
<div class="form-group hidden layer-footer">
<div class="col-xs-2"></div>
<div class="col-xs-12 col-sm-8">
<button type="submit" class="btn btn-success btn-embossed disabled"><?php echo __('OK'); ?></button>
<button type="reset" class="btn btn-default btn-embossed"><?php echo __('Reset'); ?></button>
</div>
</div>
</form>
<style>
#chooseicon {
margin:10px;
}
#chooseicon ul {
margin:5px 0 0 0;
}
#chooseicon ul li{
width:41px;height:42px;
line-height:42px;
border:1px solid #efefef;
padding:1px;
margin:1px;
text-align: center;
font-size:18px;
}
#chooseicon ul li:hover{
border:1px solid #2c3e50;
cursor:pointer;
}
</style>
<script id="chooseicontpl" type="text/html">
<div id="chooseicon">
<div>
<form onsubmit="return false;">
<div class="input-group input-groupp-md">
<div class="input-group-addon"><?php echo __('Search icon'); ?></div>
<input class="js-icon-search form-control" type="text" placeholder="">
</div>
</form>
</div>
<div>
<ul class="list-inline">
<% for(var i=0; i<iconlist.length; i++){ %>
<li data-font="<%=iconlist[i]%>" data-toggle="tooltip" title="<%=iconlist[i]%>">
<i class="fa fa-<%=iconlist[i]%>"></i>
</li>
<% } %>
</ul>
</div>
</div>
</script>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version']); ?>"></script>
</body>
</html>
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:84:"D:\phpstudy_pro\WWW\www.fa.com\public/../application/index\view\index\contactus.html";i:1615017339;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\topnav.html";i:1615094111;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\footer.html";i:1615017258;}*/ ?> <?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:84:"D:\phpstudy_pro\WWW\www.fa.com\public/../application/index\view\index\contactus.html";i:1615102711;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\topnav.html";i:1615094111;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\footer.html";i:1615017258;}*/ ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="zh-cn"> <html lang="zh-cn">
<!-- 完美兼容所有屏幕 基于 bootstrap4.1 --> <!-- 完美兼容所有屏幕 基于 bootstrap4.1 -->
...@@ -105,55 +105,55 @@ ...@@ -105,55 +105,55 @@
<!-- 联系我们 -->
<!-- 联系我们 --> <!-- 联系我们 -->
<div class="contactus"> <div class="contactus">
<div class="container"> <div class="container">
<div class="tits"><img src="/static/images/contactustit.png" alt=""></div> <div class="tits"><img src="/static/images/contactustit.png" alt=""></div>
<from class="froms"> <from class="froms" id="livesfrom" method="post" action="#">
<div class="form-group row"> <div class="form-group row">
<div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<input type="text" class="form-control" name="username" placeholder="* 姓名"> <input type="text" class="form-control" name="fullname" placeholder="* 姓名">
</div> </div>
<div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<div class="form-check form-check-inline"> <div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1"> <input class="form-check-input" type="radio" name="gender" id="inlineRadio1" value="1">
<label class="form-check-label" for="inlineRadio1"></label> <span class="form-check-label" for="inlineRadio1"></span>
</div> </div>
<div class="form-check form-check-inline"> <div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2"> <input class="form-check-input" type="radio" name="gender" id="inlineRadio2" value="0">
<label class="form-check-label" for="inlineRadio2"></label> <span class="form-check-label" for="inlineRadio2"></span>
</div> </div>
</div> </div>
</div> </div>
<div class="form-group row"> <div class="form-group row">
<div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<select class="custom-select" id="province"> <select class="custom-select" name="region" id="province">
<option selected>* 所在省份</option> <option selected>* 所在省份</option>
</select> </select>
<select class="custom-select" id="citys"> <select class="custom-select" name="region1" id="citys">
<option selected>* 所在市区</option> <option selected>* 所在市区</option>
</select> </select>
</div> </div>
<div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<input type="text" class="form-control" name="username" placeholder="QQ"> <input type="text" class="form-control" name="userqq" placeholder="QQ">
</div> </div>
</div> </div>
<div class="form-group row"> <div class="form-group row">
<div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="form_group_items col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<input type="text" class="form-control" name="tel" placeholder="* 手机号码"> <input type="text" class="form-control" name="phone" placeholder="* 手机号码">
</div> </div>
<div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class=" col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<input type="text" class="form-control" name="emaile" placeholder="邮箱"> <input type="text" class="form-control" name="email" placeholder="邮箱">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<textarea class="textarea form-control" name="" id="" cols="30" rows="10" placeholder="留言"></textarea> <textarea class="textarea form-control" name="content" id="" cols="30" rows="10" placeholder="留言"></textarea>
</div> </div>
<div class="submitbtns"> <div class="submitbtns">
<button type="submit" class="submits">提 交</button> <button id="livesubmit" class="submits">提 交</button>
</div> </div>
</from> </from>
</div> </div>
...@@ -221,6 +221,7 @@ ...@@ -221,6 +221,7 @@
<script src="/static/js/area.js"></script> <script src="/static/js/area.js"></script>
<script src="/static/js/global.js"></script> <script src="/static/js/global.js"></script>
<script src="/static/js/wow/wow.min.js"></script> <script src="/static/js/wow/wow.min.js"></script>
<script src="/static/js/layer/layer.js"></script>
<script type="text/javascript" src="https://api.map.baidu.com/api?type=webgl&v=1.0&ak=VyZgcisEXtLl6o5o0oa1Gk2BFkKFAwFq"></script> <script type="text/javascript" src="https://api.map.baidu.com/api?type=webgl&v=1.0&ak=VyZgcisEXtLl6o5o0oa1Gk2BFkKFAwFq"></script>
......
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:83:"D:\phpstudy_pro\WWW\www.fa.com\public/../application/index\view\index\appdevel.html";i:1615017314;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\topnav.html";i:1615085770;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\footer.html";i:1615017258;}*/ ?> <?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:83:"D:\phpstudy_pro\WWW\www.fa.com\public/../application/index\view\index\appdevel.html";i:1615104373;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\topnav.html";i:1615094111;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\footer.html";i:1615017258;}*/ ?>
<!-- APP 开发 --> <!-- APP 开发 -->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="zh-cn"> <html lang="zh-cn">
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<div class="container homenavs"> <div class="container homenavs">
<nav class="navbar navbar-expand-lg navbar-light "> <nav class="navbar navbar-expand-lg navbar-light ">
<a class="navbar-brand navbar-brand-mobile mr-auto" href="#"> <a class="navbar-brand navbar-brand-mobile mr-auto" href="/">
<img src="/static/images/logos.png" alt="鹿马108"> <img src="/static/images/logos.png" alt="鹿马108">
</a> </a>
...@@ -35,10 +35,10 @@ ...@@ -35,10 +35,10 @@
</button> </button>
<div class="collapse navbar-collapse" id="navbarSupportedContent"> <div class="collapse navbar-collapse" id="navbarSupportedContent">
<a class="navbar-brand mr-auto" href="#"> <a class="navbar-brand mr-auto" href="/">
<img src="/static/images/logos.png" alt="鹿马108"> <img src="/static/images/logos.png" alt="鹿马108">
</a> </a>
<a class="navbar-brand mr-auto min_logos" href="#"> <a class="navbar-brand mr-auto min_logos" href="/">
<img src="/static/images/logo.png" alt="鹿马108"> <img src="/static/images/logo.png" alt="鹿马108">
</a> </a>
<ul class="navbar-nav "> <ul class="navbar-nav ">
...@@ -95,15 +95,15 @@ ...@@ -95,15 +95,15 @@
<div class="modal-body"> <div class="modal-body">
<div class="lablesfrom"> <div class="lablesfrom">
<p>1.请填写您要定制的项目</p> <p>1.请填写您要定制的项目</p>
<input type="text" class="form-control" placeholder="在这里填写" > <input type="text" name="projectname" class="form-control" placeholder="在这里填写" >
</div> </div>
<div class="lablesfrom"> <div class="lablesfrom">
<p>2.请留下您的联系方式</p> <p>2.请留下您的联系方式</p>
<div class="inputsboxs d-flex"> <div class="inputsboxs d-flex">
<input type="text" class="form-control" placeholder="姓名" > <input type="text" name="fullname" class="form-control" placeholder="姓名" >
<input type="text" class="form-control" placeholder="电话" > <input type="text" name="phone" class="form-control" placeholder="电话" >
</div> </div>
<input type="text" class="form-control" placeholder="公司" > <input type="text" name="corporatename" class="form-control" placeholder="公司" >
</div> </div>
<div class="modal_submit"> <div class="modal_submit">
...@@ -316,6 +316,7 @@ ...@@ -316,6 +316,7 @@
<script src="/static/js/bootstrap.min.js"></script> <script src="/static/js/bootstrap.min.js"></script>
<script src="/static/js/global.js"></script> <script src="/static/js/global.js"></script>
<script src="/static/js/wow/wow.min.js"></script> <script src="/static/js/wow/wow.min.js"></script>
<script src="/static/js/layer/layer.js"></script>
<script> <script>
$(function () { $(function () {
new WOW().init(); new WOW().init();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment