diff --git a/Application/Home/Controller/SafeController.class.php b/Application/Home/Controller/SafeController.class.php index c92560c71..1fa30b410 100644 --- a/Application/Home/Controller/SafeController.class.php +++ b/Application/Home/Controller/SafeController.class.php @@ -321,8 +321,11 @@ class SafeController extends BaseController{ public function safeDocument() { $time = time(); $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('endTime',$endTime); + $this->assign('sn',$sn); $this->display(); } } \ No newline at end of file diff --git a/Application/Home/View/default/Query/arpu.html b/Application/Home/View/default/Query/arpu.html index 172075d8b..2f198a438 100644 --- a/Application/Home/View/default/Query/arpu.html +++ b/Application/Home/View/default/Query/arpu.html @@ -308,6 +308,27 @@ var gameId = $('#game-select').val(); } var promoteUrl = "{:U('Query/getSubPromotes')}" 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; + }); diff --git a/Application/Home/View/default/Safe/safeDocument.html b/Application/Home/View/default/Safe/safeDocument.html index b40b7da86..9a0b21d5a 100644 --- a/Application/Home/View/default/Safe/safeDocument.html +++ b/Application/Home/View/default/Safe/safeDocument.html @@ -50,7 +50,7 @@ and open the template in the editor.

游戏推广服务框架协议

本协议由以下双方于{$time}签订:

-

合同编号:WM-SY-XYN20190001

+

合同编号:{$sn}

甲方:海南万盟天下科技有限公司

注册地址:海南省海口市南海大道26号海口国家高新区创业孵化中心A楼5层A1-1268室

联系电话:13067391751