随笔分类 -  Vue

摘要:Word文档下载 1. 哪一种语言是世界上最流行的脚步语言? 答:JavaScript是世界上最流行的脚本语言,因为你在电脑、手机、平板上浏览的所有的网页,以及无数基于HTML5的手机App,交互逻辑都是由JavaScript驱动的。简单地说,JavaScript是一种运行在浏览器中的解释型的编程语 阅读全文
posted @ 2021-10-28 20:39 dshow 阅读(457) 评论(0) 推荐(0) 编辑
摘要:主要流程: 打开cmd: E: mk htzd cd htzd node -v npm install -g cnpm --registry=https://registry.npmmirror.com cnpm -v cnpm install -g @vue/cli vue create hell 阅读全文
posted @ 2021-10-25 12:42 dshow 阅读(66) 评论(0) 推荐(0) 编辑
摘要:粒子运动背景 <template> <div class="outer"> <particles-com class="inner"/> <div class="wd">gCode Teacher</div> </div> </template> <script> import ParticlesC 阅读全文
posted @ 2021-10-10 20:55 dshow 阅读(39) 评论(0) 推荐(0) 编辑
摘要:核心代码1: <template> <a-list item-layout="horizontal" :data-source="data"> <template #renderItem="{ item }"> <a-list-item> <a-list-item-meta :description 阅读全文
posted @ 2021-10-06 21:23 dshow 阅读(1093) 评论(0) 推荐(0) 编辑
摘要:蓝图参考:http://vue.dshow.net/Axure/Exe01/index.html#id=z0ttia&p=%E7%BB%83%E4%B9%A01 正方形: <template> <div class="square"> 练习1<br/>正方形制作格码老师<br/>创作 </div> 阅读全文
posted @ 2021-10-05 21:57 dshow 阅读(104) 评论(0) 推荐(0) 编辑
摘要:AddDemo 代码1: <template> <div> <a-input v-model:value="Num1" /> <a-input v-model:value="Num2" /><br /> <label>Sum:{{SumNum}}</label> <br /> <label>Sub: 阅读全文
posted @ 2021-10-05 21:34 dshow 阅读(328) 评论(0) 推荐(0) 编辑
摘要:AddDemo: <template> <div> <input type="number" name="Num1" id="Num1" v-model="Num1" >+<input type="number" name="Num2" id="Num2" v-model="Num2" >=<lab 阅读全文
posted @ 2021-09-26 18:18 dshow 阅读(91) 评论(0) 推荐(0) 编辑
摘要:<template> <div> {{dataname}} {{setupname}} <p>Num:{{num}}</p> <p>Age:{{age}}</p> <button @click="plusOne1()">+</button> <button @click="plusOne2()">+ 阅读全文
posted @ 2021-09-25 12:55 dshow 阅读(102) 评论(0) 推荐(0) 编辑
摘要:Child.vue: <template> <div>Child Info:{{message}}</div> </template> <script> import {inject,ref,onMounted} from 'vue' export default { name:'Child', s 阅读全文
posted @ 2021-09-24 23:38 dshow 阅读(121) 评论(0) 推荐(0) 编辑
摘要:<template> <div class="flex-demo"> <div class="inner1" v-on:click="fn" >11</div> <div class="inner2">22</div> <div class="inner1" v-if="showCmd.bValue 阅读全文
posted @ 2021-09-24 18:24 dshow 阅读(82) 评论(0) 推荐(0) 编辑
摘要:参考代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title 阅读全文
posted @ 2021-01-17 23:21 dshow 阅读(376) 评论(0) 推荐(0) 编辑
摘要:参考代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title 阅读全文
posted @ 2021-01-17 21:19 dshow 阅读(132) 评论(0) 推荐(0) 编辑
摘要:参考代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title 阅读全文
posted @ 2021-01-17 19:40 dshow 阅读(178) 评论(0) 推荐(0) 编辑
摘要:参考代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Vue 阅读全文
posted @ 2021-01-16 17:57 dshow 阅读(121) 评论(0) 推荐(0) 编辑
摘要:参考代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>路由简 阅读全文
posted @ 2021-01-15 11:35 dshow 阅读(82) 评论(0) 推荐(0) 编辑
摘要:参考代码1: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>v- 阅读全文
posted @ 2021-01-15 09:41 dshow 阅读(131) 评论(0) 推荐(0) 编辑
摘要:参考代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title 阅读全文
posted @ 2021-01-15 09:27 dshow 阅读(97) 评论(0) 推荐(0) 编辑
摘要:代码演练: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>CSS 阅读全文
posted @ 2021-01-15 09:23 dshow 阅读(57) 评论(0) 推荐(0) 编辑
摘要:参考代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Aut 阅读全文
posted @ 2021-01-15 09:21 dshow 阅读(74) 评论(0) 推荐(0) 编辑
摘要:参考代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>tra 阅读全文
posted @ 2021-01-15 09:14 dshow 阅读(96) 评论(0) 推荐(0) 编辑