摘要: pages.json "globalStyle": { "navigationStyle": "custom", // 设置成 custom 即可解决微信H5双标题的问题 "navigationBarTextStyle": "black", "navigationBarTitleText": "un 阅读全文
posted @ 2024-02-29 11:03 巳蛇 阅读(754) 评论(0) 推荐(0)
摘要: function debounce(func, delay) { let timerId; return function() { clearTimeout(timerId); // 清除之前设置的计时器 const context = this; const args = arguments; t 阅读全文
posted @ 2024-01-30 09:17 巳蛇 阅读(26) 评论(0) 推荐(0)
摘要: //获取地址栏参数 var url = window.location.search; //获取url中"?"符后的字串 console.log(url,'url') var theRequest = new Object(); if (url.indexOf("?") != -1) { var s 阅读全文
posted @ 2023-11-07 08:35 巳蛇 阅读(19) 评论(0) 推荐(0)
摘要: html <div class="col-sm-8 boxs" id="SupplierDiv" style="position:relative;"> <input style="width:392px;" type="text" disabled id="abc"> <ul class="sel 阅读全文
posted @ 2023-10-26 10:27 巳蛇 阅读(172) 评论(0) 推荐(0)
摘要: <button class="avatar-wrapper" open-type="chooseAvatar" @chooseavatar="onChooseAvatar"> <image class="avatar" :src="avatarUrl"></image> </button> <inp 阅读全文
posted @ 2023-10-07 09:26 巳蛇 阅读(79) 评论(0) 推荐(0)
摘要: // 通过截取身份证号码的最后两位,进行取余数来判断奇数偶数let sex = value.substring(16, 17);// IDcard为用户输入的身份证号码return sex % 2 == 1 ? '男' : '女'; // 通过截取对应位置拼接对应的字符组成 格式为yyyy-mm-d 阅读全文
posted @ 2023-09-20 15:52 巳蛇 阅读(82) 评论(0) 推荐(0)
摘要: coupon.wxs var getDateTime = function (value) { //不能使用 new Date() console.log(value.slice(6, 19),'时间错') var values = value.slice(6, 19) values = value 阅读全文
posted @ 2023-09-15 15:54 巳蛇 阅读(82) 评论(0) 推荐(0)
摘要: git add . // 暂存所有更改 git commit -m "更改的备注信息" // 将修改 提交到本地仓库,双引号内是提交的备注信息git pull origin dev // 拉取远程dev分支代码git push origin dev // 将本地修改的代码提交到远程的dev分支上gi 阅读全文
posted @ 2023-08-29 09:58 巳蛇 阅读(16) 评论(0) 推荐(0)
摘要: 一. 范围不同readonly 只对 <input>和<textarea>标签有效 disabled 对所有表单元素都有效, 包括:<input>, <textarea>, <button>, <label>, <option>, <select>等 二. 程度不同readonly 只是将元素设置为 阅读全文
posted @ 2023-08-28 14:48 巳蛇 阅读(928) 评论(0) 推荐(0)
摘要: 注意!!! 仅当笔记使用如有侵权请联系删除 原文链接:https://blog.csdn.net/c_qianxia5040/article/details/125293035 <template> <div> <el-row> <el-form :model="queryParams" inlin 阅读全文
posted @ 2023-08-28 10:43 巳蛇 阅读(498) 评论(0) 推荐(0)