Pārlūkot izejas kodu

优化前端页面

pengchanglu 3 gadi atpakaļ
vecāks
revīzija
53803da8e2

+ 1 - 1
application/admin/controller/pig/Codecreate.php

@@ -112,7 +112,7 @@ class Codecreate extends Backend
      */
     public function download()
     {
-        $url = 'http://pig.viicb.com/index/index/code.html?code=';
+        $url = 'http://dev.pig.viicb.com/index/index/code.html?code=';
         $ids = $params = $this->request->request("ids");
         if (!$ids) {
             $this->error('ids');

+ 1 - 0
application/index/controller/Index.php

@@ -23,6 +23,7 @@ class Index extends Frontend
     //溯源码
     public function code()
     {
+        //echo encrypt(str_pad(2, 6, '0', STR_PAD_LEFT));exit;
         $code = $this->request->request('code');
         if (!$code) {
             $this->error("CODE为空,非法访问!");

+ 1 - 1
application/index/view/index/code.html

@@ -99,7 +99,7 @@
 
             <!--菜单导航-->
             <div class="nav">
-                <a href="/index/index/company.html?id=cGlnYlIwAGVVYVFiUjED" class="animated fadeInDown">
+                <a href="/index/index/company.html?id=OQk0BDgIYlJmVmVXcGln" class="animated fadeInDown">
                     <div class="nav-img"><img src="__CDN__/assets/code/menu1.png"></div>
                     <p>协会简介</p>
                 </a>

BIN
public/assets/code/back.png


+ 1 - 1
public/assets/code/index.css

@@ -71,7 +71,7 @@ font {
 	top: 0.46rem;
 	width: 0.6rem;
 	height: 0.6rem;
-	background: url(../images/back.png) top center no-repeat;
+	background: url(../code/back.png) top center no-repeat;
 	background-size: cover;
 	margin-right: 0.5rem;
 }