上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 36 下一页
摘要: using UnityEngine; using System.Collections; public class AudioPlay : MonoBehaviour { public static AudioPlay Instance; public AudioClip[] FuChuAudio; 阅读全文
posted @ 2021-07-21 11:25 ꧁执笔小白꧂ 阅读(116) 评论(0) 推荐(0)
摘要: using UnityEngine; using System.Collections; public class Paddle : MonoBehaviour { void Update() { if (GameManager.Instance.currentState == GameState. 阅读全文
posted @ 2021-07-20 10:26 ꧁执笔小白꧂ 阅读(1138) 评论(0) 推荐(0)
摘要: var tableIns = table.render({ elem: '#recordList', // 指向页面组件id where: { UId: 1 }, // 传递参数 url: '/Manager/GetList/', // 异步获取数据 cellMinWidth: 95, page: 阅读全文
posted @ 2021-07-10 11:00 ꧁执笔小白꧂ 阅读(9726) 评论(0) 推荐(2)
摘要: using Dapper; using System.Collections.Generic; using System.Data; using System.Text; namespace DBDapper { /// <summary> /// 分页帮助类 /// </summary> publ 阅读全文
posted @ 2021-07-09 17:10 ꧁执笔小白꧂ 阅读(360) 评论(0) 推荐(0)
摘要: 1 $("#id").addClass().eq().append() 2 $("p:first") // 第一个p元素 addClass():向p元素添加一个类 eq():eq()选择器,例:$("p:eq(1)") 第二个p元素 append():在p元素结尾插入内容 阅读全文
posted @ 2021-07-09 10:13 ꧁执笔小白꧂ 阅读(60) 评论(0) 推荐(0)
摘要: 1 /** 2 * msg()函数二次封装 3 */ 4 // msg弹窗默认消失时间 5 time: 1000, 6 // 绿色勾 7 greenTickMsg: function (content, callbackFunction) { 8 let options = {icon: 1, ti 阅读全文
posted @ 2021-06-18 16:30 ꧁执笔小白꧂ 阅读(272) 评论(0) 推荐(0)
摘要: 开始用的 int count = conn.Query<int>(sqlStr, param).FirstOrDefault(); // return count > 0 ? true : false; 报错,所以我用的是 using System.Linq;using Dapper;int cou 阅读全文
posted @ 2021-06-17 16:22 ꧁执笔小白꧂ 阅读(232) 评论(0) 推荐(0)
摘要: 一、H5技术栈新手入门学习路线: Html5+CSS3+javascript(学好DOM,BOM)->jQuery(DOM)->layui(CSS,jQuery)->Vue.js(js);中间在学下PS、UI、XML、JSON。 二、H5技术栈进阶学习路线: AJAX(Ajax原生、ajaxjQue 阅读全文
posted @ 2021-06-17 13:48 ꧁执笔小白꧂ 阅读(136) 评论(0) 推荐(0)
摘要: //捐赠弹窗 function donation(){ layer.tab({ area: ['260px', '380px'], tab: [{ title: "微信", content: "<div style='padding:25px;overflow:hidden;background:# 阅读全文
posted @ 2021-06-15 17:35 ꧁执笔小白꧂ 阅读(60) 评论(0) 推荐(0)
摘要: // 悬浮提示 var tips; $("#Toda").on({ mouseover: function () { tips = layer.tips("这里是提示信息", "#Toda", { time: 0 }); }, mouseout: function () { layer.close( 阅读全文
posted @ 2021-06-15 12:08 ꧁执笔小白꧂ 阅读(631) 评论(0) 推荐(0)
摘要: /*微信二维码*/ .weixin{ position:relative; } .weixin::after { content: url("../images/wx.jpg"); position: absolute; right: 15px; top: -260px; z-index: 99; 阅读全文
posted @ 2021-06-15 12:04 ꧁执笔小白꧂ 阅读(224) 评论(0) 推荐(0)
摘要: 1.layer.open 倒计时样式(layUI) layui.use(["okUtils", "okCountUp", 'layer', 'jquery', "okSweetAlert2", 'element'], function () { var countUp = layui.okCount 阅读全文
posted @ 2021-06-08 18:42 ꧁执笔小白꧂ 阅读(946) 评论(0) 推荐(0)
摘要: 1 using UnityEngine.SceneManagement; 2 3 private void Restart() 4 { 5 //Application.LoadLevel(0); 6 SceneManager.LoadScene(0); // 0对应“生成”里的场景0 7 // Sc 阅读全文
posted @ 2021-06-07 14:12 ꧁执笔小白꧂ 阅读(51) 评论(0) 推荐(0)
摘要: 方式一: private void Start() { InitPanelData(); } /// <summary> /// 改变btn状态 /// </summary> public void InitPanelData() { endPanel = transform.Find("endPa 阅读全文
posted @ 2021-06-02 11:29 ꧁执笔小白꧂ 阅读(210) 评论(0) 推荐(0)
摘要: ISNULL(字段名,0) "; // int ISNULL(字段名,"空") "; // string 阅读全文
posted @ 2021-06-01 09:46 ꧁执笔小白꧂ 阅读(647) 评论(0) 推荐(0)
摘要: AND DATEDIFF (dd ,TrainingDate,@TrainingDate ) =0) 阅读全文
posted @ 2021-06-01 09:42 ꧁执笔小白꧂ 阅读(735) 评论(0) 推荐(0)
摘要: jquery外获取控件值 var Idtxt = document.getElementById("IDValue").value; alert(Idtxt); jquery里获取控件值 var Idtxt2 = $("#IDValue").val(); alert(Idtxt2); 阅读全文
posted @ 2021-05-28 19:40 ꧁执笔小白꧂ 阅读(65) 评论(0) 推荐(0)
摘要: 前台js var $,tab,dataStr,layer; layui.config({ base: "js/" }).extend({ "bodyTab": "bodyTab" }); layui.use(['bodyTab', 'form', 'element', 'layer', 'jquer 阅读全文
posted @ 2021-05-24 17:26 ꧁执笔小白꧂ 阅读(3601) 评论(0) 推荐(0)
摘要: 实例一: function btnPSetUnityDB(UId, UTrunName, UTimeLeng, UScore) { var xixn = JSON.stringify({ Id: UId, TrunName: UTrunName, TimeLeng: UTimeLeng, Score 阅读全文
posted @ 2021-05-24 17:21 ꧁执笔小白꧂ 阅读(181) 评论(0) 推荐(0)
摘要: 需要在cshtml中包含提交用到的数据的部分添加: @Html.AntiForgeryToken() 例如: <body class="loginBody"> <form class="layui-form"> @Html.AntiForgeryToken() <div class="login_f 阅读全文
posted @ 2021-05-24 17:16 ꧁执笔小白꧂ 阅读(239) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 36 下一页