From 06ac05958db290081599610dc246dd2cf411e988 Mon Sep 17 00:00:00 2001 From: devil_gong Date: Tue, 28 May 2019 11:04:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/controller/Goodscomments.php | 8 ++-- .../view/default/goodscomments/index.html | 8 ++-- .../view/default/goodscomments/save_info.html | 8 ++-- .../view/default/orderaftersale/index.html | 32 ++++++++++--- .../admin/view/default/public/footer.html | 4 +- .../index/view/default/order/detail.html | 4 +- .../index/view/default/order/index.html | 2 +- .../view/default/orderaftersale/index.html | 4 +- .../index/view/default/user/index.html | 8 ++-- .../index/view/default/userfavor/goods.html | 2 +- .../view/default/usergoodsbrowse/index.html | 2 +- application/lang/zh-cn.php | 15 ++++++ application/service/GoodsCommentsService.php | 25 +++------- .../admin/default/css/orderaftersale.css | 2 +- .../static/admin/default/js/orderaftersale.js | 48 +++++++++---------- public/static/index/default/css/order.css | 2 +- .../default/css/orderaftersale.index.css | 2 +- route/route.config | 2 +- 18 files changed, 98 insertions(+), 80 deletions(-) diff --git a/application/admin/controller/Goodscomments.php b/application/admin/controller/Goodscomments.php index 1c222f874..e5ec8929f 100644 --- a/application/admin/controller/Goodscomments.php +++ b/application/admin/controller/Goodscomments.php @@ -85,8 +85,8 @@ class Goodscomments 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('rating_list', GoodsCommentsService::$rating_list); - $this->assign('business_type_list', GoodsCommentsService::$business_type_list); + $this->assign('common_goods_comments_rating_list', lang('common_goods_comments_rating_list')); + $this->assign('common_goods_rating_business_type_list', lang('common_goods_rating_business_type_list')); // 参数 $this->assign('params', $params); @@ -124,8 +124,8 @@ class Goodscomments 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('rating_list', GoodsCommentsService::$rating_list); - $this->assign('business_type_list', GoodsCommentsService::$business_type_list); + $this->assign('common_goods_comments_rating_list', lang('common_goods_comments_rating_list')); + $this->assign('common_goods_rating_business_type_list', lang('common_goods_rating_business_type_list')); // 参数 unset($params['id']); diff --git a/application/admin/view/default/goodscomments/index.html b/application/admin/view/default/goodscomments/index.html index cc9fc89c0..53dbb4023 100644 --- a/application/admin/view/default/goodscomments/index.html +++ b/application/admin/view/default/goodscomments/index.html @@ -61,8 +61,8 @@ 类型: - {{if !empty($business_type_list)}} - {{foreach $business_type_list as $k=>$v}} + {{if !empty($common_goods_rating_business_type_list)}} + {{foreach $common_goods_rating_business_type_list as $k=>$v}} {{/foreach}} {{/if}} @@ -68,8 +68,8 @@
{{$v.name}} + {{$v.name}} {{/foreach}} {{/if}} @@ -363,6 +373,16 @@ +
申请信息
+
+
    +
  • 类型:...
  • +
  • 原因:...
  • +
  • 数量:...
  • +
  • 金额:...
  • +
  • 说明:...
  • +
+
diff --git a/application/admin/view/default/public/footer.html b/application/admin/view/default/public/footer.html index 6a18be278..654dab913 100755 --- a/application/admin/view/default/public/footer.html +++ b/application/admin/view/default/public/footer.html @@ -64,12 +64,12 @@ {{if !empty($plugins_js)}} - + {{/if}} {{if !empty($module_js)}} - + {{/if}} diff --git a/application/index/view/default/order/detail.html b/application/index/view/default/order/detail.html index f4d2bd809..c21f29887 100755 --- a/application/index/view/default/order/detail.html +++ b/application/index/view/default/order/detail.html @@ -60,7 +60,7 @@ {{/if}}
-
  • +
  • {{if $data['status'] GT 3}}{{else /}}4{{/if}} @@ -257,7 +257,7 @@

    - + {{$goods.title}}
    {{$goods.title}} diff --git a/application/index/view/default/order/index.html b/application/index/view/default/order/index.html index 9eeab548a..7a3668f0c 100755 --- a/application/index/view/default/order/index.html +++ b/application/index/view/default/order/index.html @@ -155,7 +155,7 @@
    - {{$goods.title}} + {{$goods.title}}
    {{$goods.title}} diff --git a/application/index/view/default/orderaftersale/index.html b/application/index/view/default/orderaftersale/index.html index a486e489d..ce5279d1f 100644 --- a/application/index/view/default/orderaftersale/index.html +++ b/application/index/view/default/orderaftersale/index.html @@ -110,7 +110,7 @@
    - + {{$v.order_data.items.title}}
    {{$v.order_data.items.title}} @@ -132,7 +132,7 @@ 类型:{{$v.type_text}}
    原因:{{$v.reason}}
    数量:{{$v.number}}
    - 金额:{{$v.price}}
    + 金额:¥{{$v.price}}
    说明:{{$v.msg}}
    时间:{{$v.apply_time_time}} diff --git a/application/index/view/default/user/index.html b/application/index/view/default/user/index.html index 32167e2ed..b828dafee 100755 --- a/application/index/view/default/user/index.html +++ b/application/index/view/default/user/index.html @@ -150,7 +150,7 @@ {{if $key eq 0}}
    - + {{$goods.title}}
    {{$goods.title}} @@ -209,7 +209,7 @@ {{if $key lt 3}}
    - + {{$goods.title}}
    {{$goods.title}} @@ -253,7 +253,7 @@