摘要: <template> <div> <table border="1px" align="center" width="45%"> <th colspan="4">遍历JSON数组</th> <tr> <th>序号</th> <th>姓名</th> <th>年龄</th> <th>性别</th> </ 阅读全文
posted @ 2022-10-08 23:49 怪圣卡杰 阅读(30) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <div class="border-style"> <h1 :class="class3"> CSS绑定 </h1> <div :class="{'c1':clEnable, 'c2':c2Enable}">CSS属性绑定,注意叠加效果</div> <div :c 阅读全文
posted @ 2022-10-08 22:47 怪圣卡杰 阅读(271) 评论(0) 推荐(0) 编辑
摘要: <template> <div> 学校:<input type="text" placeholder="请输入学校" v-model="school" /><br /> 班级:<input type="text" placeholder="请输入班级" v-model="className" />< 阅读全文
posted @ 2022-10-08 18:04 怪圣卡杰 阅读(35) 评论(0) 推荐(0) 编辑
摘要: router/index.js//1、引入基础依赖 import Vue from 'vue' import Router from 'vue-router' //2、引入要路由的页面 import Smarty from "../components/smarty" //3、将Router插件注册 阅读全文
posted @ 2022-10-08 17:13 怪圣卡杰 阅读(121) 评论(0) 推荐(0) 编辑