echarts legend 背景色渐变

问题与本文无关:如果检测软件显示loadsh.js 的版本是4.17.10 装element-ui 2.15.8版本以下,2.15.6经过测试可以

代码:

<template>
    <div class="levelMain">
        <div class="survey-head">
            <div class="survey-title">
                <img src="../../assets/img/v3/v301.png" alt />
                云计算总览
            </div>
        </div>
        <div class="echartsmain clearfix">
            <div class="level clearfix">
                <div class="changeTitle">
                    <div class="levelcm" @click="kehuJump">
                        <img src="../../assets/img/v3/v305.png" alt />
                        业务概况
                    </div>
                    <div class="sj_khqk">
                        <span :class="{ isClassColor: isClass == 2 }" style="margin-right: 5px" @click="handlelevel(2)">云平台类型</span>
                        <span :class="{ isClassColor: isClass == 1 }" @click="handlelevel(1)">租户类型</span>
                    </div>
                </div>
                <div class="level-chat-wrap">
                    <div id="main-yewu" class="main-yewu newclass" style="height: 220px; width: 216px"></div>
                    <div class="level-chat-legend">
                        <div class="legend-item" :style="getBackground(index)" v-for="(item, index) in legendData" :key="item.name">
                            <div class="legend-item-icon" :style="{ background: colors[index] }"></div>
                            <div class="legend-item-label">{{ item.name }}</div>
                            <div class="legend-item-num">
                                <numAnimation :num="item.value" :style="{ color: colors[index] }"></numAnimation>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="industry">
                <div class="changeTitle" style="margin-left: 16px">
                    <div class="levelcm" @click="yewuJump">
                        <img src="../../assets/img/v3/v305.png" alt />
                        资源概况
                    </div>
                    <div class="sj_khqk">
                        <span :class="{ isClassColor: isClass1 == 1 }" style="margin-right: 5px" @click="handlelevel1(1)">云产品</span>
                        <span :class="{ isClassColor: isClass1 == 2 }" @click="handlelevel1(2)">物理设备</span>
                    </div>
                </div>
                <ul class="industryBox">
                    <li v-for="(item, index) in ziyuanList" :key="index">
                        <span>{{ item.name }}</span>
                        <NumAnimation :num="item.count"></NumAnimation>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</template>
<script>
const colors1 = ['#40c2c1', '#0e9bfe', '#27d280', '#5ED2F9'];
// const colors2 = ['#0EFEFE','#0E9BFE','#27D280', '#da55ba', '#6fd3b7', '#605edf', '#ef9c57', '#dd645f', '#ebe793', '#49abe6']
const colors2 = ['#35EDA0', '#26CBFF', '#369FFF', '#0FF', '#83F7B2', '#605edf', '#ef9c57', '#dd645f', '#ebe793', '#49abe6'];
const colors3 = [
    'rgba(53,237,160,0.3)',
    'rgba(38,203,255,0.3)',
    'rgba(54,159,255,0.3)',
    'rgba(0,255,255,0.3)',
    'rgba(131,247,178,0.3)',
    'rgba(96,94,223,0.3)',
    'rgba(239,156,87,0.3)',
    'rgba(221, 100, 95,0.3)'
];
import * as math from 'mathjs';
import * as echarts from 'echarts';
import NumAnimation from '@/components/numAnimation.vue';
import { getReq, postReq, postReqJson } from '@/api/index.js';

