admin_backend/template/card_table.tmpl
2025-03-05 15:40:49 +08:00

77 lines
2.0 KiB
Cheetah

{
"tag": "table",
"element_id": "custom_table_id_x12",
"margin": "0px 0px 0px 0px",
"page_size": 10,
"row_height": "low",
"row_max_height": "50px",
"freeze_first_column": true,
"header_style": {
"text_align": "center",
"text_size": "normal",
"background_style": "grey",
"text_color": "grey",
"bold": true,
"lines": 1
},
"columns": [
{
"name": "customer_date",
"display_name": "Date",
"width": "auto",
"data_type": "text",
"horizontal_align": "center" ,
"width": "105px"
},
{
"name": "customer_reg",
"display_name": "Reg",
"data_type": "number",
"horizontal_align": "center",
"width": "80px"
},
{
"name": "customer_login",
"display_name": "Login",
"data_type": "number",
"horizontal_align": "center",
"width": "80px"
},
{
"name": "customer_pay",
"display_name": "Pay",
"data_type": "number",
"horizontal_align": "center",
"format": {
"symbol": "$",
"precision": 2,
"separator": true
},
"width": "80px"
},
{
"name": "customer_retain2",
"display_name": "Retain2",
"data_type": "text",
"horizontal_align": "center",
"width": "80px"
},
{
"name": "customer_retain3",
"display_name": "Retain3",
"data_type": "text",
"horizontal_align": "center",
"width": "80px"
},
{
"name": "customer_retain7",
"display_name": "Retain7",
"data_type": "text",
"horizontal_align": "center",
"width": "80px"
}
],
"rows": [
{{.Rows}}
]
}