更新

parent 156e103c
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
namespace App\Http\Controllers; namespace App\Http\Controllers;
use App\Model\CommonModel;
use App\Model\SupplierAccountModel; use App\Model\SupplierAccountModel;
use Config; use Config;
use Illuminate\Http\Request; use Illuminate\Http\Request;
...@@ -17,8 +18,10 @@ class WebController extends Controller ...@@ -17,8 +18,10 @@ class WebController extends Controller
return view('pc.orderList'); return view('pc.orderList');
} }
$data['id'] = $id; $data['id'] = $id;
$data['_URL_'] = config("website.URL_YUNXIN"); $data['URL_YUNXIN'] = config("website.URL_YUNXIN");
$data['URL_ICHUNT'] = config("website.URL_ICHUNT");
$data['_DOMAIN_'] = config("website.domain"); $data['_DOMAIN_'] = config("website.domain");
$data['mobile'] = $request->mobile;
return $this->$id($request,$data,$id); return $this->$id($request,$data,$id);
} }
...@@ -30,6 +33,7 @@ class WebController extends Controller ...@@ -30,6 +33,7 @@ class WebController extends Controller
private function Login($request,$data,$id){ private function Login($request,$data,$id){
$data['title']='欢迎使用云芯系统'; $data['title']='欢迎使用云芯系统';
$data['time']=time(); $data['time']=time();
$data['buttom_link'] = htmlspecialchars(CommonModel::getButtomLink());
return view('pc.Login',$data); return view('pc.Login',$data);
} }
/* /*
...@@ -37,6 +41,7 @@ class WebController extends Controller ...@@ -37,6 +41,7 @@ class WebController extends Controller
*/ */
private function LoginOut($request,$data,$id){ private function LoginOut($request,$data,$id){
(new SupplierAccountModel())->LoginOut($request); (new SupplierAccountModel())->LoginOut($request);
return redirect('/web/login');
} }
//修改登录密码 //修改登录密码
private function ResetPassword($request,$data,$id){ private function ResetPassword($request,$data,$id){
...@@ -74,5 +79,10 @@ class WebController extends Controller ...@@ -74,5 +79,10 @@ class WebController extends Controller
$data['time']=time(); $data['time']=time();
return view('pc',$data); return view('pc',$data);
} }
//财务对账列表
private function CheckingList($request,$data,$id){
$data['title']='对账列表';
$data['time']=time();
return view('pc',$data);
}
} }
...@@ -14,7 +14,7 @@ class CheckLogin ...@@ -14,7 +14,7 @@ class CheckLogin
public function handle($request, Closure $next) public function handle($request, Closure $next)
{ {
//前端用户登录token //前端用户登录token
$yunxin_token = $request->cookie('yunxin_token') == "" ? $request->input('yunxin_token') : "" ; $yunxin_token = $request->cookie('yunxin_token') == "" ? $request->input('yunxin_token') : $request->cookie('yunxin_token') ;
$userInfo = Redis::get('yunxin_login_'.$yunxin_token); $userInfo = Redis::get('yunxin_login_'.$yunxin_token);
$nowUrl = $request->url(); $nowUrl = $request->url();
...@@ -29,17 +29,21 @@ class CheckLogin ...@@ -29,17 +29,21 @@ class CheckLogin
if (strpos($nowUrl,'/web/login') == false && strpos($nowUrl,'/web/ForgetPassword') == false &&!$isApi){ if (strpos($nowUrl,'/web/login') == false && strpos($nowUrl,'/web/ForgetPassword') == false &&!$isApi){
return redirect('/web/login' ); return redirect('/web/login' );
} }
}else{
if (strpos($nowUrl,'/web/login') !== false){ //如果已经登录,跳到登录页
return redirect('/web/OrderList' );
}
Redis::expire('yunxin_login_'.$yunxin_token,7200); //延长登录时间
$userInfoArr = json_decode($userInfo,true);
$request->mobile = $userInfoArr['mobile'];
$request->account_id = $userInfoArr['account_id'];
$request->supplier_id = $userInfoArr['supplier_id'];
$request->supplier_name = $userInfoArr['supplier_name'];
$request->role_id = $userInfoArr['role_id']; //1寄售 2自采 3云芯
$request->appid = $userInfoArr['appid'];
$request->key = $userInfoArr['key'];
} }
Redis::expire('yunxin_login_'.$yunxin_token,7200);
$userInfoArr = json_decode($userInfo,true);
$request->account_id = $userInfoArr['account_id'];
$request->supplier_id = $userInfoArr['supplier_id'];
$request->supplier_name = $userInfoArr['supplier_name'];
$request->role_id = $userInfoArr['role_id']; //1寄售 2自采 3云芯
$request->yunxin_token = $yunxin_token; $request->yunxin_token = $yunxin_token;
$request->appid = $userInfoArr['appid'];
$request->key = $userInfoArr['key'];
return $next($request); return $next($request);
} }
} }
<?php
namespace App\Model;
use Request;
use DB;
//公共模型
class CommonModel
{
/*
* 获取底部A-10链接
*/
static function getButtomLink(){
$rangA9 = "";
foreach(range('A','Z') as $v){
$rangA9 .= $v.",";
}
foreach(range('0','10') as $v){
$rangA9 .= $v.",";
}
$arr = explode(',',trim($rangA9,','));
$str = "";
foreach ($arr as $k=>$v){
$show = $v == 10 ? "其他" : $v;
$str .= '<a href="'.config("website.URL_ICHUNT").'/ic/'.$v.'.html?ptag=index-bottomlink" onclick="MtaH5.clickStat(\'v3_typeindex_'.($k+1).'\')">'.$show.'</a>';
}
return $str;
}
}
\ No newline at end of file
...@@ -21,14 +21,14 @@ class ServerFinanceModel ...@@ -21,14 +21,14 @@ class ServerFinanceModel
} }
//发送请求 //发送请求
public function push($url,$data,$type = 1){ public function push($url,$data,$type = 1){
$data = ExcessEncryption($data,$this->appid,$this->key); $datas = ExcessEncryption($data,$this->appid,$this->key);
$urls = $this->finance_url.$url; $urls = $this->finance_url.$url;
$res = (curl($urls,$data)); $res = (curl($urls,$datas));
if (self::IS_DEBUG){ if (self::IS_DEBUG){
print_r($urls); print_r($urls);
print_r("<br/>"); print_r("<br/>");
print_r($data); print_r($datas);
print_r("<br/>"); print_r("<br/>");
print_r($res); print_r($res);
die(); die();
......
...@@ -16,7 +16,7 @@ class SupplierAccountModel extends Model ...@@ -16,7 +16,7 @@ class SupplierAccountModel extends Model
protected $primaryKey='id'; protected $primaryKey='id';
public $timestamps = false; public $timestamps = false;
private $CheckCode = false; //是否开启验证码验证 private $CheckCode = false; //是否开启验证码验证
public $isOneLogin = true; //是否开启单一账号登录
/* /*
* 供应商登录 * 供应商登录
* @param int $account_id 账号id * @param int $account_id 账号id
...@@ -50,6 +50,7 @@ class SupplierAccountModel extends Model ...@@ -50,6 +50,7 @@ class SupplierAccountModel extends Model
$info = [ $info = [
'supplier_id'=>$account['supplier_id'], 'supplier_id'=>$account['supplier_id'],
'mobile'=>$account['mobile'],
'supplier_name'=>$supplierInfo['supplier_name'], 'supplier_name'=>$supplierInfo['supplier_name'],
'account_id'=>$account['id'], 'account_id'=>$account['id'],
'appid'=>$account['appid'], 'appid'=>$account['appid'],
...@@ -60,6 +61,7 @@ class SupplierAccountModel extends Model ...@@ -60,6 +61,7 @@ class SupplierAccountModel extends Model
try{ try{
$con = DB::connection('yunxin'); $con = DB::connection('yunxin');
$con->beginTransaction(); $con->beginTransaction();
#登录信息写入缓存 #登录信息写入缓存
$key = md5($account_name.$code.time()); $key = md5($account_name.$code.time());
$expire = 7200;//过期两个小时 $expire = 7200;//过期两个小时
...@@ -67,7 +69,6 @@ class SupplierAccountModel extends Model ...@@ -67,7 +69,6 @@ class SupplierAccountModel extends Model
if ($res != 'OK'){ if ($res != 'OK'){
throw new Exception('写入缓存失败',1004); throw new Exception('写入缓存失败',1004);
} }
#记录登录日志 #记录登录日志
$log['account_id'] = $account['id']; $log['account_id'] = $account['id'];
$log['action_ip'] = $request->getClientIp(); $log['action_ip'] = $request->getClientIp();
...@@ -142,12 +143,8 @@ class SupplierAccountModel extends Model ...@@ -142,12 +143,8 @@ class SupplierAccountModel extends Model
* 退出登录 * 退出登录
*/ */
public function LoginOut($request){ public function LoginOut($request){
$del = Redis::del("yunxin_login_".$request->yunxin_token); Redis::del("yunxin_login_".$request->yunxin_token);//删除登录信息
if ($del){ setcookie('yunxin_token','',time()-3600); //清除cookie
return redirect('/web/login' );
}else{
return [1001,'退出失败'];
}
} }
} }
\ No newline at end of file
<?php <?php
#不与线上环境同步 #不与线上环境同步
return [ return [
"URL_ICHUNT" =>"https://www.ichunt.com",
"URL_YUNXIN" => "http://yunxin.liexin.com", "URL_YUNXIN" => "http://yunxin.liexin.com",
"URL_FINANCE" => "http://finance.liexin.com", "URL_FINANCE" => "http://finance.liexin.com",
"URL_FOOTSTONE" => "http://foostone.liexin.com", "URL_FOOTSTONE" => "http://foostone.liexin.com",
......
;!function () {
window.Login = {
'code': "#code",//验证码
'submit': "#submit",//提交按钮
'search': "#search",//搜索按钮
init: function () {
this.handleBind(this);
},
handleBind: function (opt) {
tableList(1);
function tableList(page) {
$.ajax({
url: URL_YUNXIN + '/api/ApiAccountCheckingList',
type: 'post',
data: {'p':page},
async: false,
dataType: 'json',
timeout: 10000,
success: function (res) {
console.log(res)
if (res.code == 0) {
var html;
for (i = 0; i < res.data.length; i++) {
var s = res.data[i];
html += "<tr class=\"you\"> " +
"<td><span class=\"t1\">"+s.checking_sn+"</span></td>" +
"<td><span class=\"t1\">"+s.amount+"</span></td>" +
"<td><span class=\"t1\">"+s.currency+"</span></td>" +
"<td><span class=\"t1\">"+s.day_num+"</span></td>" +
"<td><span class=\"t1\">"+s.finish_time+"</span></td>" +
"<td><span class=\"t1\">"+s.create_time+"</span></td>" +
"<td><span class=\"t1\">"+s.checking_time+"</span></td>" +
"<td><span class=\"t1\">"+s.status+"</span></td>" +
"<td><a href=\"javascript:;\" class=\"lineBlock va-m operation-1\"><i class=\"iconfont icon-mingxi-\"></i><em>明细</em></a></td> </tr>"
;
}
$("#shopListContent").html(html)
layui.laypage.render({
elem: 'pagination',
theme: '#1080d0',
count: res.count,
groups:10,
curr: page,
jump:function (obj, first) {
if(!first){
tableList(obj.curr)
}
}
});
} else {
$(".error").show().text(res.errmsg);
return false;
}
},
error: function (res) {
alert_err('网络阻塞,请重试!')
}
})
}
$("#search").click(function () {
tableList(1)
})
return this;
},
getData: function (params, callback) {
$.ajax({
url: URL_YUNXIN + '/api/ApiLogin',
type: 'post',
data: params,
async: false,
dataType: 'json',
timeout: 10000,
success: function (res) {
if (res.errcode == 0) {
typeof callback == 'function' && callback(res);
} else {
$(".error").show().text(res.errmsg);
return false;
}
},
error: function (res) {
alert_err('网络阻塞,请重试!')
}
})
},
calcForm: function (opt) {
if (!opt.getCode()) {
$(".error").show().text('请输入验证码');
return false;
}
$(".error").hide().text('');
return true;
},
}, $(function () {
Login.init();
})
}();
\ No newline at end of file
;!function () {
window.Login = {
'code': "#code",//验证码
'submit': "#submit",//提交按钮
'search': "#search",//搜索按钮
init: function () {
this.handleBind(this);
},
handleBind: function (opt) {
layui.table.render({
elem: '#shopList'
,url:'/api/ApiAccountCheckingList'
,method:'post'
,cellMinWidth: 100 //全局定义常规单元格的最小宽度
,request: {
pageName: 'p' //页码的参数名称,默认:page
,limitName: 'limit' //每页数据量的参数名,默认:limit
}
,where: {} //如果无需传递额外参数,可不加该参数
,loading:true
,first: true //不显示首页
,last: false //不显示尾页
,cols: [[
{field:'checking_sn', title: '对账单号',align:'center'}
,{field:'amount', title: '账单金额',align:'center'}
,{field:'currency', title: '结算币种',align:'center'}
,{field:'day_num', title: '结算方式',align:'center'}
,{field:'finish_time', title: '完成时间',align:'center'}
,{field:'create_time', title: '创建时间',align:'center'}
,{field:'checking_time', title: '对账时间',align:'center'}
,{field:'status', title: '状态',align:'center'}
,{field:'cahe', title: '操作',templet:'#cahe',align:'center', fixed: 'right'}
]]
,id:'shopList'
,page:{
}
,done: function(res, curr, count) {
// 若无数据,则禁用导出按钮
if (!count) {
$('.export').addClass('layui-disabled');
} else {
$('.export').removeClass('layui-disabled');
}
}
});
//提交
$(opt.search).on('click', function (data) {
console.log(data);
layui.form.render();
var data=data.field;
console.log(data);
layui.table.reload('shopList', {
page: {
curr: 1
}
,where: {}
});
});
//下单时间选择
layui.laydate.render({
elem: '.order-time-1',
theme: '#1080d0'
});
layui.laydate.render({
elem: '.order-time-2',
theme: '#1080d0'
});
// layui.laypage.render({
// elem: 'pagination',
// theme: '#1080d0',
// count: 500,
// groups:10,
// jump:function (obj, first) {
// console.log(obj.curr);
// }
// });
return this;
},
getData: function (params, callback) {
$.ajax({
url: URL_YUNXIN + '/api/ApiLogin',
type: 'post',
data: params,
async: false,
dataType: 'json',
timeout: 10000,
success: function (res) {
if (res.errcode == 0) {
typeof callback == 'function' && callback(res);
} else {
$(".error").show().text(res.errmsg);
return false;
}
},
error: function (res) {
alert_err('网络阻塞,请重试!')
}
})
},
calcForm: function (opt) {
if (!opt.getCode()) {
$(".error").show().text('请输入验证码');
return false;
}
$(".error").hide().text('');
return true;
},
}, $(function () {
Login.init();
})
}();
\ No newline at end of file
;!function () { ;!function () {
window.loginController = { window.Login = {
'code': "#code",//验证码 'code': "#code",//验证码
'submit': "#submit",//提交按钮 'submit': "#submit",//提交按钮
init: function () { init: function () {
...@@ -28,21 +28,22 @@ ...@@ -28,21 +28,22 @@
}, },
getData: function (params, callback) { getData: function (params, callback) {
$.ajax({ $.ajax({
url: _URL_ + '/api/ApiLogin', url: URL_YUNXIN + '/api/ApiLogin',
type: 'post', type: 'post',
data: params, data: params,
async: false, async: false,
dataType: 'json', dataType: 'json',
timeout: 10000, timeout: 10000,
success: function (res) { success: function (res) {
if (res.code == 0) { if (res.errcode == 0) {
typeof callback == 'function' && callback(res); typeof callback == 'function' && callback(res);
} else { } else {
layer.msg(res.msg); $(".error").show().text(res.errmsg);
return false;
} }
}, },
error: function (res) { error: function (res) {
layer.msg('网络出现问题,请重试!') alert_err('网络阻塞,请重试!')
} }
}) })
}, },
...@@ -80,8 +81,9 @@ ...@@ -80,8 +81,9 @@
'code': $("input[name='code']").val() 'code': $("input[name='code']").val()
} }
opt.getData(params, function (res) { opt.getData(params, function (res) {
Util.setCookie('yunxin_token', res.data,1,cookieHostname) Util.delCookie('yunxin_token');
window.location.href = "/web/orderList" Util.setCookie('yunxin_token', res.data,1,cookieHostname)
window.location.href = "/web/OrderList"
}); });
} }
}); });
...@@ -101,6 +103,6 @@ ...@@ -101,6 +103,6 @@
return this; return this;
}, },
}, $(function () { }, $(function () {
loginController.init(); Login.init();
}) })
}(); }();
\ No newline at end of file
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
delCookie: function (name) { delCookie: function (name) {
var exp = new Date(); var exp = new Date();
exp.setTime(exp.getTime() - 1); exp.setTime(exp.getTime() - 1);
var cval = getCookie(name); var cval = this.getCookie(name);
if (cval != null) document.cookie = name + "=" + cval + ";expires=" + exp.toGMTString(); if (cval != null) document.cookie = name + "=" + cval + ";expires=" + exp.toGMTString();
}, },
/** /**
......
/* /*
设置cookie 存放公共函数地方
*/ */
function setCookie(name,value){ //layer弹出子窗口关闭并且刷新父窗口页面
var Days = 30; function closeparent() {
var exp = new Date(); var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
exp.setTime(exp.getTime() + Days*24*60*60*30); parent.location.reload();
document.cookie = name + "="+ escape (value) + ";expires=" + exp.toGMTString(); parent.layer.close(index);
return false;
} }
/* //提示失败
获取cookie function alert_err(msg,callback) {
*/ if (!callback || typeof callback == 'undefined' || callback == undefined){
function getCookie(name){ window.parent.layer.alert(msg,{icon:2,title:'提示信息'},function (index) {
var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)"); window.parent.layer.close(index);
if(arr=document.cookie.match(reg)) })
return unescape(arr[2]); }else{
else window.parent.layer.alert(msg,{icon:2,title:'提示信息'},function (index) {
return null; window.parent.layer.close(index);
callback();
})
}
}
//确认弹框,点击确认回调函数
function alert_confirm(msg,callback){
if (!callback || typeof callback == 'undefined' || callback == undefined){
window.parent.layer.confirm(msg,{icon:3,title:'提示信息'},function (index) {
window.parent.layer.close(index);
})
}else{
window.parent.layer.confirm(msg,{icon:3,title:'提示信息'},function (index) {
window.parent.layer.close(index);
callback();
})
}
}
//提示成功
function alert_succ(msg,callback) {
if (!callback || typeof callback == 'undefined' || callback == undefined){
window.parent.layer.alert(msg,{icon:1,title:'提示信息'},function (index) {
window.parent.layer.close(index);
})
}else{
window.parent.layer.alert(msg,{icon:1,title:'提示信息'},function (index) {
window.parent.layer.close(index);
callback();
})
}
}
//防止重复提交
var submitFlg = false;
function setSubmitFlg() { //设置提交状态为真
submitFlg = true;
} }
function checkSubmit(callback){
if(submitFlg == true){ //已经提交
return false;
}
callback();
}
\ No newline at end of file
...@@ -8,12 +8,14 @@ ...@@ -8,12 +8,14 @@
<meta name="description" content=""/> <meta name="description" content=""/>
<meta name="viewport" content="width=device-width; initial-scale=1; maximum-scale=1; user-scalable=0;"/> <meta name="viewport" content="width=device-width; initial-scale=1; maximum-scale=1; user-scalable=0;"/>
<title>欢迎使用云芯系统</title> <title>欢迎使用云芯系统</title>
<script>document.domain="{{ Config::get('website.domain') }}";</script> <script>document.domain="<?= $_DOMAIN_; ?>";</script>
<link rel="stylesheet" type="text/css" href="/pc/font/iconfont.css"> <link rel="stylesheet" type="text/css" href="/pc/font/iconfont.css">
<link rel="stylesheet" type="text/css" href="/pc/js/layui/css/layui.css"> <link rel="stylesheet" type="text/css" href="/pc/js/layui/css/layui.css">
<link rel="stylesheet" type="text/css" href="/pc/css/style.min.css"> <link rel="stylesheet" type="text/css" href="/pc/css/style.min.css">
<script> <script>
var _URL_ = "<?php echo $_URL_; ?>"; var URL_YUNXIN = "<?= $URL_YUNXIN; ?>";
var URL_ICHUNT = "<?= $URL_ICHUNT; ?>";
var _DOMAIN_ = "<?= $_DOMAIN_; ?>";
</script> </script>
</head> </head>
<body> <body>
...@@ -42,7 +44,7 @@ ...@@ -42,7 +44,7 @@
<!--已登录--> <!--已登录-->
<a href="javascript:;" class="login"> <a href="javascript:;" class="login">
<img src="/pc/images/b.png" width="40" height="40" alt="" class="lineBlock va-m"> <img src="/pc/images/b.png" width="40" height="40" alt="" class="lineBlock va-m">
<span class="va-m">蓝色风沙</span> <span class="va-m">{{ $mobile }}</span>
<i class="icn ico-2"></i> <i class="icn ico-2"></i>
</a> </a>
<!--退出按钮--> <!--退出按钮-->
...@@ -103,6 +105,19 @@ ...@@ -103,6 +105,19 @@
</dd> </dd>
</dl> </dl>
</li> </li>
<li>
<a href="javascript:;" class="bx">
<i class="iconfont icon-dingdanguanli- va-m"></i>
<span class="t1 lineBlock va-m">财务管理</span>
<b class="iconfont icon-xiala-"></b>
</a>
<dl>
<dd class="curr">
<i class="line"></i>
<a href="/web/CheckingList">对账列表</a>
</dd>
</dl>
</li>
</ul> </ul>
</div> </div>
...@@ -117,7 +132,7 @@ ...@@ -117,7 +132,7 @@
</html> </html>
<!--layer end--> <!--layer end-->
<script type="text/javascript" src="/pc/js/jquery.min.js"></script> <script type="text/javascript" src="/pc/js/jquery.min.js"></script>
<script type="text/javascript" src="/pc/js/layui/layui.js"></script> <script type="text/javascript" src="/pc/js/layui/layui.all.js"></script>
<script type="text/javascript" src="/pc/js/md5/jquery.md5.js"></script> <script type="text/javascript" src="/pc/js/md5/jquery.md5.js"></script>
<script type="text/javascript" src="/pc/js/global.js"></script> <script type="text/javascript" src="/pc/js/global.js"></script>
<script type="text/javascript" src="/pc/js/public.js"></script> <script type="text/javascript" src="/pc/js/public.js"></script>
......
<div class="lx-content-r fr">
<div class="tit-bar">
<a href="">库存管理</a>
<span>&gt;</span>
<a class="text" href="">订单列表</a>
</div>
<div class="con-section shop-list">
<p class="text">订单列表</p>
<form action="">
<div class="search-bar">
<div class="lineBlock input-inline va-m">
<label class="tag">订单号:</label>
<input type="text" class="inp w180">
</div>
<div class="lineBlock input-inline va-m">
<label class="tag">商品型号:</label>
<input type="text" class="inp w180">
</div>
<div class="lineBlock input-inline va-m">
<label class="tag">状态:</label>
<select class="sel w180">
<option value="">状态1</option>
<option value="">状态2</option>
<option value="">状态3</option>
</select>
</div>
<div class="lineBlock input-inline va-m">
<label class="tag">下单时间:</label>
<input type="text" class="inp w120 order-time-1" lay-key="1">
<span class="lineBlock va-m line">~</span>
<input type="text" class="inp w120 order-time-2" lay-key="2">
</div>
<div class="lineBlock input-inline va-m" id="search">
<a href="javascript:;" class="search-btn">
<i class="iconfont icon-chaxun-"></i>
<span>查询</span>
</a>
</div>
<div class="lineBlock input-inline va-m">
<a href="javascript:;" class="export-btn">
<i class="iconfont icon-daochu-"></i>
<span>导出</span>
</a>
</div>
</div>
</form>
<div class="table-list" id="shopList">
<table>
<tr >
<th>对账单号<b></b></th>
<th>账单金额<b></b></th>
<th>结算币种<b></b></th>
<th>结算方式<b></b></th>
<th>完成时间<b></b></th>
<th>创建时间<b></b></th>
<th>对账时间<b></b></th>
<th>状态<b></b></th>
<th>操作</th>
</tr>
<tbody id="shopListContent">
</tbody>
</table>
</div>
<div class="pagination-with" id="pagination">
</div>
</div>
</div>
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<meta name="renderer" content="webkit"> <meta name="renderer" content="webkit">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="keywords" content=""/> <meta name="keywords" content=""/>
<meta name="description" content=""/> <meta name="description" content=""/>
...@@ -13,8 +14,9 @@ ...@@ -13,8 +14,9 @@
<link rel="stylesheet" type="text/css" href="/pc/css/style.min.css?v={{ $time }}"> <link rel="stylesheet" type="text/css" href="/pc/css/style.min.css?v={{ $time }}">
<script> <script>
//存放公共变量 //存放公共变量
var _URL_ = "<?php echo $_URL_; ?>"; var URL_YUNXIN = "<?= $URL_YUNXIN; ?>";
var _DOMAIN_ = "<?php echo $_DOMAIN_; ?>"; var URL_ICHUNT = "<?= $URL_ICHUNT; ?>";
var _DOMAIN_ = "<?= $_DOMAIN_; ?>";
</script> </script>
</head> </head>
<body> <body>
...@@ -26,7 +28,7 @@ ...@@ -26,7 +28,7 @@
<img src="/pc/images/logo.png" alt="猎芯网"> <img src="/pc/images/logo.png" alt="猎芯网">
</a> </a>
<span class="lineBlock va-m line"></span> <span class="lineBlock va-m line"></span>
<a href="javascript:;" class="lineBlock va-m text">供应商系统登录</a> <a href="javascript:;" class="lineBlock va-m text">云芯系统登录</a>
</div> </div>
</div> </div>
</div> </div>
...@@ -35,21 +37,21 @@ ...@@ -35,21 +37,21 @@
<div class="lx-login-content"> <div class="lx-login-content">
<div class="page-width clr"> <div class="page-width clr">
<div class="login-box"> <div class="login-box">
<p class="t1">欢迎登录供应商系统</p> <p class="t1">欢迎登录云芯系统</p>
<form name="loginAction"> <form name="loginAction">
<div class="inp-wrap"> <div class="inp-wrap">
<div class="arr"> <div class="arr">
<i class="icn i-1"></i> <i class="icn i-1"></i>
<b class="lineBlock emptys"></b> <b class="lineBlock emptys"></b>
</div> </div>
<input type="text" placeholder="请输入手机号/邮箱/企业用户名" name="account_name"> <input type="text" placeholder="请输入手机号" name="account_name">
</div> </div>
<div class="inp-wrap"> <div class="inp-wrap">
<div class="arr"> <div class="arr">
<i class="icn i-2"></i> <i class="icn i-2"></i>
<b class="lineBlock emptys"></b> <b class="lineBlock emptys"></b>
</div> </div>
<input type="text" placeholder="请输入登录密码" name="password"> <input type="password" placeholder="请输入登录密码" name="password">
</div> </div>
<div class="code clr"> <div class="code clr">
<div class="code-inp fl"> <div class="code-inp fl">
...@@ -78,43 +80,7 @@ ...@@ -78,43 +80,7 @@
<dl class="clr"> <dl class="clr">
<dt>字母索引:</dt> <dt>字母索引:</dt>
<dd class="zimu"> <dd class="zimu">
<a href="/ic/A.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_1')">A</a> <?= html_entity_decode($buttom_link, ENT_QUOTES, 'UTF-8') ?>
<a href="/ic/B.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_2')">B</a>
<a href="/ic/C.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_3')">C</a>
<a href="/ic/D.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_4')">D</a>
<a href="/ic/E.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_5')">E</a>
<a href="/ic/F.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_6')">F</a>
<a href="/ic/G.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_7')">G</a>
<a href="/ic/H.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_8')">H</a>
<a href="/ic/I.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_9')">I</a>
<a href="/ic/J.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_10')">J</a>
<a href="/ic/K.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_11')">K</a>
<a href="/ic/L.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_12')">L</a>
<a href="/ic/M.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_13')">M</a>
<a href="/ic/N.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_14')">N</a>
<a href="/ic/O.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_15')">O</a>
<a href="/ic/P.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_16')">P</a>
<a href="/ic/Q.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_17')">Q</a>
<a href="/ic/R.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_18')">R</a>
<a href="/ic/S.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_19')">S</a>
<a href="/ic/T.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_20')">T</a>
<a href="/ic/U.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_21')">U</a>
<a href="/ic/V.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_22')">V</a>
<a href="/ic/W.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_23')">W</a>
<a href="/ic/X.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_24')">X</a>
<a href="/ic/Y.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_25')">Y</a>
<a href="/ic/Z.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_26')">Z</a>
<a href="/ic/1.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_28')">0</a>
<a href="/ic/1.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_28')">1</a>
<a href="/ic/2.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_29')">2</a>
<a href="/ic/3.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_30')">3</a>
<a href="/ic/4.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_31')">4</a>
<a href="/ic/5.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_32')">5</a>
<a href="/ic/6.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_33')">6</a>
<a href="/ic/7.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_34')">7</a>
<a href="/ic/8.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_35')">8</a>
<a href="/ic/9.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_36')">9</a>
<a href="/ic/10.html?ptag=index-bottomlink" onclick="MtaH5.clickStat('v3_typeindex_37')">其他</a>
</dd> </dd>
</dl> </dl>
<dl class="clr"> <dl class="clr">
...@@ -184,5 +150,6 @@ ...@@ -184,5 +150,6 @@
<script type="text/javascript" src="/pc/js/layui/layui.all.js"></script> <script type="text/javascript" src="/pc/js/layui/layui.all.js"></script>
<script type="text/javascript" src="/pc/js/md5/jquery.md5.js"></script> <script type="text/javascript" src="/pc/js/md5/jquery.md5.js"></script>
<script type="text/javascript" src="/pc/js/controller/Login.js"></script> <script type="text/javascript" src="/pc/js/controller/Login.js"></script>
<script type="text/javascript" src="/pc/js/public.js"></script>
</body> </body>
</html> </html>
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 sign in to comment