- 博客(20)
- 收藏
- 关注
原创 vue中使用audio标签使用loop,没有循环播放问题
vue中使用audio标签使用loop,没有循环播放问题<audio id="vipUnpack" hidden="true" controls ref="vipUnpack" @ended="overAudio"> <source :src="src" type="audio/mpeg" /> Your browser does not support this audio format.</audio>使用@ended="overAud
2022-05-23 16:20:33
888
原创 小程序使用vant框架的Toast步骤
小程序使用vant框架的Toast步骤第一步在组件中引用备注:如果是component组件则需要在父页面中引用在页面写上标签(如果在子页面使用,则在父页面写入下面的代码,如果不是组件页面则直接在本页面引入) <van-toast id="van-toast" custom-class="van-toast-box"/>在使用的页面.js中引入如下代码import Toast from '@vant/weapp/toast/toast'直接使用 Toast({
2021-11-17 16:00:36
2484
原创 小程序修改vant框架的ui样式
小程序修改vant框架的ui样式在页面写入,就可以了重写了ptions: { styleIsolation: 'shared'}
2021-11-17 15:47:24
578
原创 vscode中使用eslint
vscode安装vue的eslint工具首先安装eslint进入设置setting.json{“eslint.autoFixOnSave”: true,“eslint.alwaysShowStatus”: true,“editor.tabSize”: 2,“[html]”: {“editor.defaultFormatter”: “vscode.html-language-features”},“eslint.validate”: [“javascript”,{“langu
2021-11-16 12:59:19
815
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人