摘要: 将dart数组按照指定的长度分割,返回一个二维数组,实现list的split功能. 例如: a = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19] splitList(a, 6):[[0, 1, 2, 3, 阅读全文
posted @ 2023-04-07 15:38 慕雪琳鸢 阅读(576) 评论(0) 推荐(0)
摘要: 导航html代码 <!-- 顶部导航 --> <div class="header animate"> <div class="container" id="headerBox"> <div class="fl header_logo"> <img src="images/logo1.png" al 阅读全文
posted @ 2022-10-17 10:35 慕雪琳鸢 阅读(35) 评论(0) 推荐(0)
摘要: 在项目根目录下创建如下文件:(格式:.eve.xxx) 1、.eve.dev 或者 .eve.development 开发文件 2、.eve.pro 或者 .eve.production 生产环境文件 3、.eve.test 测试文件 如 env.dev 文件内容如下: 只支持 VUE_APP_ 开 阅读全文
posted @ 2022-08-15 11:38 慕雪琳鸢 阅读(2541) 评论(0) 推荐(0)
摘要: 遇到问题:vue3中使用defineProps中报错,飘红,如下图 解决方案:找到eslint.js文件,在env处添加代码 'vue/setup-compiler-macros': true,即可解决,如图 阅读全文
posted @ 2022-08-11 15:18 慕雪琳鸢 阅读(4740) 评论(0) 推荐(0)
摘要: 参考网址:https://blog.csdn.net/weixin_43618130/article/details/123226540 阅读全文
posted @ 2022-08-09 17:55 慕雪琳鸢 阅读(28) 评论(0) 推荐(0)
摘要: 报错信息截图 原因:vue3中没有全局的vue 解决方法:使用createApp //引入createApp import { createApp } from 'vue' //引入需要添加的组件 import Icon from "@/components/Icon.vue"; //添加组件 cr 阅读全文
posted @ 2022-08-09 14:52 慕雪琳鸢 阅读(874) 评论(0) 推荐(0)
摘要: java运行环境的安装 第一步:jdk-8u202-windows-x64.exe点击安装,安装过程中下一步,可以自己选择文件放置位置(切记不可放在带有中文的文件夹里) 安装成功后,通过cmd 输入命令java –version,查看結果如图 第二步:系统环境变量配置,如图 intelliJ IDE 阅读全文
posted @ 2022-07-26 15:49 慕雪琳鸢 阅读(226) 评论(0) 推荐(0)
摘要: let status = [0,1,2]let sj = status[Math.floor(Math.random()*status.length)];console.log('随机的值', sj) 阅读全文
posted @ 2022-07-12 11:01 慕雪琳鸢 阅读(815) 评论(0) 推荐(0)
摘要: 一:遇到问题 <uni-easyinput v-model="lvvcode" placeholder="请输入分单号" @input="setInput" /> <view class="eve" v-for="(item, index) in HAWBInfo" :key="index" >{{ 阅读全文
posted @ 2022-06-23 10:35 慕雪琳鸢 阅读(1685) 评论(0) 推荐(0)
摘要: 适用于项目中设定背景图片的代码 background: red url(./images/wx1.jpg) center center / cover no-repeat; 或者 background: red url(./images/wx1/jpg) no-repeat center cente 阅读全文
posted @ 2022-05-12 16:27 慕雪琳鸢 阅读(1444) 评论(0) 推荐(1)