Commit ee30fbfc authored by 李彥志's avatar 李彥志

update assets/pic

parent 555c96b6
export const dataList = [
{
'city': {
......@@ -31,7 +33,7 @@ export const dataList = [
'id': 800,
'main': 'Clear',
'description': 'sky is clear',
'icon': '01d'
'icon': '../../assets/01d.png'
}
],
'speed': 3.37,
......
......@@ -93,8 +93,8 @@ cnt:<input type="number" min="1" max="7"><br>
<td *ngFor = "let item2 of item.weather">
{{ item2.description }}
</td>
<td>
<img [src]='pic'>
<td *ngFor = "let item2 of item.weather">
{{ item2.icon }}
</td>
<td>
{{ item.speed }} meter/sec
......
......@@ -10,7 +10,7 @@ export class HomeComponent implements OnInit {
list = dataList;
pic = './01d.png';
pic = '../../assets/01d.png';
constructor() { }
......
......@@ -5,7 +5,7 @@
一.必須輸入大於0,若輸入小於或等於0,則alert訊息<br>
二.只能輸入數字,若輸入欄位不符,則alert訊息<br>
三.只能輸入英文兩碼+數字三碼,若輸入欄位不符,則alert訊息</table>
<!-- TODO 卡在ts檔的if else語法-->
<!-- TODO 卡在component.ts檔的if else語法-->
<br>
欄位一 : <input class="test"
placeholder="輸入後請按enter"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment