摘要: 问题: 网页打印 无法保留背景 除非点击 '背景图形'选项 但有点用户不知道勾选 于是 需求强制勾选 css 一行代码即可 -webkit-print-color-adjust: exact; 阅读全文
posted @ 2023-03-17 17:14 ComeIntoBud 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 问题长这样 (这个好像只会出现在pc段调试的时候输入过快的时候) 问题代码长这样 <textarea placeholder="请输入组织介绍" class="info-cell-text" maxlength="600" v-model="form.orgIntroduce"></textarea 阅读全文
posted @ 2023-01-05 13:47 ComeIntoBud 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 组件的引入就不多赘述了 直接看使用方法 地址我是引入的json文件数据结构大概是这个样子 例1 例2 1,先做个按钮做弹窗显示 <u-cell :border="true" > <text slot="title" > 区域</text> <view slot="right-icon" @tap=" 阅读全文
posted @ 2023-01-04 16:50 ComeIntoBud 阅读(2643) 评论(2) 推荐(1) 编辑
摘要: 实现的效果是这样的 这是表格demo <el-table :data="tableData" style="width: 100%;margin-bottom: 20px;" :row-class-name="getRowClassName" @row-click="rowClick" :row-k 阅读全文
posted @ 2022-10-08 17:15 ComeIntoBud 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 1,Nginx 下载与安装 下载地址:https://nginx.org/en/download.html 根据电脑自行选择对应的版本 我的window 选的是这个 将安装包解压出来就行了 得到如下文件 这就差不多算安装好了 2.项目打包 并部署项目 找到自己的项目 打个包 会在项目下生成个 dis 阅读全文
posted @ 2022-09-08 11:25 ComeIntoBud 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 0.nProgress 官网:http://ricostacruz.com/nprogress/github:https://github.com/rstacruz/nprogress 1.nProgress 安装 npm install --save nprogress 2.在main.js 中引 阅读全文
posted @ 2022-05-30 14:06 ComeIntoBud 阅读(442) 评论(0) 推荐(0) 编辑
摘要: 1,首先创建一个 virtualkeyboard.js文件 文件名无所谓 /** * * @class 监听虚拟键盘 * @classdesc 监听虚拟键盘弹出隐藏 * @public onEnd 结束监听虚拟键盘 * @public onShow 传递一个回调 监听虚拟键盘弹出 * @public 阅读全文
posted @ 2022-03-21 10:46 ComeIntoBud 阅读(835) 评论(0) 推荐(0) 编辑
摘要: console.time('starttime'); //将请求添加到promise内 let p1 = new Promise((resolve, reject) => { axios({ url: url method: 'post', data: { } }) .then((res) => { 阅读全文
posted @ 2022-01-22 10:49 ComeIntoBud 阅读(136) 评论(0) 推荐(0) 编辑
摘要: <!-- showOverlay 控制是否显示遮罩层 --> <!-- 这所有的前提是 vue项目引入了vant组件 --> <van-overlay :show="showOverlay" > <div style="position:fixed;top:50%;left:50%;z-index: 阅读全文
posted @ 2022-01-21 15:16 ComeIntoBud 阅读(477) 评论(0) 推荐(0) 编辑
摘要: 1 //验证手机号码 2 checkPhone(phone) { 3 if(!(/^1(3|4|5|6|7|8|9)\d{9}$/.test(phone))){ 4 return false; //不满足条件 5 }else{ 6 return true ;//满足条件 7 } 8 }, 阅读全文
posted @ 2022-01-20 17:20 ComeIntoBud 阅读(353) 评论(0) 推荐(0) 编辑
摘要: 1 var now = new Date(); // 当前日期 2 var nowDayOfWeek = now.getDay(); // 今天本周的第几天 3 var nowDay = now.getDate(); // 当前日 4 var nowMonth = now.getMonth(); / 阅读全文
posted @ 2022-01-20 16:50 ComeIntoBud 阅读(697) 评论(0) 推荐(0) 编辑
摘要: 打开rp文件 需要用到 正版的Axure RP 但是是需要收费的 但是有破解的 就好说了 破解步骤如下 (安装步骤如下): 1 下载并压缩 Axure RP 压缩包 提取码:1111 --来自百度网盘超级会员V3的分享 2 安装其中的 Axure RP 文件 选择完路径 然后 install 然后直 阅读全文
posted @ 2021-12-30 11:09 ComeIntoBud 阅读(1735) 评论(0) 推荐(0) 编辑
摘要: 新建 创建一个新的 git 版本库。这个版本库的配置、存储等信息会被保存到.git 文件夹中 # 初始化当前项目 $ git init # 新建一个目录,将其初始化为Git代码库 $ git init [project-name] # 在指定目录创建一个空的 Git 仓库。运行这个命令会创建一个名为 阅读全文
posted @ 2021-10-19 09:12 ComeIntoBud 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 0.给身份证加* 号 let idNo = '5123456789789789789' //身份证号码 let manySpace=function(num,space){ //生成指定字符和个数的字符串 let str = '' for(let i=0;i<num;i++){ str+=space 阅读全文
posted @ 2021-09-15 15:18 ComeIntoBud 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 从网上百度的又说配置代理服务器,也有删除.code再重启的等方法... 弄了半天问题都没有解决。 网上解决办法大概如此: 文件》》首选项》》设置》》应用程序》》》代理服务器 改了之后还是无法连接应用商店 再把代理删了重启 如果还是无法连接 可能是:家里、公司的网被局限了。如果是笔记本电脑的话就切换了 阅读全文
posted @ 2021-09-09 10:14 ComeIntoBud 阅读(282) 评论(0) 推荐(0) 编辑