用户中心新增浏览器标题
parent
de4abd7d85
commit
c510be0ce1
|
|
@ -10,6 +10,7 @@
|
|||
// +----------------------------------------------------------------------
|
||||
namespace app\index\controller;
|
||||
|
||||
use app\service\SeoService;
|
||||
use app\service\AnswerService;
|
||||
|
||||
/**
|
||||
|
|
@ -84,6 +85,9 @@ class Answer extends Common
|
|||
$this->assign('common_is_show_list', lang('common_is_show_list'));
|
||||
$this->assign('common_is_text_list', lang('common_is_text_list'));
|
||||
|
||||
// 浏览器名称
|
||||
$this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('问答/留言', 1));
|
||||
|
||||
// 参数
|
||||
$this->assign('params', $params);
|
||||
return $this->fetch();
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
namespace app\index\controller;
|
||||
|
||||
use app\service\BuyService;
|
||||
use app\service\SeoService;
|
||||
|
||||
/**
|
||||
* 购物车
|
||||
|
|
@ -55,6 +56,9 @@ class Cart extends Common
|
|||
'ids' => empty($cart_list['data']) ? '' : implode(',', array_column($cart_list['data'], 'id')),
|
||||
];
|
||||
$this->assign('base', $base);
|
||||
|
||||
// 浏览器名称
|
||||
$this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('购物车', 1));
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
// +----------------------------------------------------------------------
|
||||
namespace app\index\controller;
|
||||
|
||||
use app\service\SeoService;
|
||||
use app\service\MessageService;
|
||||
|
||||
/**
|
||||
|
|
@ -92,6 +93,9 @@ class Message extends Common
|
|||
// 是否已读
|
||||
$this->assign('common_is_read_list', lang('common_is_read_list'));
|
||||
|
||||
// 浏览器名称
|
||||
$this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('我的消息', 1));
|
||||
|
||||
// 参数
|
||||
$this->assign('params', $params);
|
||||
return $this->fetch();
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ use app\service\OrderService;
|
|||
use app\service\PaymentService;
|
||||
use app\service\GoodsCommentsService;
|
||||
use app\service\ConfigService;
|
||||
use app\service\SeoService;
|
||||
|
||||
/**
|
||||
* 订单管理
|
||||
|
|
@ -97,6 +98,9 @@ class Order extends Common
|
|||
// 评价状态
|
||||
$this->assign('common_comments_status_list', lang('common_comments_status_list'));
|
||||
|
||||
// 浏览器名称
|
||||
$this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('我的订单', 1));
|
||||
|
||||
// 参数
|
||||
$this->assign('params', $params);
|
||||
return $this->fetch();
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
namespace app\index\controller;
|
||||
|
||||
use app\service\OrderAftersaleService;
|
||||
use app\service\SeoService;
|
||||
|
||||
/**
|
||||
* 订单售后
|
||||
|
|
@ -86,6 +87,9 @@ class Orderaftersale extends Common
|
|||
$this->assign('common_order_aftersale_status_list', lang('common_order_aftersale_status_list'));
|
||||
$this->assign('common_order_aftersale_refundment_list', lang('common_order_aftersale_refundment_list'));
|
||||
|
||||
// 浏览器名称
|
||||
$this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('订单售后', 1));
|
||||
|
||||
// 参数
|
||||
$this->assign('params', $params);
|
||||
return $this->fetch();
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
// +----------------------------------------------------------------------
|
||||
namespace app\index\controller;
|
||||
|
||||
use app\service\SeoService;
|
||||
use app\service\UserService;
|
||||
use app\service\NavigationService;
|
||||
|
||||
|
|
@ -47,7 +48,12 @@ class Personal extends Common
|
|||
*/
|
||||
public function Index()
|
||||
{
|
||||
// 用户展示数据
|
||||
$this->assign('personal_show_list', NavigationService::UsersPersonalShowFieldList());
|
||||
|
||||
// 浏览器名称
|
||||
$this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('个人资料', 1));
|
||||
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
|
|
@ -66,6 +72,9 @@ class Personal extends Common
|
|||
// 数据
|
||||
$this->assign('data', $this->user);
|
||||
|
||||
// 浏览器名称
|
||||
$this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('个人资料编辑', 1));
|
||||
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
// +----------------------------------------------------------------------
|
||||
namespace app\index\controller;
|
||||
|
||||
use app\service\SeoService;
|
||||
use app\service\SafetyService;
|
||||
use app\service\NavigationService;
|
||||
|
||||
|
|
@ -56,6 +57,10 @@ class Safety extends Common
|
|||
'email' => $this->user['email_security'],
|
||||
);
|
||||
$this->assign('data', $data);
|
||||
|
||||
// 浏览器名称
|
||||
$this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('安全设置', 1));
|
||||
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
|
|
@ -68,6 +73,9 @@ class Safety extends Common
|
|||
*/
|
||||
public function LoginPwdInfo()
|
||||
{
|
||||
// 浏览器名称
|
||||
$this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('登录密码修改 - 安全设置', 1));
|
||||
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
|
|
@ -84,6 +92,10 @@ class Safety extends Common
|
|||
{
|
||||
return redirect(MyUrl('index/safety/newmobileinfo'));
|
||||
}
|
||||
|
||||
// 浏览器名称
|
||||
$this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('手机号码修改 - 安全设置', 1));
|
||||
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
|
|
@ -100,6 +112,10 @@ class Safety extends Common
|
|||
{
|
||||
return $this->error('原帐号校验失败', MyUrl('index/safety/mobileinfo'));
|
||||
}
|
||||
|
||||
// 浏览器名称
|
||||
$this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('手机号码修改 - 安全设置', 1));
|
||||
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
|
|
@ -116,6 +132,10 @@ class Safety extends Common
|
|||
{
|
||||
return redirect(MyUrl('index/safety/newemailinfo'));
|
||||
}
|
||||
|
||||
// 浏览器名称
|
||||
$this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('电子邮箱修改 - 安全设置', 1));
|
||||
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
|
|
@ -132,6 +152,10 @@ class Safety extends Common
|
|||
{
|
||||
return $this->error('原帐号校验失败', MyUrl('index/safety/emailinfo'));
|
||||
}
|
||||
|
||||
// 浏览器名称
|
||||
$this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('电子邮箱修改 - 安全设置', 1));
|
||||
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
// +----------------------------------------------------------------------
|
||||
namespace app\index\controller;
|
||||
|
||||
use app\service\SeoService;
|
||||
use app\service\UserService;
|
||||
|
||||
/**
|
||||
|
|
@ -46,8 +47,13 @@ class UserAddress extends Common
|
|||
*/
|
||||
public function Index()
|
||||
{
|
||||
// 用户地址列表
|
||||
$data = UserService::UserAddressList(['user'=>$this->user]);
|
||||
$this->assign('user_address_list', $data['data']);
|
||||
|
||||
// 浏览器名称
|
||||
$this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('我的地址', 1));
|
||||
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
namespace app\index\controller;
|
||||
|
||||
use app\service\GoodsService;
|
||||
use app\service\SeoService;
|
||||
|
||||
/**
|
||||
* 用户收藏
|
||||
|
|
@ -80,6 +81,9 @@ class UserFavor extends Common
|
|||
$data = GoodsService::GoodsFavorList($data_params);
|
||||
$this->assign('data_list', $data['data']);
|
||||
|
||||
// 浏览器名称
|
||||
$this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('我的收藏', 1));
|
||||
|
||||
// 参数
|
||||
$this->assign('params', $params);
|
||||
return $this->fetch();
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
// +----------------------------------------------------------------------
|
||||
namespace app\index\controller;
|
||||
|
||||
use app\service\SeoService;
|
||||
use app\service\GoodsService;
|
||||
|
||||
/**
|
||||
|
|
@ -81,6 +82,9 @@ class UserGoodsBrowse extends Common
|
|||
$this->assign('data_list', $data['data']);
|
||||
$this->assign('ids', empty($data['data']) ? '' : implode(',', array_column($data['data'], 'id')));
|
||||
|
||||
// 浏览器名称
|
||||
$this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('我的足迹', 1));
|
||||
|
||||
// 参数
|
||||
$this->assign('params', $params);
|
||||
return $this->fetch();
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
namespace app\index\controller;
|
||||
|
||||
use app\service\IntegralService;
|
||||
use app\service\SeoService;
|
||||
|
||||
/**
|
||||
* 用户积分管理
|
||||
|
|
@ -83,6 +84,9 @@ class UserIntegral extends Common
|
|||
// 操作类型
|
||||
$this->assign('common_integral_log_type_list', lang('common_integral_log_type_list'));
|
||||
|
||||
// 浏览器名称
|
||||
$this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('我的积分', 1));
|
||||
|
||||
// 参数
|
||||
$this->assign('params', $params);
|
||||
return $this->fetch();
|
||||
|
|
|
|||
|
|
@ -10,6 +10,9 @@
|
|||
<!-- search -->
|
||||
{{include file="public/nav_search" /}}
|
||||
|
||||
<!-- header nav -->
|
||||
{{include file="public/header_nav" /}}
|
||||
|
||||
<!-- goods category -->
|
||||
{{include file="public/goods_category" /}}
|
||||
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ ul.order-base li span.am-badge{position: absolute; top: -7px; left: 55%;}
|
|||
* 手机
|
||||
*/
|
||||
@media only screen and (max-width:640px) {
|
||||
header{display: none;}
|
||||
.am-footer{padding-bottom: 50px;}
|
||||
.nav-search{display: none;} .user-main{padding-top: 0;}
|
||||
.user-content-body{padding: 0;}
|
||||
|
|
|
|||
Loading…
Reference in New Issue