feat: 首页,收藏页的UI,字体 组件封装
This commit is contained in:
1 parent
f233f1c642
commit
7f329aef44
32 files changed
+1110
-41
No files matched your search
@@ -9,6 +9,8 @@ class ConstColor {
|
||||
static Color btWhite = Color(0xffEEEEEE);
|
||||
// #89F011
|
||||
static Color btGreen = Color(0xff89F011);
|
||||
// black
|
||||
static Color black = Color(0xff222222);
|
||||
|
||||
static Color withValue(String value) {
|
||||
String colorValue = value.replaceAll('#', '');
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
|
||||
class ConstString {
|
||||
|
||||
}
|
||||
|
||||
class ConstFont {
|
||||
static const String montBlack = 'Montserrat-Black';
|
||||
static const String montBold = 'Montserrat-Bold';
|
||||
static const String montMedium = 'Montserrat-Medium';
|
||||
static const String montRegular = 'Montserrat-Regular';
|
||||
}
|
||||
@@ -16,6 +16,25 @@ class ConstImage {
|
||||
static const String btMineSel = "assets/main/bt_mine_seled.png";
|
||||
static const String spaceImg = "assets/main/space_img.png";
|
||||
|
||||
/// imgs
|
||||
static const String searchBg = "assets/imgs/search_bg.png";
|
||||
// home_search top_logo
|
||||
static const String homeSearch = "assets/imgs/home_search.png";
|
||||
static const String homeTopLogo = "assets/imgs/home_top_logo.png";
|
||||
static const String homeFirst = "assets/imgs/home_first.png";
|
||||
static const String homeCurrentTag = "assets/imgs/home_current_tag.png";
|
||||
static const String homeRank = "assets/imgs/home_rank_bg.png";
|
||||
// btn_two_bg
|
||||
static const String btnTwoBg = "assets/imgs/btn_two_bg.png";
|
||||
// cate_bg
|
||||
static const String cateBg = "assets/imgs/cate_bg.png";
|
||||
// hot
|
||||
static const String hot = "assets/imgs/hot.png";
|
||||
// btn_bg_rad1
|
||||
static const String btnBgRad1 = "assets/imgs/btn_bg_rad1.png";
|
||||
static const String btnBgRad2 = "assets/imgs/btn_bg_rad2.png";
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user