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.

130 lines
5.3 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{% 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">
<form action="{% url 'MAddJD' %}" method="POST" enctype="multipart/form-data">
<div class="row mb-3">
<label class="col-sm-2 col-form-label">景区名称:</label>
<div class="col-sm-10">
<input type="text" name="title" class="form-control" style="width:200px" placeholder="请输入">
</div>
</div>
<div class="row mb-3">
<label class="col-sm-2 col-form-label">景点等级:</label>
<div class="col-sm-10">
<!-- disabled默认值不能改变 -->
<input type="text" name="level" class="form-control" style="width:200px" placeholder="请输入">
</div>
</div>
<div class="row mb-3">
<label class="col-sm-2 col-form-label">景区地点:</label>
<div class="col-sm-10">
<!-- disabled默认值不能改变 -->
<input type="text" name="province" class="form-control" style="width:200px" placeholder="请输入">
</div>
</div>
<div class="row mb-3">
<label class="col-sm-2 col-form-label">景区评分:</label>
<div class="col-sm-10">
<!-- disabled默认值不能改变 -->
<input type="text" name="score" class="form-control" style="width:200px" placeholder="请输入">
</div>
</div>
<div class="row mb-3">
<label class="col-sm-2 col-form-label">价格(元):</label>
<div class="col-sm-10">
<!-- disabled默认值不能改变 -->
<input type="text" name="price" class="form-control" style="width:200px" placeholder="请输入">
</div>
</div>
<div class="row mb-3">
<label class="col-sm-2 col-form-label">销量(元):</label>
<div class="col-sm-10">
<!-- disabled默认值不能改变 -->
<input type="text" name="saleCount" class="form-control" style="width:200px" placeholder="请输入">
</div>
</div>
<div class="row mb-3">
<label for="inputText" class="col-sm-2 col-form-label">详细地址:</label>
<div class="col-sm-10">
<textarea name="detailAddress" class="form-control" style="height: 100px;width:500px;" placeholder="请输入"></textarea>
</div>
</div>
<div class="row mb-3">
<label for="inputText" class="col-sm-2 col-form-label">简介:</label>
<div class="col-sm-10">
<textarea name="shortIntro" class="form-control" style="height: 100px;width:500px;" placeholder="请输入"></textarea>
</div>
</div>
<div class="row mb-3">
<label for="inputText" class="col-sm-2 col-form-label">详细介绍:</label>
<div class="col-sm-10">
<textarea name="detailIntro" class="form-control" style="height: 200px;width:800px;" placeholder="请输入"></textarea>
</div>
</div>
<div class="row mb-3">
<label class="col-sm-2 col-form-label"></label>
<div class="col-sm-10">
<button type="submit" class="btn btn-primary">确认</button>
</div>
</div>
</form>
<a href="{% url 'MaddressDetail' %}">
<button type="submit" class="btn btn-danger" style="float:right;width:200px;">景点详情页</button>
</a>
</div>
</div>
</div><!-- End 评分排名前十 -->
</div>
</div>
</section>
{% endblock %}
{% block echarts %}
<script>
</script>
{% endblock %}