Authored by 周少峰

add entry style and dev api url

@@ -70,19 +70,21 @@ @@ -70,19 +70,21 @@
70 background: rgba(200,200,200,.1)!important; 70 background: rgba(200,200,200,.1)!important;
71 } 71 }
72 } 72 }
  73 +
73 .students-entry { 74 .students-entry {
74 display: block; 75 display: block;
75 - width: 150px;  
76 - height: 50px;  
77 - line-height: 50px;  
78 - border-top-left-radius: 50px;  
79 - border-bottom-left-radius: 50px; 76 + width: 100px;
  77 + height: 40px;
  78 + line-height: 40px;
  79 + border-top-left-radius: 40px;
  80 + border-bottom-left-radius: 40px;
80 background: #d0021b; 81 background: #d0021b;
81 color: #ffffff; 82 color: #ffffff;
82 padding-left: 20px; 83 padding-left: 20px;
83 position: absolute; 84 position: absolute;
84 top: 20px; 85 top: 20px;
85 right: 0px; 86 right: 0px;
  87 + font-size: 24px;
86 } 88 }
87 } 89 }
88 90
@@ -10,11 +10,10 @@ @@ -10,11 +10,10 @@
10 {{/vip_info}} 10 {{/vip_info}}
11 <div class="iconfont more-icon tap-hightlight">&#xe604;</div> 11 <div class="iconfont more-icon tap-hightlight">&#xe604;</div>
12 </a> 12 </a>
13 -  
14 {{#if showEntry}} 13 {{#if showEntry}}
15 - <a class="students-entry" href="###">学生认证</a>  
16 - {{/if }}  
17 - 14 + <a class="students-entry" href="###">学生认证</a>
  15 + {{/if}}
  16 +
18 {{/isLogin}} 17 {{/isLogin}}
19 {{^isLogin}} 18 {{^isLogin}}
20 <div class="user-info"> 19 <div class="user-info">
@@ -11,9 +11,8 @@ define('APPLICATION_PATH', dirname(__DIR__)); // 应用目录 @@ -11,9 +11,8 @@ define('APPLICATION_PATH', dirname(__DIR__)); // 应用目录
11 define('ROOT_PATH', dirname(dirname(APPLICATION_PATH))); // 根目录 11 define('ROOT_PATH', dirname(dirname(APPLICATION_PATH))); // 根目录
12 defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'developer'); 12 defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'developer');
13 13
14 -//define('API_URL', 'http://testapi.yoho.cn:28078/');  
15 -define('API_URL', 'http://devapi.yoho.cn:58078');  
16 -define('SERVICE_URL', 'http://testservice.yoho.cn:28077/'); 14 +define('API_URL', 'http://dev-api.yohops.com:9999/');
  15 +define('SERVICE_URL', 'http://dev-service.yohops.com:9999/');
17 define('YOHOBUY_URL', 'http://www.yohobuy.com/'); 16 define('YOHOBUY_URL', 'http://www.yohobuy.com/');
18 define('SERVICE_NOTIFY', 'http://testservice.yoho.cn:28077/'); 17 define('SERVICE_NOTIFY', 'http://testservice.yoho.cn:28077/');
19 18