---
# System prepended metadata

title: "\U0001F3C5 Day 34"
tags: [Vue 直播班 - 2022 春季班]

---

---
tags: Vue 直播班 - 2022 春季班
---

# 🏅 Day 34
###### tags: `Vue 直播班 - 2022 春季班`

題目 (請將答案貼上 CodePen)
---
操作 [這個模板](https://codepen.io/rider159159/pen/yLMbpOK)，執行以下要求 (只能操作 JS 的部分):

> 練習建置 computed
> -  在 computed 中新增方法，讓畫面顯示「今年要繳的稅金為 xx 元」為實際輸入 input 數值的 20%，並且需為整數，實際狀況如圖:
> ![](https://i.imgur.com/ujttKLU.png)

> -  提示一: 會使用到 this.cash
>-   提示二: 整數化方法為 Number.parseInt()
>
參考：https://courses.hexschool.com/courses/vue-20212/lectures/35988974

回報流程
---
請同學依照下圖教學觀看解答、回報答案:

![](https://i.imgur.com/QtL8zEW.png)

回報格式如下圖，請在「回報區」使用註解回報答案 (為了統計人數，請同學依序加上「報數」)

![](https://i.imgur.com/L7kyew8.png)

<!-- 解答
     computed: {
      taxes() {
        return Number.parseInt(this.cash * 0.2); 
      }
    }
-->

回報區
---
| 報數 |  組別/名字  |  codepen / 其他回饋  |
|-----|------------|---------------------------------------|
|1| Iris Hunag | https://codepen.io/ythuang/pen/oNooKQE |
|2| Jason Chen | https://codepen.io/jason60810/pen/gOXXVQZ |
|3|CloThEs | https://codepen.io/bogwdnxx-the-sans/pen/jOaagyo|
|4| 肉鬆 | https://codepen.io/klrkicog/pen/qBVVeQV |
|5| Larry | https://codepen.io/larrylinr5/pen/MWOONzy |
|6|Aaron Tu|https://codepen.io/aarontu/pen/ZEaagmO|
|7|Wenfish|https://codepen.io/wenfisht/pen/BammXME|
|8| Kelvin Hsu | https://codepen.io/kelvin001/pen/rNYpBxw |
|9|POPEYE|https://codepen.io/popeye_ux/pen/rNYpBLz|
|10|Bruno Yu|https://codepen.io/bruno-yu/pen/zYPpORW|
|11| 黃士桓 | https://codepen.io/shr-huan-huang/pen/PoOEYdP |
|12| KAREN HUANG | https://codepen.io/Coding_Snorlax/pen/wvPpwyM?editors=1011 |
|13| Wilson | https://codepen.io/wilsonccheng/pen/yLPpBZP?editors=1010 |
|14| Gill | https://codepen.io/Gill-Chin/pen/LYOePMa?editors=1010 |
|15| Jasper | https://codepen.io/li-jasper/pen/QWOaLRg |
|16|威爾|https://codepen.io/WILL_Wu/pen/QWOaWbq|
|17|YC|https://codepen.io/YCLu/pen/KKyZKZB |
|18|Yunei|https://codepen.io/Yunei/pen/zYPpYeO|
|19|Arista|https://codepen.io/arista-hsieh/pen/PoOEorE|
|20|Himi|https://codepen.io/Himi/pen/WNXdbbY|
|21|Jhen|https://codepen.io/cheng-jhen/pen/RwjxPOw |
|22|陳暐中|https://codepen.io/wei-z/pen/qBVpdwv|
|23|kevinhes|https://codepen.io/kevinhes/pen/PoOEqLZ?editors=1011|
|24|Henry Wu|https://codepen.io/dkcmlaww-the-flexboxer/pen/bGYaEGj |
|25|Pei Ying|https://codepen.io/Pei-Ying/pen/LYOeGGb?editors=1010 |
|26|andersonshen| https://codepen.io/luxyenni-the-bold/pen/qBVpadN |
|27|sally| https://codepen.io/intelligence753/pen/mdqpRWE?editors=1010 |
|28|Howard|https://codepen.io/yawdnhbm/pen/gOXombo|
|29|Rick Tzeng|https://codepen.io/rick917jp6/pen/YzEYVxB |
|30|Calon|https://codepen.io/Calon0118/pen/bGYaRbg|
|31|咖咖|https://codepen.io/gon790219/pen/jOaYYbX |
| 32 | 1-Aya | https://codepen.io/NoNameNote/pen/rNYpxwO | 
| 33 | jojoy|https://codepen.io/jojoy/pen/qBVpevj
| 34 | Charlotte Lee | https://codepen.io/charlotte-lee/pen/RwjQNqM?editors=1010 | 
|35|Terry21|https://codepen.io/feng0409/pen/LYOQprP?editors=1010 |
|36|Sheep| https://codepen.io/SheepNDW/pen/OJOQaNy |
|37|Judy☻| https://codepen.io/hsiaohan/pen/gOXvZvo?editors=1010 |
|38|AllenW| https://codepen.io/AllenW/pen/podamjz?editors=1010 |
|39|ZY Hsu| https://codepen.io/zihyin/pen/WNXzpXy?editors=1010 |
|40|mei| https://codepen.io/Shila-Chen/pen/YzEaEQb |
|41|AKI| https://codepen.io/akichen27/pen/NWwYJLb |
|42| Otis | https://codepen.io/humming74/pen/NWwYQjw?editors=1010 |
|43| Tim Lin|https://codepen.io/TimmyLin/pen/LYOrLwX|
|43| Wilson|https://codepen.io/jason60810/pen/gOXXVQZ|
|44| Bonnie|https://codepen.io/bonnieli1414/pen/KKybJaz?editors=1011 |
|45| 紙飛機 | https://codepen.io/paperplanea/pen/vYWwEpN?editors=1010 |
| 46 | sihle | https://codepen.io/bugbug777/pen/JjMjbLx |
|47| Mylène | https://codepen.io/hamajibashi/pen/BaJKJPR |
|48| 大衛 | https://codepen.io/exnsrpjc/pen/XWVyWye?editors=1010 |
|49|JD孟璁|https://codepen.io/oikdkmxq-the-looper/pen/VwyqpoZ |
|50|Gui|https://codepen.io/guitimliu/pen/WNdLPNj