changes
This commit is contained in:
parent
bb14dd9e29
commit
6f51e5588f
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
// 使用 IntelliSense 了解相关属性。
|
||||||
|
// 悬停以查看现有属性的描述。
|
||||||
|
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"type": "pwa-chrome",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Launch Chrome against localhost",
|
||||||
|
"url": "http://localhost:8080",
|
||||||
|
"webRoot": "${workspaceFolder}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -12,7 +12,8 @@
|
||||||
<div class="item" v-cloak>
|
<div class="item" v-cloak>
|
||||||
<ul>
|
<ul>
|
||||||
<h2>商品列表</h2>
|
<h2>商品列表</h2>
|
||||||
<li v-for="items,index in list" @click="isChange(index)" :class="isChangeColor(index)">
|
<li v-for="items,index in list" @click="isChange(index)"
|
||||||
|
:class="isChangeColor(index)">
|
||||||
<div class="left">{{items.item}}</div>
|
<div class="left">{{items.item}}</div>
|
||||||
<div class="right">{{items.price}}</div>
|
<div class="right">{{items.price}}</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue