Browse Source

完善HTML頁面

master
Ron.wang 10 months ago
parent
commit
fb6602b97f
3 changed files with 24 additions and 0 deletions
  1. BIN
      static/OIP.jpg
  2. BIN
      static/battle.jpg
  3. +24
    -0
      templates/weather_data.html

BIN
static/OIP.jpg View File

Before After
Width: 474  |  Height: 615  |  Size: 20 KiB

BIN
static/battle.jpg View File

Before After
Width: 500  |  Height: 339  |  Size: 133 KiB

+ 24
- 0
templates/weather_data.html View File

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
p{
color: red
}
</style>
</head>
<body>
<img src="static/OIP.jpg" width="200" height="200">
<hr color="#CC33FF">
<div style="padding:1px;background-color:green;opacity:1.0;" width="10">
<h1> {{ name }}!</h1><img src="static/battle.jpg" width="500" height="300" >
<h2> {{ weather }}</h2>
<!-- <h2>{{ Tm }} {{ T }}</h2> -->
<marquee behavior="slide" scrollamount="30"><h1><p>現在氣溫:{{ Tm }} {{ T }}</p></h1></marquee>
</div>
</html>

Loading…
Cancel
Save