摘要: video预览本地文件需要将文件地址转换 页面部分: <div class="imgVideo"> <span>采集图片/视频</span> <el-upload :multiple="false" :limit="limitNum" action="" :on-change="handleEdit 阅读全文
posted @ 2025-02-08 10:55 埃菲尔上的加菲猫 阅读(63) 评论(0) 推荐(0) 编辑
摘要: 1.h5不支持设置请求头,所有h5通过上述方式上传失败 2.如果前端不传图片需要用两种方式分别调用,且需要设置不同的请求头,后端需要同步更改 来源:https://blog.csdn.net/qq_23859799/article/details/126794172 阅读全文
posted @ 2025-01-20 15:21 埃菲尔上的加菲猫 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 1.html文件中添加代码 <script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=申请的key&services=false"></script> 地址:https://lbsyun.baidu.com/ 阅读全文
posted @ 2025-01-13 18:54 埃菲尔上的加菲猫 阅读(6) 评论(0) 推荐(0) 编辑
摘要: <template> <view class="bodys"> <u-navbar :placeholder="true" title="菜单" @leftClick="backBtn"> </u-navbar> <view id="scroll_box"> <view class="scroll_ 阅读全文
posted @ 2024-12-23 09:47 埃菲尔上的加菲猫 阅读(8) 评论(0) 推荐(0) 编辑
摘要: //放置与data同级 options: { styleIsolation: 'shared' }, <template> <view class='container'></view> </template> <script> export default { props: {}, data: ( 阅读全文
posted @ 2024-11-27 14:09 埃菲尔上的加菲猫 阅读(395) 评论(0) 推荐(0) 编辑
摘要: html: <view class="content aiMenuClass" :style="{paddingBottom:bottom + 'px'}"> ......... </view> <view class="stickyBottom"> <view class="stickyConte 阅读全文
posted @ 2024-11-26 11:22 埃菲尔上的加菲猫 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 使用工具将图片转换成ico格式(注:要转换,否则打包后可能无效) 将图片放到public中重命名成:favicon.ico 阅读全文
posted @ 2024-10-12 17:32 埃菲尔上的加菲猫 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 在父组件中为子组件定义key 父组件代码 当更新数据时,需要同事更新key值(key的值无所谓,更改即可) 例如tableComKey的值设置为0,更新数据后,key+1 阅读全文
posted @ 2024-10-12 15:52 埃菲尔上的加菲猫 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 1.首先需要定义跳转的位置 <div id="anchorID"></div> 2.直接使用如下方式即可 document.getElementById('anchorID').scrollIntoView({ behavior:"smooth" }) 阅读全文
posted @ 2024-10-12 09:44 埃菲尔上的加菲猫 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 使用场景 :需要每天显示不同的内容,当天的可以进行更改,且只可以更改当天的,可以切换月份 问题1:月份可以进行更改 <el-calendar v-model="calendarValue"> <template slot="dateCell" slot-scope="{date, data}"> < 阅读全文
posted @ 2024-05-22 10:46 埃菲尔上的加菲猫 阅读(621) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示