萌新第一次发帖,求各位大神帮下忙,小弟感激不尽,下载了一个温度计的源代码,但是是动态的,想让温度计的温度是数据库某一列的温度求和的平均,怎么做

Ch4uncey 2018-05-01 09:53:38
ps:小弟还有个问题想问,在引用了gridview,点击编辑会刷新页面,但是小弟的表格不在首页,想让点击还在那个页面,进行编辑有没有大神会的?
温度计的代码如下,温度符号不能显示,我给省略了
HEAD里面的代码:
<style>
.pos0 {
top: 6px;
width: 50px;
}
</style>
<style>
.pos1 {
top: 46px;
width: 50px;
}
</style>
<style>
.pos2 {
top: 86px;
width: 50px;
}
</style>
<style>
.pos3 {
top: 126px;
width: 50px;
}
</style>

<div id="goal-thermometer" style="height: 224px; opacity: 1;">
<div id="therm-numbers">
<div class="therm-number pos0">30</div>
<div class="therm-number pos1">25</div>
<div class="therm-number pos2">20</div>
<div class="therm-number pos3">15</div>
</div>
<div id="therm-graphics" style="left: 50px;">
<img id="therm-top" src="images/glassTop.png" />
<img id="therm-body-bg" src="images/glassBody.png" style="height: 160px;" />
<img id="therm-body-mercury" src="images/redVertical.png" style="top: 64px; height: 110px;" />
<div id="therm-body-fore" style="height: 160px; background-image: url("images/tickShine.png");"></div>
<img id="therm-bottom" src="images/glassBottom.png" style="top: 173px;" />
<div id="therm-tooltip" style="top: 49px;">
<img class="tip-left" src="images/tooltipPoint.png" />
<div class="tip-middle" style="background-image: url("images/tooltipMiddle.png");">
<p>25.6</p>
</div>
<img class="tip-right" src="images/tooltipButt.png" />
</div>
</div>
</div>

下面是样式,图片在下面链接里面

#goal-thermometer,#goal-thermometer2,#goal-thermometer3{
position:relative;
padding:0;
font-family:Arial, Helvetica, sans-serif;
color:#fff;
font-weight: bold;
opacity:0;
}


#therm-numbers,#therm-numbers2,#therm-numbers3{
width:50px;
float:left;
opacity:.4;
}

.therm-number{
position:absolute;
text-align:right;
font-size:13px;
}

#therm-graphics,#therm-graphics2,#therm-graphics3{
float:left;
position:relative;
width:46px;
}

#therm-top,#therm-top2,#therm-top3{
position:absolute;
top:0;
left:7px;

width:32px;
height:13px;
}

#therm-body-bg,#therm-body-bg2,#therm-body-bg3{
position:absolute;
top:13px;
left:7px;
width:32px;
}

#therm-body-mercury,#therm-body-mercury2,#therm-body-mercury3{
position:absolute;
bottom:51px;
left:14px;
width: 18px;
height:2px;
}

#therm-body-fore,#therm-body-fore2,#therm-body-fore3{
position:absolute;
width:24px;
top:13px;
left:11px;
background-repeat:repeat-y;
}

#therm-bottom,#therm-bottom2,#therm-bottom3{
position:absolute;
left:0;
width:46px;
height:51px;
}

#therm-tooltip,#therm-tooltip2,#therm-tooltip3{
position:absolute;
left:38px;
width:200px;
}

#therm-tooltip .tip-left,#therm-tooltip2 .tip-left,#therm-tooltip3 .tip-left{
float:left;
width:19px;
height:32px;
}

#therm-tooltip .tip-middle,#therm-tooltip2 .tip-middle,#therm-tooltip3 .tip-middle{
float:left;
height:32px;
font-size:15px;
}

#therm-tooltip .tip-middle p,#therm-tooltip2 .tip-middle p,#therm-tooltip3 .tip-middle p{
position:relative;
margin:0;
padding-right:4px;
padding-left:3px;
top:6px;
height:32px;
opacity:.7;
background-size:64px 64px;
-moz-background-size: 100%;
}

