You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
87 lines
2.6 KiB
87 lines
2.6 KiB
6 months ago
|
{% extends 'Mindex.html' %}
|
||
|
|
||
|
{% block title %}
|
||
|
景点管理页面
|
||
|
{% endblock %}
|
||
|
|
||
|
|
||
|
{% block content %}
|
||
|
<div class="pagetitle" style="display:flex;align-items:center">
|
||
|
<div style="margin-right:auto">
|
||
|
<h1>景点管理页</h1>
|
||
|
<nav>
|
||
|
<ol class="breadcrumb">
|
||
|
<li class="breadcrumb-item"><a href="#">管理中心</a></li>
|
||
|
<li class="breadcrumb-item active">景点管理页</li>
|
||
|
</ol>
|
||
|
</nav>
|
||
|
</div>
|
||
|
<h5>
|
||
|
{{ nowTime.year}}-{{ nowTime.mon}}-{{ nowTime.day}}
|
||
|
</h5>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<section class="section dashboard">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-12">
|
||
|
|
||
|
<div class="card">
|
||
|
|
||
|
<div class="card-body">
|
||
|
<h5 class="card-title">景点管理页</h5>
|
||
|
|
||
|
<div class="activity">
|
||
|
<div class="col-12">
|
||
|
<div class="card recent-sales overflow-auto">
|
||
|
<div class="card-body">
|
||
|
<table class="table table-borderless">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th scope="col" style="width:300px;">景区名称</th>
|
||
|
<th scope="col">景点等级</th>
|
||
|
<th scope="col">景区地点</th>
|
||
|
<th scope="col">景点评分</th>
|
||
|
<th scope="col">价格</th>
|
||
|
<th scope="col">销量</th>
|
||
|
<th scope="col">操作</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{% for i in MaddressDetailData %}
|
||
|
<tr>
|
||
|
<td>{{ i.title }}</td>
|
||
|
<td>{{ i.level }}</td>
|
||
|
<td>{{ i.province }}</td>
|
||
|
<td>{{ i.score }}</td>
|
||
|
<td>{{ i.price }} 元</td>
|
||
|
<td>{{ i.saleCount }} 元</td>
|
||
|
<td>
|
||
|
<a href="MaddressFox/?nid={{ i.id }}"><button class="btn btn-primary">修改</button></a>
|
||
|
<a href="delete/?nid={{ i.id }}"><button class="btn btn-danger">删除</button></a>
|
||
|
</td>
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</section>
|
||
|
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block echarts %}
|
||
|
<script>
|
||
|
|
||
|
</script>
|
||
|
{% endblock %}
|