111.183.56.14
def resume(request): # 首页图片 cobanner = Cobanner.objects.all() # 时间线 # 二层 div_date = format_html("<div class='date'>{}</div>".format('2024-02-26') ) # 三层 # <h3><a href="">Event 1</a></h3> div_h3 = format_html("<h3><a href=''>{}</a></h3>".format('Event 1')) # 三层 # <p>Details about Event 1.</p> div_p = format_html("<p>{}</p>".format('Details about Event 1.')) # 二层 div_description = format_html("<div class='description'>{}{}</div>".format(div_h3,div_p)) # 一层 formatted_html = format_html("<div class='event'>{}{}</div>".format(div_date,div_description))
- 作者:China-Hubei-Wuhan
- 日期:2025年2月25日 15:02
- 浏览:22
评论区: