forked from vincentzyc/form-design
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage-config.js
More file actions
30 lines (30 loc) · 5.57 KB
/
page-config.js
File metadata and controls
30 lines (30 loc) · 5.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
export default {
pageConfig: {
// 重置数据用,改默认值的话需要改store的common
list: [],
title: "云忆网络",
statsCode: "",
theme: "theme1",
style: {
backgroundColor: "#fff",
backgroundImage: ""
}
},
themes: [
{
value: "theme1",
name: "主题1",
pageData: { "list": [{ "type": "imgShow", "name": "图片展示", "value": "static/img/theme1.jpg", "link": "", "style": { "margin": "0px 0px 0px 0px" }, "key": "imgShow_1568799046732_862962" }, { "type": "formList", "name": "表单内容区", "list": [{ "type": "phone", "name": "手机号", "placeholder": "请输入手机号", "showLabel": false, "label": { "labelTitle": "手机号", "labelPosition": "left", "labelwidth": 50, "labelWidth": "50px" }, "value": "", "apiKey": "phone", "codeValue": "", "codeKey": "verifyCode", "showCode": true, "style": { "margin": "0px 0px 0px 0px", "btnStyle": { "background": "#409EFF", "color": "#fff", "borderColor": "#409EFF", "borderRadius": "5px", "borderradius": 5 } }, "key": "phone_1568809810832_745087" }, { "type": "button", "name": "按钮", "btnText": "提交", "btnType": "submit", "apiKey": "", "btnTypes": [{ "value": "submit", "label": "提交" }], "style": { "margin": "0px 0px 0px 0px", "isImgBtn": false, "value": "", "btnStyle": { "borderRadius": "20px", "borderradius": 20, "background": "#409EFF", "color": "#fff" } }, "key": "button_1568799415292_25503" }], "style": { "margin": "10px 20px 0px 20px", "borderradius": 10, "borderRadius": "10px", "borderColor": "#409eff", "borderwidth": 3, "borderWidth": "3px", "borderStyle": "solid" }, "key": "formList_1568799408464_381771" }, { "type": "staticText", "name": "文本描述", "value": "主题一", "link": "", "backgroundImage": "", "style": { "textAlign": "center", "fontsize": 14, "fontSize": "14px", "color": "#333333", "margin": "10px 10px 10px 10px" }, "key": "staticText_1568799421345_855582" }], "title": "云忆网络1", "statsCode": "", "theme": "theme1", "style": { "backgroundColor": "#fff", "backgroundImage": "" } }
},
{
value: "theme2",
name: "主题2",
pageData: { "list": [{ "type": "imgShow", "name": "图片展示", "value": "static/img/theme2.jpg", "link": "", "style": { "margin": "0px 0px 0px 0px" }, "key": "imgShow_1568799046732_862962" }, { "type": "formList", "name": "表单内容区", "list": [{ "type": "phone", "name": "手机号", "placeholder": "请输入手机号", "showLabel": true, "label": { "labelTitle": "手机号", "labelPosition": "left", "labelwidth": 50, "labelWidth": "50px" }, "value": "", "apiKey": "phone", "codeValue": "", "codeKey": "verifyCode", "showCode": true, "style": { "margin": "0px 0px 0px 0px", "btnStyle": { "background": "#FFFFFF", "color": "#707888", "borderColor": "#707888", "borderRadius": "5px", "borderradius": 5 } }, "key": "phone_1568809744600_26894" }, { "type": "button", "name": "按钮", "btnText": "提交", "btnType": "submit", "apiKey": "", "btnTypes": [{ "value": "submit", "label": "提交" }], "style": { "margin": "0px 0px 0px 0px", "isImgBtn": false, "value": "", "btnStyle": { "borderRadius": "20px", "borderradius": 20, "background": "#409EFF", "color": "#fff" } }, "key": "button_1568799415292_25503" }], "style": { "margin": "10px 20px 0px 20px", "borderradius": 10, "borderRadius": "10px", "borderColor": "#707888", "borderwidth": 3, "borderWidth": "3px", "borderStyle": "solid" }, "key": "formList_1568799408464_381771" }, { "type": "staticText", "name": "文本描述", "value": "主题二", "link": "", "backgroundImage": "", "style": { "textAlign": "center", "fontsize": 14, "fontSize": "14px", "color": "#333333", "margin": "10px 10px 10px 10px" }, "key": "staticText_1568799421345_855582" }], "title": "云忆网络2", "statsCode": "", "theme": "theme2", "style": { "backgroundColor": "#fff", "backgroundImage": "" } }
},
{
value: "theme3",
name: "主题3",
pageData: { "list": [{ "type": "imgShow", "name": "图片展示", "value": "static/img/theme3.jpg", "link": "", "style": { "margin": "0px 0px 0px 0px" }, "key": "imgShow_1568799046732_862962" }, { "type": "formList", "name": "表单内容区", "list": [{ "type": "phone", "name": "手机号", "placeholder": "请输入手机号", "showLabel": false, "label": { "labelTitle": "手机号", "labelPosition": "left", "labelwidth": 50, "labelWidth": "50px" }, "value": "", "apiKey": "phone", "codeValue": "", "codeKey": "verifyCode", "showCode": true, "style": { "margin": "0px 0px 0px 0px", "btnStyle": { "background": "#FFFFFF", "color": "#A92200", "borderColor": "#A92200", "borderRadius": "5px", "borderradius": 5 } }, "key": "phone_1568809861943_670004" }, { "type": "button", "name": "按钮", "btnText": "提交", "btnType": "submit", "apiKey": "", "btnTypes": [{ "value": "submit", "label": "提交" }], "style": { "margin": "0px 0px 0px 0px", "isImgBtn": false, "value": "", "btnStyle": { "borderRadius": "20px", "borderradius": 20, "background": "#A92200", "color": "#fff" } }, "key": "button_1568799415292_25503" }], "style": { "margin": "10px 20px 0px 20px", "borderradius": 10, "borderRadius": "10px", "borderColor": "#a92200", "borderwidth": 3, "borderWidth": "3px", "borderStyle": "solid" }, "key": "formList_1568799408464_381771" }, { "type": "staticText", "name": "文本描述", "value": "主题三", "link": "", "backgroundImage": "", "style": { "textAlign": "center", "fontsize": 14, "fontSize": "14px", "color": "#333333", "margin": "10px 10px 10px 10px" }, "key": "staticText_1568799421345_855582" }], "title": "云忆网络3", "statsCode": "", "theme": "theme3", "style": { "backgroundColor": "#fff", "backgroundImage": "" } }
}
]
}