更新记录
1.0.0.(2021-05-14)
1、 引入
import DragVue from './dragvue/dragVue.vue'
2、使用
<drag-vue @dragbak="backa" :mainbtnbolor="mainbtnbolors" :themeBackground="themeBackground" :baseicon="iconname">
3、点击子菜单弹窗
methods:{
backa(e){
alert('子菜单点击事件:'+JSON.stringify(e))
}
部分样式借鉴网络,如有异议请联系作者
平台兼容性
uni-app
app-vue |
app-nvue |
app-android |
app-ios |
? |
? |
? |
? |
H5-Safari |
Android Browser |
微信浏览器(Android) |
QQ浏览器(Android) |
Chrome |
IE |
Edge |
Firefox |
PC-Safari |
? |
? |
? |
? |
? |
? |
? |
? |
? |
微信小程序 |
支付宝小程序 |
百度小程序 |
字节小程序 |
QQ小程序 |
钉钉小程序 |
快手小程序 |
飞书小程序 |
京东小程序 |
? |
? |
? |
? |
? |
? |
? |
? |
? |
uni-app x
H5-Safari |
Android Browser |
微信浏览器(Android) |
QQ浏览器(Android) |
Chrome |
IE |
Edge |
Firefox |
PC-Safari |
? |
? |
? |
? |
? |
? |
? |
? |
? |
1、 引入
import DragVue from './dragvue/dragVue.vue'
2、使用
<drag-vue @dragbak="backa" :mainbtnbolor="mainbtnbolors" :themeBackground="themeBackground" :baseicon="iconname">
3、点击子菜单弹窗
methods:{
backa(e){
alert('子菜单点击事件:'+JSON.stringify(e))
}
<table>
<tr>
<th>设备</th>
<th>设备文件名</th>
<th>文件描述符</th>
<th>类型</th>
</tr>
<tr>
<th>键盘</th>
<th>/dev/stdin</th>
<th>0</th>
<th>标准输入</th>
</tr>
<tr>
<th>显示器</th>
<th>/dev/stdout</th>
<th>1</th>
<th>标准输出</th>
</tr>
<tr>
<th>显示器</th>
<th>/dev/stderr</th>
<th>2</th>
<th>标准错误输出</th>
</tr>
</table>
}