diff --git a/app/controller/Repeat.php b/app/controller/Repeat.php index e121026..ae43ab3 100644 --- a/app/controller/Repeat.php +++ b/app/controller/Repeat.php @@ -168,6 +168,13 @@ class Repeat extends BaseController }); $map[] = ['car_info_t.factory_model', 'like', $factory_model]; } + if (isset($params['tag']) && $params['tag'] != '') { + $tags = explode(',', str_replace(',', '', $params['tag'])); + array_walk($tags, function (&$value) { + $value = '%' . $value . '%'; + }); + $map[] = ['car_info_t.tag', 'like', $tags]; + } if (isset($params['car_frame_no']) && $params['car_frame_no'] != '') { $map[] = ['car_info_t.car_frame_no', '=', $params['car_frame_no']]; } diff --git a/app/view/repeat/index.html b/app/view/repeat/index.html index 86a078e..7803757 100644 --- a/app/view/repeat/index.html +++ b/app/view/repeat/index.html @@ -8,97 +8,129 @@ {/block} {block name="body"}
-
-
-
- -
- -
-
-
- -
+
+
+
+ +
-
- -
+
+ +
-
- -
+
+ +
+ +
+
+
+ +
-
-
-
- -
+
+ +
-
- -
+
+ +
-
- -
+
+ +
+ +
+
+
+ +
-
-
-
- -
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
-
-
+
-
- -
- 月 - 日 +
+ +
+ +
-
-
- 月 - 日 +
+ +
-
-
-
- -
- 万 +
+ +
+
-
-
- 万 +
+
-
- +
+ +
+ +