vue2 echarts饼图,双柱图

<template><div><div class="toQ"><el-row><el-col :span="12"><div class="toW"><el-card><div class="data-title"><div class="toE">周杰伦</div></div><div v-show="jjshow"><div class="topic-style">周董</div><div class="charts-content"><div class="toR" style="">暂无数据</div></div><div class="toT"><div>明明就:{{ mingmingjiu }}</div><div>七里台:{{ qilitai }}</div></div></div><div v-show="!jjshow"><div class="topic-style">周董</div><div class="chart-content"><div class="echarts" ref="chart2"></div></div><div class="toT"><div>明明就:{{ mingmingjiu }}</div><div>七里台:{{ qilitai }}</div></div></div></el-card></div></el-col><el-col :span="12"><div class="toY"><el-card><div class="data-title"><div class="toE">薛之谦</div></div><div v-show="xzqshow"><div class="topic-style">专辑</div><div class="charts-content"><div class="toR">暂无数据</div></div><div class="toU"><!-- <div class="toI">认真的雪:{{ renzhendexue }}</div><div class="toI">演员:{{ yanyuan }}</div><div class="toI">丑八怪:{{ choubaguai }}</div> --><div class="toI">方圆几里:{{ fangyuanjili }}</div></div></div><div v-show="!xzqshow"><div class="topic-style">专辑</div><div class="chart-content"><div class="echarts" ref="chart3"></div></div><div class="toU"><div class="toI">认真的雪:{{ renzhendexue }}</div><div class="toI">演员:{{ yanyuan }}</div><!-- <div class="toI">丑八怪:{{ choubaguai }}</div><div class="toI">方圆几里:{{ fangyuanjili }}</div> --></div></div></el-card></div></el-col></el-row></div><!-- 双柱状图 --><div class="toO"><el-row><el-col :span="24"><el-card><div class="toP"><div class="toE">林俊杰</div></div><div v-show="ljjshow" class="toA"><div class="topic-style">jj</div><div class="toS">暂无数据</div></div><div v-show="!ljjshow"><div class="topic-style">jj</div><div class="chart-conten1t"><div style="width: 100%" class="echarts1" ref="chart4"></div></div></div></el-card></el-col></el-row></div><div style="margin-top: 20px"><el-row><el-col :span="24"><el-card><div class="toP"><div class="toE">毛不易</div></div><div v-show="zjshow" class="toA"><div class="topic-style">专辑</div><div class="toS">暂无数据</div></div><div v-show="!zjshow"><div class="topic-style">专辑</div><div class="chart-conten1t"><div style="width: 100%" class="echarts1" ref="chart5"></div></div></div></el-card></el-col></el-row></div></div>
</template>
<script>
let maobuyi = {keximeiruguo: {text: '可惜没如果',one: null,two: null,},daerwen: {text: '达尔文',one: null,two: null,},shashou: {text: '杀手',one: null,two: null,},beiduibeiyongbao: {text: '背对背拥抱',one: null,two: null,},xiaochou: {text: '消愁',one: null,two: null,},xiaojiuwo: {text: '小酒窝',one: null,two: null,},xiulianaiqing: {text: '修炼爱情',one: null,two: null,},doujiangyoutiao: {text: '豆浆油条',one: null,two: null,},caocao: {text: '曹操',one: null,two: null,},
}export default {data() {return {alterbeginyear: null,alterendyear: null,zhangjieData: [],maobuyi: maobuyi,comparison: [],zjshow: false,zhoujielunCharts: [], //周杰伦xuezhiqianCharts: [], //薛之谦zhoudongCharts: [],jjshow: false, //周杰伦xzqshow: false, //薛之谦ljjshow: false, //林俊杰// 周董dates: {daoxiang: '稻香',qilitai: '七里台',},mingmingjiu: 0, //明明就qilitai: 0, //七里台datas: [],rectification: [],rectificationdatas: [],charts1: [],rectificationList: {guaika: '怪咖',gangganghao: '刚刚好',},rectificationCharts3: [],renzhendexue: 0, //认真的雪yanyuan: 0, //演员choubaguai: 0, //丑八怪fangyuanjili: 0, //方圆几里findList: [],xData: [],yetData: [],inData: [],rateData: [],patrolCharacters: {keximeiruguo: '可惜没如果',daerwen: '达尔文',shashou: '杀手',beiduibeiyongbao: '背对背拥抱',xiaochou: '消愁',xiaojiuwo: '小酒窝',investFinanceRiskNum: '合规风险',xiulianaiqing: '修炼爱情',doujiangyoutiao: '豆浆油条',caocao: '曹操',},}},components: {},watch: {},mounted() {let myChart2 = this.$echarts.init(this.$refs.chart2)this.zhoujielunCharts.push(myChart2)let myChart3 = this.$echarts.init(this.$refs.chart3)let myChart4 = this.$echarts.init(this.$refs.chart4)this.xuezhiqianCharts.push(myChart4) //薛之谦this.rectificationCharts3.push(myChart3)let myChart5 = this.$echarts.init(this.$refs.chart5)this.comparison.push(myChart5)window.addEventListener('resize', this.resize)this.$once('hook:beforeDestroy', () => {window.removeEventListener('resize', this.resize)})this.fakeDataFn()},methods: {clearHander() {let myChart = this.$echarts.init(this.$refs.chart5)myChart.clear()},findDateTFn(val) {this.fakeDataFn(val)this.contrastS = val.startShowYearthis.contrastE = val.endShowYear},fakeDataFn(val) {// 周董const zhoudonglist = {data: {inspectedResponse: {daoxiang: 400,qilitai: 90,},mingmingjiu: 68,qilitai: 68,},}this.zhoudongCharts = zhoudonglistif (zhoudonglist.data !== null) {this.datas = this.zhoudongCharts.data.inspectedResponsethis.mingmingjiu = zhoudonglist.data.mingmingjiuthis.qilitai = zhoudonglist.data.qilitaithis.jjshow = falsethis.coverFn()} else {this.jjshow = true}// 薛之谦const xuezhiqianlist1 = {data: {problemCountResponse: {gangganghao: 10,guaika: 10,},choubaguai: 3,yanyuan: 2,renzhendexue: 1,fangyuanjili: 4,},}if (xuezhiqianlist1.data.problemCountResponse !== null) {this.rectification = xuezhiqianlist1this.rectificationdatas = this.rectification.data.problemCountResponsethis.renzhendexue = this.rectification.data.renzhendexuethis.yanyuan = this.rectification.data.yanyuanthis.fangyuanjili = this.rectification.data.fangyuanjilithis.choubaguai = this.rectification.data.choubaguaithis.rectificationFn()this.xzqshow = false} else {this.xzqshow = true}// 林俊杰const list2 = {data: {two: {beiduibeiyongbao: 0,xiaojiuwo: 1,caocao: 0,xiulianaiqing: 0,keximeiruguo: 1,doujiangyoutiao: 0,xiaochou: 0,daerwen: 0,shashou: 0,},three: {beiduibeiyongbao: 0,xiaojiuwo: 1,caocao: 0,xiulianaiqing: 0,keximeiruguo: 1,doujiangyoutiao: 0,xiaochou: 0,daerwen: 0,shashou: 0,},one: {beiduibeiyongbao: 0,xiaojiuwo: 1,caocao: 0,xiulianaiqing: 0,keximeiruguo: 1,doujiangyoutiao: 0,xiaochou: 0,daerwen: 0,shashou: 0,},},}if (list2.data !== null) {this.findList = list2.datathis.xData = this.findListthis.yetData = this.xData.threethis.inData = this.xData.onethis.rateData = this.xData.twothis.findFn()this.ljjshow = false} else {this.ljjshow = true}this.$nextTick(() => {// 张杰const list3 = {data: [{two: {beiduibeiyongbao: 0,xiaojiuwo: 0,caocao: 90,xiulianaiqing: 0,keximeiruguo: 90,doujiangyoutiao: 0,xiaochou: 0,daerwen: 0,shashou: 0,},one: {beiduibeiyongbao: 50,xiaojiuwo: 0,caocao: 80,xiulianaiqing: 0,keximeiruguo: 0,doujiangyoutiao: 90,xiaochou: 0,daerwen: 0,shashou: 0,},year: '2019',},{two: {beiduibeiyongbao: 0,xiaojiuwo: 0,caocao: 90,xiulianaiqing: 0,keximeiruguo: 90,doujiangyoutiao: 0,xiaochou: 0,daerwen: 0,shashou: 0,},one: {beiduibeiyongbao: 50,xiaojiuwo: 0,caocao: 80,xiulianaiqing: 0,keximeiruguo: 0,doujiangyoutiao: 90,xiaochou: 0,daerwen: 0,shashou: 0,},year: '2018',},{two: {beiduibeiyongbao: 0,xiaojiuwo: 0,caocao: 90,xiulianaiqing: 0,keximeiruguo: 90,doujiangyoutiao: 0,xiaochou: 0,daerwen: 0,shashou: 0,},one: {beiduibeiyongbao: 50,xiaojiuwo: 0,caocao: 80,xiulianaiqing: 0,keximeiruguo: 0,doujiangyoutiao: 90,xiaochou: 0,daerwen: 0,shashou: 0,},year: '2020',},{two: {beiduibeiyongbao: 0,xiaojiuwo: 0,caocao: 90,xiulianaiqing: 0,keximeiruguo: 90,doujiangyoutiao: 0,xiaochou: 0,daerwen: 0,shashou: 0,},one: {beiduibeiyongbao: 50,xiaojiuwo: 0,caocao: 80,xiulianaiqing: 0,keximeiruguo: 0,doujiangyoutiao: 90,xiaochou: 0,daerwen: 0,shashou: 0,},year: '2014',},{two: {beiduibeiyongbao: 0,xiaojiuwo: 0,caocao: 90,xiulianaiqing: 0,keximeiruguo: 90,doujiangyoutiao: 0,xiaochou: 0,daerwen: 0,shashou: 0,},one: {beiduibeiyongbao: 50,xiaojiuwo: 0,caocao: 80,xiulianaiqing: 0,keximeiruguo: 0,doujiangyoutiao: 90,xiaochou: 0,daerwen: 0,shashou: 0,},year: '2013',},],}this.clearHander()if (list3.data !== null) {this.zhangjieData = list3.datathis.zjshow = falsethis.comparisonFn()} else {this.zjshow = true}})},// 周结论coverFn() {let myChart = this.zhoujielunCharts[0]const querys = this.dataslet seriesData = []for (let key in querys) {seriesData.push({ value: querys[key], name: this.dates[key] })}console.log(seriesData, 'seriesData')myChart?.setOption({title: {trigger: 'item',top: '36%',left: '48%',textAlign: 'center',textStyle: {color: '#c23531',fontSize: 40,fontWeight: 500,},},backgroundColor: '#5A5476',color: ['rgb(255, 158, 68)', 'rgb(255, 70, 131)'],// 图例legend: {top: 'bottom',},tooltip: {trigger: 'item', //触发方式formatter: '{b}: {c} ({d}%)',},series: [{name: '',type: 'pie',radius: '50%',data: seriesData,emphasis: {itemStyle: {shadowBlur: 10,shadowOffsetX: 0,shadowColor: 'rgba(0, 0, 0, 0.5)',},},},],})},// 薛之谦rectificationFn() {let myChart = this.rectificationCharts3[0]const querys = this.rectificationdataslet seriesData = []for (let key in querys) {seriesData.push({ value: querys[key], name: this.rectificationList[key] })}myChart?.setOption({title: {trigger: 'item',top: '36%',left: '48%',textAlign: 'center',textStyle: {color: '#156292',fontSize: 40,fontWeight: 500,},},color: ['#e9f2b4', '#008ade'],// 图例legend: {top: 'bottom',},tooltip: {trigger: 'item', //触发方式formatter: '{b}: {c} ({d}%)',},series: [{name: '',type: 'pie',radius: '50%',data: seriesData,},],})myChart.on('click', params => {this.$router.push({path: '',})this.$store.commit('user/rectifyAndReform', params.name)this.$store.dispatch('user/StartingOfTheYear', this.alterbeginyear)this.$store.dispatch('user/endOfTheYear', this.alterendyear)})},findFn() {let myChart = this.xuezhiqianCharts[0]// 第一步const problemList = this.yetDatalet seriesData = []for (let key in problemList) {seriesData.push({ value: problemList[key], name: this.patrolCharacters[key] })}// 名字let name = []seriesData.forEach(item => {name.push(item.name)})//  第二步let rectifiedList = this.inDatalet seriesData1 = []for (let key in rectifiedList) {seriesData1.push({ value: rectifiedList[key], name: this.patrolCharacters[key] })}// 第三步let notRectifiedList = this.rateDatalet seriesData2 = []for (let key in notRectifiedList) {seriesData2.push({ value: notRectifiedList[key], name: this.patrolCharacters[key] })}const op = {backgroundColor: '#ffffc6',grid: {left: '10%',top: '20px',bottom: '10%',},options3d: {enabled: true, // 否使用 3D 功能呈现图表alpha: 60, // 内旋转角度beta: 0, // 外旋转角度},// 图例legend: {icon: 'rect', //形状  类型包括 circle,rect,line,roundRect,triangle,diamond,pin,arrow,noneitemWidth: 30, // 设置宽度itemHeight: 15, // 设置高度itemGap: 24, // 设置间距textStyle: {//文字样式// color: '#c1dafc',fontSize: '12',},bottom: '0%',},xAxis: [{type: 'category',axisLine: {show: true,lineStyle: {// color: 'rgba(29, 163, 255, 1)',},},splitLine: {show: false,},nameGap: 15, //坐标轴名称与轴线间距离axisTick: {show: false, // 是否显示坐标轴轴线inside: true, // 坐标轴刻度是否朝内,默认朝外length: 10, //坐标轴刻度的长度lineStyle: {// color: '#FFF', //刻度线的颜色width: 30, //坐标轴刻度线宽type: 'solid', //坐标轴线线的类型(solid实线类型;dashed虚线类型;dotted点状类型)},},splitArea: {show: false,},axisLabel: {interval: 0,fontSize: 14,fontFamily: 'TencentSans',formatter: function (value) {if (value !== undefined) {if (value.length > 5) {// 超出5个字符显示省略号return `${value.slice(0, 5)}...`}return value}},},data: name,},],yAxis: {type: 'value',minInterval: 1,},tooltip: {trigger: 'axis',axisPointer: {type: 'shadow',textStyle: {color: '#ffdfc1',fontFamily: 'TencentSans',},},},axisLabel: {textStyle: {fontSize: '10',},},padding: [5, 20, 5, 20], // 上右下左series: [{name: '毛不易',type: 'bar',barGap: 0,barWidth: 20,barCategoryGap: '50%' /*多个并排柱子设置柱子之间的间距*/,itemStyle: {normal: {color: {type: 'linear',x: 0,y: 0,x2: 0,y2: 1,colorStops: [{offset: 0,color: '#ff9bf8', // 0% 处的颜色},{offset: 1,color: '#ff9bf8', // 0% 处的颜色},],global: false, // 缺省为 false},},},data: seriesData,},{name: '张碧晨',type: 'bar',barMaxWidth: 300,barWidth: 20,barGap: 0,barCategoryGap: '50%' /*多个并排柱子设置柱子之间的间距*/,stack: '总量',itemStyle: {normal: {color: {type: 'linear',x: 0,y: 0,x2: 0,y2: 1,colorStops: [{offset: 0,color: '#9fe085', // 0% 处的颜色},{offset: 1,color: '#9fe085', // 100% 处的颜色},],global: false, // 缺省为 false},barBorderRadius: 0,},},data: seriesData1,},{name: '张靓颖',barMaxWidth: 300,barGap: 0,barWidth: 20,type: 'bar',barCategoryGap: '50%' /*多个并排柱子设置柱子之间的间距*/,itemStyle: {normal: {color: {type: 'linear',x: 0,y: 0,x2: 0,y2: 1,colorStops: [{offset: 0,color: '#e9a619', // 0% 处的颜色},{offset: 1,color: '#e9a619', // 100% 处的颜色},],global: false, // 缺省为 false},},},data: seriesData2,},],}myChart.setOption(op)myChart.off('click')myChart.on('click', params => {this.$router.push({path: '',})this.$store.commit('user/company', params.name)this.$store.commit('user/rectifyAndReform', params.seriesName)this.$store.dispatch('user/StartingOfTheYear', this.alterbeginyear)this.$store.dispatch('user/endOfTheYear', this.alterendyear)this.$store.dispatch('user/professionalWork', this.businessValue)})},comparisonFn() {let myChart = this.comparison[0]let xAxisList = [] //x轴的数组xAxisList = Object.values(maobuyi).map(v => v.text)const comparison = {// backgroundColor: '#008ade',grid: {containLabel: true,},options3d: {enabled: true, // 否使用 3D 功能呈现图表alpha: 60, // 内旋转角度beta: 0, // 外旋转角度},// 图例legend: {// show: false,bottom: '0%',},textStyle: {rich: {a: {color: '#f9ca56',verticalAlign: 'top',align: 'center',fontSize: 12,padding: [0, 0, 28, 0],},b: {align: 'left',fontSize: 18,padding: [0, 10, 10, 0],lineHeight: 25,color: '#181818',},},},xAxis: [{type: 'category',axisLabel: {interval: 0,fontSize: 14,fontFamily: 'TencentSans',formatter: function (value) {if (value !== undefined) {if (value.length > 5) {// 超出5个字符显示省略号return `${value.slice(0, 5)}...`}return value}},},axisTick: { show: false },data: xAxisList,},],yAxis: {type: 'value',minInterval: 1,},tooltip: {trigger: 'item',axisPointer: {type: 'shadow',},},series: [],}this.zhangjieData.forEach(item => {comparison.series.push({name: '假如我很有钱',type: 'bar',stack: item.year,itemStyle: {normal: {color: {type: 'linear',colorStops: [{offset: 0,color: '#6b4c47',},{offset: 1,color: '#6b4c47',},],global: false, // 缺省为 false},},},label: {normal: {show: true, //显示数值position: 'top', //  位置设为topformatter: function (params) {if (params.value === 0) {return ''}return item.year},},},data: [item.one.keximeiruguo, //可惜没如果item.one.daerwen, //达尔文item.one.shashou, //杀手item.one.beiduibeiyongbao, //背对背拥抱item.one.xiaochou, //消愁item.one.xiaojiuwo, //小酒窝item.one.xiulianaiqing, //修炼爱情item.one.doujiangyoutiao, //豆浆油条item.one.caocao, //曹操],}),comparison.series.push({name: '消愁',type: 'bar',stack: item.year,itemStyle: {normal: {color: {type: 'linear',colorStops: [{offset: 0,color: '#efa49e',},{offset: 1,color: '#efa49e',},],global: false, // 缺省为 false},},},label: {normal: {show: true, //显示数值position: 'top', //  位置设为topformatter: function (params) {if (params.value === 0) {return ''}return item.year},},},data: [item.two.keximeiruguo, //可惜没如果item.two.daerwen, //达尔文item.two.shashou, //杀手item.two.beiduibeiyongbao, //背对背拥抱item.two.xiaochou, //消愁item.two.xiaojiuwo, //小酒窝item.two.xiulianaiqing, //修炼爱情item.two.doujiangyoutiao, //豆浆油条item.two.caocao, //曹操],})})comparison && myChart.setOption(comparison)myChart.off('click')myChart.on('click', comparison, params => {const seriesIndex = params.seriesIndex //去除indexconst series = comparison.seriesconst shift = []series.map((item, index) => {if (index === seriesIndex) {shift.push(item)return item}})const only = shift.map(item => {return item.stack})const sole = only[0]this.$store.dispatch('user/StartingOfTheYear', this.alterbeginyear)this.$store.dispatch('user/endOfTheYear', this.alterendyear)this.$store.dispatch('user/organization', params.name) //@@@this.$store.commit('user/tellApart', params.seriesName)this.$store.commit('user/preciseYear', sole)this.$store.commit('user/department', this.valueCode)this.$router.push({path: '',})})},},
}
</script>
<style lang="scss" scoped>
.cover-style {border: 1px solid;height: 36px;padding-left: 16px;line-height: 37px;font-size: 14px;color: #596378;border-bottom: 1px solid #f0f1f3;
}
.title-style {margin-top: 10px;margin-left: 10px;font-size: 16px;color: black;font-weight: 500;
}
.earch-style {margin-top: 10px;height: 400px;
}
.topic-style {text-align: center;font-size: 18px;padding-top: 10px;
}.y-style {margin-right: 15px;margin-top: 7px;
}.small {width: 100%;height: 100px;background: pink;
}
.data-title {height: 36px;font-size: 14px;color: #596378;border-bottom: 1px solid #f0f1f3;
}
.chart-content {height: 280px;// margin-top: -50px;
}
.echarts {width: 100%;height: 100%;
}
.echarts1 {width: 100%;height: 100%;
}
.chart-conten1t {height: 500px;width: 100%;// background: #596378;
}
.charts-content {height: 280px;
}
.setstyle {min-height: 200px;padding: 0 !important;margin: 0;overflow: auto;cursor: default !important;
}
.toQ {margin-top: 20px;.toW {margin-right: 10px;.toT {margin-top: 10px;height: 30px;display: flex;justify-content: space-around;}}.toY {margin-left: 10px;}.toE {line-height: 26px;}.toR {text-align: center;padding-top: 20%;}.toU {margin-top: 10px;display: flex;height: 30px;flex-wrap: wrap;line-height: 20px;}.toI {width: 50%;}.toO {margin-top: 20px;}.toP {display: flex;justify-content: space-between;height: 36px;font-size: 14px;color: #596378;border-bottom: 1px solid #f0f1f3;}.toA {height: 280px;text-align: center;}.toS {padding-top: 10%;}
}
</style>

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

如若内容造成侵权/违法违规/事实不符,请联系瞎胡闹网进行投诉反馈,一经查实,立即删除!

相关文章

Vscode新手安装与使用

安装与版本选择 VS Code 有两个不同的发布渠道&#xff1a;一个是我们经常使用的稳定版&#xff08;Stable&#xff09;&#xff0c;每个月发布一个主版本&#xff1b;另外一个发布渠道叫做 Insiders&#xff0c;每周一到周五 UTC 时间早上6点从最新的代码发布一个版本&#x…

java设计模式学习之【模板方法模式】

文章目录 引言模板方法模式简介定义与用途实现方式 使用场景优势与劣势在Spring框架中的应用游戏设计示例代码地址 引言 设想你正在准备一顿晚餐&#xff0c;无论你想做意大利面、披萨还是沙拉&#xff0c;制作过程中都有一些共同的步骤&#xff1a;准备原料、加工食物、摆盘。…

一文搞懂Go GC演进史,讲的太细致了!

最近在和 Go就业训练营 的朋友讨论Go GC的问题&#xff0c;发现了刘丹冰老师总结的内容&#xff0c;写的太好了&#xff0c;和大家分享一下。 我们的讨论和思考也整理到这篇文章中了&#xff0c;希望对你有启发。 垃圾回收(Garbage Collection&#xff0c;简称GC)是编程语言中…

【Vue2+3入门到实战】(13)插槽<slot>详细示例及自定义组件的创建与使用代码示例 详解

目录 一、学习目标1.插槽2.综合案例&#xff1a;商品列表 一、插槽-默认插槽1.作用2.需求3.问题4.插槽的基本语法5.代码示例6.总结 二、插槽-后备内容&#xff08;默认值&#xff09;1.问题2.插槽的后备内容3.语法4.效果5.代码示例 三、插槽-具名插槽1.需求2.具名插槽语法3.v-s…

Hadoop安装笔记2单机/伪分布式配置_Hadoop3.1.3——备赛笔记——2024全国职业院校技能大赛“大数据应用开发”赛项——任务2:离线数据处理

紧接着上一篇博客&#xff1a;Hadoop安装笔记1&#xff1a; Hadoop安装笔记1单机/伪分布式配置_Hadoop3.1.3——备赛笔记——2024全国职业院校技能大赛“大数据应用开发”赛项——任务2&#xff1a;离线数据处理-CSDN博客https://blog.csdn.net/Zhiyilang/article/details/135…

CUDA驱动深度学习发展 - 技术全解与实战

全面介绍CUDA与pytorch cuda实战 关注TechLead&#xff0c;分享AI全维度知识。作者拥有10年互联网服务架构、AI产品研发经验、团队管理经验&#xff0c;同济本复旦硕&#xff0c;复旦机器人智能实验室成员&#xff0c;阿里云认证的资深架构师&#xff0c;项目管理专业人士&…

MybatisX逆向工程方法

官方文档链接&#xff1a;MybatisX快速开发插件 | MyBatis-Plus (baomidou.com) 使用MybatisX可以快速生成mapper文件&#xff0c;实体类和service及实现 效果 方法&#xff1a;首先下载mybatisX插件 然后创建数据库信息 然后选中表&#xff0c;右键&#xff0c;点击Mybatis…

java Servlet 汽车保养服务平台系统Myeclipse开发mysql数据库web结构java编程计算机网页项目

一、源码特点 java Servlet 汽车保养服务平台系统是一套完善的java web信息管理系统&#xff0c;采用serlvetdaobean mvc模式开发&#xff0c;对理解JSP java编程开发语言有帮助&#xff0c;系统具有完整的源代码和数 据库&#xff0c;系统主要采用B/S模式开发。开发环境为…

应用在网络摄像机领域中的国产音频ADC芯片

IPC&#xff1a;其实叫“网络摄像机”&#xff0c;是IP Camera的简称。它是在前一代模拟摄像机的基础上&#xff0c;集成了编码模块后的摄像机。它和模拟摄像机的区别&#xff0c;就是在新增的“编码模块”上。模拟摄像机&#xff0c;顾名思义&#xff0c;输出的是模拟视频信号…

专做真人转动漫视频AI——DomoAI(附详细教程)

家人们&#xff01;今天给大家推荐一款近期火爆外网的真人视频转动漫的AI工具——DomoAI&#xff0c;只需提供一张图片&#xff0c;或者一段视频&#xff0c;输入提示词&#xff0c;并指定动漫风格&#xff0c;即可将照片或者视频动漫化&#xff0c;而且生成的画面效果极致丝滑…

演员-评论家算法:多智能体强化学习核心框架

演员-评论家算法 演员-评论家算法&#xff1a;策略梯度算法 DQN 算法演员-评论家的协作流程演员&#xff1a;策略梯度算法计算智能体策略预期奖励的梯度公式分解时间流程拆解 通过采样方法近似估计梯度公式拆解时间流程拆解 改进策略设置基线&#xff1a;适用于减小方差、加速…

使用NTC负温度系数热敏电阻控制温度

鱼缸原来的加热棒使用的是NTC负温度系数的热敏电阻测温&#xff0c;负温度系数是指随着温度的升高&#xff0c;电阻是不断按照指数形式减小的&#xff0c;在22度的情况下实测电阻是10K多&#xff0c;可以断定使用了10K&#xff08;25度下是10K&#xff09;的电阻&#xff0c;为…

推荐几款常用的项目管理工具

项目管理软件可以在帮助项目经理和团队记录、跟踪和分析项目进展。它的主要功能有&#xff1a; 1、任务管理&#xff1a;制定项目计划&#xff0c;并将任务分配给项目成员&#xff0c;监控任务的进度和完成情况。 2、沟通与协作&#xff1a;帮助项目团队成员建立一个有效的沟…

postman使用-04响应

文章目录 响应响应界面说明Pretty&#xff1a;格式化显示&#xff0c;以便查看Raw&#xff1a;不进行任何处理&#xff0c;显示响应数据的原始格式Preview&#xff1a;预览响应体&#xff0c;会自动换行&#xff0c;不会格式化&#xff08;有时候是数据&#xff0c;有时候是页面…

哪种猫粮比较好?性价比高的主食冻干品牌排行榜前五

不知道从什么时候开始掀起一股冻干喂养风&#xff0c;各种查资料阅读文献发现冻干喂养是最适合忙碌地打工人的“生骨肉喂养”替代版&#xff0c;是最符合猫咪饮食天性的一种。很多养猫人纷纷开始冻干喂养&#xff0c;但对于主食冻干猫粮的选择就让很多猫奴犯了难在电商平台随便…

configure: error: no acceptable C compiler found in $PATH解决方案

大家好,我是爱编程的喵喵。双985硕士毕业,现担任全栈工程师一职,热衷于将数据思维应用到工作与生活中。从事机器学习以及相关的前后端开发工作。曾在阿里云、科大讯飞、CCF等比赛获得多次Top名次。现为CSDN博客专家、人工智能领域优质创作者。喜欢通过博客创作的方式对所学的…

关于MybatisPlus自动转化驼峰命名规则配置mapUnderscoreToCamelCase的个人测试和总结

关于MybatisPlus自动转化驼峰命名规则配置mapUnderscoreToCamelCase的个人测试和总结 测试一&#xff1a;没有添加 自动转化的配置&#xff0c;且domain中的属性名称和数据库的字段名称一致测试二&#xff1a;没有添加自动转化配置i&#xff0c;domain属性名userPassword和数据…

【WordPress插件】热门关键词推荐v1.3.0 Pro开心版

介绍&#xff1a; WordPress插件-WBOLT热门关键词推荐插件&#xff08;Smart Keywords Tool&#xff09;是一款集即时关键词推荐、关键词选词工具及文章智能标签功能于一体的WordPress网站SEO优化插件。 智能推荐&#xff1a; 热门关键词推荐引擎-支持360搜索、Bing、谷歌&a…

新手必看:Python中的字符串格式化入门指南

在Python中&#xff0c;格式化字符串输出是一项非常常见的任务&#xff0c;用于将变量、表达式和文本组合成一个可读性强的字符串。Python提供了多种方式来实现字符串格式化&#xff0c;每种方式都有其独特的优势和用法。本篇文章将详细介绍Python中格式化字符串输出的几种方式…

nodejs+vue+微信小程序+python+PHP校园闲置物品拍卖系统-计算机毕业设计推荐

校园闲置物品拍卖系统主要有如下几类用户&#xff1a;第一类是游客&#xff08;未注册用户&#xff09;&#xff0c;第二类是正式用户&#xff08;已注册用户&#xff09;&#xff0c;第三类是后台管理员。具有低耦合、高内聚的特点&#xff0c;其中校园用户通过人脸识别的方法…