diff --git a/plugs/think-plugs-ticket/src/controller/UserShare.php b/plugs/think-plugs-ticket/src/controller/UserShare.php index 79f4559..cac7e37 100644 --- a/plugs/think-plugs-ticket/src/controller/UserShare.php +++ b/plugs/think-plugs-ticket/src/controller/UserShare.php @@ -12,6 +12,15 @@ use think\admin\helper\QueryHelper; */ class UserShare extends Controller { + /** + * 随手拍列表 + * @auth true + * @menu true + * @return void + * @throws \think\db\exception\DataNotFoundException + * @throws \think\db\exception\DbException + * @throws \think\db\exception\ModelNotFoundException + */ public function index() { $this->title = '用户随手拍'; @@ -25,4 +34,16 @@ class UserShare extends Controller $query->with(['user'])->append(['imgs_arr', 'status_text', 'type_name', 'last_reply']); }); } + + /** + * 随手拍详情 + * @auth true + * @menu true + * @return void + */ + public function info() + { + $this->title = '随手拍详情'; + TicketUserShare::mForm('form'); + } } \ No newline at end of file diff --git a/plugs/think-plugs-ticket/src/view/user_share/info.html b/plugs/think-plugs-ticket/src/view/user_share/info.html new file mode 100644 index 0000000..44f3100 --- /dev/null +++ b/plugs/think-plugs-ticket/src/view/user_share/info.html @@ -0,0 +1,29 @@ +
+
随手拍内容
+
+
+ 随手拍编号:{$vo.id|default=""} +
+
+ 随手拍类型:{$vo.type_name|default=""} +
+
+ 联系方式:{$vo.contact_phone|default="未填写联系方式"}, +
+
+ 随手拍地址:{$vo.ticket_address|default=""} +
+
+ 随手拍内容:{$vo.content|default=""} +
+
+ 随手拍图片: +
+ {foreach $vo.imgs_arr as $img} + image +   + {/foreach} +
+
+
+
\ No newline at end of file