diff --git a/app/Languages/zh_CN/admin.php b/app/Languages/zh_CN/admin.php index 7e87bbf14..d2bb60035 100644 --- a/app/Languages/zh_CN/admin.php +++ b/app/Languages/zh_CN/admin.php @@ -3,6 +3,21 @@ return [ 'setting' => [ - 'language' => '站点默认语言' - ] + 'language' => '站点默认语言', + 'Whether to enable rendering of twemoji' => '是否开启渲染twemoji', + 'twemoji static resource library' => 'twemoji静态资源库', + 'twemoji image width' => 'twemoji图片宽度', + 'twemoji image height' => 'twemoji图片高度', + 'Whether to enable rendering of owo expressions' => '是否开启渲染owo表情', + ], + 'wealth' => [ + 'money name' => '余额名称', + 'credit name' => '积分名称', + 'golds name' => '金币名称', + 'exp name' => '经验名称' + ], + 'turn on' => '开启', + 'turn off' => '关闭', + 'default' => '默认: :default', + 'current' => '当前: :current', ]; \ No newline at end of file diff --git a/app/Languages/zh_CN/user.php b/app/Languages/zh_CN/user.php index 305c38af4..53cb717fa 100644 --- a/app/Languages/zh_CN/user.php +++ b/app/Languages/zh_CN/user.php @@ -13,4 +13,15 @@ 'no bio' => '这个人没有签名', 'personal website' => '个人网站', 'other information' => '其他信息', + 'register time' => '注册时间', + 'comment count' => '评论数量', + 'topic count' => '主题数量', + 'collection count' => '收藏数量', + 'fans count' => '粉丝数量', + 'topic tag count' => '标签数量', + 'QQ' => 'QQ', + 'wechat' => '微信', + 'email' => '邮箱', + 'website' => '网站', + 'wealth' => '财富' ]; \ No newline at end of file diff --git a/app/Plugins/Topic/resources/views/admin/setting/contentParse.blade.php b/app/Plugins/Topic/resources/views/admin/setting/contentParse.blade.php index cfa99748c..bf36ce0f3 100644 --- a/app/Plugins/Topic/resources/views/admin/setting/contentParse.blade.php +++ b/app/Plugins/Topic/resources/views/admin/setting/contentParse.blade.php @@ -2,21 +2,21 @@
- + 当前: {{get_options("contentParse_twemoji",'开启')}}
- + - 默认: baomitu + {{__("admin.default",['default'=>'baomitu'])}}
@@ -24,14 +24,14 @@
- + - 当前: {{get_options("contentParse_twemoji_contentParse_width",25)}} + {{__("admin.current",['current' => get_options("contentParse_twemoji_contentParse_width",25)])}}
- + - 当前: {{get_options("contentParse_twemoji_contentParse_height",25)}} + {{__("admin.current",['current' => get_options("contentParse_twemoji_contentParse_height",25)])}}
@@ -39,12 +39,12 @@
- + - 当前: {{get_options("contentParse_owo",'开启')}} + {{__("admin.current",['current' => get_options("contentParse_owo",'开启')])}}
diff --git a/app/Plugins/User/bootstrap.php b/app/Plugins/User/bootstrap.php index b4ee0f1bb..039ffb536 100755 --- a/app/Plugins/User/bootstrap.php +++ b/app/Plugins/User/bootstrap.php @@ -46,3 +46,103 @@ ', 'view' => 'App::user.setting.backgroundImg' ]); + + +Itf()->add('users_settings',1,[ + 'name' => '自定义代码', + 'icon' => ' + Download more icon variants from https://tabler-icons.io/i/settings + + + +', + 'view' => 'User::setting.user.code' +]); + + + + +Itf_Setting()->add( + 171, + "财富设置", + "wealth", + "User::setting.admin.wealth"); + + +Itf()->add('users_home_menu',1,[ + 'name' => '概览', + 'icon' => ' + Download more icon variants from https://tabler-icons.io/i/user + + + +', + 'view' => 'User::home.overview', + 'quanxian' => null, +]); + +Itf()->add('users_home_menu',2,[ + 'name' => '主题', + 'icon' => ' + Download more icon variants from https://tabler-icons.io/i/note + + + +', + 'view' => 'User::home.topic', + 'quanxian' => null, +]); + +Itf()->add('users_home_menu',3,[ + 'name' => '评论', + 'icon' => ' + Download more icon variants from https://tabler-icons.io/i/message-dots + + + + + +', + 'view' => 'User::home.comment', + 'quanxian' => null, +]); + +Itf()->add('users_home_menu',4,[ + 'name' => '关注', + 'icon' => ' + Download more icon variants from https://tabler-icons.io/i/users + + + + + +', + 'view' => 'User::home.following', + 'quanxian' => null, +]); + + +Itf()->add('users_home_menu',5,[ + 'name' => '粉丝', + 'icon' => ' + Download more icon variants from https://tabler-icons.io/i/users + + + + + +', + 'view' => 'User::home.fans', + 'quanxian' => null, +]); + +Itf()->add('users_home_menu',6,[ + 'name' => '收藏', + 'icon' => ' + Download more icon variants from https://tabler-icons.io/i/star + + +', + 'view' => 'User::home.collections', + 'quanxian' => null, +]); \ No newline at end of file diff --git a/app/Plugins/User/resources/views/data.blade.php b/app/Plugins/User/resources/views/data.blade.php index fb4db4ba0..9c68c1c41 100644 --- a/app/Plugins/User/resources/views/data.blade.php +++ b/app/Plugins/User/resources/views/data.blade.php @@ -1,67 +1,44 @@ @extends("App::app") -@section('title', '「'.$data->username.'」会员的信息') -@section('description', '为您展示本站「'.$data->username.'」用户的信息') -@section('keywords', '为您展示本站「'.$data->username.'」用户的信息') +@section('title', '「'.$user->username.'」会员的信息') +@section('description', '为您展示本站「'.$user->username.'」用户的信息') +@section('keywords', '为您展示本站「'.$user->username.'」用户的信息') @section('content') -
-
-
-
-
-
- {!! avatar($data->id,"avatar-lg") !!} -
-
-

