Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
Koma 36a1b26726 | 6 years ago | |
---|---|---|
.. | ||
README.md | 6 years ago | |
index.html | 7 years ago |
为自己的页面表格编写表行组件。
<div id="myApp">
<h1>2017年最期待的游戏是:</h1>
<table border="1">
<tr>
<td>编号</td>
<td>游戏名称</td>
</tr>
<my-row1></my-row1>
<my-row2></my-row2>
<my-row3></my-row3>
</table>
</div>
<script>
Vue.component('my-row1', {
template: '<tr><td>(1)</td><td>塞尔达传说:荒野之息(3/3)</td></tr>'
});
Vue.component('my-row2', {
template: '<tr><td>(2)</td><td>新马里奥赛车(4/28)</td></tr>'
});
Vue.component('my-row3', {
template: '<tr><td>(3)</td><td>喷射乌贼娘2代</td></tr>'
});
var myApp = new Vue({
el: '#myApp',
data: {
},
methods: {
},
});
</script>
Vue.js学习工程
HTML CSS Markdown
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》