摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Demo1 { class Program { 阅读全文
posted @ 2020-04-14 21:26 .net&new 阅读(656) 评论(0) 推荐(0) 编辑
摘要: function checkPhone(){ var phone = document.getElementById('phone').value; if(!(/^1(3|4|5|6|7|8|9)\d{9}$/.test(phone))){ alert("手机号码有误,请重填"); return f 阅读全文
posted @ 2020-04-14 21:24 .net&new 阅读(8212) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls; namespace Person 阅读全文
posted @ 2020-04-14 21:23 .net&new 阅读(143) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> 问<meta charset="UTF-8"> <title></title> <style type="text/css"> a{ width: 50px; height: 50px; background: red; } </style 阅读全文
posted @ 2020-04-13 21:53 .net&new 阅读(1141) 评论(0) 推荐(0) 编辑
摘要: 1主页面 @{ ViewBag.Title = "Index";}<!DOCTYPE html><html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>@ViewBag.Tit 阅读全文
posted @ 2020-04-11 22:09 .net&new 阅读(231) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Syste 阅读全文
posted @ 2020-04-11 13:52 .net&new 阅读(687) 评论(0) 推荐(0) 编辑
摘要: 1前台页面: @{ ViewBag.Title = "echart-柱状图";}<html><head> <meta charset="utf-8"> <title></title></head><body> <!-- 为ECharts准备一个具备大小(宽高)的Dom --> <div id="ma 阅读全文
posted @ 2020-04-11 12:44 .net&new 阅读(1465) 评论(0) 推荐(0) 编辑
摘要: 看地址栏直接显示对应内容没问题啊……正常的ajax不可能像你这样,你这明显是跳转了 1在路由配置中得默认action和控制器方法加载数据得action不能相同; 2ajax请求数据返回json必须由一个标签点击onclick事件来执行ajax得执行 阅读全文
posted @ 2020-04-11 12:31 .net&new 阅读(459) 评论(0) 推荐(0) 编辑
摘要: <html><head> <meta charset="utf-8"> <title></title></head><body> <!-- 为ECharts准备一个具备大小(宽高)的Dom --> <div id="main" style="height:400px"></div> <!-- ECh 阅读全文
posted @ 2020-04-11 10:58 .net&new 阅读(183) 评论(0) 推荐(0) 编辑
摘要: s_sportstep:步数 SELECT DATE_FORMAT(createtime,'%Y%m%d') days,SUM(s_sportstep) AS TotalStep FROM wd_sport GROUP BY days; 阅读全文
posted @ 2020-04-11 10:20 .net&new 阅读(666) 评论(0) 推荐(0) 编辑