提交 7aed245c 编写于 作者: KK's avatar KK

setting组件调整

上级 81453e04
export const settingConfig = { export const settingConfig = {
// 账号信息 default: [
accountInformation:true, {
// 用户实体参数名称 name: "accountInformation",
userEntityName:"user", isEnable: true,
// 个人中心视图(需用户手动配置) text: "账号信息",
userCenterViewName:"", position: "top",
// 手机号码 sort: "100",
mobilePhoneNumber:true, },
// 主题 {
theme:true, name: "mobilePhoneNumber",
// 风格 isEnable: true,
layoutStyle:true, text: "手机号码",
// 消息通知 position: "top",
notification:true, sort: "200",
// 隐私 },
privacy:true, {
// 通用 name: "theme",
Universal:true, isEnable: true,
// 辅助功能 text: "主题",
accessibility:true, position: "top",
// 关于 sort: "300",
about:true, },
// 退出登录 {
logout:true, name: "layoutStyle",
// 清除缓存 isEnable: true,
clear:true text: "风格",
}; position: "top",
\ No newline at end of file sort: "400",
viewName: "app-mob-select-changeStyle",
},
{
name: "notification",
isEnable: true,
text: "消息通知",
position: "center",
sort: "100",
},
{
name: "privacy",
isEnable: true,
text: "隐私",
position: "center",
sort: "200",
},
{
name: "universal",
isEnable: true,
text: "通用",
position: "center",
sort: "300",
},
{
name: "accessibility",
isEnable: true,
text: "辅助功能",
position: "center",
sort: "400",
},
{
name: "about",
isEnable: true,
text: "关于",
position: "center",
sort: "500",
},
{
name: "logout",
isEnable: true,
text: "退出登录",
position: "bottom",
sort: "100",
},
{
name: "clear",
isEnable: true,
text: "清除缓存",
position: "bottom",
sort: "200",
},
],
// 个人中心视图(需用户手动配置)
userCenterViewName: "",
// 用户实体参数名称
userEntityName: "user",
// 自定义功能
userCustomize: [
// {
// 名称(不可重复)
// name: "test",
// 是否启用
// isEnable: true,
// 显示文本
// text: "test",
// // 板块位置(内置为三个板块,分别为 top、center、bottom)
// position: "center",
// // 板块排序(与其他item的排序位置)
// sort: "201",
// 打开视图名称
// viewName: "",
// },
],
};
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册