中文字幕理论片,69视频免费在线观看,亚洲成人app,国产1级毛片,刘涛最大尺度戏视频,欧美亚洲美女视频,2021韩国美女仙女屋vip视频

打開APP
userphoto
未登錄

開通VIP,暢享免費電子書等14項超值服

開通VIP
vue.js簡易的計算器代碼

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<meta name="viewport"content="width=device-width, initial-scale=1">

<title>vue.js簡易的計算器代碼 - </title>

 

<link type="text/css"rel="stylesheet" href="css/style.css">

 

</head>

<body>

 

<div id="app">

 <div class="calculator">

   <div class="display">{{ display }}</div>

   <h1 class="brand">{{ appTitle }}</h1>

   <div class="keyboard">

     <div class="panel-a">

       <div class="top-buttons">

         <button class="btn primary" @click="clear"><span>C </span></button>

         <button class="btn"@click="setNumber('.')"><span>.</span></button>

       </div>

       <div class="numbers">

         <button class="btn"@click="setNumber('9')"><span>9</span></button>

         <button class="btn" @click="setNumber('8')"><span>8</span></button>

         <button class="btn"@click="setNumber('7')"><span>7</span></button>

         <button class="btn"@click="setNumber('6')"><span>6</span></button>

         <button class="btn"@click="setNumber('5')"><span>5</span></button>

         <button class="btn"@click="setNumber('4')"><span>4</span></button>

         <button class="btn"@click="setNumber('3')"><span>3</span></button>

         <button class="btn"@click="setNumber('2')"><span>2</span></button>

         <button class="btn"@click="setNumber('1')"><span>1</span></button>

         <button class="btn"@click="setNumber('0')"><span>0</span></button>

       </div>

     </div>

     <div class="panel-b">

       <button class="btn" @click="operator= '+'"><span>+</span></button>

       <button class="btn" @click="operator= '-'"><span>-</span></button>

       <button class="btn" @click="operator= '*'"><span>*</span></button>

       <button class="btn" @click="operator= ''"><span>/</span></button>

       <button class="btn primary"@click="calculate"> <span>=</span></button>

     </div>

   </div>

 </div>

</div>

 

<script type="text/javascript"src='www.shaxiangift.com/vue.min.js'></script>

<script type="text/javascript"src="www.fjnjb.com/index.js"></script>

 

<divstyle="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoftYaHei';color:#ffffff">

<p>適用瀏覽器:360、FireFox、Chrome、Opera、傲游、搜狗、世界之窗. 不支持Safari、IE8及以下瀏覽器。</p>

<p>來源:<a >A5源碼</a></p>

</div>

</body>

</html>

本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊舉報
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
bootstrap的兩種在input框里面增加一個圖標的方式
使用toggle()方法進行顯示隱藏
事件修飾符stop prevent capture self once
Vue.js 快速入門
帶下拉菜單的按鈕
Vue 根據(jù)鼠標懸停目標元素上方顯示、隱藏指定元素交互實現(xiàn)
更多類似文章 >>
生活服務(wù)
熱點新聞
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點擊這里聯(lián)系客服!

聯(lián)系客服