摘要:
<template> <div> <table border="1px" align="center" width="45%"> <th colspan="4">遍歷JSON數(shù)組</th> <tr> <th>序號</th> <th>姓名</th> <th>年齡</th> <th>性別</th> </ 閱讀全文
posted @ 2022-10-08 23:49
怪圣卡杰
閱讀(36)
評論(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
怪圣卡杰
閱讀(283)
評論(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
怪圣卡杰
閱讀(46)
評論(0)
推薦(0)
摘要:
router/index.js//1、引入基礎(chǔ)依賴 import Vue from 'vue' import Router from 'vue-router' //2、引入要路由的頁面 import Smarty from "../components/smarty" //3、將Router插件注冊 閱讀全文
posted @ 2022-10-08 17:13
怪圣卡杰
閱讀(136)
評論(0)
推薦(0)
浙公網(wǎng)安備 33010602011771號