#therm-tooltip .tip-right,#therm-tooltip2 .tip-right,#therm-tooltip3 .tip-right{
float:left;
width:9px;
height:32px;
}

.clear {
clear: both;
}

图片链接链接:https://pan.baidu.com/s/1T6E5-YZsSStK_c6JVvdZ5w 密码:rhmb ,
...全文
436 回复 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
标题SpringBoot与微信小程序结合的生猪养殖信息化管理系统研究AI更换标题第1章引言介绍生猪养殖信息化管理的研究背景、意义、现状及论文创新点。1.1研究背景与意义阐述生猪养殖信息化管理对提升养殖效率的重要性。1.2国内外研究现状分析国内外生猪养殖信息化管理系统的研究进展。1.3研究方法以及创新点概述SpringBoot与微信小程序结合的技术路径和创新点。第2章相关理论总结SpringBoot框架与微信小程序开发的相关理论。2.1SpringBoot框架理论介绍SpringBoot框架的特点、优势及在Web开发中的应用。2.2微信小程序开发理论阐述微信小程序的开发原理、架构及与后端服务的交互方式。2.3生猪养殖信息化管理理论概述生猪养殖信息化管理的核心概念、流程及需。第3章系统设计详细介绍基于SpringBoot与微信小程序的生猪养殖信息化管理系统的设计方案。3.1系统架构设计系统的整体架构,包括前端、后端及数据库设计。3.2功能模块设计详细介绍系统的各个功能模块,如养殖管理、数据统计等。3.3数据库设计阐述数据库的设计思路、表结构及关系。第4章系统实现阐述基于SpringBoot与微信小程序的生猪养殖信息化管理系统的实现过程。4.1SpringBoot后端实现介绍后端服务的开发环境、技术选型及实现细节。4.2微信小程序前端实现阐述前端界面的设计、开发及与后端服务的交互。4.3系统集成与测试系统的集成过程、测试方法及结果。第5章研究结果展示系统实现后的效果,包括性能、用户反馈等方面的分析。5.1系统性能分析从响应时间、并发处理等方面分析系统的性能。5.2用户反馈分析收集并分析用户对系统的使用反馈,评估系统的实用性。5.3对比方法分析对比传统生猪养殖管理与信息化管理的差异和优势。第6章结论与展望总结研究成果,提出未来研究方向。6.1研究结论概括系统的主要功能、性能及用户
yolov5 人体姿态异常检测系统代码与完整数据集(优质项目).zip该文件内程序已通过本地测试,可直接执行。用户只需依据说明文档设置运行环境即可使用。项目复杂度适中,内容由教学辅助人员审核,适用于教学及实际应用,具备良好实用性,可放心获取。yolov5 人体姿态异常检测系统代码与完整数据集(优质项目).zip该文件内程序已通过本地测试,可直接执行。用户只需依据说明文档设置运行环境即可使用。项目复杂度适中,内容由教学辅助人员审核,适用于教学及实际应用,具备良好实用性,可放心获取。yolov5 人体姿态异常检测系统代码与完整数据集(优质项目).zip该文件内程序已通过本地测试,可直接执行。用户只需依据说明文档设置运行环境即可使用。项目复杂度适中,内容由教学辅助人员审核,适用于教学及实际应用,具备良好实用性,可放心获取。yolov5 人体姿态异常检测系统代码与完整数据集(优质项目).zip该文件内程序已通过本地测试,可直接执行。用户只需依据说明文档设置运行环境即可使用。项目复杂度适中,内容由教学辅助人员审核,适用于教学及实际应用,具备良好实用性,可放心获取。 资源来源于网络分享,仅用于学习交流使用,请勿用于商业,如有侵权请联系我删除!

4,819

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 图表区
社区管理员
  • 图表区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