#
whycq
2021-12-08 fa141ffda5d56cd106cab5d03e6d410fa8572e64
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!DOCTYPE html>
<html lang="en">
    <head>
        <title></title>
        <meta charset="utf-8">
        <meta name="generator" content="Three.js Editor">
        <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
        <style>
            body {
                font-family: sans-serif;
                font-size: 11px;
                background-color: #000;
                margin: 0;
            }
            canvas {
                display: block;
            }
            #sidebar{
                /*定位*/
                position: absolute;
                top: 50%;
                left: 1%;
                transform: translateY(-50%);
                width: 20%;
                height: 95%;
                /*特效*/
                background: rgba(255,255,255,0.3);
                border-radius: 5px;
                color: #f0f8ff;
            }
            #sidebar h1{
                font-family: Fantasy;
                font-size: 36px;
                text-indent: 5%;
            }
            #baobiao1{
                width: 400px;
                height: 300px;
            }
 
 
        </style>
    </head>
    <body style="position: relative">
        <div id="sidebar">
            <h1>中扬-立体仓库</h1>
            <div id="baobiao1"></div>
 
        </div>
        <div id="container"></div>
        <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@5.2.2/dist/echarts.min.js"></script>
        <script type="text/javascript">
            var dom = document.getElementById("baobiao1");
            var myChart = echarts.init(dom);
            var app = {};
 
            var option;
 
            option = {
                xAxis: {
                    type: 'category',
                    data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
                },
                yAxis: {
                    type: 'value'
                },
                series: [
                    {
                        data: [120, 200, 150, 80, 70, 110, 130],
                        type: 'bar'
                    }
                ]
            };
 
            option && myChart.setOption(option);
 
 
            // option = {
            //     title: {
            //         text: '年度进/出货量',
            //         textStyle:{
            //             color:'#F8F8FF',
            //         },
            //         subtext: 'Data',
            //         subtextStyle:{
            //             color:'#F8F8FF',
            //         },
            //         show: true,
            //
            //     },
            //     textStyle:{
            //         color:'#F8F8FF',
            //     },
            //     // subtextStyle:{
            //     //     color:'#F8F8FF',
            //     // },
            //     // tooltip: {
            //     //     trigger: 'axis'
            //     // },
            //     legend: {
            //         show:false,
            //         data: ['进货', '出货']
            //     },
            //     toolbox: {
            //         show: false,
            //         feature: {
            //             dataView: { show: true, readOnly: false },
            //             magicType: { show: true, type: ['line', 'bar'] },
            //             restore: { show: true },
            //             saveAsImage: { show: true }
            //         }
            //     },
            //     calculable: true,
            //     xAxis: [
            //         {
            //             type: 'category',
            //             // prettier-ignore
            //             data: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月']
            //         }
            //     ],
            //     yAxis: [
            //         {
            //             // show:false,
            //             type: 'value'
            //         }
            //     ],
            //     series: [
            //         {
            //             name: '进货',
            //             type: 'bar',
            //             data: [
            //                 2.0, 4.9, 7.0, 23.2, 25.6, 76.7, 135.6, 162.2, 32.6, 20.0, 6.4, 3.3
            //             ],
            //             markPoint: {
            //                 data: [
            //                     { type: 'max', name: 'Max' },
            //                     { type: 'min', name: 'Min' }
            //                 ]
            //             },
            //             markLine: {
            //                 data: [{ type: 'average', name: 'Avg' }]
            //             }
            //         },
            //         {
            //             name: '出货',
            //             type: 'bar',
            //             data: [
            //                 2.6, 5.9, 9.0, 26.4, 28.7, 70.7, 175.6, 182.2, 48.7, 18.8, 6.0, 2.3
            //             ],
            //             markPoint: {
            //                 data: [
            //                     { name: 'Max', value: 182.2, xAxis: 7, yAxis: 183 },
            //                     { name: 'Min', value: 2.3, xAxis: 11, yAxis: 3 }
            //                 ]
            //             },
            //             markLine: {
            //                 data: [{ type: 'average', name: 'Avg' }]
            //             }
            //         }
            //     ],
            //
            // };
            //
            // if (option && typeof option === 'object') {
            //     myChart.setOption(option);
            // }
 
        </script>
        <script type="text/javascript" src="../static/js/lib/jquery-3.3.1.min.js"></script>
        <script type="text/javascript" src="../static/js/common.js"></script>
        <script type="text/javascript" src="../static/js/data/Warehouse.js"></script>
        <script type="text/javascript" src="../static/js/object/Cube.js"></script>
        <script type="text/javascript" src="../static/js/object/StoreArea.js"></script>
        <script type="text/javascript" src="../static/js/object/Store.js"></script>
        <script type="text/javascript" src="../static/js/object/StoreGroup.js"></script>
        <script type="text/javascript" src="../static/js/object/StoreShelf.js"></script>
        <script type="text/javascript" src="../static/js/object/StoreGoods.js"></script>
        <script type="module">
 
            import * as THREE from '../static/js/three.module.js';
            import { APP } from '../static/js/app.js';
 
            window.THREE = THREE;
 
            var player = new APP.Player();
            player.start();
 
            // document.body.appendChild( player.dom );
            // window.addEventListener( 'resize', function () {
            //     player.setSize( window.innerWidth, window.innerHeight );
            // } );
 
 
        </script>
    </body>
</html>