根据原型图完成了商城界面#3
Open
fuxiao156 wants to merge 2 commits intoCSU-OSA:mainfrom
Open
Conversation
SunshineZerg
approved these changes
Oct 29, 2023
DevRickLin
requested changes
Nov 2, 2023
| // price:价格 number | ||
| // detaillink:详情页链接地址 string | ||
| // buylink:购买页面链接地址 string | ||
| // tipType:提示类型,0:即将上线,1:进行中,2:已结束 number |
| }, | ||
| ]; | ||
| // tip的类型 | ||
| const tipType = ['future', 'now', 'past']; |
| @@ -0,0 +1,177 @@ | |||
| .marketPage { | |||
Contributor
There was a problem hiding this comment.
我们的项目用了 tailwind css。可以用 tailwind 实现的样式可以迁移过去,其他实现不了的再另外写。另外命名规范可以参考 BEM ,不强制,不过建议至少是 snake-case
Contributor
There was a problem hiding this comment.
这里优先使用组件库吧,tailwind其实是打算在后面开发中去掉的,不使用就不使用,我们用的是字节的arcodesign,如果有arco组件就优先使用arco组件,样式就用css就可以
Contributor
|
by the way, 虽然也不是强制(毕竟之前其他人也不是很规范),不过后面稍微注意下 commit 规范是好事,可以参考我的其他 commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
由于不知道如何融入图片比较合适,于是就完全照着原型图的样子绘制了页面