- {{$data->username}} +

- -
- TA的粉丝 - TA的帖子 - TA的收藏 + +
+
+
+
+
+ +
+ {{$user->username}} + {{$user->Class->name}} +
+
{{$user->options->qianming}}
+
-
-
- - +
+ + @@ -69,53 +46,176 @@ 关注 +
+
+ + Download more icon variants from https://tabler-icons.io/i/send + + + + + 发私信 +
-
-
-

{{__("app.bio")}}

-
- {!! markdown()->text(core_default($data->Options->qianming,__("user.no bio"))) !!} + - @if($data->Options->qq || $data->Options->wx || $data->Options->website || $data->Options->email) -
-
-

{{__("user.other information")}}

- @if($data->Options->qq) -
- QQ: {{$data->Options->qq}} -
- @endif - - @if($data->Options->wx) -
- {{__("user.wechat")}}: {{$data->Options->wx}} +
+ @php $view=null; @endphp + @foreach(Itf()->get('users_home_menu') as $key => $value) + @if($key === request()->input('m',key(Itf()->get('users_home_menu')))) + @php $view=$value['view']; @endphp + @endif + @endforeach + @if($view) + @include($view,['user' => $user]) + @else +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- @endif - - @if($data->Options->email) -
- {{__("app.email")}}: {{$data->Options->email}} -
- @endif - - @if($data->Options->website) -
- {{__("user.personal website")}}: {{$data->Options->website}} -
- @endif +
+ @endif
- @endif
+ @endsection diff --git a/app/Plugins/User/resources/views/home/collections.blade.php b/app/Plugins/User/resources/views/home/collections.blade.php new file mode 100644 index 000000000..36170702c --- /dev/null +++ b/app/Plugins/User/resources/views/home/collections.blade.php @@ -0,0 +1,146 @@ + +
+ + @php($collections = \App\Plugins\User\src\Models\UsersCollection::query()->where(['user_id' => $user->id])->paginate(15)) +
+
+

{{$user->username}} 的收藏

