摘要: <div class="my-content-list" v-draggable="[ nameList, { animation: 300, } ]" :onStart="onStart" :onUpdate="onUpdate"> <div class="my-content-list-item 阅读全文
posted @ 2024-08-29 15:49 风中追风wty 阅读(2) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="chatInfor"> <div class="chatInfor-content"> <el-scrollbar height="97%" id="chatBox" ref="scrollbarRef" v-loading="loading" widt 阅读全文
posted @ 2024-08-29 15:41 风中追风wty 阅读(2) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="avatar-container"> <el-dialog :title="title" :model-value="dialogVisibleCorpper" width="800px" append-to-body @opened="openDial 阅读全文
posted @ 2024-08-29 15:35 风中追风wty 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1 //html部分 2 <template> 3 <div style="background-color:#F6F6F6 ;height:100vh;"> 4 <header><van-icon name="arrow-left" class="iconreturn" @click="$rout 阅读全文
posted @ 2023-06-19 16:20 风中追风wty 阅读(28) 评论(0) 推荐(0) 编辑
摘要: TL;DR 近期在做一个移动端的web网页,当中选用了vw自适应适配方案。然而从设计图标注的px转换到vw是个麻烦事,作为程序员的我很抗拒人工计算,因为那样做CSS代码的可读性会变低,而且编码效率也很低。经过实践我找出了以下几种解决方案,这里列举出来希望对同样患懒癌的你有些许帮助: 0. Sass/ 阅读全文
posted @ 2023-05-18 11:20 风中追风wty 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-12-09 14:29 风中追风wty 阅读(20) 评论(0) 推荐(0) 编辑
摘要: echarts在vue中使用keep-alive组件后会缓存div,导致在切换路由后echarts中的图标展示不出来 这时候需要使用 document.getElementById('hydwecharts').setAttribute('_echarts_instance_', ''); 去清空i 阅读全文
posted @ 2022-04-12 17:19 风中追风wty 阅读(595) 评论(0) 推荐(0) 编辑
摘要: 1 <template> 2 <el-tree 3 :data="datas" 4 node-key="code" 5 :highlight-current="bmhighlight" 6 @node-click="handleNodeClickbm" 7 :props="defaultProps" 阅读全文
posted @ 2022-03-24 14:07 风中追风wty 阅读(773) 评论(0) 推荐(0) 编辑
摘要: 1.npm i axios -s 2.main.js中 import axios from 'axios'; Vue.prototype.$axios = axios 3.在src中新建api文件夹 api文件夹中存放http.js ,api.js http.js中 import axios fro 阅读全文
posted @ 2022-03-21 14:01 风中追风wty 阅读(359) 评论(0) 推荐(0) 编辑
摘要: config文件中的index.js文件 const path = require('path') module.exports = { dev: { // Paths assetsSubDirectory: 'static', assetsPublicPath: '/', // proxyTabl 阅读全文
posted @ 2022-03-17 14:11 风中追风wty 阅读(202) 评论(0) 推荐(0) 编辑