|
@@ -38,7 +38,7 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
-import { GradualChange, ringTypes, ringTypeEnlarge } from './indexOptionChart';
|
|
|
|
|
|
+import { GradualChange, ringTypes, ringTypeEnlarges } from './indexOptionChart';
|
|
const colors = [
|
|
const colors = [
|
|
GradualChange('#22D8FF', '#00B2FF'),
|
|
GradualChange('#22D8FF', '#00B2FF'),
|
|
GradualChange('#F0646C', '#F4994E'),
|
|
GradualChange('#F0646C', '#F4994E'),
|
|
@@ -82,7 +82,7 @@ export default {
|
|
if (window.screen.width == 1920 || window.screen.width < 1920) {
|
|
if (window.screen.width == 1920 || window.screen.width < 1920) {
|
|
this.clientOptions = ringTypes(colors, this.eachartObj(data), {}, { type: '%', total: this.total });
|
|
this.clientOptions = ringTypes(colors, this.eachartObj(data), {}, { type: '%', total: this.total });
|
|
} else if (window.screen.width == 2560 || window.screen.width > 1920) {
|
|
} else if (window.screen.width == 2560 || window.screen.width > 1920) {
|
|
- this.clientOptions = ringTypeEnlarge(colors, this.eachartObj(data), {}, { type: '%', total: this.total });
|
|
|
|
|
|
+ this.clientOptions = ringTypeEnlarges(colors, this.eachartObj(data), {}, { type: '%', total: this.total });
|
|
}
|
|
}
|
|
}
|
|
}
|
|
});
|
|
});
|
|
@@ -130,7 +130,7 @@ export default {
|
|
);
|
|
);
|
|
} else if (window.screen.width == 2560 || window.screen.width > 1920) {
|
|
} else if (window.screen.width == 2560 || window.screen.width > 1920) {
|
|
this.valueClass = 2;
|
|
this.valueClass = 2;
|
|
- this.clientOptions = ringTypeEnlarge(
|
|
|
|
|
|
+ this.clientOptions = ringTypeEnlarges(
|
|
colors,
|
|
colors,
|
|
[
|
|
[
|
|
{ value: 0, name: '微信' },
|
|
{ value: 0, name: '微信' },
|