+ @if($collections->count()) +
+ @foreach($collections as $value) +
+ @if($value->type==="topic") +
+ +
+
+
+
+ {!! content_brief(get_topic($value->type_id)->post->content,get_options("topic_brief_len",250)) !!} +
+
+
+
+ +
+ @endif + + @if($value->type==="comment") +
+
+
+
+
+
+
+ {{-- 作者信息--}} +
+
+ {{-- 头像--}} +
+ + + +
+ {{-- 作者信息--}} +
+ {{get_topic_comment($value->type_id)->user->username}} +
+ {{__("app.Published on")}}:{{format_date(get_topic_comment($value->type_id)->created_at)}} +
+ {{-- 楼层信息--}} + + +
+
+ {{-- 评论内容--}} +
+
+ {{__("topic.comment.comment content")}} +
+
+
+ @if(get_topic_comment($value->type_id)->parent_id) +
+
+ + {{get_topic_comment($value->type_id)->parent->user->username}} {{__("app.Published on")}} {{format_date(get_topic_comment($value->type_id)->created_at)}} + +
+ {!! \Hyperf\Utils\Str::limit(remove_bbCode(strip_tags(get_topic_comment($value->type_id)->parent->post->content)),60) !!} +
+
+ @endif + {!!CommentContentParse()->parse(get_topic_comment($value->type_id)->post->content,['comment' => get_topic_comment($value->type_id),'topic' =>get_topic_comment($value->type_id)->topic,'RemoveshortCode' => ['topic-comment']]) !!} +
+ + +
+
+ +
+
+ +
+
+
+ @endif + +
+ @endforeach +
+
+ {!! make_page($collections) !!} +
+ @else +
+
404
+

暂无更多结果

+
+ @endif +
+
+
\ No newline at end of file diff --git a/app/Plugins/User/resources/views/home/comment.blade.php b/app/Plugins/User/resources/views/home/comment.blade.php new file mode 100644 index 000000000..2ce151e1a --- /dev/null +++ b/app/Plugins/User/resources/views/home/comment.blade.php @@ -0,0 +1,122 @@ + +
+ + @php($topics = \App\Plugins\Comment\src\Model\TopicComment::query()->where(['user_id' => $user->id,'status' => 'publish'])->paginate(15)) +
+
+

{{$user->username}} 发布的评论

+ @if($topics->count()) +
+ @foreach($topics as $value) +
+
+
+
+
+
+ {{-- 作者信息--}} +
+
+ {{-- 头像--}} +
+ + + +
+ {{-- 作者信息--}} +
+ {{$value->user->username}} +
+ {{__("app.Published on")}}:{{format_date($value->created_at)}} +
+ {{-- 楼层信息--}} + + +
+
+ {{-- 评论内容--}} +
+
{{__("topic.comment.comment content")}}
+
+
+ @if($value->parent_id) +
+
+ + {{$value->parent->user->username}} {{__("app.Published on")}} {{format_date($value->created_at)}} + +
+ {!! \Hyperf\Utils\Str::limit(remove_bbCode(strip_tags($value->parent->post->content)),60) !!} +
+
+ @endif + {!!CommentContentParse()->parse($value->post->content,['comment' => $value,'topic' => $value->topic,'RemoveshortCode' => ['topic-comment']]) !!} +
+ {{-- 操作--}} +
+
{{__("topic.comment.operate")}}
+
+
+ {{-- 点赞--}} + + + + + + {{ $value->likes }} + + {{-- markdown --}} + + + + + + + + + + + + {{-- 收藏--}} + @if(auth()->check()) + + + + + + + + + @endif +
+ +
+
+ +
+
+
+
+ @endforeach +
+
+ {!! make_page($topics) !!} +
+ @else +
+
404
+

暂无更多结果

+
+ @endif +
+
+
\ No newline at end of file diff --git a/app/Plugins/User/resources/views/home/fans.blade.php b/app/Plugins/User/resources/views/home/fans.blade.php new file mode 100644 index 000000000..5caf296e6 --- /dev/null +++ b/app/Plugins/User/resources/views/home/fans.blade.php @@ -0,0 +1,61 @@ + +
+ + @php($users = \App\Plugins\User\src\Models\UserFans::query()->where(['user_id' => $user->id])->paginate(15)) +
+
+

{{$user->username}} 的粉丝

+ @if($users->count()) + +
+ {!! make_page($users) !!} +
+ @else +
+
404
+

暂无更多结果

+
+ @endif +
+
+
\ No newline at end of file diff --git a/app/Plugins/User/resources/views/home/following.blade.php b/app/Plugins/User/resources/views/home/following.blade.php new file mode 100644 index 000000000..bc969b0db --- /dev/null +++ b/app/Plugins/User/resources/views/home/following.blade.php @@ -0,0 +1,61 @@ + +
+ + @php($users = \App\Plugins\User\src\Models\UserFans::query()->where(['fans_id' => $user->id])->paginate(15)) +
+
+

{{$user->username}} 关注的人

+ @if($users->count()) + +
+ {!! make_page($users) !!} +
+ @else +
+
404
+