export default {
    name: 'level',
    components: {
        NumAnimation
    },
    props: {
        reqData: {
            type: Object,
            default: {}
        }
    },
    data() {
        return {
            value: '客户概况',
            profession: [],
            count: [],
            chartData: [],
            ziyuanList: [],
            isClass: 2,
            isClass1: 1,
            colors: colors2,
            myChart: null
        };
    },
    computed: {
        legendData: function () {
            return this.chartData;
        }
    },
    // 自动刷新
    inject: ['loop'],
    watch: {
        loop: {
            handler(newVal) {
                this.handlelevel(this.isClass); //专网统计
                this.handlelevel1(this.isClass1); //资源概况
            },
            deep: true
        },
        reqData: {
            handler(newVal) {
                this.handlelevel(this.isClass); //专网统计
                this.handlelevel1(this.isClass1); //资源概况
            },
            deep: true,
            immediate: true
        }
    },
    mounted() {
        this.handlelevel(this.isClass); //专网统计
        this.handlelevel1(this.isClass1); //资源概况
    },
    beforeDestroy() {
        this.myChart && this.myChart.dispose();
        this.myChart = null;
    },
    methods: {
        getBackground(index) {
            // return `background-image: linear-gradient(270deg, rgba(53, 237, 160, 0.00) 0.05%, ${this.colors[index]} 99.95%);`
            return `background-image: linear-gradient(270deg, rgba(53, 237, 160, 0.00) 0.05%, ${colors3[index]} 99.95%);`;
        },
        handlelevel(text) {
            this.isClass = text;
            this.colors = colors2;
            let data = this.reqData.yewugaikuang;
            if (text == 2) {
                // 云平台类型
                if (data) {
                    data.yunpingtaileixing.forEach((v) => {
                        v['value'] = v.count;
                    });
                    this.chartData = data.yunpingtaileixing;
                    this.getData();
                }
            } else {
                // 租户类型
                if (data) {
                    data.zuhuleixing.forEach((v) => {
                        v['value'] = v.count;
                    });
                    this.chartData = data.zuhuleixing;
                    this.getData();
                }
            }
        },
        handlelevel1(text) {
            this.isClass1 = text;
            let data = this.reqData.ziyuangaikuang;
            if (text == 1) {
                // 云产品
                if (data) {
                    this.ziyuanList = data.yunchanpin;
                }
            } else {
                // 物理设备
                if (data) {
                    this.ziyuanList = data.wulishebei;
                }
            }
        },
        getData() {
            //专网统计
            this.myChart = echarts.init(document.getElementById('main-yewu'));
            const chartData = this.chartData;
            // const colorList = ['#379dfc', '#f8d15a', '#a1b5d3', '#27d280']
            const sum = chartData.reduce((per, cur) => per + cur.value, 0);
            const gap = (1 * sum) / 100;
            const pieData1 = [];
            const pieData2 = [];
            const gapData = {
                name: '',
                value: gap,
                itemStyle: {
                    color: 'transparent'
                }
            };
            for (let i = 0; i < chartData.length; i++) {
                // 第一圈数据
                pieData1.push({
                    ...chartData[i],
                    itemStyle: {
                        borderRadius: 1
                    }
                });
                pieData1.push(gapData);

                // 第二圈数据
                pieData2.push({
                    ...chartData[i],
                    itemStyle: {
                        color: this.colors[i],
                        opacity: 0.2
                    }
                });
                pieData2.push(gapData);
            }
            let titles = this.isClass == '1' ? '专网总量' : '行业总量';
            let option = {
                title: {
                    text: `{a|${sum}}\n{c|${titles}}`,
                    // x: '33%',
                    //   y: '44%',
                    left: 'center',
                    top: 'center',
                    textStyle: {
                        rich: {
                            a: {
                                color: '#00f1ff',
                                fontSize: '16',
                                fontWeight: 'bold'
                            },
                            c: {
                                fontSize: '12',
                                color: '#BDE7FA',
                                padding: [5, 0, 6, 0]
                            }
                        }
                    }
                },
                tooltip: {
                    trigger: 'item',
                    axisPointer: {
                        // 坐标轴指示器,坐标轴触发有效 设置鼠标放上去是线还是阴影
                        type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
                    }
                },
                legend: {
                    show: false,
                    // type: 'scroll',
                    // orient: 'vertical',
                    right: 0,
                    // top: 'center',
                    itemGap: 20,
                    itemWidth: 10,
                    itemHeight: 10,
                    // backgroundColor: 'rgba(13,22,76,0.9)',
                    // padding: [5, 10],
                    textStyle: {
                        color: '#fff',
                        fontSize: 12,
                        borderWidth: 10 // 间距的宽度
                    }
                    // formatter: (name) => {
                    //   const item = chartData.filter((item) => item.moduleType == name)[0]
                    //   if (name != '') {
                    //     return name + '   ' + item.value
                    //   }
                    // },
                },
                grid: {
                    top: 20,
                    right: 10,
                    bottom: 20,
                    left: 10,
                    containLabel: true
                },
                color: this.colors,
                series: [
                    {
                        name: '',
                        type: 'pie',
                        roundCap: true,
                        radius: ['47%', '53%'],

                        // hoverOffset: 5,
                        label: {
                            show: true,
                            formatter: function (params) {
                                let num = math.number(math.divide(math.bignumber(params.value), math.bignumber(sum)));
                                let twoFixed = Math.floor(num * 10000) / 100;
                                return `{name|${twoFixed}%}`;
                            },
                            textStyle: {
                                //   fontSize: 12,
                                rich: {
                                    name: {
                                        fontSize: 12,
                                        fontWeight: 700,
                                        color: 'inherit',
                                        padding: [-22, -48, 0, -40]
                                    }
                                }
                            },
                            position: 'outside',
                            emphasis: {
                                show: true,
                                itemStyle: {}
                            }
                        },
                        labelLine: {
                            show: true,
                            length: 10,
                            length2: 40
                        },
                        data: pieData1
                    },
                    {
                        type: 'pie',
                        radius: ['47%', '38%'],
                        // center: ['45%', '50%'],
                        gap: 1.71,
                        label: {
                            show: false
                        },
                        labelLine: {
                            show: false
                        },
                        silent: true,
                        data: pieData2
                    },
                    {
                        type: 'pie',
                        name: '',
                        radius: ['58%', '58.5%'],
                        silent: true,
                        startAngle: '360',
                        endAngle: '0',
                        data: [
                            {
                                value: 0,
                                selected: false,
                                labelLine: {
                                    show: false,
                                    length: 0,
                                    length2: 0,
                                    lineStyle: {
                                        color: '#fff'
                                    }
                                },
                                itemStyle: {
                                    label: {
                                        show: false
                                    }
                                }
                            }
                        ],

                        itemStyle: {
                            color: '#40C2C1',
                            opacity: 0.45,
                            label: {
                                show: false
                            },
                            labelLine: {
                                opacity: 0,
                                show: false,
                                length: 0,
                                length2: 0,
                                lineStyle: {
                                    color: '#fff'
                                }
                            }
                        },
                        hoverAnimation: false
                    },
                    {
                        type: 'pie',
                        radius: ['31%', '31.5%'],

                        data: [100],
                        color: ['#39D1FA5C'],
                        label: {
                            show: false
                        },
                        silent: true
                    }
                ]
            };
            this.myChart.clear();
            this.myChart.resize();
            this.myChart.setOption(option, true);
        },

        kehuJump() {
            // window.open(`http://10.7.38.84:37799/webroot/decision/v10/entry/access/2e7ec9ae-bd46-49e4-95f0-038d20c863a6?ssoToken=pb453S%2BRSu1BqSB97IFsJhRq2cfGNITYIausH01BwbSIcDxk%2FQqDeHA9%2FJcLh5WOVQ3%2FIjeV7HSXn6Cid%2B9UkjzFvZOku3vLGoF1%2FlQ9LtdQqrczx5pWFp7uDsGkB03uCU1Y%2FDrpnB%2BfkrUxH%2FtGpioaq4TCDDHFUNwTpADUxPYS4%2BkojpNMpu6ahzDZ5t7W9VZchy4K8rbtSR2FS5lkcIpt%2FmpHLqMlFZ8FVTllZlTL1ZEqFkX2piFmgVVtJtm85HUIVXgNLWaWpl7HHZHphuQRGYQ%2F39ck51WLL3IxBhq9DqgmCyqSgNdARTzw8npLuFkO1WIuVqysTwBOWC%2Bg6Q%3D%3D`)
        },
        yewuJump() {
            // window.open(`http://10.7.38.84:37799/webroot/decision/v10/entry/access/a13d36b6-0d06-4955-990c-fc98f94f1c89?ssoToken=pb453S%2BRSu1BqSB97IFsJhRq2cfGNITYIausH01BwbSIcDxk%2FQqDeHA9%2FJcLh5WOVQ3%2FIjeV7HSXn6Cid%2B9UkjzFvZOku3vLGoF1%2FlQ9LtdQqrczx5pWFp7uDsGkB03uCU1Y%2FDrpnB%2BfkrUxH%2FtGpioaq4TCDDHFUNwTpADUxPYS4%2BkojpNMpu6ahzDZ5t7W9VZchy4K8rbtSR2FS5lkcIpt%2FmpHLqMlFZ8FVTllZlTL1ZEqFkX2piFmgVVtJtm85HUIVXgNLWaWpl7HHZHphuQRGYQ%2F39ck51WLL3IxBhq9DqgmCyqSgNdARTzw8npLuFkO1WIuVqysTwBOWC%2Bg6Q%3D%3D`)
        }
    }
};
</script>
<style lang="scss" scoped>
.survey-head {
    align-items: center;

    .no-boder-slct {
        >>> input {
            border: 0;
            background: transparent;
            color: #fff;
            width: 110px;
        }
    }

    .survey-title {
        display: flex;
        align-items: center;
        font-size: 18px;
        font-weight: 700;
        background-image: linear-gradient(0deg, #0ff 24.7%, #1e9bff 89%);
        -webkit-background-clip: text;
        color: transparent;
        img {
            width: 16px;
            height: 16px;
            display: inline-block;
            margin-right: 10px;
        }
    }
}

.echartsmain {
    float: left;
    // width: 821px;
    text-align: left;
    font-size: 14px;
    display: flex;
    align-items: center;
}
.echartsmain .level-chat-wrap {
    // flex: 1;
    // width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.echartsmain .level {
    width: 440px;
    height: 280px;
    box-sizing: border-box;
}
.echartsmain .level-chat-legend {
    padding: 10px 10px 10px 0;
    box-sizing: border-box;
    width: 156px;
    height: 218px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.echartsmain .legend-item {
    white-space: nowrap;
    height: 28px;
    display: flex;
    align-items: center;
    // background: url('../../assets/img/v3/llenged-bg.png') no-repeat;
    background-size: 100% 100%;
    padding: 0 10px;
    font-size: 12px;
    padding: 10px 0;
}
// .echartsmain .legend-item + .legend-item {
//   margin-top: 20px;
// }
.echartsmain .legend-item-icon {
    // width: 10px;
    // height: 10px;
    // background: red;
    // margin-right: 10px;
    // border-radius: 2px;
    width: 3px;
    height: 28px;
    background: red;
    margin-right: 10px;
}
.echartsmain .legend-item-label {
    font-size: 12px;
    color: #ffffff;
}
.echartsmain .legend-item-num {
    font-size: 12px;
    color: #ffffff;
    margin-left: auto;
    font-weight: bold;
}
.echartsmain .industry {
    flex: 1;
    // width: 50%;
    width: 470px;
    height: 280px;
    padding: 0 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    border-radius: 13px;
    .industryBox {
        width: 420px;
        height: 256px;
        background: url('../../assets/img/v3/v3left03.png') no-repeat center;
        background-size: 100% 100%;
        position: relative;
        li {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            span:nth-child(1) {
                color: #e1ffff;
                font-size: 14px;
                width: 82px;
            }
            span:nth-child(2) {
                color: #0ff;
                font-size: 24px;
                font-weight: 600;
                width: 82px;
            }
        }
        li:nth-child(1) {
            position: absolute;
            // top: 55px;
            // left: 55px;
            top: 30%;
            left: 23%;
            transform: translate(-50%, -50%);
        }
        li:nth-child(2) {
            position: absolute;
            top: 30%;
            right: -5%;
            transform: translate(-50%, -50%);
        }
        li:nth-child(3) {
            position: absolute;
            bottom: 10%;
            left: 23%;
            transform: translate(-50%, -50%);
        }
        li:nth-child(4) {
            position: absolute;
            bottom: 10%;
            right: -3.4%;
            transform: translate(-40%, -50%);
        }
    }
}

.title {
    font-size: 16px;
    color: #fff;
    padding-left: 15px;
}

.levelMain {
    width: 928px;
    height: 365px;
    padding: 20px;
    box-sizing: border-box;
    background: url('../../assets/img/v3/customerv3left1.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.el-input__inner {
    width: 130px;
    height: 24px;
    background: none;
    border: none;
    height: inherit;
    font-size: 18px;
    color: #00ddec;
}

.el-select .el-input__inner {
    padding-right: 0px;
}

::v-deep .el-form-item {
    margin-bottom: 0px !important;
}

.el-select .el-input .el-select__caret {
    display: none;
}

::v-deep .el-form-item--mini.el-form-item,
.el-form-item--small.el-form-item {
    margin-bottom: 0px !important;
}

.echartsmain .main-yewu {
    //   width: 100%;
    // flex: 2;
    height: 250px;
}

::v-deep .survey-title input {
    border: 0;
    background: transparent !important;
    color: #00ddec;
    font-family: MicrosoftYaHei-Bold;
    font-size: 18px;
    font-weight: normal;
    width: 140px;
}

.isClassColor {
    // color: #4bc6fb;
    color: #0ff !important;
    width: 86px;
    // height: 20px;
    background: url('../../assets/img/v3/v3tab01ed.png') no-repeat center 5px !important;
    text-align: center;
    line-height: 20px;
}

.changeTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 30px;
    margin-top: 15px;
    .levelcm {
        // width: 178px;
        // font-size: 16px;
        // color: #ffffff;
        // background-image: linear-gradient(90deg, rgba(0, 60, 130, 0), rgba(0, 60, 130, 1), rgba(0, 60, 130, 0));
        // text-align: center;
        // margin: 0 auto;
        display: flex;
        align-items: center;
        font-size: 16px;
        color: #fff;
        margin-left: -10px;
        padding-top: 10px;
        img {
            width: 40px;
            height: 36px;
            display: inline-block;
            margin-right: -2px;
        }
    }
    .sj_khqk {
        color: #f0f0f0;
        margin-right: 10px;
        cursor: pointer;
        display: flex;
        justify-content: flex-end;
        margin-top: 15px;
        width: 184px;
        height: 28px;
        background: url('../../assets/img/v3/v3tab.png') no-repeat 2px center;
        background-size: 100% 100%;
        span {
            color: #f0f0f0;
            width: 86px;
            // height: 20px;
            background: url('../../assets/img/v3/v3tab01.png') no-repeat center 5px;
            text-align: center;
            line-height: 20px;
        }
    }
}
</style>

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:/a/719058.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

【思考】Vue2响应丢失、$set

【思考】Vue2响应丢失、$set vue2响应丢失情况复现原因解决总结 vue2响应丢失情况复现 场景&#xff1a;直接通过数组下标去修改数组造成响应丢失 <template><div><p v-for"(item, index) in list" :key"index">{{item}}</p><…

同三维T80004EHL-W-4K30 4K HDMI编码器,支持WEBRTC协议

输入&#xff1a;1路HDMI1路3.5音频&#xff0c;1路HDMI环出1路3.5音频解嵌输出 4K30超高清,支持U盘/移动硬盘/TF卡录制&#xff0c;支持WEBRTC协议&#xff0c;超低延时&#xff0c;支持3个点外网访问 1个主流1个副流输出&#xff0c;可定制选配POE供电模块&#xff0c;WEBR…

【Vue】——组件的注册与引用(二)

&#x1f4bb;博主现有专栏&#xff1a; C51单片机&#xff08;STC89C516&#xff09;&#xff0c;c语言&#xff0c;c&#xff0c;离散数学&#xff0c;算法设计与分析&#xff0c;数据结构&#xff0c;Python&#xff0c;Java基础&#xff0c;MySQL&#xff0c;linux&#xf…

VBA学习(4):一键生成Sheet表目录

当Sheet表非常多的时候&#xff0c;一般我们会在第一张工作表中做一张目录&#xff0c;方便快速查找定位相应表格&#xff0c;以下示例将介绍如何通过宏程序一键生成目录。 效果如下&#xff1a; 参考代码如下&#xff1a; Sub SheetList()Dim sht As Worksheet, i As Long, s…

uniapp canvas生成海报

效果 封装组件&#xff0c;父组件 ref 调用 downImgUrl()函数&#xff0c;其他根据自己需求改 <template><view><view class"bgpart"><canvas class"canvas-wrap" canvas-id"canvasID" type"2d"></canvas…

GPT3.5的PPO目标函数怎么来的:From PPO to PPO-ptx

给定当前优化的大模型 π \pi π&#xff0c;以及SFT模型 π S F T \pi_{SFT} πSFT​ 原始优化目标为: max ⁡ E ( s , a ) ∼ R L [ π ( s , a ) π S F T ( s , a ) A π S F T ( s , a ) ] \max E_{(s,a)\sim RL}[\frac{\pi(s,a)}{\pi_{SFT}(s,a)}A^{\pi_{SFT}}(s,a)] m…

编程精粹—— Microsoft 编写优质无错 C 程序秘诀 03:强化你的子系统

这是一本老书&#xff0c;作者 Steve Maguire 在微软工作期间写了这本书&#xff0c;英文版于 1993 年发布。2013 年推出了 20 周年纪念第二版。我们看到的标题是中译版名字&#xff0c;英文版的名字是《Writing Clean Code ─── Microsoft’s Techniques for Developing》&a…

windows无法完成格式化

方法. 使用CMD格式化 请将U盘连接到电脑&#xff0c;并确保电脑能够正常识别。 1. 在搜索框中输入“命令提示符”。在左侧结果中的“命令提示符”上点击右键&#xff0c;选择“以管理员身份运行”。 2. 在新窗口中&#xff0c;键入“diskpart”并按“回车”&#xff0c;然后…

如何通过小猪APP分发轻松实现Web封装APP

你有没有想过将你的网站或者Web应用变成一个真正的APP&#xff1f;这听起来可能有点复杂&#xff0c;但其实在今天的技术环境下&#xff0c;这已经变得非常简单了。特别是有了像小猪APP分发这样的工具&#xff0c;你可以轻松地将你的Web应用封装成一个APP。 为什么要将Web应用封…

Golang | Leetcode Golang题解之第164题最大间距

题目&#xff1a; 题解&#xff1a; type pair struct{ min, max int }func maximumGap(nums []int) (ans int) {n : len(nums)if n < 2 {return}minVal : min(nums...)maxVal : max(nums...)d : max(1, (maxVal-minVal)/(n-1))bucketSize : (maxVal-minVal)/d 1// 存储 (…

如何在不丢失数据的情况下解锁安卓手机密码

手机是我们生活中必不可少的工具&#xff0c;可以帮助我们与朋友和家人保持联系&#xff0c;了解最新消息&#xff0c;甚至经营我们的业务。然而&#xff0c;当我们在 Android 手机或 iPhone 上设置密码时&#xff0c;我们经常会忘记密码&#xff0c;或者根本没有设置密码。当这…

安卓多媒体(音频录播、传统摄制、增强摄制)

本章介绍App开发常用的一些多媒体处理技术&#xff0c;主要包括&#xff1a;如何录制和播放音频&#xff0c;如何使用传统相机拍照和录像&#xff0c;如何截取视频画面&#xff0c;如何使用增强相机拍照和录像。 音频录播 本节介绍Android对音频的录播操作&#xff0c;内容包…

SpringBoot3整合SpringDoc实现在线接口文档

写在前面 在现目前项目开发中&#xff0c;一般都是前后端分离项目。前端小姐姐负责开发前端&#xff0c;苦逼的我们负责后端开发 事实是一个人全干&#xff0c;在这过程中编写接口文档就显得尤为重要了。然而作为一个程序员&#xff0c;最怕的莫过于自己写文档和别人不写文档…

c函数/2024/6/17

1.递归计算0--n的和 #include <stdio.h> int sum(int n);//递归求和函数 int main(int argc, const char *argv[]) {//(2)递归计算0--n的和int n0;printf("请输入n的值为:");scanf("%d",&n);printf("0--n的和为:%d",sum(n));return 0…

AI早班车

全球AI新闻速递 1.国内团队制作AI短片《凤鸣山海》亮相北京电影节 国内团队制作AI短片《凤鸣山海》亮相北京电影节“光影未来”电影科技单元。独特的中国玄幻题材&#xff0c;朱雀、玄武、白虎、青龙&#xff0c;四大神兽栩栩如生 2.字节跳动拒绝出售TikTok&#xff0c;如果败…

【数据结构初阶】--- 堆的应用:topk

堆的功能&#xff1a;topk 为什么使用topk 先举个例子&#xff0c;假如说全国有十万家奶茶店&#xff0c;我现在想找到评分前十的店铺&#xff0c;现在应该怎么实现&#xff1f; 第一想法当然是排序&#xff0c;由大到小排序好&#xff0c;前十就能拿到了。这是一种方法&…

三星(中国)投资公司线上入职测评笔试邀请数字推理语言逻辑真题题库

三星&#xff08;中国&#xff09;有限公司北京分公司 邀请您参加 SHL线上笔试 具体安排如下&#xff1a; 笔试时间&#xff1a;周三 9:00 笔试时长&#xff1a;1.5h ~ 2h 笔试内容及要求&#xff1a;数字推理限时30min&#xff1b;语言逻辑限时30min&#xff1b;性格测试不…

【机器学习】第5章 朴素贝叶斯分类器

一、概念 1.贝叶斯定理&#xff1a; &#xff08;1&#xff09;就是“某个特征”属于“某种东西”的概率&#xff0c;公式就是最下面那个公式。 2.朴素贝叶斯算法概述 &#xff08;1&#xff09;是为数不多的基于概率论的分类算法&#xff0c;即通过考虑特征概率来预测分类。 …

你对SSH协议了解吗

SSH&#xff08;Secure Shell&#xff09;协议&#xff0c;作为网络通信领域的一项核心技术&#xff0c;以其卓越的安全性能和广泛的应用范围&#xff0c;成为保障网络通信安全的重要工具。本文将深入剖析SSH协议的工作原理、核心特性以及在现代网络通信中的关键作用&#xff0…

HTML静态网页成品作业(HTML+CSS)——新媒体专业介绍介绍网页(1个页面)

&#x1f389;不定期分享源码&#xff0c;关注不丢失哦 文章目录 一、作品介绍二、作品演示三、代码目录四、网站代码HTML部分代码 五、源码获取 一、作品介绍 &#x1f3f7;️本套采用HTMLCSS&#xff0c;未使用Javacsript代码&#xff0c;共有1个页面。 二、作品演示 三、代…