Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
Rock Zhang
9 years ago
Commit
42f2e1e3d9a590ca22c47c3ad64b2d97a3c68790
2 parents
609df6b1
2fb6f3b1
Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
13 deletions
framework
library/Api/Yohobuy.php
static/sass/me/_home.scss
template/m.yohobuy.com/actions/index/home/index.phtml
framework
@
119c247f
Subproject commit
75bbc3b075de19f239532f60c5995d06c5f814e2
Subproject commit
119c247f5cf929aa1e059e40609bb16dd6b58f05
...
...
library/Api/Yohobuy.php
View file @
42f2e1e
...
...
@@ -17,18 +17,18 @@ use Plugin\Cache;
class
Yohobuy
{
// /* 正式环境 */
const
API_URL
=
'http://api2.open.yohobuy.com/'
;
const
API_URL2
=
'http://api.open.yohobuy.com/'
;
const
SERVICE_URL
=
'http://service.api.yohobuy.com/'
;
const
YOHOBUY_URL
=
'http://www.yohobuy.com/'
;
/* 正式环境 */
// const API_URL = 'http://api2.open.yohobuy.com/';
// const API_URL2 = 'http://api.open.yohobuy.com/';
// const SERVICE_URL = 'http://service.api.yohobuy.com/';
// const YOHOBUY_URL = 'http://www.yohobuy.com/';
/* 测试环境 */
// const API_URL = 'http://test2.open.yohobuy.com/';
// const SERVICE_URL = 'http://test.service.api.yohobuy.com/';
// const YOHOBUY_URL = 'http://www.yohobuy.com/';
// const API_URL_MYCENTER = 'http://192.168.102.213:8080/api-gateway-web/'; // 我的个人中心接口URL
// const API_URL_SHOPINGCART = 'http://192.168.102.213:8080/api-gateway-web/'; // 我的购物车接口URL
const
API_URL
=
'http://test2.open.yohobuy.com/'
;
const
SERVICE_URL
=
'http://test.service.api.yohobuy.com/'
;
const
YOHOBUY_URL
=
'http://www.yohobuy.com/'
;
const
API_URL_MYCENTER
=
'http://192.168.102.213:8080/api-gateway-web/'
;
// 我的个人中心接口URL
const
API_URL_SHOPINGCART
=
'http://192.168.102.213:8080/api-gateway-web/'
;
// 我的购物车接口URL
/**
...
...
static/sass/me/_home.scss
View file @
42f2e1e
...
...
@@ -2,6 +2,7 @@
background
:
#f0f0f0
;
.user-info
{
display
:
block
;
position
:
relative
;
padding
:
0
pxToRem
(
30px
);
color
:
#fff
;
...
...
template/m.yohobuy.com/actions/index/home/index.phtml
View file @
42f2e1e
{
{>
layout/header
}
}
<div
class=
"my-page yoho-page"
>
<div
class=
"my-header"
>
<
div
class=
"user-info"
><!--/home/personaldetails--
>
<
a
class=
"user-info"
href=
"/home/personaldetails"
>
<img
class=
"user-avatar"
src=
"{{head_ico}}"
>
<span
class=
"username"
>
{
{profile_name
}
}</span>
{
{#vip_info
}
}
<span
class=
"vip-icon vip-{{next_level}}"
></span>
{
{/vip_info
}
}
<div
class=
"iconfont more-icon"
>
604
;</div>
</
div
>
</
a
>
</div>
<div
class=
"my-link clearfix"
>
<a
class=
"link-item"
href=
"/home/favorite"
>
...
...
Please
register
or
login
to post a comment