Commit 1c72a2e2 authored by 姚广胤's avatar 姚广胤

更新页面

parent 65deda02
...@@ -9,14 +9,6 @@ ...@@ -9,14 +9,6 @@
:value="item.value"> :value="item.value">
</el-option> </el-option>
</el-select> </el-select>
<el-select v-model="value2" placeholder="请选择">
<el-option
v-for="item in options2"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
<div ref="myEchart" style="width: 1200px;height:400px;"></div> <div ref="myEchart" style="width: 1200px;height:400px;"></div>
</div> </div>
</template> </template>
...@@ -31,23 +23,15 @@ export default { ...@@ -31,23 +23,15 @@ export default {
options: [ options: [
{ {
value: '1', value: '1',
label: '大转盘' label: '圆形大转盘1'
}, },
{ {
value: '2', value: '2',
label: '刮刮卡' label: '砸彩蛋2'
}, },
{ {
value: '3', value: '3',
label: '砸彩蛋' label: '卡包3'
},
{
value: '4',
label: '卡包'
},
{
value: '5',
label: '套牛'
} }
], ],
options2: [ options2: [
...@@ -90,7 +74,7 @@ export default { ...@@ -90,7 +74,7 @@ export default {
const days = data.map(item => item['day']); const days = data.map(item => item['day']);
const seriesData = data.map(item => item['result']['all']); const seriesData = data.map(item => item['result']['whiteTime']);
this.initChart(days, seriesData); this.initChart(days, seriesData);
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment