修改bug

master
ELF 5 years ago
parent e96bd42ef6
commit bc92414aab

@ -321,8 +321,11 @@ class SafeController extends BaseController{
public function safeDocument() { public function safeDocument() {
$time = time(); $time = time();
$endTime = date('Y-m-d',strtotime('+1 year')); $endTime = date('Y-m-d',strtotime('+1 year'));
$loginPromote = $this->getLoginPromote();
$sn = date('Ymd' . $loginPromote['create_time']) . '-' . strtoupper(substr(md5($loginPromote['id']), 8, 16));
$this->assign('time',date('Y-m-d',$time)); $this->assign('time',date('Y-m-d',$time));
$this->assign('endTime',$endTime); $this->assign('endTime',$endTime);
$this->assign('sn',$sn);
$this->display(); $this->display();
} }
} }

@ -308,6 +308,27 @@ var gameId = $('#game-select').val();
} }
var promoteUrl = "{:U('Query/getSubPromotes')}" var promoteUrl = "{:U('Query/getSubPromotes')}"
initPromoteSelect(promoteUrl) initPromoteSelect(promoteUrl)
$('.keywords_information .keywords_mark').click(function() {
var that = $(this).siblings().addClass('active');
console.log(that);
$(document).click(function(event) {
var e = event || window.event;
var target= $(e.target);
if (!target.hasClass('keywords_information') && target.closest('.keywords_information').length<1) {
that.removeClass('active');
}
});
that.find('.keywords_close').click(function() {
that.removeClass('active');
return false;
});
return false;
});
</script> </script>
</block> </block>

@ -50,7 +50,7 @@ and open the template in the editor.
<div class="title"><h2>游戏推广服务框架协议</h1></div> <div class="title"><h2>游戏推广服务框架协议</h1></div>
<div class="text"> <div class="text">
<p>本协议由以下双方于<span>{$time}</span>签订:</p> <p>本协议由以下双方于<span>{$time}</span>签订:</p>
<p>合同编号:WM-SY-XYN20190001</p> <p>合同编号:{$sn}</p>
<p style="font-weight: bold">甲方:海南万盟天下科技有限公司</p> <p style="font-weight: bold">甲方:海南万盟天下科技有限公司</p>
<p>注册地址海南省海口市南海大道26号海口国家高新区创业孵化中心A楼5层A1-1268室</p> <p>注册地址海南省海口市南海大道26号海口国家高新区创业孵化中心A楼5层A1-1268室</p>
<p>联系电话13067391751</p> <p>联系电话13067391751</p>

Loading…
Cancel
Save