mall + promotion:review 页面装修

This commit is contained in:
YunaiV
2023-06-24 12:54:59 +08:00
parent ad1f656dfa
commit b582206003
17 changed files with 57 additions and 61 deletions

View File

@ -9,6 +9,7 @@ import lombok.Getter;
*/
@Getter
public enum DecorateComponentEnum {
NAV_MENU("nav-menu", "导航菜单"),
ROLLING_BANNER("rolling-banner", "滚动横幅广告"),
PRODUCT_CATEGORY("product-category", "商品分类");
@ -27,4 +28,5 @@ public enum DecorateComponentEnum {
this.code = code;
this.desc = desc;
}
}

View File

@ -14,6 +14,7 @@ import java.util.Arrays;
@AllArgsConstructor
@Getter
public enum DecoratePageTypeEnum implements IntArrayValuable {
INDEX(1, "首页");
private static final int[] ARRAYS = Arrays.stream(values()).mapToInt(DecoratePageTypeEnum::getType).toArray();
@ -31,4 +32,5 @@ public enum DecoratePageTypeEnum implements IntArrayValuable {
public int[] array() {
return ARRAYS;
}
}