Famcy/_CONSOLE_FOLDER_/_items_/doday_member_card.py
def generate_template_content(cls, fblock_type=None):
        """
        This is the function that
        returns the template content 
        for the given fblock. 
        - Return a content dictionary
        """
        return {
            "title": "doday VIP",
            "main_status": "豆粉",
            "sub_title": "20210922",
            "icon_pic": "/static/user_image/doday_icon.png",
            "member_point": "0",
            "accumulated_point": "0",
            "accumulated_money": "0",
            "target_point": {"豆粉": "50", "豆友": "25"},
            "target_money": {"豆粉": "3000", "豆友": "1500"},

            
            "js_after_func_dict": {},
            "js_after_func_name": "empty_func",             # extra script which add after fblock item
            "header_script": "",            # extra script which add in header section
            "before_function": [],          # python function that you want to run before page refresh
        }

        This is the function that
        returns the template content 
        for the given fblock. 
        - Return a content dictionary
        
This is the function that
returns the template content
for the given fblock.
Return a content dictionary
This is the function that returns the template content for the given fblock . Return a content dictionary
def generate_template_content(cls, fblock_type=None):
        return {
            "title": "doday VIP",
            "main_status": "豆粉",
            "sub_title": "20210922",
            "icon_pic": "/static/user_image/doday_icon.png",
            "member_point": "0",
            "accumulated_point": "0",
            "accumulated_money": "0",
            "target_point": {"豆粉": "50", "豆友": "25"},
            "target_money": {"豆粉": "3000", "豆友": "1500"},
            "js_after_func_dict": {},
            "js_after_func_name": "empty_func",             
            "header_script": "",            
            "before_function": [],          
        }
def generate_template_content ( cls , fblock_type = None ) : return { "title" : "doday VIP" , "main_status" : "豆粉", "sub_title" : "20210922" , "icon_pic" : "/static/user_image/doday_icon.png" , "member_point" : "0" , "accumulated_point" : "0" , "accumulated_money" : "0" , "target_point" : { "豆粉": "5 0 , "豆 友 : "25"}, "target_money" : { "豆粉": "3 0 0", "豆 友 : "1500" } "js_after_func_dict" : { } , "js_after_func_name" : "empty_func" , "header_script" : "" , "before_function" : [ ] , }
This is the function that
returns the template content
for the given fblock.
This is the function that returns the template content for the given fblock .
"""
        This is the function that
        returns the template content 
        for the given fblock. 
        - Return a content dictionary
        """ # extra script which add after fblock item # extra script which add in header section # python function that you want to run before page refresh
cls
fblock_type