1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
| <template>
| <div class="forecastChart">
| <div class="classTop">
| <el-select v-model="valueSelect" placeholder="请选择">
| <el-option
| v-for="item in options"
| :key="item.value"
| :label="item.label"
| :value="item.value">
| </el-option>
| </el-select>
| <el-date-picker
| v-model="valueDate"
| type="date"
| placeholder="选择日期">
| </el-date-picker>
| </div>
| </div>
| </template>
|
| <script>
| export default {
| data() {
| return {
| options: [{
| value: '选项1',
| label: '黄金糕'
| }, {
| value: '选项2',
| label: '双皮奶'
| }, {
| value: '选项3',
| label: '蚵仔煎'
| }, {
| value: '选项4',
| label: '龙须面'
| }, {
| value: '选项5',
| label: '北京烤鸭'
| }],
| valueSelect: '',
| valueDate: ''
| }
| },
| methods: {
|
| }
| }
| </script>
|
| <style scoped>
| .forecastChart{
| width: 100%;
| height: 100%;
| }
| </style>
|
|