TypechoJoeTheme

吴同学的笔记本

统计

1.2uni-app vue语言简单学习

2021-02-20
/
3 评论
/
686 阅读
/
正在检测是否收录...
02/20

2-1 模板语法

输出字符串方法

2u2a9.png](https://book.hiwzy.com/usr/uploads/2021/02/3793018889.png)

  • 直接在1处hello world
  • 如图的方法
  • v-text="text"
三种方法对比(此处不包含直接hello world)


三种方法对比

2-2 样式绑定

直接填

class或者id

绑定到数据库


v-bind:可以简写为

一个疑问
这里绑定后改了text里面内容,hello就不显示了,可用于css动态显示内容。有点理解了,

2-3事件绑定

赞 · 0
评论 (3)
  1. Arbissimi 作者
    Windows 8 · Google Chrome

    Sbuxjv boeing regence cialis https://oscialipop.com - where to buy cialis Feline Dose Amoxicillin Hzacay Cialis Generic Propecia Overnight Posndg Rkdmdt UNITS AND CONVERSIONS In our calculations we will mostly use SI units in which the basic units for length mass and time are meter kilogram and second. https://oscialipop.com - Cialis cialis name brand online

    2022-03-30 回复
  2. Enumunc 作者
    Windows 10 · Google Chrome

    purchasing cialis online Safe Buy Antibiotics Online

    2022-07-28 回复
  3. flippen 作者
    Windows 10 · Google Chrome

    In this final stage of the flow the movement of blood through the veins is aided by the contraction of muscles that squeeze the blood toward the heart. stromectol ivermectin for humans

    2022-08-17 回复