File tree Expand file tree Collapse file tree 8 files changed +31
-25
lines changed
Expand file tree Collapse file tree 8 files changed +31
-25
lines changed Original file line number Diff line number Diff line change 3030 ],
3131 'Banner ' => [
3232 'enable ' => true ,
33- 'config ' => [
34- 'position ' => '[{"k":"home","v":"首页"}] ' ,
35- ],
3633 ],
3734 ],
3835];
Original file line number Diff line number Diff line change 99use ModStart \Core \Dao \ModelUtil ;
1010use ModStart \Layout \Row ;
1111use ModStart \Module \ModuleClassLoader ;
12+ use Module \Banner \Biz \BannerPositionBiz ;
13+ use Module \Banner \Biz \QuickBannerPositionBiz ;
1214use Module \Blog \Util \BlogCategoryUtil ;
1315use Module \Vendor \Admin \Config \AdminWidgetDashboard ;
1416use Module \Vendor \Admin \Config \AdminWidgetLink ;
@@ -88,6 +90,9 @@ public function boot(Dispatcher $events)
8890 HomePageProvider::register (BlogHomePageProvider::class);
8991 SearchBoxProvider::register (BlogSearchBoxProvider::class);
9092 ModuleClassLoader::addClass ('MBlog ' , __DIR__ . '/MBlog.php ' );
93+ if (class_exists (QuickBannerPositionBiz::class)) {
94+ BannerPositionBiz::register (QuickBannerPositionBiz::make ('blogHome ' , '博客系统首页 ' ));
95+ }
9196 }
9297
9398
Original file line number Diff line number Diff line change 1- https://ms-assets.modstart.com/data/image/2021/12/06/48206_zcoy_2257.png
2- https://ms-assets.modstart.com/data/image/2021/12/06/48206_nrax_4980.png
3- https://ms-assets.modstart.com/data/image/2021/12/06/48207_43bz_9873.png
1+ ![ image-20220629104259743] ( https://ms-assets.modstart.com/data/image/2022/06/29/9781_j70o_3391.png )
2+
3+ ![ image-20220629104311596] ( https://ms-assets.modstart.com/data/image/2022/06/29/9793_b1ny_9440.png )
4+
5+ ![ image-20220629104322413] ( https://ms-assets.modstart.com/data/image/2022/06/29/9803_ytpo_7344.png )
6+
7+ ![ image-20220629104331853] ( https://ms-assets.modstart.com/data/image/2022/06/29/9813_uxhq_4328.png )
8+
9+ ![ image-20220629104344497] ( https://ms-assets.modstart.com/data/image/2022/06/29/9826_1epb_3069.png )
Original file line number Diff line number Diff line change 1- https://ms-assets.modstart.com/data/image/2021/12/06/48203_dam5_8517.png
2- https://ms-assets.modstart.com/data/image/2021/12/06/48204_7i1w_5640.png
3- https://ms-assets.modstart.com/data/image/2021/12/06/48205_lqhk_2646.png
4- https://ms-assets.modstart.com/data/image/2021/12/06/48205_pwu5_1953.png
1+ ![ image-20220629104107790] ( https://ms-assets.modstart.com/data/image/2022/06/29/9671_6ovw_1948.png )
2+
3+ ![ image-20220629104128831] ( https://ms-assets.modstart.com/data/image/2022/06/29/9691_5ln2_3704.png )
4+
5+ ![ image-20220629104220063] ( https://ms-assets.modstart.com/data/image/2022/06/29/9741_vhb4_1683.png )
6+
7+ ![ image-20220629104233131] ( https://ms-assets.modstart.com/data/image/2022/06/29/9754_pbtf_1922.png )
Original file line number Diff line number Diff line change 1+ ## 2.1.0
2+
3+ - 优化:博客首页轮播位置动态注册(需要后台重新设置博客首页轮播图片)
4+
5+ ---
6+
7+ ## 2.0.0 提供一个基础的博客系统
8+
9+ - 博客系统全面升级
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1313 <div class =" col-md-8 margin-top" >
1414
1515 <div class =" tw-bg-white tw-p-1 tw-rounded" >
16- {!! \Module \Banner \Render \BannerRender:: position (' home ' ) ! !}
16+ {!! \Module \Banner \Render \BannerRender:: position (' blogHome ' ) ! !}
1717 </div >
1818
1919 <div class =" tw-p-6 tw-rounded tw-bg-white margin-top" >
You can’t perform that action at this time.
0 commit comments