本项目为毕业设计作品,旨在展示一个完整的Web应用开发流程。
+作者:林金兴 | 指导老师:[指导老师姓名]
+${review.content}
`; + } + + if (review.images && review.images.length > 0) { + html += '总日志数
+用户操作
+管理员操作
+今日操作
+时间 | +操作者 | +操作类型 | +操作内容 | +IP地址 | +用户代理 | +
---|---|---|---|---|---|
+ {{ log.created_at.strftime('%Y-%m-%d') if log.created_at else '-' }}
+ {{ log.created_at.strftime('%H:%M:%S') if log.created_at else '' }}
+ |
+
+
+
+ {{ '管理员' if log.user_type == 2 else '用户' }}
+
+ #{{ log.user_id or '-' }}
+
+ |
+ + {{ log.action }} + | +
+
+ {% if log.resource_type %}
+ {{ log.resource_type }}
+ {% if log.resource_id %}
+ #{{ log.resource_id }}
+ {% endif %}
+ {% else %}
+ -
+ {% endif %}
+
+ |
+
+ {{ log.ip_address or '-' }}
+ |
+
+
+ {% if log.user_agent %}
+
+ {{ log.user_agent[:50] }}{% if log.user_agent|length > 50 %}...{% endif %}
+
+ {% else %}
+ -
+ {% endif %}
+
+ |
+
+
+
+
+ 暂无操作日志
+ {% if user_type or action %}
+ 尝试调整筛选条件
+ {% endif %}
+ |
+
订单号: | +{{ order.order_sn }} | +
---|---|
用户信息: | +
+ {{ order.user.username }}
+ {% if order.user.phone %}
+ {{ order.user.phone }}
+ {% endif %}
+ |
+
订单状态: | ++ {{ order.get_status_text() }} + | +
支付方式: | ++ {% if order.payment_method %} + {{ order.payment_method }} + {% else %} + 未设置 + {% endif %} + | +
创建时间: | +{{ order.created_at.strftime('%Y-%m-%d %H:%M:%S') }} | +
---|---|
发货时间: | +{{ order.shipped_at.strftime('%Y-%m-%d %H:%M:%S') }} | +
收货时间: | +{{ order.received_at.strftime('%Y-%m-%d %H:%M:%S') }} | +
配送方式: | +{{ order.shipping_method or '标准配送' }} | +
{{ order.remark }}
+收货人: | +{{ receiver.receiver_name }} | +
---|---|
联系电话: | +{{ receiver.receiver_phone }} | +
收货地址: | +{{ receiver.full_address }} | +
---|---|
邮政编码: | +{{ receiver.postal_code }} | +
暂无收货信息
+ {% endif %} +商品信息 | +单价 | +数量 | +小计 | +
---|---|---|---|
+
+ {% if item.product_image %}
+
+
+
+ {{ item.product_name }}
+ {% if item.spec_combination %}
+ {{ item.spec_combination }}
+ {% endif %}
+ {% if item.sku_code %}
+ SKU: {{ item.sku_code }}
+ {% endif %}
+ |
+ ¥{{ "%.2f"|format(item.price) }} | +{{ item.quantity }} | +¥{{ "%.2f"|format(item.total_price) }} | +
商品总额: | +¥{{ "%.2f"|format(order.total_amount) }} | +
---|---|
运费: | +¥{{ "%.2f"|format(order.shipping_fee) }} | +
实付金额: | +¥{{ "%.2f"|format(order.actual_amount) }} | +
支付流水号: | +{{ payment.payment_sn }} | +
---|---|
支付状态: | ++ + {{ payment.get_status_text() }} + + | +
支付时间: | +{{ payment.paid_at.strftime('%Y-%m-%d %H:%M:%S') }} | +
第三方流水号: | +{{ payment.third_party_sn }} | +
物流公司: | +{{ shipping_info.shipping_company }} | +
---|---|
快递单号: | +{{ shipping_info.tracking_number }} | +
物流状态: | ++ + {% if shipping_info.shipping_status == 1 %}已发货 + {% elif shipping_info.shipping_status == 2 %}运输中 + {% elif shipping_info.shipping_status == 3 %}已送达 + {% endif %} + + | +
订单号 | +用户信息 | +订单金额 | +订单状态 | +支付方式 | +创建时间 | +操作 | +
---|---|---|---|---|---|---|
+ {{ order.order_sn }}
+ ID: {{ order.id }}
+ |
+
+ {{ order.user.username }}
+ {% if order.user.phone %}
+ {{ order.user.phone }}
+ {% endif %}
+ |
+
+ ¥{{ "%.2f"|format(order.actual_amount) }}
+ {% if order.shipping_fee > 0 %}
+ 含运费: ¥{{ "%.2f"|format(order.shipping_fee) }}
+ {% endif %}
+ |
+ + {{ order.get_status_text() }} + | ++ {% if order.payment_method %} + {{ order.payment_method }} + {% else %} + 未设置 + {% endif %} + | +
+ {{ order.created_at.strftime('%Y-%m-%d') }}
+ {{ order.created_at.strftime('%H:%M:%S') }}
+ |
+
+
+
+ 详情
+
+
+ {% if order.status == 2 %}
+
+ {% endif %}
+
+ {% if order.status in [2, 3] %}
+
+ {% endif %}
+
+ {% if order.can_cancel() %}
+
+ {% endif %}
+
+ |
+
暂无订单数据
+总用户数
+正常用户
+禁用用户
+本周新增
+用户ID | +用户信息 | +联系方式 | +注册时间 | +状态 | +操作 | +
---|---|---|---|---|---|
+ #{{ user.id }} + | +
+
+
+
+ {% if user.avatar_url %}
+
+
+
+
+ {% endif %}
+
+
+ {{ user.username }}
+ {% if user.nickname %}
+ {{ user.nickname }}
+ {% endif %}
+ |
+
+
+ {% if user.email %}
+
+ {{ user.email }}
+ {% endif %}
+ {% if user.phone %}
+ {{ user.phone }}
+ {% endif %}
+ {% if not user.email and not user.phone %}
+ 未设置
+ {% endif %}
+ |
+
+ {{ user.created_at.strftime('%Y-%m-%d') if user.created_at else '-' }}
+ {{ user.created_at.strftime('%H:%M:%S') if user.created_at else '' }}
+ |
+ + + {{ '正常' if user.status == 1 else '禁用' }} + + | +
+
+
+
+
+ |
+
+
+
+
+ 暂无用户数据
+ {% if search or status %}
+ 尝试调整搜索条件
+ {% endif %}
+ |
+