标签:title pac 技术 image ons set 学生 stat head
from flask import Flask,render_template app = Flask(__name__) @app.route(‘/‘) def base(): return render_template(‘base.html‘) @app.route(‘/login/‘) def login(): return render_template(‘login.html‘) @app.route(‘/zhuce/‘) def zhuce(): return render_template(‘zhuce.html‘) if __name__ == ‘__main__‘: app.run(debug=True)
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>广州商学院</title> <link rel="stylesheet" type="text/css" href="../static/css/aaa.css"> <script src ="../static/js/base.js"></script> <style type="text/css"> </style> </head> <body id="myBody"> <nav> <img id="myOnOff" onclick="mySwitch()" src="https://www.runoob.com/images/pic_bulbon.gif" height="20" width="20px"> <a href="http://www.gzcc.cn/">首页</a> <input type="text" name="search"> <button type="submit">搜索</button> <a href="http://localhost:63342/my1/templates/login.html?_ijt=258mlfkqv5j4ogr05tb7rdj75i">登录</a> <a href="http://localhost:63342/my1/templates/zhuce.html?_ijt=vfohs6o03buojpcgd8i9m4991j">注册</a> </nav> <div> <p><span style="font-size: 40px;color: blue;font-family: ‘Consolas‘, ‘Deja Vu Sans Mono‘, ‘Bitstream Vera Sans Mono‘, monospace";>欢迎来到广州商学院!</p> </div> <div class="area"> </div> <div class="tu"> <div class="img"> <a href="http://www.gzcc.cn/"> <img src="http://static.runoob.com/images/demo/demo4.jpg"></a> <div class="desc"><a href="http://www.gzcc.cn">校园风光</a></div> </div> <div class="img"> <a href="http://www.gzcc.cn/"> <img src="http://static.runoob.com/images/demo/demo3.jpg"></a> <div class="desc"><a href="http://www.gzcc.cn">校友风采</a></div> </div> <div class="img"> <a href="http://www.gzcc.cn/"> <img src="http://static.runoob.com/images/demo/demo2.jpg"></a> <div class="desc"><a href="http://www.gzcc.cn">学校文化</a></div> </div> <div class="img"> <a href="http://www.gzcc.cn/"> <img src="http://static.runoob.com/images/demo/demo1.jpg"></a> <div class="desc"><a href="http://www.gzcc.cn">学生风采</a></div> </div> </div> <p class="text1">版权所有:广州商学院<br> 地址:广州市黄埔区九龙大道206号 </p> </body> </html>>
标签:title pac 技术 image ons set 学生 stat head
原文地址:http://www.cnblogs.com/wujialing/p/7780504.html