暂无更多结果

+
+ @endif +
+
+
\ No newline at end of file diff --git a/app/Plugins/User/resources/views/home/overview.blade.php b/app/Plugins/User/resources/views/home/overview.blade.php new file mode 100644 index 000000000..5cdb1365e --- /dev/null +++ b/app/Plugins/User/resources/views/home/overview.blade.php @@ -0,0 +1,357 @@ +
+ +
+
+
+ @if($user->options->qq) +
{{ __('user.QQ') }}:
+
{{ $user->options->qq }}
+ @endif + @if($user->options->wx) +
{{ __('user.wechat') }}:
+
{{ $user->options->wx }}
+ @endif + @if($user->options->website) +
{{ __('user.website') }}:
+
{{ $user->options->website }}
+ @endif + @if($user->options->email) +
{{ __('user.email') }}:
+
{{ $user->options->email }} +
+ @endif +
+
+
+ +
+ +
+

{{__("user.wealth")}}

+
+ +
+
+
+
+
+ + + Download more icon variants from https://tabler-icons.io/i/currency-dollar + + + + + +
+
+
+ {{$user->options->money}} +
+
+ {{get_options('wealth_money_name','余额')}} +
+
+
+
+
+
+
+
+ +
+
+
+
+
+ + + Download more icon variants from https://tabler-icons.io/i/credit-card + + + + + + + +
+
+
+ {{$user->options->credits}} +
+
+ {{get_options('wealth_credit_name','积分')}} +
+
+
+
+
+
+
+
+ +
+
+
+
+
+ + + Download more icon variants from https://tabler-icons.io/i/coin + + + + + + +
+
+
+ {{$user->options->golds}} +
+
+ {{get_options('wealth_golds_name','金币')}} +
+
+
+
+
+
+
+
+ + +
+
+
+
+
+ + + Download more icon variants from https://tabler-icons.io/i/activity + + + + +
+
+
+ {{$user->options->exp}} +
+
+ {{get_options('wealth_exp_name','经验')}} +
+
+
+
+
+
+
+
+ + +
+
+ +
+ +
+
+
+ +
+
+
+
+
+ + + + + + + +
+
+
+ {{format_date($user->created_at)}} +
+
+ {{__("user.register time")}} +
+
+
+
+
+
+
+
+ + +
+
+
+
+
+ + + Download more icon variants from https://tabler-icons.io/i/message-circle + + + + + + + +
+
+
+ {{$user->comments->count()}} +
+
+ {{__("user.comment count")}} +
+
+
+
+
+
+
+
+ + +
+
+
+
+
+ + + Download more icon variants from https://tabler-icons.io/i/note + + + + + +
+
+
+ {{$user->topic->count()}} +
+
+ {{__("user.topic count")}} +
+
+
+
+
+
+
+
+ +
+
+
+
+
+ + + Download more icon variants from https://tabler-icons.io/i/star + + + + +
+
+
+ {{$user->collections->count()}} +
+
+ {{__("user.collection count")}} +
+
+
+
+
+
+
+
+ +
+
+
+
+
+ + + Download more icon variants from https://tabler-icons.io/i/user-circle + + + + + + +
+
+
+ {{$user->fan->count()}} +
+
+ {{__("user.fans count")}} +
+
+
+
+
+
+
+
+ +
+
+
+
+
+ + + Download more icon variants from https://tabler-icons.io/i/tag + + + + + +
+
+
+ {{$user->tags->count()}} +
+
+ {{__("user.topic tag count")}} +
+
+
+
+
+
+
+
+ +
+
+
+
\ No newline at end of file diff --git a/app/Plugins/User/resources/views/home/topic.blade.php b/app/Plugins/User/resources/views/home/topic.blade.php new file mode 100644 index 000000000..ae8d2fd8a --- /dev/null +++ b/app/Plugins/User/resources/views/home/topic.blade.php @@ -0,0 +1,113 @@ + +
+ + @php($topics = \App\Plugins\Topic\src\Models\Topic::query()->where(['user_id' => $user->id,'status' => 'publish'])->paginate(15)) +
+
+

{{$user->username}} 发布的主题

+ @if($topics->count()) +
+ @foreach($topics as $data) +
+
+
+
+
+
+ + + +
+
+ {{$data->user->username}} + + {!! $data->user->class->icon !!} + +
{{__("app.Published on")}} + :{{format_date($data->created_at)}}
+
+
+ @if($data->essence>0) +
+ {{__("app.essence")}} +
+ @endif +
+
+
+
+
+
+ +

