feat(omi-template): 教育/课程模板 增加"名师风采"与"学生评价“ #900
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
关联issue:#884
实现效果
(这里应该分批commit的,不小心忘记了,下次注意。)
修改点
故更新后应该需要更新项目依赖
npm install
一下。去除
Collapse
的引用,增加slidesPreView
、spaceBetween
、autoPlay
属性声明。如 背景色 将卡片写死的
bg-white
修改为bg-background
,可以兼容暗黑模式修改。如 固定的灰色字体
text-gray-700
样式可以修改为dark:text-foreground
。遗留问题(下一步计划)
fix:轮播图的自动轮播、不同宽度下的slidesPreView的自动调整。
style:计划引入 o-ripple 以及 增加 悬浮图片缩放特效。