提交 77d7a8b7 编写于 作者: U unknown

视图自定义样式”

上级 8396ef06
{
"pagingBar" : {
"float": "left",
"margin-left": "10px",
"height": "24px",
"color": "#777777"
},
"firstPage" : {
"height": "24px",
"width": "80px",
"border": "1px solid #e6e6e6",
"text-align": "center",
"line-height": "24px",
"cursor": "pointer",
"margin-right": "10px",
"background-color": "#ffffff",
"float": "left"
},
"firstPage_over" : {
"background-color": "#f1f1f1"
},
"lastPage" : {
"height": "24px",
"width": "80px",
"border": "1px solid #e6e6e6",
"text-align": "center",
"line-height": "24px",
"cursor": "pointer",
"background-color": "#ffffff",
"float": "left"
},
"lastPage_over" : {
"background-color": "#f1f1f1"
},
"prePage" : {
"width": "24px",
"height": "24px",
"border": "1px solid #e6e6e6",
"text-align": "center",
"line-height": "24px",
"cursor": "pointer",
"background-color": "#ffffff",
"float": "left",
"margin-right": "10px",
"background": "url(/o2_core/o2/widget/$Paging/default/icon/left.png) no-repeat center center"
},
"prePage_over" : {
"background-color": "#f1f1f1"
},
"nextPage" : {
"width": "24px",
"height": "24px",
"border": "1px solid #e6e6e6",
"text-align": "center",
"line-height": "24px",
"cursor": "pointer",
"background-color": "#ffffff",
"float": "left",
"margin-right": "10px",
"background": "url(/o2_core/o2/widget/$Paging/default/icon/right.png) no-repeat center center"
},
"nextPage_over" : {
"background-color": "#f1f1f1"
},
"pageTurnContainer" : {
"float" : "left"
},
"pageItem" : {
"padding-left": "5px",
"padding-right" : "5px",
"height": "24px",
"border": "1px solid #e6e6e6",
"text-align": "center",
"line-height": "24px",
"cursor": "pointer",
"float": "left",
"margin-right": "10px",
"background-color": "#ffffff"
},
"pageItem_over" : {
"background-color": "#f1f1f1"
},
"preBatchPage" : {
"padding-left": "5px",
"padding-right" : "5px",
"height": "24px",
"border": "1px solid #e6e6e6",
"text-align": "center",
"line-height": "24px",
"cursor": "pointer",
"float": "left",
"margin-right": "10px",
"background-color": "#ffffff"
},
"preBatchPage_over" : {
"background-color": "#f1f1f1"
},
"nextBatchPage" : {
"padding-left": "5px",
"padding-right" : "5px",
"height": "24px",
"border": "1px solid #e6e6e6",
"text-align": "center",
"line-height": "24px",
"cursor": "pointer",
"float": "left",
"margin-right": "10px",
"background-color": "#ffffff"
},
"nextBatchPage_over" : {
"background-color": "#f1f1f1"
},
"currentPage" : {
"width": "24px",
"height": "24px",
"border": "1px solid #e6e6e6",
"text-align": "center",
"line-height": "24px",
"cursor": "pointer",
"float": "left",
"margin-right": "10px",
"background-color": "#cc3d3d",
"color": "#ffffff"
},
"pageJumper" : {
"float" : "left",
"height" : "20px",
"line-height" : "20px",
"text-align" : "center",
"width" : "20px",
"margin-left" : "10px",
"border" : "1px solid #ddd"
},
"pageJumper_over" : {
"border" : "1px solid #cc3d3d"
},
"pageJumperText" : {
"float" : "left",
"height" : "20px",
"padding" : "2px 5px",
"text-align" : "center",
"line-height" : "20px",
"margin-right" : "5px"
}
}
\ No newline at end of file
{
"name": "蓝白扁平",
"form": {
"styles":{
"background-color": "#f1f4f9"
}
},
"table": {
"containerStyles" : {
},
"tableStyles": {
"background-color": "#FFF",
"border" : "1px solid #DCDFE6"
......@@ -42,9 +40,16 @@
"style": "xform_blue_flat",
"iconOverStyle": "xform_blue_flat_over",
"customIconStyle" : "blue",
"customIconOverStyle" : "white"
"customIconOverStyle" : "white",
"forceStyles" : {
"container" : {
"width" : "100%",
"padding-left" : "10px",
"padding-right" : "10px"
}
}
},
"paging" : {
"style" : "default"
}
}
\ No newline at end of file
{
"name": "蓝色简洁",
"form": {
"styles":{
"background-color": "#f0f0f0"
}
},
"label": {
"banner": {
"name": "横幅",
"styles": {
"background-color": "#3c76b7",
"height": "40px",
"line-height": "40px",
"color": "#ffffff",
"font-size": "18px",
"padding": "0px 10px",
"font-weight": "bold"
}
},
"title": {
"name": "标题",
"styles": {
"text-align": "center",
"font-size": "24px",
"line-height": "60px",
"font-weight": "bold",
"color": "#3c76b7",
"height": "60px"
}
},
"section": {
"name": "区段标题",
"styles": {
"height": "40px",
"background-color": "#f7f7f7",
"line-height": "40px",
"padding": "0px 20px",
"font-weight": "bold",
"color": "#666",
"border-bottom": "1px solid #cccccc"
}
}
},
"div": {
"banner": {
"name": "横幅",
"styles": {
"background-color": "#3c76b7",
"height": "40px",
"line-height": "40px",
"color": "#ffffff",
"font-size": "18px",
"padding": "0px 10px",
"font-weight": "bold"
}
},
"title": {
"name": "标题",
"styles": {
"text-align": "center",
"font-size": "24px",
"line-height": "60px",
"font-weight": "bold",
"color": "#3c76b7",
"height": "60px"
}
},
"section": {
"name": "区段",
"styles": {
"padding": "20px 0px",
"background-color": "#FFF",
"border": "1px solid #cccccc"
}
}
},
"tab": {
"styles": {},
"tabAreaStyles": {
"height": "40px",
"border-bottom": "2px solid #3c76b7"
},
"contentAreaStyles": {
"line-height": "normal",
"clear": "both",
"overflow": "hidden"
},
"tabStyles": {
"position": "relative",
"margin-left": "4px",
"margin-top": "0px",
"margin-right": "0px",
"float": "left",
"height": "40px",
"cursor": "pointer",
"min-width": "100px",
"background": "transparent ",
"border-top-left-radius": "5px",
"border-top-right-radius": "5px",
"border": "0px solid #f0f0f0",
"border-bottom": "1px solid #3c76b7"
},
"tabTextStyles": {
"color": "#666",
"font-weight": "bold",
"line-height": "40px",
"text-align": "center",
"margin-right": "8px",
"margin-top": "0px",
"margin-left": "8px"
},
"tabCurrentStyles": {
"position": "relative",
"margin-top": "0px",
"margin-left": "2px",
"margin-right": "0px",
"float": "left",
"height": "40px",
"min-width": "100px",
"background": "#3c76b7",
"border-top-left-radius": "5px",
"border-top-right-radius": "5px",
"border-top": "0px solid #f0f0f0",
"border-left": "0px solid #f0f0f0",
"border-right": "0px solid #f0f0f0",
"border-bottom": "1px solid #3c76b7"
},
"tabCurrentTextStyles": {
"color": "#FFF",
"font-weight": "bold",
"line-height": "40px",
"text-align": "center",
"margin-right": "8px",
"margin-left": "8px",
"margin-top": "0px"
}
},
"tab$Content": {
"styles": {
"padding": "20px 0px"
}
},
"table": {
"styles": {
"background-color": "#FFF",
"margin": "10px 0px"
},
"titleStyles":{
"background-color": "#fff",
"color": "#333",
"font-weight": "bold",
"height": "30px",
"line-height": "30px",
"text-align": "right"
},
"contentStyles": {
"background-color": "#FFFFFF",
"color": "#333"
},
"layoutStyles": {},
"properties": {
"width": "90%",
"border": "0",
"cellpadding": "3",
"cellspacing": "5",
"align": "center"
}
},
"log" : {
"tableStyles": {
"background-color": "#FFF",
"margin": "10px 0px"
},
"titleStyles":{
"background-color": "#fff",
"color": "#333",
"font-weight": "bold",
"height": "30px",
"line-height": "30px",
"text-align": "right"
},
"contentStyles": {
"background-color": "#FFFFFF",
"color": "#333"
},
"properties": {
"width": "90%",
"border": "0",
"cellpadding": "3",
"cellspacing": "5",
"align": "center"
}
},
"datagrid": {
"styles": {},
"tableStyles": {
"border": "1px solid #cccccc"
},
"titleStyles": {
"height": "28px",
"cursor": "pointer",
"line-height": "28px",
"overflow": "hidden",
"opacity": 1,
"border-bottom": "1px solid #ccc",
"background-color": "#f0f0f0"
},
"contentStyles": {
"text-align": "center",
"height": "30px",
"line-height": "30px",
"color": "#666"
},
"actionStyles": {
"background-color": "#f7f7f7"
},
"editStyles": {
"background-color": "#fff6f6",
"text-align": "center",
"height": "30px",
"line-height": "30px"
},
"amountStyles": {
"border-top": "1px solid #ccc",
"font-weight": "bold",
"height": "30px",
"line-height": "30px",
"text-align": "center",
"background-color": "#f0f0f0"
},
"itemTitleStyles": {
"height": "40px",
"background-color": "#ffffff",
"line-height": "30px",
"padding": "0px 15px",
"color": "#fb4747",
"font-size": "18px",
"font-weight": "bold",
"border-bottom": "0px solid #cccccc"
},
"properties": {
"border": "0",
"cellpadding": "3",
"cellspacing": "0",
"align": "center"
}
},
"datagrid$Title": {
"styles": {
"background-color": "#f0f0f0"
}
},
"address": {
"styles": {
"border-bottom": "1px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"line-height": "26px"
},
"inputStyles": {
"height": "26px",
"color": "#666",
"border": "0px solid #ccc"
}
},
"combox": {
"styles": {
"border-bottom": "1px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"line-height": "26px"
},
"inputStyles": {
"height": "26px",
"color": "#666",
"border": "0px solid #ccc"
}
},
"textfield": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"line-height": "26px"
},
"inputStyles": {
"height": "26px",
"color": "#666",
"border-bottom": "1px solid #ccc"
}
},
"calendar": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"line-height": "26px"
},
"inputStyles": {
"height": "26px",
"color": "#666",
"border-bottom": "1px solid #ccc"
}
},
"number": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"line-height": "26px"
},
"inputStyles": {
"height": "26px",
"color": "#666",
"border-bottom": "1px solid #ccc"
}
},
"personfield": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"min-height": "20px",
"line-height": "26px"
},
"inputStyles": {
"min-height": "26px",
"color": "#666",
"border-bottom": "1px solid #ccc"
}
},
"orgfield": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"min-height": "20px",
"line-height": "26px"
},
"inputStyles": {
"min-height": "26px",
"color": "#666",
"border-bottom": "1px solid #ccc"
}
},
"org": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"min-height": "20px",
"line-height": "26px"
},
"inputStyles": {
"min-height": "26px",
"color": "#666",
"border-bottom": "1px solid #ccc"
}
},
"select": {
"styles": {
"border-bottom": "0px solid #999",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"margin-top": "5px",
"color": "#666"
},
"inputStyles": {
"height": "26px",
"font-size": "14px"
}
},
"textarea": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px"
},
"inputStyles": {
"border-bottom": "1px solid #ccc",
"color": "#666"
}
},
"opinion": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px"
},
"inputStyles": {
"border-bottom": "1px solid #ccc",
"color": "#666"
}
},
"actionbar": {
"style": "xform_blue_simple",
"customIconStyle" : ""
},
"attachment" : {
"paging" : {
"style" : "default"
}
}
\ No newline at end of file
{
"name": "集团样式",
"form": {
"styles":{
"background-color": "#f0f0f0"
}
},
"label": {
"banner": {
"name": "横幅",
"styles": {
"background-color": "#3c76b7",
"height": "40px",
"line-height": "40px",
"color": "#ffffff",
"font-size": "18px",
"padding": "0px 10px",
"font-weight": "bold"
}
},
"title": {
"name": "标题",
"styles": {
"text-align": "center",
"font-size": "36px",
"line-height": "100px",
"font-weight": "bold",
"color": "#f81313",
"height": "100px"
}
},
"section": {
"name": "区段标题",
"styles": {
"background-color": "#f7f7f7",
"height": "35px",
"font-size" : "16px",
"line-height": "35px",
"padding": "0px 10px",
"font-weight": "normal",
"color": "#555",
"border-bottom": "0px"
}
}
},
"div": {
"banner": {
"name": "横幅",
"styles": {
"background-color": "#3c76b7",
"height": "40px",
"line-height": "40px",
"color": "#ffffff",
"font-size": "18px",
"padding": "0px 10px",
"font-weight": "bold"
}
},
"title": {
"name": "标题",
"styles": {
"text-align": "center",
"font-size": "24px",
"line-height": "60px",
"font-weight": "bold",
"color": "#3c76b7",
"height": "60px"
}
},
"section": {
"name": "区段标题",
"styles": {
"background-color": "#f7f7f7",
"height": "35px",
"font-size" : "16px",
"line-height": "35px",
"padding": "0px 10px",
"font-weight": "normal",
"color": "#555",
"border-bottom": "0px"
}
}
},
"tab": {
"styles": {},
"tabAreaStyles": {
"height": "40px",
"border-bottom": "2px solid #3c76b7"
},
"contentAreaStyles": {
"line-height": "normal",
"clear": "both",
"overflow": "hidden"
},
"tabStyles": {
"position": "relative",
"margin-left": "4px",
"margin-top": "0px",
"margin-right": "0px",
"float": "left",
"height": "40px",
"cursor": "pointer",
"min-width": "100px",
"background": "transparent ",
"border-top-left-radius": "5px",
"border-top-right-radius": "5px",
"border": "0px solid #f0f0f0",
"border-bottom": "1px solid #3c76b7"
},
"tabTextStyles": {
"color": "#666",
"font-weight": "bold",
"line-height": "40px",
"text-align": "center",
"margin-right": "8px",
"margin-top": "0px",
"margin-left": "8px"
},
"tabCurrentStyles": {
"position": "relative",
"margin-top": "0px",
"margin-left": "2px",
"margin-right": "0px",
"float": "left",
"height": "40px",
"min-width": "100px",
"background": "#3c76b7",
"border-top-left-radius": "5px",
"border-top-right-radius": "5px",
"border-top": "0px solid #f0f0f0",
"border-left": "0px solid #f0f0f0",
"border-right": "0px solid #f0f0f0",
"border-bottom": "1px solid #3c76b7"
},
"tabCurrentTextStyles": {
"color": "#FFF",
"font-weight": "bold",
"line-height": "40px",
"text-align": "center",
"margin-right": "8px",
"margin-left": "8px",
"margin-top": "0px"
}
},
"tab$Content": {
"styles": {
"padding": "20px 0px"
}
},
"table": {
"styles": {
"background-color": "#FFF",
"margin": "10px 10px",
"border" : "1px solid #e1e1e1"
},
"titleStyles":{
"background-color": "#f7f7f7",
"color": "#333",
"font-weight": "bold",
"height": "30px",
"line-height": "30px",
"text-align": "center"
},
"contentStyles": {
"background-color": "#FFFFFF",
"color": "#333"
},
"layoutStyles": {},
"properties": {
"width": "100%",
"border": "0",
"cellpadding": "3",
"cellspacing": "5",
"align": "center"
}
},
"log" : {
"tableStyles": {
"background-color": "#FFF",
"margin": "10px 10px",
"border" : "1px solid #e1e1e1"
},
"titleStyles":{
"background-color": "#f7f7f7",
"color": "#333",
"font-weight": "bold",
"height": "30px",
"line-height": "30px",
"text-align": "center"
},
"contentStyles": {
"background-color": "#FFFFFF",
"color": "#333"
},
"properties": {
"width": "100%",
"border": "0",
"cellpadding": "3",
"cellspacing": "5",
"align": "center"
}
},
"datagrid": {
"styles": {},
"tableStyles": {
"border": "1px solid #cccccc"
},
"titleStyles": {
"height": "28px",
"cursor": "pointer",
"line-height": "28px",
"overflow": "hidden",
"opacity": 1,
"border-bottom": "1px solid #ccc",
"background-color": "#f0f0f0"
},
"contentStyles": {
"text-align": "center",
"height": "30px",
"line-height": "30px",
"color": "#666"
},
"actionStyles": {
"background-color": "#f7f7f7"
},
"editStyles": {
"background-color": "#fff6f6",
"text-align": "center",
"height": "30px",
"line-height": "30px"
},
"amountStyles": {
"border-top": "1px solid #ccc",
"font-weight": "bold",
"height": "30px",
"line-height": "30px",
"text-align": "center",
"background-color": "#f0f0f0"
},
"itemTitleStyles": {
"height": "40px",
"background-color": "#ffffff",
"line-height": "30px",
"padding": "0px 15px",
"color": "#fb4747",
"font-size": "18px",
"font-weight": "bold",
"border-bottom": "0px solid #cccccc"
},
"properties": {
"border": "0",
"cellpadding": "3",
"cellspacing": "0",
"align": "center"
}
},
"datagrid$Title": {
"styles": {
"background-color": "#f0f0f0"
}
},
"address": {
"styles": {
"border-bottom": "1px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"line-height": "30px"
},
"inputStyles": {
"font-size" : "100%",
"height": "30px",
"color": "#666",
"border": "0px solid #ccc"
}
},
"combox": {
"styles": {
"border-bottom": "1px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"line-height": "30px"
},
"inputStyles": {
"font-size" : "100%",
"height": "30px",
"color": "#666",
"border": "0px solid #ccc"
}
},
"textfield": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"line-height": "30px"
},
"inputStyles": {
"font-size" : "100%",
"height": "30px",
"color": "#666",
"border": "1px solid transparent",
"border-bottom": "1px solid #ccc"
}
},
"calendar": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"line-height": "30px"
},
"inputStyles": {
"font-size" : "100%",
"height": "30px",
"color": "#666",
"border": "1px solid transparent",
"border-bottom": "1px solid #ccc"
}
},
"number": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"line-height": "30px"
},
"inputStyles": {
"font-size" : "100%",
"height": "30px",
"color": "#666",
"border": "1px solid transparent",
"border-bottom": "1px solid #ccc"
}
},
"personfield": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"min-height": "30px",
"line-height": "30px"
},
"inputStyles": {
"font-size" : "100%",
"min-height": "30px",
"color": "#666",
"border": "1px solid transparent",
"border-bottom": "1px solid #ccc"
}
},
"orgfield": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"min-height": "30px",
"line-height": "30px"
},
"inputStyles": {
"font-size" : "100%",
"min-height": "30px",
"color": "#666",
"border": "1px solid transparent",
"border-bottom": "1px solid #ccc"
}
},
"org": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"min-height": "30px",
"line-height": "30px"
},
"inputStyles": {
"font-size" : "100%",
"min-height": "30px",
"color": "#666",
"border": "1px solid transparent",
"border-bottom": "1px solid #ccc"
}
},
"select": {
"styles": {
"border-bottom": "0px solid #999",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"margin-top": "5px",
"color": "#666"
},
"inputStyles": {
"height": "30px",
"font-size": "100%"
}
},
"textarea": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px"
},
"inputStyles": {
"font-size" : "100%",
"border": "1px solid transparent",
"border-bottom": "1px solid #ccc",
"color": "#666"
}
},
"opinion": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px"
},
"inputStyles": {
"font-size" : "100%",
"border": "1px solid transparent",
"border-bottom": "1px solid #ccc",
"color": "#666"
}
},
"actionbar": {
"style": "cmcc",
"customIconStyle" : "white"
},
"attachment" : {
"style" : "cmcc"
"paging" : {
"style" : "default"
}
}
\ No newline at end of file
{
"name": "传统样式",
"form": {
"styles":{
"background-color": "#f0f0f0"
}
},
"table": {
"containerStyles" : {
},
"tableStyles": {
"background-color": "#FFF",
"border": "1px solid #ddd"
......@@ -41,7 +39,7 @@
"style": "xform_blue_simple",
"customIconStyle" : ""
},
"pagingBar" : {
"paging" : {
"style" : "default"
}
}
\ No newline at end of file
{
"name": "公文样式",
"form": {
"styles":{
"background-color": "#ffffff",
"font-family": "宋体"
}
},
"label": {
"banner": {
"name": "横幅",
"styles": {
"height": "40px",
"line-height": "40px",
"color": "#fd1113",
"font-size": "18px",
"padding": "0px 10px",
"font-weight": "bold",
"text-align": "center"
}
},
"title": {
"name": "标题",
"styles": {
"text-align": "center",
"font-size": "36px",
"line-height": "60px",
"font-weight": "bold",
"color": "#fd1113",
"height": "60px",
"font-family": "宋体"
}
},
"section": {
"name": "区段标题",
"styles": {
"height": "40px",
"background-color": "#f7f7f7",
"line-height": "40px",
"padding": "0px 20px",
"font-weight": "bold",
"color": "#666",
"border-bottom": "1px solid #cccccc"
}
}
},
"div": {
"banner": {
"name": "横幅",
"styles": {
"height": "40px",
"line-height": "40px",
"color": "#fd1113",
"font-size": "18px",
"padding": "0px 10px",
"font-weight": "bold",
"text-align": "center"
}
},
"title": {
"name": "标题",
"styles": {
"text-align": "center",
"font-size": "36px",
"line-height": "60px",
"font-weight": "bold",
"color": "#fd1113",
"height": "60px"
}
},
"section": {
"name": "区段",
"styles": {
"padding": "20px 0px",
"background-color": "#FFF",
"border": "1px solid #cccccc"
}
}
},
"tab": {
"styles": {},
"tabAreaStyles": {
"height": "40px",
"border-bottom": "2px solid #cc3d3d"
},
"contentAreaStyles": {
"line-height": "normal",
"clear": "both",
"overflow": "hidden"
},
"tabStyles": {
"position": "relative",
"margin-left": "4px",
"margin-top": "0px",
"margin-right": "0px",
"float": "left",
"height": "40px",
"cursor": "pointer",
"min-width": "100px",
"background": "transparent ",
"border-top-left-radius": "5px",
"border-top-right-radius": "5px",
"border": "0px solid #f0f0f0",
"border-bottom": "1px solid #cc0000"
},
"tabTextStyles": {
"color": "#666",
"font-weight": "bold",
"font-size": "18px",
"line-height": "40px",
"text-align": "center",
"margin-right": "8px",
"margin-top": "0px",
"margin-left": "8px"
},
"tabCurrentStyles": {
"position": "relative",
"margin-top": "0px",
"margin-left": "2px",
"margin-right": "0px",
"float": "left",
"height": "40px",
"min-width": "100px",
"background": "#cc0000",
"border-top-left-radius": "5px",
"border-top-right-radius": "5px",
"border-top": "0px solid #f0f0f0",
"border-left": "0px solid #f0f0f0",
"border-right": "0px solid #f0f0f0",
"border-bottom": "1px solid #cc3d3d"
},
"tabCurrentTextStyles": {
"color": "#FFF",
"font-weight": "bold",
"font-size": "18px",
"line-height": "40px",
"text-align": "center",
"margin-right": "8px",
"margin-left": "8px",
"margin-top": "0px"
}
},
"tab$Content": {
"styles": {
"padding": "20px 0px"
}
},
"table": {
"styles": {
"background-color": "#FFF",
"border": "1px solid #fd1113"
},
"titleStyles":{
"background-color": "#fff",
"color": "#fd1113",
"font-weight": "bold",
"height": "30px",
"line-height": "30px",
"text-align": "center",
"font-size": "18px"
},
"contentStyles": {
"background-color": "#FFFFFF",
"color": "#333",
"font-size": "18px",
"min-height": "30px"
},
"layoutStyles": {},
"properties": {
"width": "100%",
"border": "0",
"cellpadding": "5",
"align": "center"
}
},
"log" : {
"tableStyles": {
"background-color": "#FFF",
"border": "1px solid #fd1113"
},
"titleStyles":{
"background-color": "#fff",
"color": "#fd1113",
"font-weight": "bold",
"height": "30px",
"line-height": "30px",
"text-align": "center",
"font-size": "18px"
},
"contentStyles": {
"background-color": "#FFFFFF",
"color": "#333",
"font-size": "18px",
"min-height": "30px"
},
"properties": {
"width": "100%",
"border": "0",
"cellpadding": "5",
"align": "center"
}
},
"datagrid": {
"styles": {
},
"tableStyles": {
"border-left": "1px solid #fd1113",
"border-top": "1px solid #fd1113"
},
"titleStyles": {
"height": "28px",
"cursor": "pointer",
"line-height": "28px",
"overflow": "hidden",
"opacity": 1,
"color": "#fd1113",
"border-right": "1px solid #fd1113",
"border-bottom": "1px solid #fd1113",
"background-color": "#f0f0f0"
},
"contentStyles": {
"text-align": "center",
"height": "30px",
"line-height": "30px",
"border-right": "1px solid #fd1113",
"border-bottom": "1px solid #fd1113"
},
"actionStyles": {
"background-color": "#f7f7f7",
"border-right": "1px solid #fd1113",
"border-bottom": "1px solid #fd1113"
},
"editStyles": {
"background-color": "#fff6f6",
"text-align": "center",
"height": "30px",
"line-height": "30px",
"border-right": "1px solid #fd1113",
"border-bottom": "1px solid #fd1113"
},
"amountStyles": {
"border-top": "1px solid #ccc",
"font-weight": "bold",
"height": "30px",
"line-height": "30px",
"text-align": "center",
"background-color": "#f0f0f0",
"border-right": "1px solid #fd1113",
"border-bottom": "1px solid #fd1113"
},
"itemTitleStyles": {
"height": "40px",
"background-color": "#ffffff",
"line-height": "30px",
"padding": "0px 15px",
"color": "#fd1113",
"font-size": "18px",
"font-weight": "bold",
"border-bottom": "0px solid #cccccc"
},
"properties": {
"width": "90%",
"border": "0",
"cellpadding": "3",
"cellspacing": "0",
"align": "center"
}
},
"datagrid$Title": {
"styles": {
"background-color": "#f0f0f0"
}
},
"textfield": {
"styles": {
"border-bottom": "0px",
"border": "0px solid #999999",
"height": "auto",
"font-size": "18px",
"line-height": "30px"
},
"inputStyles": {
"border": "1px solid #999999",
"height": "30px",
"line-height": "30px",
"font-size": "18px",
"color": "#666",
"font-family": "宋体"
}
},
"calendar": {
"styles": {
"border-bottom": "0px",
"border": "0px solid #999999",
"height": "auto",
"font-size": "18px",
"line-height": "30px"
},
"inputStyles": {
"border": "1px solid #999999",
"height": "30px",
"line-height": "30px",
"font-size": "18px",
"color": "#666",
"font-family": "宋体"
}
},
"number": {
"styles": {
"border-bottom": "0px",
"border": "0px solid #999999",
"height": "auto",
"font-size": "18px",
"line-height": "30px"
},
"inputStyles": {
"border": "1px solid #999999",
"height": "30px",
"line-height": "30px",
"font-size": "18px",
"color": "#666",
"font-family": "宋体"
}
},
"address": {
"styles": {
"border-bottom": "0px",
"height": "auto",
"line-height": "30px",
"font-size": "18px",
"border": "0px solid #999999"
},
"inputStyles": {
"border": "1px solid #999999",
"height": "30px",
"line-height": "30px",
"color": "#666",
"font-size": "18px",
"font-family": "宋体"
}
},
"combox": {
"styles": {
"border-bottom": "0px",
"height": "auto",
"line-height": "30px",
"font-size": "18px",
"border": "0px solid #999999"
},
"inputStyles": {
"border": "1px solid #999999",
"height": "30px",
"line-height": "30px",
"color": "#666",
"font-size": "18px",
"font-family": "宋体"
}
},
"personfield": {
"styles": {
"border-bottom": "0px",
"height": "auto",
"line-height": "30px",
"font-size": "18px",
"border": "0px solid #999999"
},
"inputStyles": {
"border": "1px solid #999999",
"height": "30px",
"line-height": "30px",
"color": "#666",
"font-size": "18px",
"font-family": "宋体"
}
},
"orgfield": {
"styles": {
"border-bottom": "0px",
"height": "auto",
"line-height": "30px",
"font-size": "18px",
"border": "0px solid #999999"
},
"inputStyles": {
"border": "1px solid #999999",
"height": "30px",
"line-height": "30px",
"color": "#666",
"font-size": "18px",
"font-family": "宋体"
}
},
"org": {
"styles": {
"border-bottom": "0px",
"height": "auto",
"line-height": "30px",
"font-size": "18px",
"border": "0px solid #999999"
},
"inputStyles": {
"border": "1px solid #999999",
"height": "30px",
"line-height": "30px",
"color": "#666",
"font-size": "18px",
"font-family": "宋体"
}
},
"select": {
"styles": {
"border-bottom": "0px",
"margin-top": "5px",
"height": "auto",
"line-height": "30px",
"font-size": "18px",
"color": "#333"
},
"inputStyles": {
"height": "30px",
"line-height": "30px",
"font-size": "18px",
"color": "#666",
"font-family": "宋体"
}
},
"textarea": {
"styles": {
"border": "0px solid #999999",
"font-size": "18px"
},
"inputStyles": {
"border": "1px solid #999999",
"color": "#666",
"font-size": "18px",
"font-family": "宋体"
}
},
"opinion": {
"styles": {
"border": "0px solid #999999",
"font-size": "18px"
},
"inputStyles": {
"border": "1px solid #999999",
"color": "#666",
"font-size": "18px",
"font-family": "宋体"
}
},
"actionbar": {
"style": "xform_red_simple"
},
"sidebar": {
"style": "xform_side_red_simple",
"customIconStyle" : ""
},
"attachment" : {
"paging" : {
"style" : "default"
}
}
\ No newline at end of file
{
"name": "红色简洁",
"form": {
"styles":{
"background-color": "#f0f0f0"
}
},
"label": {
"banner": {
"name": "横幅",
"styles": {
"background-color": "#cc3d3d",
"height": "40px",
"line-height": "40px",
"color": "#ffffff",
"font-size": "18px",
"padding": "0px 10px",
"font-weight": "bold"
}
},
"title": {
"name": "标题",
"styles": {
"text-align": "center",
"font-size": "24px",
"line-height": "60px",
"font-weight": "bold",
"color": "#cc3d3d",
"height": "60px"
}
},
"section": {
"name": "区段标题",
"styles": {
"height": "40px",
"background-color": "#f7f7f7",
"line-height": "40px",
"padding": "0px 20px",
"font-weight": "bold",
"color": "#666",
"border-bottom": "1px solid #cccccc"
}
}
},
"div": {
"banner": {
"name": "横幅",
"styles": {
"background-color": "#cc3d3d",
"height": "40px",
"line-height": "40px",
"color": "#ffffff",
"font-size": "18px",
"padding": "0px 10px",
"font-weight": "bold"
}
},
"title": {
"name": "标题",
"styles": {
"text-align": "center",
"font-size": "24px",
"line-height": "60px",
"font-weight": "bold",
"color": "#cc3d3d",
"height": "60px"
}
},
"section": {
"name": "区段",
"styles": {
"padding": "20px 0px",
"background-color": "#FFF",
"border": "1px solid #cccccc"
}
}
},
"tab": {
"styles": {},
"tabAreaStyles": {
"height": "40px",
"border-bottom": "2px solid #cc3d3d"
},
"contentAreaStyles": {
"line-height": "normal",
"clear": "both",
"overflow": "hidden"
},
"tabStyles": {
"position": "relative",
"margin-left": "4px",
"margin-top": "0px",
"margin-right": "0px",
"float": "left",
"height": "40px",
"cursor": "pointer",
"min-width": "100px",
"background": "transparent ",
"border-top-left-radius": "5px",
"border-top-right-radius": "5px",
"border": "0px solid #f0f0f0",
"border-bottom": "1px solid #cc3d3d"
},
"tabTextStyles": {
"color": "#666",
"font-weight": "bold",
"line-height": "40px",
"text-align": "center",
"margin-right": "8px",
"margin-top": "0px",
"margin-left": "8px"
},
"tabCurrentStyles": {
"position": "relative",
"margin-top": "0px",
"margin-left": "2px",
"margin-right": "0px",
"float": "left",
"height": "40px",
"min-width": "100px",
"background": "#cc3d3d",
"border-top-left-radius": "5px",
"border-top-right-radius": "5px",
"border-top": "0px solid #f0f0f0",
"border-left": "0px solid #f0f0f0",
"border-right": "0px solid #f0f0f0",
"border-bottom": "1px solid #cc3d3d"
},
"tabCurrentTextStyles": {
"color": "#FFF",
"font-weight": "bold",
"line-height": "40px",
"text-align": "center",
"margin-right": "8px",
"margin-left": "8px",
"margin-top": "0px"
}
},
"tab$Content": {
"styles": {
"padding": "20px 0px"
}
},
"table": {
"styles": {
"background-color": "#FFF",
"margin": "10px 0px"
},
"titleStyles":{
"background-color": "#fff",
"color": "#333",
"font-weight": "bold",
"height": "30px",
"line-height": "30px",
"text-align": "right"
},
"contentStyles": {
"background-color": "#FFFFFF",
"color": "#333"
},
"layoutStyles": {},
"properties": {
"width": "90%",
"border": "0",
"cellpadding": "3",
"cellspacing": "5",
"align": "center"
}
},
"log" : {
"tableStyles": {
"background-color": "#FFF",
"margin": "10px 0px"
},
"titleStyles":{
"background-color": "#fff",
"color": "#333",
"font-weight": "bold",
"height": "30px",
"line-height": "30px",
"text-align": "right"
},
"contentStyles": {
"background-color": "#FFFFFF",
"color": "#333"
},
"properties": {
"width": "90%",
"border": "0",
"cellpadding": "3",
"cellspacing": "5",
"align": "center"
}
},
"datagrid": {
"styles": {},
"tableStyles": {
"border": "1px solid #cccccc"
},
"titleStyles": {
"height": "28px",
"cursor": "pointer",
"line-height": "28px",
"overflow": "hidden",
"opacity": 1,
"border-bottom": "1px solid #ccc",
"background-color": "#f0f0f0"
},
"contentStyles": {
"text-align": "center",
"height": "30px",
"line-height": "30px",
"color": "#666"
},
"actionStyles": {
"background-color": "#f7f7f7"
},
"editStyles": {
"background-color": "#fff6f6",
"text-align": "center",
"height": "30px",
"line-height": "30px"
},
"amountStyles": {
"border-top": "1px solid #ccc",
"font-weight": "bold",
"height": "30px",
"line-height": "30px",
"text-align": "center",
"background-color": "#f0f0f0"
},
"itemTitleStyles": {
"height": "40px",
"background-color": "#ffffff",
"line-height": "30px",
"padding": "0px 15px",
"color": "#fb4747",
"font-size": "18px",
"font-weight": "bold",
"border-bottom": "0px solid #cccccc"
},
"properties": {
"width": "90%",
"border": "0",
"cellpadding": "3",
"cellspacing": "0",
"align": "center"
}
},
"datagrid$Title": {
"styles": {
"background-color": "#f0f0f0"
}
},
"address": {
"styles": {
"border-bottom": "1px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"line-height": "26px"
},
"inputStyles": {
"height": "26px",
"border": "0px solid #ccc",
"color": "#666"
}
},
"combox": {
"styles": {
"border-bottom": "1px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"line-height": "26px"
},
"inputStyles": {
"height": "26px",
"border": "0px solid #ccc",
"color": "#666"
}
},
"textfield": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"line-height": "26px"
},
"inputStyles": {
"height": "26px",
"border-bottom": "1px solid #ccc",
"color": "#666"
}
},
"calendar": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"line-height": "26px"
},
"inputStyles": {
"height": "26px",
"border-bottom": "1px solid #ccc",
"color": "#666"
}
},
"number": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"line-height": "26px"
},
"inputStyles": {
"height": "26px",
"border-bottom": "1px solid #ccc",
"color": "#666"
}
},
"personfield": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"min-height": "20px",
"line-height": "26px"
},
"inputStyles": {
"min-height": "26px",
"border-bottom": "1px solid #ccc",
"color": "#666"
}
},
"orgfield": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"min-height": "20px",
"line-height": "26px"
},
"inputStyles": {
"border-bottom": "1px solid #ccc",
"color": "#666"
}
},
"org": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"min-height": "20px",
"line-height": "26px"
},
"inputStyles": {
"border-bottom": "1px solid #ccc",
"color": "#666"
}
},
"select": {
"styles": {
"border-bottom": "0px solid #999",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px",
"margin-top": "5px",
"color": "#666",
"line-height": "26px"
},
"inputStyles": {
}
},
"textarea": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px"
},
"inputStyles": {
"border-bottom": "1px solid #ccc",
"color": "#666"
}
},
"opinion": {
"styles": {
"border-bottom": "0px solid #ccc",
"border-top": "0px",
"border-left": "0px",
"border-right": "0px"
},
"inputStyles": {
"border-bottom": "1px solid #ccc",
"color": "#666"
}
},
"actionbar": {
"style": "xform_red_simple",
"customIconStyle" : ""
},
"attachment" : {
"style" : "default"
"paging" : {
"style" : "red"
}
}
\ No newline at end of file
......@@ -24,6 +24,12 @@
<input class="editTableRadio" name="display" text{($.display!==false)?'checked':''} type="radio" value="true"/>
</td>
</tr>
<tr>
<td class="editTableTitle">视图样式:</td>
<td class="editTableValue">
<select class="MWFViewStyle" name="data.viewStyleType"></select>
</td>
</tr>
<tr>
<td class="editTableTitle">展开分类:</td>
<td class="editTableValue">
......@@ -46,12 +52,6 @@
<td class="editTableTitleNoWidth">每页行数:</td>
<td class="editTableValue"><input type="number" name="pageSize" value="text{$.pageSize || 20}" class="editTableInput"/></td>
</tr>
<!-- <tr>-->
<!-- <td class="editTableTitle">视图样式:</td>-->
<!-- <td class="editTableValue">-->
<!-- <select class="MWFViewStyle" name="viewStyleType"></select>-->
<!-- </td>-->
<!-- </tr>-->
<tr>
<td class="editTableTitle">隐藏操作条:</td>
<td class="editTableValue">
......@@ -685,6 +685,10 @@
<!-- <div class="MWFMaplist" name="contentTdSelectedStyles" collapse="true" title="内容单元格选中样式"></div>-->
<!-- </div>-->
<div title="样式" class="MWFTab">
<div class="MWFViewStylesArea" name="viewStyles"></div>
</div>
<div title="事件" class="MWFTab">
<div class="MWFEventsArea" name="data.events"></div>
</div>
......
......@@ -5,7 +5,7 @@
"alias": "",
"description": "",
"display": true,
"type": "process",
"type": "View",
"data": {
"exportGrid": true,
......
......@@ -64,6 +64,7 @@ MWF.xApplication.query.ViewDesigner.Property = MWF.FVProperty = new Class({
this.loadJSONArea();
this.loadEventsEditor();
this.loadViewStylesArea();
this.loadPagingStylesArea();
this.loadActionStylesArea();
this.loadActionArea();
......@@ -710,6 +711,37 @@ MWF.xApplication.query.ViewDesigner.Property = MWF.FVProperty = new Class({
var filter = new MWF.xApplication.query.ViewDesigner.Property.Filter(op, table, this);
filter.editMode();
},
loadViewStylesArea: function(){
var _self = this;
var viewAreas = this.propertyContent.getElements(".MWFViewStylesArea");
viewAreas.each(function(node){
var name = node.get("name");
var viewStyles = this.data[name] || {};
MWF.require("MWF.widget.Maplist", function(){
var maps = [];
Object.each(viewStyles, function(v, k){
var mapNode = new Element("div").inject(node);
mapNode.empty();
var maplist = new MWF.widget.Maplist(mapNode, {
"title": k,
"collapse": true,
"onChange": function(){
var oldData = _self.data[name];
maps.each(function(o){
_self.data[name][o.key] = o.map.toJson();
}.bind(this));
_self.changeData(name, node, oldData);
}
});
maps.push({"key": k, "map": maplist});
maplist.load(v);
}.bind(this));
}.bind(this));
}.bind(this));
},
loadActionStylesArea: function(){
var _self = this;
var actionAreas = this.propertyContent.getElements(".MWFActionStylesArea");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册