This commit is contained in:
2025-12-17 10:18:58 +08:00
commit ad4cb058fc
4112 changed files with 750772 additions and 0 deletions

View File

@@ -0,0 +1,269 @@
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=0.28,user-scalable=no" />
<title>{$eyou.field.seo_title}</title>
<meta name="description" content="{$eyou.field.seo_description}" />
<meta name="keywords" content="{$eyou.field.seo_keywords}" />
<link href="{eyou:global name='web_ico' /}" rel="shortcut icon" type="image/x-icon" />
{eyou:static file="skin/css/base.css" /}
{eyou:static file="skin/css/style.css" /}
{eyou:static file="skin/js/jquery.tools.min.js" /}
{eyou:static file="skin/js/jquery.kinMaxShow-1.0.min.js" /}
{eyou:static file="/public/static/common/js/jquery.min.js"/}
{eyou:static file="/public/plugins/layer-v3.1.0/layer.js"/}
{eyou:static file="users/skin/js/global.js" /}
</head>
<style>
.header_title{
margin-bottom: 50px;
font-size: 24px;
font-weight: 600;
color: #bd2a15;
}
.sys_header{
margin-top: 60px;
text-align: center;
}
.header_search{
display: -webkit-box;
display: -ms-flexbox;
display: flex;
margin-bottom: 30px;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.header_search span{
display: block;
margin-right: 20px;
width: 100px;
height: 50px;
line-height: 50px;
text-align: right;
font-size: 17px;
font-weight: 600;
}
.header_search input{
width: 600px;
height: 50px;
padding-left: 15px;
font-size: 17px;
font-weight: 600;
color: #bd2a15;
}
.searchContainer{
display: -webkit-box;
display: -ms-flexbox;
display: flex;
margin-top: 40px;
margin-left: 120px;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.searchContainer .searchBtn{
width: 400px;
height: 50px;
line-height: 50px;
font-size: 17px;
background: #bd2a15;
color: #fff;
cursor: pointer;
}
.header_search botton{
display: block;
width: 100px;
height: 50px;
line-height: 50px;
text-align: center;
background: #bd2a15;
margin-left: 10px;
color: #fff;
font-size: 17px;
cursor: pointer;
}
.content{
width: 100%;
}
.content-inner{
background:url(../template/pc/skin/images/map.png) no-repeat center 20px;
}
</style>
<body>
<!--头部--star-->
{eyou:include file="header.htm" /}
<!--头部---end-->
<!---layui--->
{eyou:include file="layui.htm" /}
<!---layui--->
<div class="content-wrap">
<div class="content-inner" style="height: 970px;">
<!-- w1200 -->
<div class="content ">
<form class="layui-form sys_header" action="" name='theForm' id="theForm" method="post" style="text-align: center;padding-top: 80px;" >
<div class="header_title" style="margin-left: -100px">服务商查询</div>
<div class="header_search"><input name="realname" placeholder="">
<botton>搜索</botton>
</div>
</form>
<div style="width:100%;height:100%;display: none;" id="showqrcode">
<div style="text-align: center;width: 100%;">
<img src="" id="imgs" style="width: 600px">
<div style="font-size: 50px;width: 100%;text-align: center;margin-top: 30px;">
<span style="border-radius: 50px;border: solid 2px #fff;width: 60px;padding: 4px 20px;color:#fff" id="close">x</span>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
$('#close').click(function(){
$('#showqrcode').hide();
$('#theForm').show();
})
$(function(){
$('botton').on('click',function(){
var realname = $('input[name=realname]');
var password = $('input[name=password]');
if(realname.val() == ''){
layer.msg('请输入关键词!', {time: 1500, icon: 5});
realname.focus();
return false;
}
if(password.val() == ''){
layer.msg('密码不能为空!', {time: 1500, icon: 5});
password.focus();
return false;
}
var url = "{eyou:url link='api/Ajax/projectsearch' /}";
// layer_loading('正在处理');
var data = {
realname:realname.val(),
type:1
}
console.log(data)
$.ajax({
// async:false,
url : url,
data:data,
type:'post',
dataType:'json',
success:function(res){
console.log(res)
if(0 == res.code){
layer.msg('服务商不存在', {time: 1500, icon: 5});
}else{
$('#imgs').attr('src',res.img)
$('#showqrcode').show();
$('#theForm').hide();
}
/* layer.alert(res.msg, {icon: 1, title: false, closeBtn: false},function(){
//window.location.href = res.url;
// $('#showqrcode').show();
// layer.closeAll();
});*/
/* if (1 == res.code) {
if (5 == res.data.status) {
layer.alert(res.msg, {icon: 5, title: false, closeBtn: false},function(){
window.location.href = res.url;
});
}else{
window.location.href = res.url;
}
} else {
layer.closeAll();
if ('vertify' == res.data.status) {
fleshVerify();
}
if (2 == res.data.status) {
showErrorAlert(res.msg, 4);
} else {
layer.msg(res.msg, {icon: 5,time: 1500});
}
}*/
},
error:function(e) {
layer.closeAll();
showErrorAlert(e.responseText);
}
});
});
});
/* layui.use(['table','form','upload','util','laydate','laypage',], function() {
var table = layui.table,form = layui.form,laydate = layui.laydate, $ = layui.jquery,upload = layui.upload,util = layui.util;
var laypage = layui.laypage
//监听搜索
form.on('submit(demo1)', function(data){
var field = data.field;
layer.alert(JSON.stringify(data.field), {
title: '最终的提交信息'
})
//return false;
var url = "{eyou:url link='api/Ajax/projectsearch' /}";
console.log(url)
// return false;
$.ajax({
// async:false,
url : url,
data: {},
type:'post',
dataType:'json',
success:function(res){
if (1 == res.code) {
if (5 == res.data.status) {
layer.alert(res.msg, {icon: 5, title: false, closeBtn: false},function(){
window.location.href = res.url;
});
}else{
window.location.href = res.url;
}
} else {
layer.closeAll();
if ('vertify' == res.data.status) {
fleshVerify();
}
if (2 == res.data.status) {
showErrorAlert(res.msg, 4);
} else {
layer.msg(res.msg, {icon: 5,time: 1500});
}
}
},
error:function(e) {
layer.closeAll();
showErrorAlert(e.responseText);
}
});
});
});*/
</script>
<!--底部-star-->
{eyou:include file="footer.htm" /}
<!--底部--end-->
</body>
</html>