添加备注编辑
This commit is contained in:
parent
0f1385d9d1
commit
766a75d709
238
pmcalendar.php
238
pmcalendar.php
@ -8,7 +8,8 @@ $isYunYing = true;
|
||||
$isYanfa = true;
|
||||
$isChanping = true;
|
||||
|
||||
function fix2($v){
|
||||
function fix2($v)
|
||||
{
|
||||
$x = '00' . $v;
|
||||
return substr($x, -2);
|
||||
}
|
||||
@ -24,6 +25,33 @@ if($act=='newevent'){
|
||||
$sql = DB::insert('calendar', $dict);
|
||||
DB::exe($sql);
|
||||
we('1');
|
||||
} else if ($act == 'edityunying') {
|
||||
$id = r('id');
|
||||
$dict = array(
|
||||
'yunying_remark' => r('content')
|
||||
);
|
||||
|
||||
$sql = DB::update('calendar', $dict, "id='{$id}'");
|
||||
DB::exe($sql);
|
||||
we('1');
|
||||
} else if ($act == 'edityanfa') {
|
||||
$id = r('id');
|
||||
$dict = array(
|
||||
'yanfa_remark' => r('content')
|
||||
);
|
||||
|
||||
$sql = DB::update('calendar', $dict, "id='{$id}'");
|
||||
DB::exe($sql);
|
||||
we('1');
|
||||
} else if ($act == 'editchanpin') {
|
||||
$id = r('id');
|
||||
$dict = array(
|
||||
'chanpin_remark' => r('content')
|
||||
);
|
||||
|
||||
$sql = DB::update('calendar', $dict, "id='{$id}'");
|
||||
DB::exe($sql);
|
||||
we('1');
|
||||
} else if ($act == 'modievent') {
|
||||
$id = r('id');
|
||||
$keys = array('start', 'end', 'game', 'allday', 'shour', 'smin', 'event', 'title');
|
||||
@ -190,8 +218,9 @@ if($act=='newevent'){
|
||||
<script src="assets/js/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<script src="assets/tmpl.js"></script>
|
||||
<style>html,body,h1{font-family:"微软雅黑" !important}</style>
|
||||
|
||||
<style>html, body, h1 {
|
||||
font-family: "微软雅黑" !important
|
||||
}</style>
|
||||
|
||||
|
||||
<!--[if !IE]> -->
|
||||
@ -242,7 +271,10 @@ if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobil
|
||||
|
||||
<div class="main-container" id="main-container">
|
||||
<script type="text/javascript">
|
||||
try{ace.settings.check('main-container' , 'fixed')}catch(e){}
|
||||
try {
|
||||
ace.settings.check('main-container', 'fixed')
|
||||
} catch (e) {
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="main-container-inner">
|
||||
@ -266,7 +298,8 @@ if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobil
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.datarepair { z-index:1000;
|
||||
.datarepair {
|
||||
z-index: 1000;
|
||||
width: 100px;
|
||||
height: 40px;
|
||||
position: relative;
|
||||
@ -277,8 +310,18 @@ if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobil
|
||||
font-size: 16px;
|
||||
display: flex;
|
||||
}
|
||||
.datarepair img { width:20px; height:20px; margin-right:5px; margin-top:3px;}
|
||||
#gameinfo{margin:15px 0}
|
||||
|
||||
.datarepair img {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-right: 5px;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
#gameinfo {
|
||||
margin: 15px 0
|
||||
}
|
||||
|
||||
#gameinfo li {
|
||||
padding: 0px 0 0 20px;
|
||||
line-height: 40px;
|
||||
@ -290,6 +333,7 @@ if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobil
|
||||
margin: 5px
|
||||
|
||||
}
|
||||
|
||||
#gameinfo li:after {
|
||||
content: '';
|
||||
display: block;
|
||||
@ -301,6 +345,7 @@ if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobil
|
||||
top: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
#gameinfo li:before {
|
||||
content: '';
|
||||
display: block;
|
||||
@ -311,6 +356,7 @@ if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobil
|
||||
left: 0px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.fc-header {
|
||||
position: relative;
|
||||
top: -40px;
|
||||
@ -324,10 +370,14 @@ if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobil
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<style>
|
||||
.fc-event{border:none}
|
||||
.data_box { display: none; }
|
||||
.fc-event {
|
||||
border: none
|
||||
}
|
||||
|
||||
.data_box {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
<div class='datarepair' id="datarepair" onclick="datarepair()">
|
||||
<img src='assets/images/xiazai.png'/> 修复数据
|
||||
@ -359,26 +409,144 @@ if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobil
|
||||
</div>
|
||||
<style>
|
||||
/* */
|
||||
.popup-bg{width: 100%; height: 100%; min-height: 100%; background-color:rgba(000,000,000,0.5); position: fixed; top:0; z-index: 1000; display: flex; display: none;}
|
||||
.yiny { width: calc(100% - 350px); height: 100%; min-height: 100%; position: fixed; top:0; z-index: 1000;}
|
||||
.popup-box {width: 350px; height: 100%; min-height:100%; background-color: #fff; position: fixed; right: 0; z-index: 1001; }
|
||||
.pop-top {width: 100%; background-color:#ececec; display: flex; padding: 15px 20px;}
|
||||
.bianji { width: 20px; height: 20px; cursor:pointer; }
|
||||
.bianji img{ width:100%; }
|
||||
.pop-title { color:#494949; font-size: 18px; margin: 0 auto; cursor:pointer; }
|
||||
.list-box { margin: 10px 20px 0 20px; border:1px solid #f2f2f2; }
|
||||
.list-title { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f2f2f2; }
|
||||
.tit { display:flex; align-items: center; font-size: 16px; color:#686868; }
|
||||
.xian { width:7px; height: 15px; background-color: #5fadff; margin-left: 10px; margin-right: 5px;}
|
||||
.cptime { font-size:12px; color:#c1c1c1; margin-right: 14px; }
|
||||
.cptext-box { border-bottom: 1px solid #f2f2f2; }
|
||||
.cptext-box textarea{ width: 100%; height: 100px; padding: 20px 14px; font-size:12px; color:#848484; border:0; resize: none; line-height: 18px;}
|
||||
.fujian { display: flex; align-items: center; font-size: 12px; color:#b8b8b8; }
|
||||
.fujian img{ width: 14px; height: 12px; margin-right: 7px; margin-left: 14px; }
|
||||
.tianjia { width: 15px; height: 15px; margin-right: 15px; }
|
||||
.fujian-box { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }
|
||||
.tianjiainp { display: none !important; }
|
||||
.fujian a { color:#61adfe; }
|
||||
.popup-bg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 100%;
|
||||
background-color: rgba(000, 000, 000, 0.5);
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.yiny {
|
||||
width: calc(100% - 350px);
|
||||
height: 100%;
|
||||
min-height: 100%;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.popup-box {
|
||||
width: 350px;
|
||||
height: 100%;
|
||||
min-height: 100%;
|
||||
background-color: #fff;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
z-index: 1001;
|
||||
}
|
||||
|
||||
.pop-top {
|
||||
width: 100%;
|
||||
background-color: #ececec;
|
||||
display: flex;
|
||||
padding: 15px 20px;
|
||||
}
|
||||
|
||||
.bianji {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bianji img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.pop-title {
|
||||
color: #494949;
|
||||
font-size: 18px;
|
||||
margin: 0 auto;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.list-box {
|
||||
margin: 10px 20px 0 20px;
|
||||
border: 1px solid #f2f2f2;
|
||||
}
|
||||
|
||||
.list-title {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 10px 0;
|
||||
border-bottom: 1px solid #f2f2f2;
|
||||
}
|
||||
|
||||
.tit {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 16px;
|
||||
color: #686868;
|
||||
}
|
||||
|
||||
.xian {
|
||||
width: 7px;
|
||||
height: 15px;
|
||||
background-color: #5fadff;
|
||||
margin-left: 10px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.cptime {
|
||||
font-size: 12px;
|
||||
color: #c1c1c1;
|
||||
margin-right: 14px;
|
||||
}
|
||||
|
||||
.cptext-box {
|
||||
border-bottom: 1px solid #f2f2f2;
|
||||
}
|
||||
|
||||
.cptext-box textarea {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
padding: 20px 14px;
|
||||
font-size: 12px;
|
||||
color: #848484;
|
||||
border: 0;
|
||||
resize: none;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.fujian {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 12px;
|
||||
color: #b8b8b8;
|
||||
}
|
||||
|
||||
.fujian img {
|
||||
width: 14px;
|
||||
height: 12px;
|
||||
margin-right: 7px;
|
||||
margin-left: 14px;
|
||||
}
|
||||
|
||||
.tianjia {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.fujian-box {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.tianjiainp {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.fujian a {
|
||||
color: #61adfe;
|
||||
}
|
||||
</style>
|
||||
<div class='popup-bg' id='popup-bg'>
|
||||
<div class="yiny" id='yiny'></div>
|
||||
@ -405,7 +573,8 @@ if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobil
|
||||
|
||||
<div style=" position: relative;display: inline-block;">
|
||||
<img class='tianjia' src='/assets/images/jiahao.png'/>
|
||||
<input name="customer_file" type="file" id="excelFile" style="position: absolute;top: 0;left: 0;right: 0;bottom: 0;z-index: 1001;opacity: 0;filter:alpha(opacity=0);">
|
||||
<input name="customer_file" type="file" id="excelFile"
|
||||
style="position: absolute;top: 0;left: 0;right: 0;bottom: 0;z-index: 1001;opacity: 0;filter:alpha(opacity=0);">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -428,7 +597,8 @@ if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobil
|
||||
|
||||
<div style=" position: relative;display: inline-block;">
|
||||
<img class='tianjia' src='/assets/images/jiahao.png'/>
|
||||
<input name="customer_file" type="file" id="excelFile2" style="position: absolute;top: 0;left: 0;right: 0;bottom: 0;z-index: 1001;opacity: 0;filter:alpha(opacity=0);">
|
||||
<input name="customer_file" type="file" id="excelFile2"
|
||||
style="position: absolute;top: 0;left: 0;right: 0;bottom: 0;z-index: 1001;opacity: 0;filter:alpha(opacity=0);">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -451,7 +621,8 @@ if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobil
|
||||
|
||||
<div style=" position: relative;display: inline-block;">
|
||||
<img class='tianjia' src='/assets/images/jiahao.png'/>
|
||||
<input name="customer_file" type="file" id="excelFile3" style="position: absolute;top: 0;left: 0;right: 0;bottom: 0;z-index: 1001;opacity: 0;filter:alpha(opacity=0);">
|
||||
<input name="customer_file" type="file" id="excelFile3"
|
||||
style="position: absolute;top: 0;left: 0;right: 0;bottom: 0;z-index: 1001;opacity: 0;filter:alpha(opacity=0);">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -510,6 +681,7 @@ if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobil
|
||||
var starttime, endtime;
|
||||
var dstr = ''
|
||||
var dict = {};
|
||||
|
||||
function onlyShowGame(o) {
|
||||
if (o.value != '') {
|
||||
$('#datarepair').hide();
|
||||
|
Loading…
Reference in New Issue
Block a user