diff --git a/app/index/middleware/ConfirmRequestFrom.php b/app/index/middleware/ConfirmRequestFrom.php index b8cc9588..14a5e707 100644 --- a/app/index/middleware/ConfirmRequestFrom.php +++ b/app/index/middleware/ConfirmRequestFrom.php @@ -16,7 +16,7 @@ class ConfirmRequestFrom { // 确认请求来源 $request->from = 'pc'; - if ($request->isMobile()) { + if ($request->isMobile() || $request->get('mtpl') == 1) { $request->from = 'mobile'; } diff --git a/app/index/view/mobile/product/detail.html b/app/index/view/mobile/product/detail.html index a3fc4a21..474ed45a 100644 --- a/app/index/view/mobile/product/detail.html +++ b/app/index/view/mobile/product/detail.html @@ -56,20 +56,22 @@ {notempty name="ps.attr_values"}
+

diff --git a/app/index/view/mobile/topic_nas/help_detail.html b/app/index/view/mobile/topic_nas/help_detail.html
index ea2ec411..b6634c1c 100644
--- a/app/index/view/mobile/topic_nas/help_detail.html
+++ b/app/index/view/mobile/topic_nas/help_detail.html
@@ -20,7 +20,11 @@