小樊开发者文档 1.0 官方文档中心

小樊内容管理移动端

在小樊内容管理系统-PC端正确部署、运行后,部署内容管理系统移动端。

html页面导入templates

statics渲染文件导入static

下载 mobile.zip 引入文件

页面路由导入

将以下页面路径写入app.py

@app.route('/detail.html')
def detail():
    return render_template("detail.html")
    
@app.route('/favorites.html')
def favorites():
    return render_template("favorites.html")
    
@app.route('/lista.html')
def listg():
    return render_template("lista.html")
    
@app.route('/courseindex.html')
def courseindex():
    return render_template("courseindex.html")
    
@app.route('/pay.html')
def pay():
    return render_template("pay.html")
    
@app.route('/payrecord.html')
def payrecord():
    return render_template("payrecord.html")