first commit
This commit is contained in:
143
application/adminghd/view/login/login.html
Normal file
143
application/adminghd/view/login/login.html
Normal file
@@ -0,0 +1,143 @@
|
||||
<!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="renderer" content="webkit|ie-comp|ie-stand">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
|
||||
<meta http-equiv="Cache-Control" content="no-siteapp">
|
||||
<title>用户登录</title>
|
||||
<link rel="stylesheet" type="text/css" href="/static/adminghd/css/style.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/static/adminghd/css/login.css" />
|
||||
</head>
|
||||
<style>
|
||||
.login-top .tbb{ font-size:18px; font-weight:bold; position:absolute; bottom:0; left:195px; color:#FFD200;}
|
||||
</style>
|
||||
<body style='min-width:1235px'>
|
||||
<div style='height:100px;'></div>
|
||||
<div style='background:#e3e3e3;height:450px;width:100%;position:relative;'>
|
||||
<div style='width:350px;height:400px;background:#EDF1F5;float:right;margin-right:20%;margin-top:1.5%;box-shadow:#666 0px 0px 20px;'>
|
||||
<div class="login-top" style="padding-bottom:0;">
|
||||
<div style='color:#453A3E;margin:30px auto 10px auto;width:150px;font-size:18px;font-weight:bold;text-align:center;'>瑞莱医疗</div>
|
||||
</div>
|
||||
<div style='height:1px;width:100%;background:#DEDCDD;'>
|
||||
<div style='background:#e3e3e3;height:3px;width:80%;margin:0px auto 0 auto;'></div>
|
||||
</div>
|
||||
<form method="post" id="agent_login" name="login">
|
||||
<div class="login-content">
|
||||
<ul class="user-logn">
|
||||
<li class="user-jobnum" style='width:100%;margin-bottom:0px;'>
|
||||
<div class="li-bg error" style='width:100%;'>
|
||||
<label></label>
|
||||
<input type="text" id="username" name="username" placeholder="请输入账号" value="" validate="" validatename="工号" class="phonecode" style='width:83%;padding-right:0px;background:#EDF1F5;height:40px;border:2px solid balck;border-radius:4px;'/>
|
||||
<span id="checkusername" class="warning"></span>
|
||||
</div>
|
||||
</li>
|
||||
<li class="pwd" style='width:100%;margin-bottom:0px;'>
|
||||
<div class="li-bg " style='width:100%;'>
|
||||
<label></label>
|
||||
<input type="password" style="width: 0;height: 0;border: none;" name="">
|
||||
<input type="password" autocomplete="off" id="admin_password" name="password" class="pwd" placeholder="请输入密码" validate="" validatename="密码" style='border:2px solid balck;width:83%;padding-right:0px;background:#EDF1F5;height:40px;border-radius:4px;'>
|
||||
<span id="checkpassword" class="warning"></span>
|
||||
</div>
|
||||
</li>
|
||||
<li style="margin-top:40px;width:100%;">
|
||||
<button type="submit" name="dologinbtn" style='background:#afaeb2;border-radius:4px;height:35px;width:100%;' class="actLogin" onclick="return checklogin(this.form);">立即登录</button>
|
||||
<input type="hidden" name="loginsubmit" value="true" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div id="cover" class="modal">身份获取中。。。</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<script type="text/javascript" src="/static/adminghd/js/jquery.js"></script>
|
||||
<script>
|
||||
var _login_time = -1;
|
||||
var _user_type = '';
|
||||
|
||||
function checklogin(form){
|
||||
var username = $('username').value;
|
||||
var pwd = $('password').value;
|
||||
var phonenumFlg = true;
|
||||
var pwdFlg = true;
|
||||
//var codeFlg = true;
|
||||
if(form.username.value == null || form.username.value == ""){
|
||||
$('#checkusername').empty();
|
||||
$('#checkusername').append(' 账号不能为空!');
|
||||
$('#checkusername').addClass("warning");
|
||||
phonenumFlg = false;
|
||||
return phonenumFlg;
|
||||
}else{
|
||||
$('#checkusername').empty();
|
||||
// $('#checkusername').append('<img src="/images/base/check_right.gif" width="13" height="13">');
|
||||
$('#checkusername').addClass("warning");
|
||||
}
|
||||
if(form.password.value == null || form.password.value == ""){
|
||||
$('#checkpassword').empty();
|
||||
$('#checkpassword').append(' 密码不能为空!');
|
||||
$('#checkpassword').addClass("warning");
|
||||
pwdFlg = false;
|
||||
return pwdFlg;
|
||||
}else{
|
||||
$('#checkpassword').empty();
|
||||
// $('#checkpassword').append('<img src="/images/base/check_right.gif" width="13" height="13">');
|
||||
$('#checkpassword').addClass("warning");
|
||||
}
|
||||
if(phonenumFlg == true && pwdFlg == true){
|
||||
// alert(11);
|
||||
$("#agent_login").submit(function(event) {
|
||||
event.preventDefault(); // 阻止表单默认提交行为
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/adminghd/Login/login", // 服务器端脚本的 URL
|
||||
data: $(this).serialize(), // 自动序列化表单元素为字符串
|
||||
success: function(data) {
|
||||
if(data.status){
|
||||
//alert(data.msg);
|
||||
location.replace("/adminghd/login");
|
||||
// location.reload();
|
||||
} else {
|
||||
alert(data.msg);
|
||||
return ;
|
||||
}
|
||||
console.log(response); // 处理服务器响应
|
||||
},
|
||||
error: function(jqXHR, textStatus, errorThrown) {
|
||||
console.error("Error submitting form: " + textStatus);
|
||||
}
|
||||
});
|
||||
});
|
||||
// $('#agent_login').submit();
|
||||
// ajaxpost('registerform', 'register');
|
||||
// $('#agent_login').ajaxSubmit({
|
||||
/* $.ajax({
|
||||
url:'/admin/Login/login',
|
||||
dataType:'json',
|
||||
type:'post',
|
||||
data:{
|
||||
"username":username,
|
||||
"password":pwd
|
||||
},
|
||||
success:function(data){
|
||||
alert(222);
|
||||
alert(data.msg);
|
||||
return false;
|
||||
if(data.status){
|
||||
alert(data.msg);
|
||||
// $(form).resetForm();
|
||||
} else {
|
||||
alert(data.msg);
|
||||
return ;
|
||||
}
|
||||
}
|
||||
}) */
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
28
application/adminghd/view/login/logoutJump.html
Normal file
28
application/adminghd/view/login/logoutJump.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="renderer" content="webkit|ie-comp|ie-stand">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
|
||||
<meta http-equiv="Cache-Control" content="no-siteapp">
|
||||
<title></title>
|
||||
|
||||
<link rel="stylesheet" href="/static/adminghd/layui/css/layui.css?t=1554901097999" media="all">
|
||||
<link rel="stylesheet" type="text/css" href="/static/adminghd/css/nav.css" />
|
||||
|
||||
|
||||
</head>
|
||||
<body class="parent_color">
|
||||
|
||||
|
||||
|
||||
<script src="/static/adminghd/js/jquery.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="/static/adminghd/layui/layui.all.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script>
|
||||
window.onload = function() {
|
||||
top.location.href = '/adminghd/login';
|
||||
};
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
58
application/adminghd/view/login/nav.html
Normal file
58
application/adminghd/view/login/nav.html
Normal file
@@ -0,0 +1,58 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="renderer" content="webkit|ie-comp|ie-stand">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
|
||||
<meta http-equiv="Cache-Control" content="no-siteapp">
|
||||
<title>瑞莱医疗后台</title>
|
||||
|
||||
<link rel="stylesheet" href="/static/adminghd/layui/css/layui.css?t=1554901097999" media="all">
|
||||
<link rel="stylesheet" type="text/css" href="/static/adminghd/css/nav.css" />
|
||||
<style>
|
||||
iframe{
|
||||
/*border: 1px solid red;*/
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body data-id="0" class="parent_color">
|
||||
|
||||
|
||||
<!--左侧导航-->
|
||||
<!-- <span class="unfold" id="packBtn">
|
||||
<i class="curr"></i>
|
||||
<b>全部展开</b>
|
||||
</span> -->
|
||||
<div class="layui-side layui-bg-black">
|
||||
<div class="layui-side-scroll">
|
||||
<ul id="nav" class="layui-nav layui-nav-tree site-demo-nav" lay-filter="demo" style="margin-right: 10px;">
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--顶部-->
|
||||
<div class="top_right">
|
||||
<a href="javascript:void(0)" class="logo">
|
||||
<!-- <img id="packBtn" src="{S_URL}/templates/adminfactory/img/logo.png">-->
|
||||
</a>
|
||||
<b></b>
|
||||
<div class="user_right">
|
||||
<a href="javascript:;" id="user" style="position: absolute;left: 100px;top: 4px;font-size: 16px;"></a>
|
||||
<span id="inform">
|
||||
<!-- 您好!工厂
|
||||
<img id="u_headimg" src="{S_URL}/templates/adminfactory/img/logo.png" alt="">
|
||||
<i>荣麟</i> -->
|
||||
</span>
|
||||
<b class="out" id="sign_out">退出</b>
|
||||
</div>
|
||||
</div>
|
||||
<div class="main_content">
|
||||
<iframe id="iframeId" src="" frameborder="0"></iframe>
|
||||
</div>
|
||||
|
||||
<script src="/static/adminghd/js/jquery.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="/static/adminghd/layui/layui.all.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="/static/adminghd/js/nav.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
64
application/adminghd/view/wechatinfro/userList.html
Normal file
64
application/adminghd/view/wechatinfro/userList.html
Normal file
@@ -0,0 +1,64 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="renderer" content="webkit|ie-comp|ie-stand">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
|
||||
<meta http-equiv="Cache-Control" content="no-siteapp">
|
||||
|
||||
<link rel="stylesheet" href="/static/adminghd/layui/css/layui.css">
|
||||
<link rel="stylesheet" href="/static/adminghd/css/index.css"/>
|
||||
<link rel="stylesheet" href="/static/adminghd/css/activity.css"/>
|
||||
<style type="text/css">
|
||||
.layui-table-cell{
|
||||
height:auto!important;
|
||||
white-space:normal;
|
||||
}
|
||||
</style>
|
||||
<script src="/static/adminghd/js/jquery.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="/static/adminghd/js/common.js" type="text/javascript" charset="utf-8"></script>
|
||||
<title>用户管理</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="main">
|
||||
<ul class="layui-nav" lay-filter="">
|
||||
<li class="layui-nav-item layui-this"><a href="#">用户注册列表</a></li>
|
||||
</ul>
|
||||
<div class="main_top">
|
||||
<div class="head">
|
||||
<form class="layui-form" action="">
|
||||
<div class="layui-form-item">
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">搜索:</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" id="searchBox" name="title" lay-verify="title" autocomplete="off" placeholder="请输入用户昵称" class="layui-input">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<button id="search" type="button" class="layui-btn layui-btn-normal">查询</button>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="content">
|
||||
<table class="layui-hide" id="test" lay-filter="test"></table>
|
||||
<script type="text/html" id="imgTpl">
|
||||
<!--图片设置 -->
|
||||
<img src="{{ d.headimg }}" width="50px" height="50px">
|
||||
</script>
|
||||
<!-- <div class="table_page" id="page"></div> -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<script src="/static/adminghd/layui/layui.all.js" type="text/javascript" charset="utf-8"></script>
|
||||
|
||||
<script src="/static/adminghd/js/wechatinfro/userList.js" type="text/javascript" charset="utf-8"></script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
60
application/adminghd/view/wechatinfro/wechatRecordList.html
Normal file
60
application/adminghd/view/wechatinfro/wechatRecordList.html
Normal file
@@ -0,0 +1,60 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="renderer" content="webkit|ie-comp|ie-stand">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
|
||||
<meta http-equiv="Cache-Control" content="no-siteapp">
|
||||
|
||||
<link rel="stylesheet" href="/static/adminghd/layui/css/layui.css">
|
||||
<link rel="stylesheet" href="/static/adminghd/css/index.css"/>
|
||||
<link rel="stylesheet" href="/static/adminghd/css/activity.css"/>
|
||||
<style type="text/css">
|
||||
.layui-table-cell{
|
||||
height:auto!important;
|
||||
white-space:normal;
|
||||
}
|
||||
</style>
|
||||
<script src="/static/adminghd/js/jquery.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="/static/adminghd/js/common.js" type="text/javascript" charset="utf-8"></script>
|
||||
<title>计算结果</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="main">
|
||||
<ul class="layui-nav" lay-filter="">
|
||||
<li class="layui-nav-item layui-this"><a href="#">计算结果列表</a></li>
|
||||
</ul>
|
||||
<div class="main_top">
|
||||
<div class="head">
|
||||
<form class="layui-form" action="">
|
||||
<div class="layui-form-item">
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">搜索:</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" id="searchBox" name="title" lay-verify="title" autocomplete="off" placeholder="请输入姓名" class="layui-input">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<button id="search" type="button" class="layui-btn layui-btn-normal">查询</button>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="content">
|
||||
<table class="layui-hide" id="test" lay-filter="test"></table>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<script src="/static/adminghd/layui/layui.all.js" type="text/javascript" charset="utf-8"></script>
|
||||
|
||||
<script src="/static/adminghd/js/wechatinfro/wechatRecordList.js" type="text/javascript" charset="utf-8"></script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
69
application/adminghd/view/wechatset/realTimeInfo.html
Normal file
69
application/adminghd/view/wechatset/realTimeInfo.html
Normal file
@@ -0,0 +1,69 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="renderer" content="webkit|ie-comp|ie-stand">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
|
||||
<meta http-equiv="Cache-Control" content="no-siteapp">
|
||||
|
||||
<link rel="stylesheet" href="/static/adminghd/layui/css/layui.css">
|
||||
<link rel="stylesheet" href="/static/adminghd/css/index.css"/>
|
||||
<link rel="stylesheet" href="/static/adminghd/css/activity.css"/>
|
||||
<style type="text/css">
|
||||
.layui-table-cell{
|
||||
height:auto!important;
|
||||
white-space:normal;
|
||||
}
|
||||
</style>
|
||||
<script src="/static/adminghd/js/jquery.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="/static/adminghd/js/common.js" type="text/javascript" charset="utf-8"></script>
|
||||
<title>用户管理</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="main">
|
||||
<ul class="layui-nav" lay-filter="">
|
||||
<li class="layui-nav-item layui-this"><a href="#">首页资讯列表</a></li>
|
||||
</ul>
|
||||
<div class="main_top">
|
||||
<div class="head">
|
||||
<form class="layui-form" action="">
|
||||
<div class="layui-form-item">
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">搜索:</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" id="searchBox" name="title" lay-verify="title" autocomplete="off" placeholder="请输入标题" class="layui-input">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<button id="search" type="button" class="layui-btn layui-btn-normal">查询</button>
|
||||
<div class="head_right">
|
||||
<i class="layui-btn" id="add" onclick="skip()">+ 新增</i>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="content">
|
||||
<table class="layui-hide" id="test" lay-filter="test"></table>
|
||||
<script type="text/html" id="barDemo">
|
||||
<a class="layui-btn layui-btn-xs tab_edit" lay-event="edit">编辑</a>
|
||||
<a class="layui-btn layui-btn-danger layui-btn-xs tab_delete" lay-event="del">删除</a>
|
||||
</script>
|
||||
<script type="text/html" id="imgTpl">
|
||||
<!--图片设置 -->
|
||||
<img src="{{ d.thumbnail }}" width="50px" height="50px">
|
||||
</script>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<script src="/static/adminghd/layui/layui.all.js" type="text/javascript" charset="utf-8"></script>
|
||||
|
||||
<script src="/static/adminghd/js/wechatset/wechatRealTimeInfoList.js" type="text/javascript" charset="utf-8"></script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
319
application/adminghd/view/wechatset/realTimeInfoAdd.html
Normal file
319
application/adminghd/view/wechatset/realTimeInfoAdd.html
Normal file
@@ -0,0 +1,319 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="renderer" content="webkit|ie-comp|ie-stand">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
|
||||
<meta http-equiv="Cache-Control" content="no-siteapp">
|
||||
<title>新建编辑</title>
|
||||
<link rel="stylesheet" href="/static/adminghd/layui/css/layui.css">
|
||||
<link rel="stylesheet" href="/static/adminghd/css/index.css"/>
|
||||
<link rel="stylesheet" href="/static/adminghd/css/activity.css"/>
|
||||
<style>
|
||||
.upload_pic_left .poster{
|
||||
width: 112px;
|
||||
height: 112px;
|
||||
position: relative;
|
||||
}
|
||||
.popup >div{
|
||||
display: none;
|
||||
width: 400px;
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
top: 46%;
|
||||
left: 50%;
|
||||
transform:translate(-50%,-50%);
|
||||
-ms-transform:translate(-50%,-50%); /* IE 9 */
|
||||
-webkit-transform:translate(-50%,-50%); /* Safari and Chrome */
|
||||
text-align: center;
|
||||
}
|
||||
.popup >div h3{
|
||||
padding: 7px 0;
|
||||
border-bottom: 1px solid #A4A4A4;
|
||||
}
|
||||
.popup >div input{
|
||||
padding-left: 10px;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #bfbfbf;
|
||||
width: 210px;
|
||||
height: 34px;
|
||||
margin: 8px 0 ;
|
||||
}
|
||||
.activity_time {
|
||||
padding: 0px;
|
||||
}
|
||||
.popup .btn{
|
||||
margin: 15px 0 25px 0;
|
||||
padding: 0 10px;
|
||||
display: flex;
|
||||
display: -webkit-flex; /* Safari */
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
justify-content: space-around;
|
||||
-webkit-justify-content: space-around;
|
||||
-moz-justify-content: space-around;
|
||||
-ms-justify-content: space-around;
|
||||
}
|
||||
.popup .btn a {
|
||||
float: left;
|
||||
width: 130px;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
color: #333333;
|
||||
background: #fff;
|
||||
border: #f8c619 solid 1px;
|
||||
}
|
||||
.popup p .curr{
|
||||
background: #f8c619;
|
||||
}
|
||||
.upload_pic_left{
|
||||
width: 815px;
|
||||
}
|
||||
.title_content .title {
|
||||
padding-left: 13px;
|
||||
font-size: 14px;
|
||||
margin: 10px;
|
||||
}
|
||||
.upload_pic_left .title_content input {
|
||||
width: 700px;
|
||||
border: 1px solid #bfbfbf;
|
||||
height: 42px;
|
||||
line-height: 42px;
|
||||
margin-left: 27px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
.upload_pic_left .title_content {
|
||||
position: relative;
|
||||
height: 70px;
|
||||
}
|
||||
.upload_pic_left .title_content span {
|
||||
left: 713px;
|
||||
bottom: 10px;
|
||||
position: absolute;
|
||||
right: 43px;
|
||||
bottom: 0;
|
||||
color: #bfbfbf;
|
||||
}
|
||||
.upload_pic_left .upload_pic{
|
||||
margin-left: 27px;
|
||||
}
|
||||
.product_table {
|
||||
min-width: 1570px;
|
||||
}
|
||||
.upload_pic{
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.wrap {
|
||||
background: none;
|
||||
}
|
||||
.upload_pic_left{
|
||||
height: auto;
|
||||
}
|
||||
.activity_list_add{
|
||||
overflow: visible;
|
||||
}
|
||||
.poster {
|
||||
width: 347px;
|
||||
height: 180px;
|
||||
position: relative;
|
||||
}
|
||||
.upload_pic {
|
||||
width: 284px;
|
||||
height: 176px;
|
||||
border: 1px solid #bfbfbf;
|
||||
position: relative;
|
||||
font-size: 80px;
|
||||
color: #bfbfbf;
|
||||
background: url(/adminghd/img/upload.png) no-repeat;
|
||||
background-size: 60px;
|
||||
background-position: center;
|
||||
cursor: pointer;
|
||||
margin-bottom: 30px;
|
||||
margin-left: 27px;
|
||||
display: inline-block;
|
||||
}
|
||||
.poster img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.layout {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0,0,0,0.6);
|
||||
z-index: 999;
|
||||
display: none;
|
||||
overflow: auto;
|
||||
}
|
||||
.popup >div {
|
||||
display: none;
|
||||
width: 400px;
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
top: 46%;
|
||||
left: 50%;
|
||||
transform: translate(-50%,-50%);
|
||||
-ms-transform: translate(-50%,-50%);
|
||||
-webkit-transform: translate(-50%,-50%);
|
||||
text-align: center;
|
||||
}
|
||||
.popup {
|
||||
width: 544px;
|
||||
}
|
||||
.popup >div h3 {
|
||||
padding: 7px 0;
|
||||
border-bottom: 1px solid #A4A4A4;
|
||||
}
|
||||
.popup .btn {
|
||||
margin: 15px 0 25px 0;
|
||||
padding: 0 10px;
|
||||
display: flex;
|
||||
display: -webkit-flex;
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
justify-content: space-around;
|
||||
-webkit-justify-content: space-around;
|
||||
-moz-justify-content: space-around;
|
||||
-ms-justify-content: space-around;
|
||||
}
|
||||
.popup .btn a {
|
||||
float: left;
|
||||
width: 130px;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
color: #333333;
|
||||
background: #fff;
|
||||
border: #f8c619 solid 1px;
|
||||
}
|
||||
.popup p .curr {
|
||||
background: #f8c619;
|
||||
}
|
||||
.popup .activity_product {
|
||||
width: 1239px;
|
||||
height: 640px;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
<ul class="layui-nav" lay-filter="">
|
||||
<span onclick="lists()">< 返回</span>
|
||||
<li class="layui-nav-item layui-this"><a href="#">新建活动</a></li>
|
||||
</ul>
|
||||
<div class="main_top">
|
||||
<div class="head">
|
||||
|
||||
<div class="head_right">
|
||||
<i id="save" class="layui-btn yellow" >保存</i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="product_table activity_list_add" >
|
||||
<!-- 左侧上传图片-->
|
||||
<div class="upload_pic_left">
|
||||
<p class="title">
|
||||
<i>*</i>
|
||||
请输入标题:
|
||||
</p>
|
||||
<div class="title_content">
|
||||
<input type="text" id="title" name="title" placeholder="建议标题字数在45个字以内"/>
|
||||
<span>
|
||||
<i class="i_leng">0</i>/
|
||||
<em>30</em>
|
||||
</span>
|
||||
</div>
|
||||
<p class="title">
|
||||
<i>*</i>
|
||||
请输入介绍:
|
||||
</p>
|
||||
<div class="title_content">
|
||||
<input type="text" id="excerpt_plain" name="title" placeholder="请输入资讯介绍"/>
|
||||
</div>
|
||||
<p class="title">
|
||||
<i>*</i>
|
||||
请输入资讯跳转链接:
|
||||
</p>
|
||||
<div class="title_content">
|
||||
<input type="text" id="url" name="title" placeholder="请输入资讯跳转链接"/>
|
||||
</div>
|
||||
<p class="title">
|
||||
<i>*</i>请上传资讯图片:
|
||||
<span></span>
|
||||
</p>
|
||||
<div class="img_cont" id="img_cont">
|
||||
<div class="upload_pic poster" id="poster">
|
||||
<img src="" alt="" id="Upload_img2"/>
|
||||
<input id="goodsUpload" hidden type="file" name="file2" />
|
||||
<!-- <i>①</i> -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="layout popup" >
|
||||
<!-- 特价商品 -->
|
||||
<div id="specials" class="activity_product">
|
||||
<p class="btn">
|
||||
<a href="#" id="special_cancel" class="btncancel">取消</a>
|
||||
<a href="#" id="special_deter" class="curr" >确定</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<script src="/static/adminghd/js/jquery.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="/static/adminghd/layui/layui.all.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="/static/adminghd/js/common.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="/static/adminghd/js/wechatset/wechatRealTimeInfoAdd.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script>
|
||||
layui.use('upload', function(){
|
||||
var upload = layui.upload;
|
||||
|
||||
//图片上传接口
|
||||
upload.render({
|
||||
elem: '#Upload_img2'
|
||||
,url: '/adminghd/Files/uploadImg' //改成你的图片上传接口
|
||||
,multiple: true
|
||||
,before: function(obj){
|
||||
//do something
|
||||
}
|
||||
,done: function(res){
|
||||
//上传完毕回调
|
||||
if(res.status == 0){ //假设成功返回的code为0
|
||||
$('#Upload_img2').attr("src",res.file_path);
|
||||
//do something
|
||||
}
|
||||
}
|
||||
,error: function(){
|
||||
//请求出错处理
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
320
application/adminghd/view/wechatset/realTimeInfoUpdate.html
Normal file
320
application/adminghd/view/wechatset/realTimeInfoUpdate.html
Normal file
@@ -0,0 +1,320 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="renderer" content="webkit|ie-comp|ie-stand">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
|
||||
<meta http-equiv="Cache-Control" content="no-siteapp">
|
||||
<title>新建编辑</title>
|
||||
<link rel="stylesheet" href="/static/adminghd/layui/css/layui.css">
|
||||
<link rel="stylesheet" href="/static/adminghd/css/index.css"/>
|
||||
<link rel="stylesheet" href="/static/adminghd/css/activity.css"/>
|
||||
<style>
|
||||
|
||||
.upload_pic_left .poster{
|
||||
width: 112px;
|
||||
height: 112px;
|
||||
position: relative;
|
||||
}
|
||||
.popup >div{
|
||||
display: none;
|
||||
width: 400px;
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
top: 46%;
|
||||
left: 50%;
|
||||
transform:translate(-50%,-50%);
|
||||
-ms-transform:translate(-50%,-50%); /* IE 9 */
|
||||
-webkit-transform:translate(-50%,-50%); /* Safari and Chrome */
|
||||
text-align: center;
|
||||
}
|
||||
.popup >div h3{
|
||||
padding: 7px 0;
|
||||
border-bottom: 1px solid #A4A4A4;
|
||||
}
|
||||
.popup >div input{
|
||||
padding-left: 10px;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #bfbfbf;
|
||||
width: 210px;
|
||||
height: 34px;
|
||||
margin: 8px 0 ;
|
||||
}
|
||||
.activity_time {
|
||||
padding: 0px;
|
||||
}
|
||||
.popup .btn{
|
||||
margin: 15px 0 25px 0;
|
||||
padding: 0 10px;
|
||||
display: flex;
|
||||
display: -webkit-flex; /* Safari */
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
justify-content: space-around;
|
||||
-webkit-justify-content: space-around;
|
||||
-moz-justify-content: space-around;
|
||||
-ms-justify-content: space-around;
|
||||
}
|
||||
.popup .btn a {
|
||||
float: left;
|
||||
width: 130px;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
color: #333333;
|
||||
background: #fff;
|
||||
border: #f8c619 solid 1px;
|
||||
}
|
||||
.popup p .curr{
|
||||
background: #f8c619;
|
||||
}
|
||||
.upload_pic_left{
|
||||
width: 815px;
|
||||
}
|
||||
.title_content .title {
|
||||
padding-left: 13px;
|
||||
font-size: 14px;
|
||||
margin: 10px;
|
||||
}
|
||||
.upload_pic_left .title_content input {
|
||||
width: 700px;
|
||||
border: 1px solid #bfbfbf;
|
||||
height: 42px;
|
||||
line-height: 42px;
|
||||
margin-left: 27px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
.upload_pic_left .title_content {
|
||||
position: relative;
|
||||
height: 70px;
|
||||
}
|
||||
.upload_pic_left .title_content span {
|
||||
left: 713px;
|
||||
bottom: 10px;
|
||||
position: absolute;
|
||||
right: 43px;
|
||||
bottom: 0;
|
||||
color: #bfbfbf;
|
||||
}
|
||||
.upload_pic_left .upload_pic{
|
||||
margin-left: 27px;
|
||||
}
|
||||
.product_table {
|
||||
min-width: 1570px;
|
||||
}
|
||||
.upload_pic{
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.wrap {
|
||||
background: none;
|
||||
}
|
||||
.upload_pic_left{
|
||||
height: auto;
|
||||
}
|
||||
.activity_list_add{
|
||||
overflow: visible;
|
||||
}
|
||||
.poster {
|
||||
width: 347px;
|
||||
height: 180px;
|
||||
position: relative;
|
||||
}
|
||||
.upload_pic {
|
||||
width: 284px;
|
||||
height: 176px;
|
||||
border: 1px solid #bfbfbf;
|
||||
position: relative;
|
||||
font-size: 80px;
|
||||
color: #bfbfbf;
|
||||
background: url(/adminghd/img/upload.png) no-repeat;
|
||||
background-size: 60px;
|
||||
background-position: center;
|
||||
cursor: pointer;
|
||||
margin-bottom: 30px;
|
||||
margin-left: 27px;
|
||||
display: inline-block;
|
||||
}
|
||||
.poster img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.layout {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0,0,0,0.6);
|
||||
z-index: 999;
|
||||
display: none;
|
||||
overflow: auto;
|
||||
}
|
||||
.popup >div {
|
||||
display: none;
|
||||
width: 400px;
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
top: 46%;
|
||||
left: 50%;
|
||||
transform: translate(-50%,-50%);
|
||||
-ms-transform: translate(-50%,-50%);
|
||||
-webkit-transform: translate(-50%,-50%);
|
||||
text-align: center;
|
||||
}
|
||||
.popup {
|
||||
width: 544px;
|
||||
}
|
||||
.popup >div h3 {
|
||||
padding: 7px 0;
|
||||
border-bottom: 1px solid #A4A4A4;
|
||||
}
|
||||
.popup .btn {
|
||||
margin: 15px 0 25px 0;
|
||||
padding: 0 10px;
|
||||
display: flex;
|
||||
display: -webkit-flex;
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
justify-content: space-around;
|
||||
-webkit-justify-content: space-around;
|
||||
-moz-justify-content: space-around;
|
||||
-ms-justify-content: space-around;
|
||||
}
|
||||
.popup .btn a {
|
||||
float: left;
|
||||
width: 130px;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
color: #333333;
|
||||
background: #fff;
|
||||
border: #f8c619 solid 1px;
|
||||
}
|
||||
.popup p .curr {
|
||||
background: #f8c619;
|
||||
}
|
||||
.popup .activity_product {
|
||||
width: 1239px;
|
||||
height: 640px;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
<body data-idd="71">
|
||||
<div class="main">
|
||||
<ul class="layui-nav" lay-filter="">
|
||||
<span onclick="lists()">< 返回</span>
|
||||
<li class="layui-nav-item layui-this"><a href="#">新建活动</a></li>
|
||||
</ul>
|
||||
<div class="main_top">
|
||||
<div class="head">
|
||||
<div class="head_right">
|
||||
<i id="save" class="layui-btn yellow" >保存</i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="product_table activity_list_add" >
|
||||
<input type="hidden" id="id" name="title" value="{$id}"/>
|
||||
<!-- 左侧上传图片-->
|
||||
<div class="upload_pic_left">
|
||||
<p class="title">
|
||||
<i>*</i>
|
||||
请输入标题:
|
||||
</p>
|
||||
<div class="title_content">
|
||||
<input type="text" id="title" name="title" placeholder="建议标题字数在45个字以内"/>
|
||||
<span>
|
||||
<i class="i_leng">0</i>/
|
||||
<em>30</em>
|
||||
</span>
|
||||
</div>
|
||||
<p class="title">
|
||||
<i>*</i>
|
||||
请输入介绍:
|
||||
</p>
|
||||
<div class="title_content">
|
||||
<input type="text" id="excerpt_plain" name="title" placeholder="请输入资讯介绍"/>
|
||||
</div>
|
||||
<p class="title">
|
||||
<i>*</i>
|
||||
请输入资讯跳转链接:
|
||||
</p>
|
||||
<div class="title_content">
|
||||
<input type="text" id="url" name="title" placeholder="请输入资讯跳转链接"/>
|
||||
</div>
|
||||
<p class="title">
|
||||
<i>*</i>请上传资讯图片:
|
||||
<span></span>
|
||||
</p>
|
||||
<div class="img_cont" id="img_cont">
|
||||
<div class="upload_pic poster" id="poster">
|
||||
<img src="" alt="" id="Upload_img2"/>
|
||||
<input id="goodsUpload" hidden type="file" name="file2" />
|
||||
<!-- <i>①</i> -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="layout popup" >
|
||||
<!-- 特价商品 -->
|
||||
<div id="specials" class="activity_product">
|
||||
<p class="btn">
|
||||
<a href="#" id="special_cancel" class="btncancel">取消</a>
|
||||
<a href="#" id="special_deter" class="curr" >确定</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<script src="/static/adminghd/js/jquery.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="/static/adminghd/layui/layui.all.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="/static/adminghd/js/common.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="/static/adminghd/js/wechatset/wechatRealTimeInfoUpdate.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script>
|
||||
layui.use('upload', function(){
|
||||
var upload = layui.upload;
|
||||
|
||||
//图片上传接口
|
||||
upload.render({
|
||||
elem: '#Upload_img2'
|
||||
,url: '/adminghd/Files/uploadImg' //改成你的图片上传接口
|
||||
,multiple: true
|
||||
,before: function(obj){
|
||||
//do something
|
||||
}
|
||||
,done: function(res){
|
||||
//上传完毕回调
|
||||
if(res.status == 0){ //假设成功返回的code为0
|
||||
$('#Upload_img2').attr("src",res.file_path);
|
||||
//do something
|
||||
}
|
||||
}
|
||||
,error: function(){
|
||||
//请求出错处理
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user