+ @if($data->topping>0) + + {{__('app.top')}} + + @endif + {{$data->title}}

+
+ {!! content_brief($data->post->content,get_options("topic_brief_len",250)) !!} +
+
+
+ +
+
+
+ @endforeach +
+
+ {!! make_page($topics) !!} +
+ @else +
+
404
+

暂无更多结果

+
+ @endif +
+
+
\ No newline at end of file diff --git a/app/Plugins/User/resources/views/setting/admin/wealth.blade.php b/app/Plugins/User/resources/views/setting/admin/wealth.blade.php new file mode 100644 index 000000000..67fa77539 --- /dev/null +++ b/app/Plugins/User/resources/views/setting/admin/wealth.blade.php @@ -0,0 +1,34 @@ +
+
+
+ + + {{__("admin.current",['current' => get_options('wealth_money_name','余额')])}} +
+
+ + + {{__("admin.current",['current' => get_options('wealth_credit_name','积分')])}} +
+
+ + + {{__("admin.current",['current' => get_options('wealth_golds_name','金币')])}} +
+
+ + + {{__("admin.current",['current' => get_options('wealth_exp_name','经验')])}} +
+
+ + +
\ No newline at end of file diff --git a/app/Plugins/User/resources/views/setting/user/code.blade.php b/app/Plugins/User/resources/views/setting/user/code.blade.php new file mode 100644 index 000000000..30fb54ac3 --- /dev/null +++ b/app/Plugins/User/resources/views/setting/user/code.blade.php @@ -0,0 +1,11 @@ +
+
+ + + 默认开启 +
+ + + +
\ No newline at end of file diff --git a/app/Plugins/User/src/Controller/ApiController.php b/app/Plugins/User/src/Controller/ApiController.php index 39297b33b..8da1d2482 100644 --- a/app/Plugins/User/src/Controller/ApiController.php +++ b/app/Plugins/User/src/Controller/ApiController.php @@ -147,6 +147,9 @@ public function user_follow(){ return Json_Api(401,false,['msg' => '未登录!']); } + if(!User::query()->where('id',$user_id)->exists()){ + return Json_Api(401,false,['msg' =>'用户不存在!']); + } // 禁止关注自己 if($user_id==auth()->id()){ return Json_Api(401,false,['msg' => '不能关注自己']); @@ -154,7 +157,6 @@ public function user_follow(){ if(UserFans::query()->where(['user_id'=>$user_id,'fans_id' => auth()->id()])->exists()){ UserFans::query()->where(['user_id'=>$user_id,'fans_id' => auth()->id()])->delete(); - User::query()->where("id",$user_id)->decrement("fans",1); // 发送取关通知 user_notice()->send($user_id, @@ -163,7 +165,6 @@ public function user_follow(){ ); return Json_Api(201,true,['msg' =>'已取关!']); } - User::query()->where("id",$user_id)->increment("fans",1); UserFans::query()->create(['user_id'=>$user_id,'fans_id' => auth()->id()]); // 发送通知 @@ -172,7 +173,7 @@ public function user_follow(){ view("User::notice.userfollow",['user' => auth()->data()]) ); - return Json_Api(200,true,['msg' =>'已关注!']); + return Json_Api(200,true,['msg' =>'已关注']); } // 查询关注状态 diff --git a/app/Plugins/User/src/Controller/UserController.php b/app/Plugins/User/src/Controller/UserController.php index 02ad9d008..575f8c9f7 100644 --- a/app/Plugins/User/src/Controller/UserController.php +++ b/app/Plugins/User/src/Controller/UserController.php @@ -41,8 +41,8 @@ public function data($username){ if(!User::query()->where("username",$username)->count()){ return admin_abort("用户名为:".$username."的用户不存在"); } - $data = User::query()->with("Class","Options")->where("username",$username)->first(); - return view("User::data",['data'=>$data]); + $user = User::query()->where("username",$username)->first(); + return view("User::data",['user'=>$user]); } #[GetMapping(path:"/users/group/{id}.html")] diff --git a/app/Plugins/User/src/Models/User.php b/app/Plugins/User/src/Models/User.php index 52ce98d2d..6e5b6623a 100755 --- a/app/Plugins/User/src/Models/User.php +++ b/app/Plugins/User/src/Models/User.php @@ -4,6 +4,9 @@ namespace App\Plugins\User\src\Models; use App\Model\Model; +use App\Plugins\Comment\src\Model\TopicComment; +use App\Plugins\Topic\src\Models\Topic; +use App\Plugins\Topic\src\Models\TopicTag; use Carbon\Carbon; /** @@ -54,7 +57,48 @@ public function Class() return $this->belongsTo(UserClass::class,"class_id","id"); } - public function Options(){ + + public function options(){ return $this->belongsTo(UsersOption::class,"options_id","id"); } + + /** + * 获取用户的评论 + * @return \Hyperf\Database\Model\Relations\HasMany + */ + public function comments(){ + return $this->hasMany(TopicComment::class,"user_id","id"); + } + + /** + * 获取用户的话题 + * @return \Hyperf\Database\Model\Relations\HasMany + */ + public function topic(){ + return $this->hasMany(Topic::class,"user_id","id"); + } + + /** + * 收藏 + * @return \Hyperf\Database\Model\Relations\HasMany + */ + public function collections(){ + return $this->hasMany(UsersCollection::class,"user_id","id"); + } + + /** + * 粉丝 + * @return \Hyperf\Database\Model\Relations\HasMany + */ + public function fan(){ + return $this->hasMany(UserFans::class,"user_id","id"); + } + + /** + * 主题标签 + * @return \Hyperf\Database\Model\Relations\HasMany + */ + public function tags(){ + return $this->hasMany(TopicTag::class,"user_id","id"); + } } \ No newline at end of file diff --git a/app/Plugins/User/src/Models/UserFans.php b/app/Plugins/User/src/Models/UserFans.php index 82ea9a415..f4ae81772 100644 --- a/app/Plugins/User/src/Models/UserFans.php +++ b/app/Plugins/User/src/Models/UserFans.php @@ -37,4 +37,8 @@ class UserFans extends Model public function fans(){ return $this->belongsTo(User::class,"fans_id","id"); } + + public function user(){ + return $this->belongsTo(User::class,"user_id","id"); + } } \ No newline at end of file diff --git a/app/Plugins/User/src/migrations/2022_05_28_132345_update_users_settings_table.php b/app/Plugins/User/src/migrations/2022_05_28_132345_update_users_settings_table.php new file mode 100644 index 000000000..40f716afc --- /dev/null +++ b/app/Plugins/User/src/migrations/2022_05_28_132345_update_users_settings_table.php @@ -0,0 +1,28 @@ +longText('value')->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('users_settings', function (Blueprint $table) { + // + }); + } +} diff --git a/app/Plugins/User/src/migrations/2022_05_29_132749_update_users_table.php b/app/Plugins/User/src/migrations/2022_05_29_132749_update_users_table.php new file mode 100644 index 000000000..fdc42564d --- /dev/null +++ b/app/Plugins/User/src/migrations/2022_05_29_132749_update_users_table.php @@ -0,0 +1,28 @@ +dropColumn(['fans']); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('users', function (Blueprint $table) { + // + }); + } +} diff --git a/app/Themes/CodeFec/resources/views/user/setting/options.blade.php b/app/Themes/CodeFec/resources/views/user/setting/options.blade.php index fe9329542..ff2c14686 100644 --- a/app/Themes/CodeFec/resources/views/user/setting/options.blade.php +++ b/app/Themes/CodeFec/resources/views/user/setting/options.blade.php @@ -22,7 +22,7 @@ @include($value['view'])
@else -
+
@include($value['view'])
@endif diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 95c1346c9..9be26fe9a 100755 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -9,7 +9,7 @@ "/js/admin/component.js": "/js/admin/component.js?id=7c1df5ab535f318e62bd", "/js/admin/setting.js": "/js/admin/setting.js?id=f32f5543597519889463", "/js/admin/index.js": "/js/admin/index.js?id=f430961bcf2bf67909a1", - "/plugins/Core/js/user.js": "/plugins/Core/js/user.js?id=30d0e0892ec0dcac10ef", + "/plugins/Core/js/user.js": "/plugins/Core/js/user.js?id=0b96f6aeab7a2a5b8065", "/plugins/Core/js/app.js": "/plugins/Core/js/app.js?id=53aabc4bf19e56f33954", "/plugins/Topic/js/topic.js": "/plugins/Topic/js/topic.js?id=d808fd57dc5f2bc338ce", "/plugins/Comment/js/topic.js": "/plugins/Comment/js/topic.js?id=abf58f47af79dcec6886",