- 博客(21)
- 资源 (4)
- 收藏
- 关注
原创 Java进制转换
进制转换eg.10转16import java.math.BigInteger;import java.util.*;public class A16_8 { public static void main(String[] args) { Scanner in =new Scanner(System.in); int n=in.nextInt(); String []a = new String[n]; for(int i=0;i<n;i++){ a[i]=in.n
2022-04-08 09:49:11 404
原创 WxApp-古诗图片展示
WxApp古诗图片展示 {{poemIndex + poemItem.poemTitle}} {{poemItem.poemAuthor}} {{contentItem}} Page({data: {poemsArr:[{poemTitle:‘静夜思’,poemAuthor:‘李白’,poemContent:[‘床前明月光’,‘疑是地上霜’,‘举头望明月’,‘低头思故乡’],authorImgUrl:[‘
2022-03-24 12:50:00 162
原创 ECharts tiao
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> </head> <script src="https://cdn.bootcdn.net/ajax/libs/echarts/5.1.2/echarts.min.js"></script> &
2021-10-22 14:44:59 143
原创 ECharts bing
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <title>ECharts</title> <!-- 引入 echarts.js --> <script src="https://cdn.staticfile.org/echarts/4.3.0/echarts.min.js"&g
2021-10-22 14:38:44 107
原创 toastr
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> </head> <link href="https://cdn.bootcdn.net/ajax/libs/toastr.js/latest/css/toastr.min.css" rel="stylesheet"> <script src="https:
2021-10-22 11:26:10 358 1
原创 zsgc zsgc zsgc
csgc csgc csgc<!DOCTYPE html><html> <head> <meta charset="utf-8"> <!--固定框架--> <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.0.2/css/bootstrap.min.css" rel="stylesheet"> <script src="htt
2021-10-20 20:13:26 142
原创 面向对象 留言框架
面向对象 留言框架<div> <div class="container" style="background-color: #fff;"> <div class="row"> <div class="col-sm-4"> <div class="well well-lg" style="background-color: #fff;height: 600px;margin-top: 10px;">
2021-10-20 15:18:18 75
原创 清空按钮
清空按钮<textarea id="text" style="width: 95%;height:100px;text-align: left;vertical-align:top"></textarea>*[HTML]: vertical-align:top"置顶输入<button type="button" class="btn-info" onclick="clearText()">清空</button>function clearTex
2021-10-20 15:14:01 629
原创 HTML导入HTML
HTML导入HTML<div id="page1"> <iframe align="center" width="100%" height="1000" src="../添加.html" frameborder="no" marginwidth="0" marginheight="0" scrolling="no"></iframe> </div>
2021-10-15 12:37:14 302
原创 Ajax加载数据时加载图片
Ajax加载数据时加载图片.wgui-message{ position: fixed; top: 50%; left: 50%; z-index: 11010; box-sizing: border-box; padding: 10px; min-height: 120px; width: 120px; background-color: rgba(0,0,0,.5); -webkit
2021-10-14 21:10:29 552
原创 编辑select
Ajax 编辑selectfunction edit(a){ $("#neirong2").val(a.parentNode.parentNode.childNodes[2].textContent) $("#addbutton2").click(function(){ var user={ "id":a.parentNode.parentNode.childNodes[0].textContent, "chickenSoup":$("#neirong2
2021-10-14 16:02:59 101
原创 编辑
Ajax编辑function bianjiShuju(){ //编辑数据 $("table tbody").on("click",".bianji",function () { $('#id02').show(); edit(this); }) function edit(a){ $("#neirong2").val(a.parentNode.parentNode.childNodes[2].textContent) $("#addbutton2"
2021-10-14 15:02:55 85
原创 删除按钮
ajax删除按钮//添加到表格里面的按钮<button class="shanchu btn btn-danger" style="width:auto;">删除</button>$("table tbody").on("click","button",function () { // alert("right"); // window.open("https://www.baidu.com"); del(this); }) functi
2021-10-10 21:09:48 283
原创 刷新页面
Ajax刷新页面$("#sxbutton").click(function(){ $.ajax({ type:'post', url:'http://81.68.93.235:8181/api/chickensoup/list', contentType:'application/json', success:function(response){ window.location.reload(); }, error:fun
2021-10-10 17:33:46 299
原创 点击跳出弹框
点击跳出弹框.modal { display: none; } .modal-content { background-color: #fefefe; margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */ border: 1px solid #888; width: 80%; /* Could be more or less,
2021-10-10 15:45:10 243
原创 以表格的形式输出后台数据
以表格的形式输出后台数据$.ajax({ type:'post', url:'http://81.68.93.235:8181/api/chickensoup/list', contentType:'application/json', success:function(response){ //方法中传入的参数data为后台获取的数据 var index=0; for(i in response.data) //data.da
2021-10-09 22:16:34 177
原创 后台数据全部显示到前端
后台数据全部显示到前端$.ajax({type:‘post’,url:‘http://81.68.93.235:8181/api/chickensoup/list’,contentType:‘application/json’,beforeSend:function(){alert(‘请求即将发送’);},success:function(response){ if(response){$("#add").html(JSON.stringify(response.data));}els
2021-10-09 21:45:30 263
原创 前端与后台交互——登录
Ajax前端与后台交互——登录$("#loginBtn").click(function(){ // alert($("#username").val()); var p = { "username": $("#username").val(), "password": $("#password").val() }; if ($("#username").val() == "") { $("#username").focus(); alert('请输入
2021-09-30 16:04:30 338
原创 选择获取相应的数据
ajax选择获取相应的数据//ajax选择获取相应的数据$.ajax({ type:'post', url:'http://81.68.93.235:8181/api/chickensoup/list', contentType:'application/json', beforeSend:function(){ alert('请求即将发送'); }, success:function(response){ //判断是否
2021-09-29 15:41:45 131
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人