亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

open文件,頁面展示的空白頁,沒有加載完成。是css、js不支持嗎

#?index.html文件?

<!DOCTYPE?html>????
<html?dir="ltr">????
<head>????
<meta?charset="utf-8">????
<title>Allure?Report</title>????
<link?rel="favicon"?href="favicon.ico?v=2">????
<link?rel="stylesheet"?type="text/css"?href="styles.css">????
<link?rel="stylesheet"?href="plugins/screen-diff/styles.css">????
</head>????
<body>????
<div?id="alert"></div>????
<div?id="content">????
<span?class="spinner">????
<span?class="spinner__circle"></span>????
</span>????
</div>????
<div?id="popup"></div>????
<script?src="app.js"></script>????
<script?src="plugins/behaviors/index.js"></script>????
<script?src="plugins/packages/index.js"></script>????
<script?src="plugins/screen-diff/index.js"></script>????
</body>????
</html>

web.py代碼,打開html文件空白,沒有數據渲染加載。不用這個py啟動文件是正常的

import?web

urls?=?(
????'/(.*)',?'hello'
)
app?=?web.application(urls,?globals())

class?hello:
????def?GET(self,?name):
???????return?open(r'index.html',?'r').read().encode('utf-8')

if?__name__?==?"__main__":
????app.run()


正在回答

1 回答

應該是文件沒有加載到吧

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

open文件,頁面展示的空白頁,沒有加載完成。是css、js不支持嗎

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號