自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(24)
  • 资源 (9)
  • 收藏
  • 关注

原创 flutter 显示动画

【代码】flutter 显示动画。

2024-04-02 12:55:13 102 1

原创 flutter AnimatedList

AnimatedList 和 ListView 的功能大体相似,相比多了一个动效。

2024-04-01 16:47:20 66

原创 flutter key

【代码】flutter key。

2024-04-01 15:21:16 86

原创 flutter 轮播图

【代码】flutter 轮播图。

2024-03-29 13:27:35 73 1

原创 flutter->pageView无限加载

【代码】flutter->pageView无限加载。

2024-03-29 10:46:17 178 1

原创 flutter弹框

showModalBottomSheet:底部弹出弹框。simpleDialog:选择弹框。showtoast:三方插件弹框。alertDialog:弹框。

2024-03-27 18:30:59 296

原创 flutter路由跳转

/路由跳转(模块方式)Navigator.pushNamed(context, "/") //路由跳转(路由方式)Navigator.pop(context)//返回上级路由对象 widget获取/使用路由参数 (widget.id / widget.title) 使用${widget.title}

2024-03-25 17:42:33 527 1

原创 flutter->appBar配置和顶部导航栏

【代码】flutter->appBar配置和顶部导航栏。

2024-03-22 16:16:42 145 1

原创 flutter->Scaffold左侧/右侧侧边栏和UserAccountsDrawerHeader的使用

/ return const Text('我是首页数据', style: TextStyle(color: Colors.red));// highlightColor: Colors.purple, //设置高亮的颜色。// icon: Icon(Icons.ac_unit), //设置图标。title: Text('左侧数据'),// color: Colors.red, //设置按钮颜色。// tooltip: '我是提示信息', //提示信息。

2024-03-20 17:29:32 593 1

原创 flutter动态集合

setState(() => _dataList.add({'name': '小刀刀'}))tooltip: '添加数据',//带索引的集合循环。

2024-03-20 17:09:01 314 1

原创 flutter tabbar切换选中,展示对应模块

return const Text('我是购物车数据', style: TextStyle(color: Colors.amber));return const Text('我是设置数据', style: TextStyle(color: Colors.green));return const Text('我是首页数据', style: TextStyle(color: Colors.red));icon: Icon(Icons.card_giftcard), label: "购物车"),

2024-03-20 15:30:54 400 1

原创 win10重新部署应用商店

重新部署应用商店使用管理员打开的 “Windows Powershell(管理员)” 窗口中输入以下命令(慎用):get-appxpackage *store* | remove-Appxpackage再次安装:add-appxpackage -register "C:\Program Files\WindowsApps\*Store*\AppxManifest.xml" -disabledevelopmentmode...

2021-09-22 10:30:33 699

原创 rollup 打包build报错:[!] Error: Unexpected character ‘@‘ (Note that you need plugins to import files th

[!] Error: Unexpected character '@' (Note that you need plugins to import files that are not JavaScript)styles\index.scss (1:0)1: @import './variable.scss';解决方案:PostCSS({ minimize: true, modules: { generateScopedName: ...

2021-09-02 09:53:27 5573 1

原创 控制台解析preview和response数据不一致怎么解决

原因可能是因为数据为Long型,返回给浏览器以后,浏览器转换数据格式的时候出现问题。解决方案:在返回数据之前就将数据转换为字符串,这样结果就是正确的。在返回前台数据类的 long字段上加入@JSONField(serializeUsing= ToStringSerializer.class)...

2018-03-14 16:16:41 9610 2

原创 JS 字符串操作函数 往指定位置插入字符 删除指定位置字符 替换指定位置字符

插入 参数说明:str表示原字符串变量,flg表示要插入的字符串,sn表示要插入的位置function insert_flg(str,flg,sn){    var newstr="";    for(var i=0;i        var tmp=str.substring(i, i+sn);        newstr+=tmp+flg;    }    re

2017-10-25 10:57:57 30496

原创 401 获取登录状态失败 capital

1.路径中不要包含 capital 这个单词

2017-09-04 11:30:58 1151

原创 Spring Boot Nginx axios 跨域设置

1、Spring Boot跨域配置在后端使用Spring Boot。Spring Boot跨域非常简单,只需书写以下代码即可。@Configurationpublic class CustomCORSConfiguration {  private CorsConfiguration buildConfig() {    CorsConfiguration corsConfigu

2017-08-04 10:47:57 3017

转载 springboot跨域

springboot  设置跨域 1.    @Component      public class CorsFilter implements Filter {                final static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(CorsFilter.clas

2017-07-25 13:02:00 368

原创 maven路径和淘宝镜像

更改maven本地路径   D:\java\maven更改maven下载地址  在 maven的config 文件中加入 (maven淘宝镜像)                 alimaven        aliyun maven        http://maven.aliyun.com/nexus/content/groups/publ

2017-07-18 11:35:42 1122

原创 webService测试

public Integer wsText(AmSysServiceWs item) { try { URL urlObj = new URL(item.getServiceUrl()); HttpURLConnection oc = (HttpURLConnection) urlObj.openConnection(); oc.setUse

2017-07-14 16:50:08 256

原创 SpringBoot学习:使用spring-boot-devtools进行热部署

1.添加架包支持热启动jar包-->dependency> groupId>org.springframework.bootgroupId> artifactId>spring-boot-devtoolsartifactId> version>${spring-boot.version}version> optional>trueoptional>

2017-07-03 13:00:19 1577

原创 springboot mybatis 实体类正常 报错找不到

项目使用spring boot 集成mybatis通用mapper插件,发现查询方法selectOne会导致发生异常—— Java.lang.ClassCastException:com.xxx.xxx.entity cannot be cast to com.xxx.xxx.entity增删改都没问题 只有查询报错解决方法如下:创建目录  resource

2017-06-05 15:41:03 6682

原创 vue 路由vue-router

项目结构1.下载路由  cnpn install   vue-router  -D 2.在app.vue中创建  连接执行   tag 指定显示标签template> ul> router-link tag="li" to="/home" >用户中心router-link> router-link tag="li" to="/role">

2017-04-25 17:48:50 398

原创 shiro AuthorizationInfo doGetAuthorizationInfo 授权调用

1. 在   @Controller 上加入  @RequiresRoles("admin")2.手工调用subject.hasRole(“admin”) 或 subject.isPermitted(“admin”)3.页面标签调用shiro:hasPermission>

2017-04-21 13:49:17 4107 2

vue3.0+ts+webpack组件开发

vue3.0+ts+webpack组件开发

2021-09-01

前端amr示例资源html版本

前端amr示例资源html版本

2020-07-17

SocketTool-TCPUDP端口调试工具

SocketTool-TCPUDP端口调试工具,解压后直接运行启动即可

2018-05-04

Fiddler (v4.6.1.5)_汉化版和原版

Fiddler (v4.6.1.5)_汉化版和原版,解压后直接使用,内含原版本和汉化后的启动程序,直接启动即可

2018-05-04

12306抢票助手

12306抢票助手!12306抢票助手!12306抢票助手!12306抢票助手!

2017-12-07

solr-java运用

solr配置,部署,定时任务更新,数据源配置, solr_java 运用详解

2017-12-07

vue+element+springboot+shiro权限控制

vue+element+springboot+shiro权限控制,mysql数据库 登录帐号/密码 admin:111111

2017-12-07

nginx跨域config

nginx 跨域

2017-08-04

vue学习总结

总结vue 各种类型的用法和实例 上面为2.0 大量换行下面是1.0

2017-07-18

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除