Fork me on GitHub
摘要: <body> <div id="app"> <ul> <li v-for="(item, index) in userList" :key="index"> {{item.name}} {{item.age}} <span v-if="item.sex==1">!男</span><span v-el 阅读全文
posted @ 2025-03-26 15:21 一名狗书匠& 阅读(4) 评论(0) 推荐(0)
摘要: <body> <div id="app"> <ul> <li v-for="(item, index) in car" :key="index">品牌:{{item.name}} 价格:{{item.price}} 数量:{{item.count}} <input type="text" v-mod 阅读全文
posted @ 2025-03-26 15:06 一名狗书匠& 阅读(5) 评论(0) 推荐(0)
摘要: <body> <div id="app"> <h1>{{msg2}}</h1> <ul> <li v-for="(item, index) in music" :key="index">{{item}}</li> </ul> <h1>{{msg}}</h1> <ul> <li v-for="(ite 阅读全文
posted @ 2025-03-26 14:54 一名狗书匠& 阅读(9) 评论(0) 推荐(0)
摘要: <body> <div id="app"> <p v-if="flag">{{msg}}</p> <p v-if="flag1">{{msg}}</p> <p v-show="flag">{{msg}}</p> <p v-show="flag1">{{msg}}</p> <hr> <div v-fo 阅读全文
posted @ 2025-03-26 14:53 一名狗书匠& 阅读(8) 评论(0) 推荐(0)
摘要: <body> <div id="app"> <input type="text" v-model="msg"> {{msg}} <button v-on:click="change()">点击我</button> <button v-on:click="out()">弹出</button> <hr> 阅读全文
posted @ 2025-03-26 14:53 一名狗书匠& 阅读(5) 评论(0) 推荐(0)
摘要: <body> <div id="app"> <button v-on:click="data('asd')">hello</button> <button v-on:click="numjj()">点击加一</button> {{num}} <hr> <div v-on:click="data('1 阅读全文
posted @ 2025-03-26 14:52 一名狗书匠& 阅读(5) 评论(0) 推荐(0)
摘要: <body> <div id="app"> {{msg}} <div v-text="test"></div> <div v-html="test"></div> <h1 v-bind:title="title" v-bind:class="{red:isred}" v-bind:style="{c 阅读全文
posted @ 2025-03-26 14:52 一名狗书匠& 阅读(8) 评论(0) 推荐(0)
摘要: <body> <div id="app"> <input type="text" v-model="msg"> <input type="text" v-model="msg"> <h1>欢迎你,{{msg}}</h1> <h1>当前登录时间{{nowData()}}</h1> <button v- 阅读全文
posted @ 2025-03-26 14:50 一名狗书匠& 阅读(6) 评论(0) 推荐(0)

asd