|
27 | 27 | overflow: auto;
|
28 | 28 | }
|
29 | 29 | }
|
30 |
| - |
31 |
| - @media screen and (max-height: 640px) { |
32 |
| - #main { |
33 |
| - overflow: auto; |
34 |
| - } |
35 |
| - } |
36 | 30 | </style>
|
37 | 31 | </head>
|
38 | 32 |
|
39 | 33 | <body style="margin: 0;background: #fff;">
|
40 | 34 | <div id="main">
|
41 | 35 | <a-row id="map-row">
|
42 | 36 | <a-col :md="6">
|
43 |
| - <sm-time-text timeType="date" :font-style="{fontSize: '0.73vw'}" background="transparent" |
44 |
| - text-color="#f2f2f2"> |
| 37 | + <sm-time-text timeType="date"> |
45 | 38 | </sm-time-text>
|
46 | 39 | <div class="year-plan-wrap">
|
47 |
| - <sm-text |
48 |
| - :font-style="{fontSize: '0.94vw', lineHeight: '1.67vw', textAlign: 'center', fontWeight: 'bolder'}" |
49 |
| - background="transparent" text-color="#fff" title="年度计划"></sm-text> |
| 40 | + <sm-text :font-style="{lineHeight: '1.67vw'}" title="年度计划"></sm-text> |
50 | 41 | <div class="progress-holder">
|
51 | 42 | <div class="progress-item">
|
52 |
| - <sm-progress type="circle" stroke-color="#15D1F2" text-color="#fff" :percent="55" |
53 |
| - :stroke-width="8"> |
| 43 | + <sm-progress type="circle" :percent="55" :stroke-width="8"> |
54 | 44 | </sm-progress>
|
55 |
| - <sm-text |
56 |
| - :font-style="{fontSize: '0.9375vw', lineHeight: '0.9375vw', textAlign: 'center', fontWeight: 'bolder'}" |
57 |
| - background="transparent" text-color="#fff" title="销售金额"></sm-text> |
| 45 | + <sm-text title="销售金额"></sm-text> |
58 | 46 | </div>
|
59 | 47 | <div class="progress-item">
|
60 |
| - <sm-progress type="circle" :stroke-width="8" stroke-color="#15D1F2" text-color="#fff" |
61 |
| - :percent="35"> |
| 48 | + <sm-progress type="circle" :stroke-width="8" :percent="35"> |
62 | 49 | </sm-progress>
|
63 |
| - <sm-text |
64 |
| - :font-style="{fontSize: '0.9375vw', lineHeight: '0.9375vw', textAlign: 'center', fontWeight: 'bolder'}" |
65 |
| - text-color="#fff" background="transparent" title="销售回款"></sm-text> |
| 50 | + <sm-text title="销售回款"></sm-text> |
66 | 51 | </div>
|
67 | 52 | <div class="progress-item">
|
68 |
| - <sm-progress type="circle" :stroke-width="8" stroke-color="#15D1F2" text-color="#fff" |
69 |
| - :percent="60"> |
| 53 | + <sm-progress type="circle" :stroke-width="8" :percent="60"> |
70 | 54 | </sm-progress>
|
71 |
| - <sm-text |
72 |
| - :font-style="{fontSize: '0.9375vw', lineHeight: '0.9375vw', textAlign: 'center', fontWeight: 'bolder'}" |
73 |
| - text-color="#fff" background="transparent" title="营业收入"></sm-text> |
| 55 | + <sm-text title="营业收入"></sm-text> |
74 | 56 | </div>
|
75 | 57 | <div class="progress-item">
|
76 |
| - <sm-progress type="circle" :stroke-width="8" stroke-color="#15D1F2" text-color="#fff" |
77 |
| - :percent="40"></sm-progress> |
78 |
| - <sm-text |
79 |
| - :font-style="{fontSize: '0.9375vw', lineHeight: '0.9375vw', textAlign: 'center', fontWeight: 'bolder'}" |
80 |
| - text-color="#fff" background="transparent" title="净利润"></sm-text> |
| 58 | + <sm-progress type="circle" :stroke-width="8" :percent="40"></sm-progress> |
| 59 | + <sm-text title="净利润"></sm-text> |
81 | 60 | </div>
|
82 | 61 | </div>
|
83 | 62 | </div>
|
84 | 63 | </a-col>
|
85 | 64 | <a-col :md="12">
|
86 |
| - <sm-text |
87 |
| - :font-style="{fontSize: '1.82vw', lineHeight: '2.6vw', textAlign: 'center', fontWeight: 'bolder'}" |
88 |
| - background="transparent" text-color="#fff" title="房产项目可视化监控平台"></sm-text> |
| 65 | + <sm-text :font-style="{fontSize: '1.82vw', lineHeight: '2.6vw'}" title="房产项目可视化监控平台"></sm-text> |
89 | 66 | <div class="indicator-holder">
|
90 |
| - <sm-indicator title="土地出让金" unit="亿元" num="12320000" text-color="#fff" background="transparent"> |
| 67 | + <sm-indicator title="土地出让金" unit="亿元" num="12320000"> |
91 | 68 | </sm-indicator>
|
92 |
| - <sm-indicator title="回款金额" unit="元" num="12320000" text-color="#fff" background="transparent"> |
| 69 | + <sm-indicator title="回款金额" unit="元" num="12320000"> |
93 | 70 | </sm-indicator>
|
94 |
| - <sm-indicator title="净利润" unit="元" num="12320000" text-color="#fff" background="transparent"> |
| 71 | + <sm-indicator title="净利润" unit="元" num="12320000"> |
95 | 72 | </sm-indicator>
|
96 | 73 | </div>
|
97 | 74 | </a-col>
|
98 | 75 | <a-col :md="6">
|
99 |
| - <sm-text |
100 |
| - :font-style="{fontSize: '0.94vw', lineHeight: '1.35vw', textAlign: 'center', fontWeight: 'bolder'}" |
101 |
| - background="transparent" text-color="#fff" title="常规项目指标"></sm-text> |
| 76 | + <sm-text :font-style="{lineHeight: '1.35vw'}" title="常规项目指标"></sm-text> |
102 | 77 | <div class="normal-index-progress-holder">
|
103 | 78 | <div class="progress-item">
|
104 |
| - <sm-progress type="circle" stroke-color="#15D1F2" text-color="#fff" :percent="20" |
105 |
| - :stroke-width="10"> |
| 79 | + <sm-progress type="circle" :percent="20" :stroke-width="10"> |
106 | 80 | </sm-progress>
|
107 |
| - <sm-text |
108 |
| - :font-style="{fontSize: '0.9375vw', lineHeight: '0.9375vw', textAlign: 'center', fontWeight: 'bolder'}" |
109 |
| - background="transparent" text-color="#fff" title="施工类型"></sm-text> |
| 81 | + <sm-text title="施工类型"></sm-text> |
110 | 82 | </div>
|
111 | 83 | <div class="progress-item">
|
112 |
| - <sm-progress type="circle" stroke-color="#15D1F2" text-color="#fff" :percent="60" |
113 |
| - :stroke-width="10"> </sm-progress> |
114 |
| - <sm-text |
115 |
| - :font-style="{fontSize: '0.9375vw', lineHeight: '0.9375vw', textAlign: 'center', fontWeight: 'bolder'}" |
116 |
| - background="transparent" text-color="#fff" title="施工总进度"></sm-text> |
| 84 | + <sm-progress type="circle" :percent="60" :stroke-width="10"> </sm-progress> |
| 85 | + <sm-text title="施工总进度"></sm-text> |
117 | 86 | </div>
|
118 | 87 | </div>
|
119 | 88 | </a-col>
|
120 | 89 | </a-row>
|
121 | 90 | <a-row>
|
122 | 91 | <a-col :md="6">
|
123 | 92 | <div class="chart-item">
|
124 |
| - <sm-text |
125 |
| - :font-style="{fontSize: '0.9vw', lineHeight: '1.35vw', textAlign: 'center', fontWeight: 'bolder'}" |
126 |
| - background="transparent" text-color="#fff" title="销售金额统计"></sm-text> |
127 |
| - <sm-chart icon-class="" :options="saleAmountOption" :color-group="colorGroup"> |
| 93 | + <sm-text title="销售金额统计"></sm-text> |
| 94 | + <sm-chart icon-class="" :options="saleAmountOption"> |
128 | 95 | </sm-chart>
|
129 | 96 | </div>
|
130 | 97 | <div class="chart-item">
|
131 |
| - <sm-text |
132 |
| - :font-style="{fontSize: '0.9vw', lineHeight: '1.35vw', textAlign: 'center', fontWeight: 'bolder'}" |
133 |
| - background="transparent" text-color="#fff" title="销售回款趋势"></sm-text> |
134 |
| - <sm-chart icon-class="" :options="saleReturnOption" :color-group="colorGroup"> |
| 98 | + <sm-text title="销售回款趋势"></sm-text> |
| 99 | + <sm-chart icon-class="" :options="saleReturnOption"> |
135 | 100 | </sm-chart>
|
136 | 101 | </div>
|
137 | 102 | </a-col>
|
|
144 | 109 | </a-col>
|
145 | 110 | <a-col :md="6">
|
146 | 111 | <div class="chart-item">
|
147 |
| - <sm-text |
148 |
| - :font-style="{fontSize: '0.9vw', lineHeight: '1.35vw', textAlign: 'center', fontWeight: 'bolder'}" |
149 |
| - background="transparent" text-color="#fff" title="库存指标"></sm-text> |
150 |
| - <sm-chart icon-class="" :options="stockIndexOption" :color-group="colorGroup"> |
| 112 | + <sm-text title="库存指标"></sm-text> |
| 113 | + <sm-chart icon-class="" :options="stockIndexOption"> |
151 | 114 | </sm-chart>
|
152 | 115 | </div>
|
153 | 116 | <div class="chart-item">
|
154 |
| - <sm-text |
155 |
| - :font-style="{fontSize: '0.9vw', lineHeight: '1.35vw', textAlign: 'center', fontWeight: 'bolder'}" |
156 |
| - background="transparent" text-color="#fff" title="项目价值指标"></sm-text> |
157 |
| - <sm-progress type="circle" stroke-color="#20DFCB" text-color="#fff" :percent="80" |
158 |
| - :stroke-width="10"> |
| 117 | + <sm-text title="项目价值指标"></sm-text> |
| 118 | + <sm-progress type="circle" :percent="80" :stroke-width="10"> |
159 | 119 | </sm-progress>
|
160 | 120 | </div>
|
161 | 121 | </a-col>
|
162 | 122 | </a-row>
|
163 | 123 | <a-row>
|
164 | 124 | <a-col :md="6">
|
165 | 125 | <div class="chart-item">
|
166 |
| - <sm-text |
167 |
| - :font-style="{fontSize: '0.9vw', lineHeight: '1.35vw', textAlign: 'center', fontWeight: 'bolder'}" |
168 |
| - background="transparent" text-color="#fff" title="项目成本表"></sm-text> |
169 |
| - <sm-chart icon-class="" :options="projectCostOption" :color-group="colorGroup"> |
| 126 | + <sm-text title="项目成本表"></sm-text> |
| 127 | + <sm-chart icon-class="" :options="projectCostOption"> |
170 | 128 | </sm-chart>
|
171 | 129 | </div>
|
172 | 130 | </a-col>
|
173 | 131 | <a-col :md="12">
|
174 | 132 | <div class="chart-holder">
|
175 | 133 | <div class="chart-item">
|
176 |
| - <sm-text |
177 |
| - :font-style="{fontSize: '0.9vw', lineHeight: '1.35vw', textAlign: 'center', fontWeight: 'bolder'}" |
178 |
| - background="transparent" text-color="#fff" title="营业收入情况"></sm-text> |
179 |
| - <sm-chart icon-class="" :options="revenueOption" :color-group="colorGroup"> |
| 134 | + <sm-text title="营业收入情况"></sm-text> |
| 135 | + <sm-chart icon-class="" :options="revenueOption"> |
180 | 136 | </sm-chart>
|
181 | 137 | </div>
|
182 | 138 | <div class="chart-item">
|
183 |
| - <sm-text |
184 |
| - :font-style="{fontSize: '0.9vw', lineHeight: '1.35vw', textAlign: 'center', fontWeight: 'bolder'}" |
185 |
| - background="transparent" text-color="#fff" title="投资盈利情况"></sm-text> |
186 |
| - <sm-chart icon-class="" :options="investProfitOption" :color-group="colorGroup"> |
| 139 | + <sm-text title="投资盈利情况"></sm-text> |
| 140 | + <sm-chart icon-class="" :options="investProfitOption"> |
187 | 141 | </sm-chart>
|
188 | 142 | </div>
|
189 | 143 |
|
190 | 144 | </div>
|
191 | 145 | </a-col>
|
192 | 146 | <a-col :md="6">
|
193 | 147 | <div class="chart-item">
|
194 |
| - <sm-text |
195 |
| - :font-style="{fontSize: '0.9vw', lineHeight: '1.35vw', textAlign: 'center', fontWeight: 'bolder'}" |
196 |
| - background="transparent" text-color="#fff" title="库存情况"></sm-text> |
197 |
| - <sm-chart icon-class="" :options="stockSituationOption" :color-group="colorGroup"> |
| 148 | + <sm-text title="库存情况"></sm-text> |
| 149 | + <sm-chart icon-class="" :options="stockSituationOption"> |
198 | 150 | </sm-chart>
|
199 | 151 | </div>
|
200 | 152 | </a-col>
|
|
204 | 156 |
|
205 | 157 | <script>
|
206 | 158 | //本示例数据纯属虚构
|
207 |
| - var host = window.isLocal ? window.server : "http://support.supermap.com.cn:8090"; |
208 |
| - var attribution = |
209 |
| - "<a href='https://www.mapbox.com/about/maps/' target='_blank'> Mapbox </a>" + |
210 |
| - " with <span> <a href='http://iclient.supermap.io' target='_blank'>SuperMap iClient</a> | </span>" + |
211 |
| - " Map Data <span> <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span> "; |
212 | 159 | new Vue({
|
213 | 160 | el: "#main",
|
214 | 161 | data() {
|
|
248 | 195 | ...estatePlatformDatas
|
249 | 196 | };
|
250 | 197 | },
|
| 198 | + mounted() { |
| 199 | + SuperMap.Components.setTheme({ |
| 200 | + background: 'transparent', |
| 201 | + textColor: '#fff', |
| 202 | + colorGroup: this.colorGroup |
| 203 | + }); |
| 204 | + }, |
251 | 205 | methods: {
|
252 | 206 | changeTheme() {
|
253 | 207 | if (this.theme === 'dark') {
|
|
292 | 246 | <style>
|
293 | 247 | #main .sm-component-text {
|
294 | 248 | display: block;
|
| 249 | + font-weight: bold; |
| 250 | + text-align: center; |
| 251 | + font-size: 0.94vw; |
| 252 | + line-height: 0.94vw; |
295 | 253 | }
|
296 | 254 |
|
297 | 255 | .ant-row .sm-component-time-text {
|
|
0 commit comments