会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
IQ.indexOf("EQ")
博客园
首页
新随笔
联系
管理
订阅
2024年5月8日
uniapp+vue H5页面实现微信公众号授权登录
摘要: <template> <view class="my-userinfo-container"> <!-- 头像和昵称区域 --> <view class="top-box"> <image :src="form.headimgurl" class="avatar"></image> <view cl
阅读全文
posted @ 2024-05-08 17:25 凉生初雨
阅读(2926)
评论(0)
推荐(0)
2019年5月29日
C#第三方使用微信授权登录
摘要: 后面代码需要用到的参数、方法、类 private string WeChatRedirectUrl = "www.test.com";//需要被授权的页面地址 //对页面进行授权重新返回的新地址,新地址包含code private string WeChatOauth2Url = @"https:/
阅读全文
posted @ 2019-05-29 11:51 凉生初雨
阅读(7171)
评论(2)
推荐(4)
2019年1月4日
js一些常用的方法
摘要: //操作Cookies function CookiesModel() { var _This = this; this.get = function (name) { var cookie = document.cookie; name += '='; var i = 0; while (i 0 ? dom...
阅读全文
posted @ 2019-01-04 16:03 凉生初雨
阅读(204)
评论(0)
推荐(0)
2019年1月2日
C#简单的生成随机数
摘要: //拿一个8位数的随机数 string randomNumber=GetCode(8); public string GetCode(int length) { char[] chars = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9' };
阅读全文
posted @ 2019-01-02 19:03 凉生初雨
阅读(1210)
评论(0)
推荐(0)
2018年2月26日
C#发送邮件
摘要: 请先引用: using System.Net.Mail;using System.Net;
阅读全文
posted @ 2018-02-26 17:04 凉生初雨
阅读(152)
评论(0)
推荐(0)
2017年12月21日
C#生成二维码
摘要: 1、需要先引用ThoughtWorks.QRCode.dll 2、然后添加 using ThoughtWorks.QRCode.Codec;using System.Drawing;using System.IO;
阅读全文
posted @ 2017-12-21 17:04 凉生初雨
阅读(298)
评论(0)
推荐(0)
2017年12月7日
MiniUI子表绘制和汇总数据
摘要: $("#ZB").attr("ondrawsummarycell", "ondrawsummarycell"); // ZBMX需要替换为子表对应控件的控件编号 汇总数据 $("#ZB").attr("ondrawcell", "ondrawcell"); // ZBMX需要替换为子表对应控件的控件编号 绘制表格 //绘制表格 function ondrawcell(e) { ...
阅读全文
posted @ 2017-12-07 20:48 凉生初雨
阅读(1100)
评论(0)
推荐(1)