{% extends "base.html" %} {% block title %}{% if activity %}编辑优惠活动{% else %}新增优惠活动{% endif %}{% endblock %} {% block content %}