From 134372468b3945f80feba005c5715f08d103ea9a Mon Sep 17 00:00:00 2001 From: devil_gong Date: Sun, 28 Apr 2019 11:34:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E5=91=98=E7=AD=89=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../index/view/default/index/index.html | 9 +++- .../view/default/public/header_top_nav.html | 10 ++++- .../index/view/default/user/index.html | 9 +++- application/plugins/membershiplevel/Hook.php | 30 ++++++++++++- .../plugins/membershiplevel/Service.php | 42 +++++++++++------- .../plugins/membershiplevel/config.json | 3 ++ .../view/membershiplevel/level/saveinfo.html | 13 +++--- application/service/UserService.php | 9 ++++ application/tags.php | 4 ++ config/shopxo.sql | 26 +++++------ public/static/index/default/css/common.css | 12 +++-- .../static/index/default/css/user.index.css | 2 +- .../plugins/css/membershiplevel/style.css | 13 ++++++ .../plugins/images/membershiplevel/flash.gif | Bin 0 -> 3228 bytes .../membershiplevel/level-default-images.png | Bin 4494 -> 1933 bytes 15 files changed, 136 insertions(+), 46 deletions(-) create mode 100644 public/static/plugins/images/membershiplevel/flash.gif diff --git a/application/index/view/default/index/index.html b/application/index/view/default/index/index.html index d9b1e969b..ac1ee58e2 100755 --- a/application/index/view/default/index/index.html +++ b/application/index/view/default/index/index.html @@ -47,9 +47,14 @@ {{if !empty($user)}} - Hi, {{$user.user_name_view}} + Hi, + {{if !empty($user['icon'])}} + + {{/if}} + {{$user.user_name_view}} {{else /}} - 您好,欢迎来到 {{:MyC('home_site_name')}} + 您好,欢迎来到 + {{:MyC('home_site_name')}} {{/if}} diff --git a/application/index/view/default/public/header_top_nav.html b/application/index/view/default/public/header_top_nav.html index d1800d027..e359c907f 100755 --- a/application/index/view/default/public/header_top_nav.html +++ b/application/index/view/default/public/header_top_nav.html @@ -5,7 +5,8 @@