摘要: text-align: justify; text-align-last: left; 阅读全文
posted @ 2023-03-28 15:08 jqynr 阅读(41) 评论(0) 推荐(0)
摘要: 参考:https://zhuanlan.zhihu.com/p/533233367 main.ts import { createPinia } from "pinia"; app.use(createPinia()) 添加 src/store/user.ts import { defineStor 阅读全文
posted @ 2023-03-09 10:50 jqynr 阅读(76) 评论(0) 推荐(0)
摘要: 来自最右 中国色网站:http://zhongguose.com/ 阅读全文
posted @ 2023-03-07 17:39 jqynr 阅读(106) 评论(0) 推荐(0)
摘要: 参考:https://www.cnblogs.com/moqiutao/p/15629810.html // html编码解码 export function htmlEncodeByRegExp(str) { var s = ''; if (str.length 0) { return ''; } 阅读全文
posted @ 2023-03-01 17:39 jqynr 阅读(53) 评论(0) 推荐(0)
摘要: vue3+vue-router4 参考:https://blog.csdn.net/qq_21473443/article/details/126405859 stores/store.ts // 在这里而不是在main.ts中创建的原因是,permission.ts中使用pinia会出现未注册的错 阅读全文
posted @ 2023-02-25 11:02 jqynr 阅读(486) 评论(0) 推荐(0)
摘要: 参考: https://cloud.tencent.com/developer/news/310776 https://gitlab.com/wheresvic/software-dawg/-/tree/master/src 安装 npm init npm i --save-exact bluebi 阅读全文
posted @ 2023-02-24 10:04 jqynr 阅读(115) 评论(0) 推荐(0)
摘要: spreadjs 纯前端表格控件,可嵌入系统的在线excel: https://www.grapecity.com/spreadjs/docs/getstarted vue大屏数据展示库datav: http://datav.jiaminghi.com/ Flutter js 移动平台,web平台, 阅读全文
posted @ 2023-02-23 10:49 jqynr 阅读(32) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/sinat_36728518/article/details/123112966 vite.config.ts,加上build中的两项 export default ({ command }: ConfigEnv): UserConfigExport 阅读全文
posted @ 2023-02-21 17:37 jqynr 阅读(492) 评论(0) 推荐(0)
摘要: vue3 <div ref="chartRef1" style="width: 100%; height: 100%" /> <script setup lang="ts"> import type { ECharts, EChartsOption } from "echarts"; import 阅读全文
posted @ 2023-02-21 14:06 jqynr 阅读(95) 评论(0) 推荐(0)
摘要: vue2 mounted() { window.addEventListener("resize", this.resizeCharts); }, vue3 onMounted(() => { window.onresize = () => { resizeCharts(); } }); 阅读全文
posted @ 2023-02-21 13:57 jqynr 阅读(42) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/ftswsfb/article/details/119523243 树莓派官网:https://www.raspberrypi.org/ 1、系统镜像文件 官方镜像:https://www.raspberrypi.org/software/opera 阅读全文
posted @ 2023-02-18 20:39 jqynr 阅读(189) 评论(0) 推荐(0)
摘要: 文档:https://www.electronjs.org/docs/latest/tutorial/quick-start 1,使用他们提供的github版本 # Clone this repository git clone https://github.com/electron/electro 阅读全文
posted @ 2023-02-17 14:25 jqynr 阅读(67) 评论(0) 推荐(0)
摘要: npm cache clean --force npm 清除缓存报错 是版本高了 npm install npm@6.14.10 -g 阅读全文
posted @ 2023-02-17 13:30 jqynr 阅读(2339) 评论(0) 推荐(0)
摘要: 终端 import sys sys.executable 阅读全文
posted @ 2023-02-17 09:32 jqynr 阅读(28) 评论(0) 推荐(0)
摘要: py打包成exe 需要py3.10pip install pyinstaller 可能有提示需要升级pipC:\Users\Administrator\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.10_q 阅读全文
posted @ 2023-02-17 09:19 jqynr 阅读(50) 评论(0) 推荐(0)
摘要: 1,将用户输入值转为Number类型 <input v-model.number="age" type="number"> 2,自动过滤用户输入首尾空格 <input v-model.trim="msg"> 阅读全文
posted @ 2023-02-16 14:58 jqynr 阅读(50) 评论(0) 推荐(0)
摘要: 依赖 echarts需要5.1.2以上 npm install echarts npm install echarts-gl 引入 import * as echarts from 'echarts'; import "echarts-gl"; 使用 </div> <div class="chart 阅读全文
posted @ 2023-02-07 11:38 jqynr 阅读(409) 评论(0) 推荐(0)
摘要: <div class="t-box"> <div class="t-other"><span>竞方</span></div> <div class="t-us"><span>我方</span></div> </div> .t-box { height: 36px; font-size: 0.8rem 阅读全文
posted @ 2023-02-03 09:48 jqynr 阅读(48) 评论(0) 推荐(0)
摘要: case 401: let pages = getCurrentPages() wx.setStorageSync('before_login_page', pages[0].route) wx.setStorageSync('before_login_page_options', pages[0] 阅读全文
posted @ 2023-01-10 10:06 jqynr 阅读(243) 评论(0) 推荐(0)
摘要: 参考:https://www.chichisvip.com/post/44725.html 关闭搜狗浏览器的“搜狗安全网址检测”:打开浏览器的设置—选项,找到安全设置,在常规安全设置里取消勾选“搜狗安全网址检测”,再保存,重新打网页,就可以正常浏览了。试了不行 打开 C:WindowsSystem3 阅读全文
posted @ 2023-01-09 13:57 jqynr 阅读(10189) 评论(0) 推荐(0)
摘要: https://www.ip138.com/ 阅读全文
posted @ 2023-01-09 13:55 jqynr 阅读(626) 评论(0) 推荐(0)
摘要: 取自ruoyi框架 1 <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" > <span class="el-dropdown-link"> <i class="el-icon-d-a 阅读全文
posted @ 2023-01-06 15:00 jqynr 阅读(543) 评论(0) 推荐(0)
摘要: 1,npm init vue@latestTypeScript YesJSX NoVue Router YesPinia Yes //替代vuex做stateVitest Yes //单元测试ESLint YesPrettier Yes2,cd vue-project npm install npm 阅读全文
posted @ 2022-12-30 09:21 jqynr 阅读(260) 评论(0) 推荐(0)
摘要: 进度条为0-100,如果需要其他的范围,需要调整进度条宽度或者自己算 <div class="col2-5" @mousedown="mouseDown(this, item)" @mouseup="mouseUp" @mousemove="mouseMove" > <div> <el-progre 阅读全文
posted @ 2022-12-16 15:17 jqynr 阅读(1902) 评论(0) 推荐(0)
摘要: /* 自带input右侧下拉小三角 */ .icon-right-pick{ padding-right: 70rpx!important; width: 54%!important; background: url("http://****.com/images/2d15b.png") no-re 阅读全文
posted @ 2022-12-15 16:46 jqynr 阅读(189) 评论(0) 推荐(0)
摘要: 参考: https://blog.csdn.net/qq_33215865/article/details/88916461 1、开启共享粘贴板和拖放功能 首先我们要开启Virtual Box的共享剪切板功能。在控制 -> 设置 -> 常规 -> 高级中,勾选共享粘贴板和拖放功能。 2、开启共享粘贴 阅读全文
posted @ 2022-12-14 17:40 jqynr 阅读(2051) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/sinolover/article/details/121244587 1,拉取到本地 svn checkout svn://**** 2, 添加 svn update svn add * svn commit -m 'x' svn update s 阅读全文
posted @ 2022-12-14 17:00 jqynr 阅读(49) 评论(0) 推荐(0)
摘要: postman中的form-data和raw格式是不同的 参考:https://blog.csdn.net/qq_40652539/article/details/102912133 普通的post传参中传的json字符串 axios.defaults.headers['Content-Type'] 阅读全文
posted @ 2022-12-13 14:01 jqynr 阅读(525) 评论(0) 推荐(0)
摘要: 参考:https://www.yisu.com/zixun/353425.html // 金额转为大写 export function functiondigitUppercase(price) { const fraction = ["角", "分"]; const digit = ["零", " 阅读全文
posted @ 2022-12-03 14:40 jqynr 阅读(328) 评论(0) 推荐(0)
摘要: app.json "subPackages": [ { "root":"commonPackage", "pages":[] } ], pages同级目录加commonPackage 分包中放入echarts组件信息 使用 xx.json 上面是分包组件,下面是加载前替换组件 "usingCompo 阅读全文
posted @ 2022-12-02 18:20 jqynr 阅读(589) 评论(0) 推荐(0)
摘要: display: grid; grid-template-columns: 100px auto 100px; 阅读全文
posted @ 2022-12-01 14:22 jqynr 阅读(18) 评论(0) 推荐(0)
摘要: 下拉要跟着下拉,凸显上面的下拉动画,上滑的时候固定搜索框到顶部,搜索组件用的vant .page { color: #666; background-color: #f6f6f6; min-height: 100vh; overflow: auto; position: relative; padd 阅读全文
posted @ 2022-12-01 11:41 jqynr 阅读(312) 评论(0) 推荐(0)
摘要: 参考:https://www.jianshu.com/p/dc07cb5ad83b html { -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter 阅读全文
posted @ 2022-12-01 10:42 jqynr 阅读(344) 评论(0) 推荐(0)
摘要: 如果全屏拖动的话,movable-area会覆盖下层元素,所以就把拖动条放到页面右侧,内部元素大于拖动区域就不会出现需要点击事件穿透问题,缺点是只能在边上并且只能上下或者左右拖动 <movable-area class="movable-area"> <movable-view direction= 阅读全文
posted @ 2022-11-30 17:50 jqynr 阅读(456) 评论(0) 推荐(0)
摘要: git库 https://github.com/ecomfe/echarts-for-weixin 打不开用我这个 https://files.cnblogs.com/files/blogs/743986/echarts-for-weixin-master.zip 如果需要根据接口给的数据渲染 im 阅读全文
posted @ 2022-11-30 11:12 jqynr 阅读(33) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/a15297701931/article/details/115478652 cnpm hls.js <video ref="videoElement" id="videoElement" muted style="width: 100%; heig 阅读全文
posted @ 2022-11-29 14:35 jqynr 阅读(194) 评论(0) 推荐(0)
摘要: <view class="group" wx:for="{{groupList}}" wx:for-item="groupItem" wx:for-index="groupIndex" wx:key="groupIndex"> <view class="group-title">组{{groupIn 阅读全文
posted @ 2022-11-29 10:46 jqynr 阅读(26) 评论(0) 推荐(0)
摘要: 将后端给的省市区转换为vant组件需要的省市区 // 获取省市区数据 async getAreaData() { let ret = await getArea(); console.log(ret) let list = ret.data let areaList = { province_lis 阅读全文
posted @ 2022-11-22 11:46 jqynr 阅读(96) 评论(0) 推荐(0)
摘要: const formatTime = (date, hastime = true, separate = "/") => { const year = date.getFullYear() const month = date.getMonth() + 1 const day = date.getD 阅读全文
posted @ 2022-11-22 10:20 jqynr 阅读(270) 评论(0) 推荐(0)
摘要: 安装依赖 cnpm install --save docxtemplater pizzip jszip-utils file-saver 模板文件(模板文件中使用 {name} ,‘{name}’ 将会被替换成 ‘张三’) test.docx 放在public目录下(vue2) 导入 import 阅读全文
posted @ 2022-11-18 10:10 jqynr 阅读(319) 评论(0) 推荐(0)