Authored by 周少峰

add entry style and dev api url

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