当前位置: 首页 > news >正文

自动生成作文的网站网络公司网站建设费入什么科目

自动生成作文的网站,网络公司网站建设费入什么科目,网站模板之家,怎么把产品卖到国外去前些天发现了一个巨牛的人工智能学习网站#xff0c;通俗易懂#xff0c;风趣幽默#xff0c;忍不住分享一下给大家。点击跳转到教程。 Vue教程文档#xff1a; https://cn.vuejs.org/v2/guide/ 定义 实例#xff1a; new Vue() 挂载点: el 数据#xff1a;data 模…前些天发现了一个巨牛的人工智能学习网站通俗易懂风趣幽默忍不住分享一下给大家。点击跳转到教程。 Vue教程文档  https://cn.vuejs.org/v2/guide/ 定义 实例 new Vue()  挂载点: el  数据data  模板: template  方法methods  计算属性: computed类似 variable variable()  侦听器: watch 一旦数据变化都会触发  参数props  组件components  组件与实例的关系每一个组件都是一个Vue实例  父组件与子组件交互 父组件通过 属性 传递给子组件参数 子组件通过 发布事件$emit 传递给父组件参数前提是父组件需要先 注册事件 使用 变量使用使用插值表达式 {{ variable }}  文本替换v-textvariable  内容替换v-htmlcontent  事件绑定v-on:clickfunction 等价于clickfunction  属性绑定: v-bind:titlevariable 等价于 :titlevariable  双向数据绑定: v-modelvariable  show语句v-showbool 为真时显示  if语句v-ifbool 为真时加入dom  for语句li v-for(item, index) of list :keyindex{{item}}/li 实例 第一个Vue实例 插值表达式  div idhello{{ hello }}/div  script//Vue实例new Vue({el: #hello,data: {hello: hello world}})/script hello world 挂载点 实例 模板 div idroot!-- 挂载点 --/divscript// 实例new Vue({el: #root,// 模板, 如果实例中没有定义模板则默认使用挂载点里边的dom元素为模板template: h1hello template {{ msg }}/h1,data: {msg: this is message,}})/script hello template this is message 文本替换   div idtext v-textnumber/divscriptnew Vue({el: #text,data: {number: 123456,}})/script 123456 内容替换 事件绑定 方法 v-on:等价于 div idhtml v-on:clickhandleClick dblclickhandleDoubleClick v-htmlcontent/divscriptnew Vue({el: #html,data:{content: h1this is content/h1},methods: {handleClick: function(){this.content h1 click/h1},handleDoubleClick: function(){this.content h1double click/h1}}})/script this is content 属性绑定  使用v-bind之后相单于一个js表达式 等价于:title  div idbind v-bind:titlehello titlethis is title/divscriptnew Vue({el:#bind,data: {title: this is a title}})/script this is title 双向数据绑定  div iddb-bindinput typetext v-modelcontentdiv{{ content }}/div/divscriptnew Vue({el:#db-bind,data: {content: this is data double bind}})/script this is data doubldasdase bind this is data doubldasdase bind 计算属性   div idcomputedinput typetext v-modelfirstNameinput typetext v-modellastNamediv{{ fullName }}/divdiv{{ count }}/div/divscriptnew Vue({el:#computed,data: {firstName: ,lastName: ,count: 0},// 计算属性computed: {fullName: function(){return this.firstName this.lastName}},// 侦听器, 一旦数据变化都会触发watch: {fullName: function(){this.count }}})/script v-if v-show v-for   div idvifdiv v-ifshowv-if从dom中移除适合一次操作/divdiv v-showshowv-show从dom中隐藏适合多次操作/divbutton clickhandleClicktoggle/buttonulli v-foritem of list{{item}}/li!-- 以下方法增加key可以提升性能 --li v-for(item, index) of list :keyindex{{item}}/li/ul /divscriptnew Vue({el: #vif,data: {show: true,list: [first, second, third, fourth]},methods: {handleClick: function(){this.show !this.show}}})/script v-if从dom中移除适合一次操作 v-show从dom中隐藏适合多次操作 toggle first second third fourth first second third fourth TodoList实例   div idtodolistinput typetext v-modelinputValuebutton clickhandleSubmit确定/button!-- 普通方式添加 --ulglobal/globalli v-for(item, index) of list :keyindex{{ item }}/lilocal/local/ul!-- 通过全局组件 --ultodo-item v-for(item, index) of list :keyindex :contentitem :indexindexdeletehandleDelete   !-- 通过全局组件 --/todo-item /ul/divscript // 全局组件     Vue.component(global, {template: liitem-global/li})// 组件与实例的关系每一个组件都是一个Vue实例,Vue.component(todo-item, {props: [content, index], //接收参数通过属性传递值template: li clickhandleClick{{content}} {{index}}/li,  //显示methods: {handleClick: function(){this.$emit(delete, this.index)  //子组件通过发布和父组件通讯}}}) // 父组件与子组件通讯交互         // 父组件通过 属性 传递给子组件参数         // 子组件通过 发布事件 传递给父组件参数前提是父组件需要先 注册事件        // 局部组件       var Local {template: liitem-local/li}new Vue({el:#todolist,// 注册局部组件components: {local: Local},data:{inputValue: ,list: []},methods: {handleSubmit: function(){this.list.push(this.inputValue);this.inputValue ;},handleDelete: function(index){this.list.splice(index, 1)}}})/script 确定 item-global sf fsdfsdf item-local sf 0 fsdfsdf 1 ---------------------  转自https://blog.csdn.net/mouday/article/details/80932868
http://www.zqtcl.cn/news/493691/

相关文章:

  • 公司网站建设及优化计划书找能做网站的
  • 网站建设方案模板下载南宁有名的网络公司
  • 本地做织梦网站做软件怎么赚钱
  • a站全称重庆大学网络教育平台
  • 美橙做过网站案例好文案网站
  • 鞍山商城网站建设国外代理ip
  • 东莞网站设计风格wordpress不能启动怎么解决
  • 社交网站制作临海建设局网站导航
  • 合肥需要做网站的公司佛山网站制作的公司
  • 哪里有做网站平台建设网站如何盈利
  • dw网站制作素材单人做网站需要掌握哪些知识
  • 网络推广产品公司做移动网站优化首
  • 网站建设dqcx广告网络用语
  • 烟台网站建设首推企汇互联见效付款手机网站宽度自适应
  • 网站建设小程序湖南wordpress插件刷不出来
  • 中国建设银行网站首页joy荣添创意网站建设
  • 市场营销网站网站开发技术项目说明书
  • 销售网站开发的背景wordpress虚线框可序列
  • 免费响应式网站深圳关键词优化
  • 网站宣传模式做微视频的网站
  • 网站改版后的内容福建 网站建设
  • 网站的文件夹企业邮箱在哪查看
  • 开了360网站卫士ssl如何做301深圳制作网站开发费用
  • 在哪里做马可波罗网站公众号自己做电影网站
  • 网站建设音乐插件怎么弄陕西城乡建设部网站首页
  • 全国免费自学网站打开百度网站首页
  • 国外网站开发公司晋江论坛网
  • 问卷调查网站个人网站源码免费下载
  • 网站备案信息核验单填写建设企业网站价钱
  • 相城建设监理有限公司网站网页设计中html代码