diff --git a/service/Application/Home/View/Default/User/Index.html b/service/Application/Home/View/Default/User/Index.html index 95de2f9c4..45dfcec42 100755 --- a/service/Application/Home/View/Default/User/Index.html +++ b/service/Application/Home/View/Default/User/Index.html @@ -26,7 +26,48 @@
- ShopXO + +
+
+
+ {{$user.avatar}}__PUBLIC__/Home/{{$default_theme}}/Images/default-user-avatar.jpg" /> +

{{$user.user_name_view}}

+
+ +
+
+ 消息 +
+ +
+ + +
+ order +
diff --git a/service/Public/Home/Default/Css/Common.css b/service/Public/Home/Default/Css/Common.css index f9af22b39..df49dfc63 100755 --- a/service/Public/Home/Default/Css/Common.css +++ b/service/Public/Home/Default/Css/Common.css @@ -667,11 +667,11 @@ background:url(../Images/ibar_sprites.png) no-repeat;background-position:0px -23 .user-content-body {-webkit-box-flex:1;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto; } .user-offcanvas-bar { z-index: 900; } @media only screen and (min-width:640px) { - .user-sidebar {display:block;position:static;background:none; border-top: 5px solid #e94353;} + .user-sidebar {display:block;position:static;background:none; border-top: 5px solid #ED5564;} .user-offcanvas-bar {position:static;width:auto;background:none;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0);overflow-y:hidden;} .user-offcanvas-bar:after {content:none;} .user-main { padding: 0 5px; } - .user-content-body { padding: 0 5px 5px 10px; } + .user-content-body { padding: 0 0 5px 10px; } } @media only screen and (min-width: 1025px) { .user-main { padding: 0; } diff --git a/service/Public/Home/Default/Css/User.Index.css b/service/Public/Home/Default/Css/User.Index.css index f36c3bcb1..ae36e1110 100644 --- a/service/Public/Home/Default/Css/User.Index.css +++ b/service/Public/Home/Default/Css/User.Index.css @@ -1,3 +1,126 @@ +/** + * 用户中心 + */ +.user-base { + -webkit-animation: changeBg 20s infinite; + -moz-animation: changeBg 20s infinite; + animation: changeBg 20s infinite; + background-color: #ED5564; + background-image: url(../Images/member_top_bg.png); + background-size: cover; + width: 100%; + position: relative; + padding: 20px 10px; + overflow: hidden; +} +.user-base p, .user-base span, .user-base a { + color: #fff; +} +.user-base a { + text-decoration: none; +} +.user-base-left, .user-base-right { + +} +.user-avatar { + text-align: center; +} +.user-avatar .user-name { + font-weight: 500; +} +.user-avatar img { + width: 80px; + height: 80px; + border-radius: 100%; +} +.user-avatar .user-name, .order-base { + margin-top: 5px; +} + +.user-base-left .items a { + color: #f8f8f8; +} + +.user-base-right a:not(:last-child) { + margin-right: 15px; +} +.user-base-icon { + background: rgba(0,0,0,0.1); + position: absolute; +} + + +/** + * PC + */ +@media only screen and (min-width: 641px) { + .user-base-left, .user-avatar, .user-base-left .items { + float: left; + } + .user-base-right { + float: right; + } + .user-base-left .items { + margin-left: 15px; + } + .user-base-left .items a { + display: block; + line-height: 28px; + } + .user-base-icon { + bottom: 20px; + right: 10px; + } + .user-base-icon li { + float: left; + padding: 5px 20px; + text-align: center; + } + .user-base-icon li p { + font-weight: 500; + } +} + +/** + * 手机 + */ @media only screen and (max-width:640px) { - .am-footer { padding-bottom: 55px; } + .am-footer { + padding-bottom: 55px; + } + + .nav-search { + display: none; + } + .user-main { + padding-top: 0; + } + .user-content-body { + padding: 0; + } + .user-base { + text-align: center; + height: 210px; + } + .user-avatar { + margin-bottom: 10px; + } + .user-base-left .items a:not(:last-child) { + margin-right: 20px; + } + .user-base-right { + position: absolute; + right: 10px; + top: 10px; + } + .user-base-icon { + left: 0; + bottom: 0; + width: 100%; + padding: 5px 0; + } + .user-base-icon li { + float: left; + width: 33.33%; + } } \ No newline at end of file diff --git a/service/Public/Home/Default/Css/User.css b/service/Public/Home/Default/Css/User.css index e44325782..1a95db361 100755 --- a/service/Public/Home/Default/Css/User.css +++ b/service/Public/Home/Default/Css/User.css @@ -1,3 +1,6 @@ +/** + * 登录/注册 + */ form.form-validation, .reg-switch-view { margin: 30px 0 60px 0; } .reg-switch-view .am-btn { width: 49%; line-height: 100px; font-size: 16px; } @@ -5,18 +8,4 @@ form.form-validation, .reg-switch-view { margin: 30px 0 60px 0; } .reg-switch-tips { font-weight: 100; font-size: 12px; color: #f87689; margin-left: 20px; } #verify-win .am-modal-bd { margin-top: 10px; } #verify-win .am-modal-bd .base { overflow: hidden; } -#verify-win .am-modal-bd .base .verify-tips { font-size: 12px; } - -/** - * PC - */ -@media only screen and (min-width: 641px) { - -} - -/** - * 手机 - */ -@media only screen and (max-width: 641px) { - -} \ No newline at end of file +#verify-win .am-modal-bd .base .verify-tips { font-size: 12px; } \ No newline at end of file diff --git a/service/Public/Home/Default/Images/member_top_bg.png b/service/Public/Home/Default/Images/member_top_bg.png new file mode 100644 index 000000000..29c5facfd Binary files /dev/null and b/service/Public/Home/Default/Images/member_top_bg.png differ