[![](https://img.shields.io/github/stars/MakerGYT/mini-menu?style=flat-square)](https://github.com/MakerGYT/mini-menu/stargazers)
[![](https://img.shields.io/github/forks/makergyt/mini-menu?style=flat-square)](https://github.com/MakerGYT/mini-menu/network/members)
[![](https://img.shields.io/badge/basicLib->=2.2.3-brightgreen?logo=wechat)](https://github.com/MakerGYT/mini-menu)
## 1 样例
[在开发者工具中预览效果](https://developers.weixin.qq.com/s/gCEq06mR7nia)=>代码片段ID:`gCEq06mR7nia`
![图1-1 截图](https://cdn.nlark.com/yuque/0/2020/gif/284449/1592180000986-7285c383-dafa-4aa7-ad01-80e407c37f31.gif)
![图1-2 使用案例](https://cdn.blog.makergyt.com/mini/assets/poster-H.png)
## 2 安装使用
1. 获取组件
```sh
git clone https://github.com/MakerGYT/mini-menu.git
```
将项目中/components/navs-bong文件夹拷贝到组件路径下
2. 引入组件
在使用该组件的页面对应json文件中添加:
```json
{
"usingComponents": {
"menu":"/components/navs-bong/navs-bong"
}
}
```
3. 使用组件
参考[/pages](https://github.com/makergyt/mini-menu/tree/master/pages/index)
```html
<!-- index.wxml -->
<menu navs="{{navs}}" />
```
```js
Page({
data:{
navs: [{
name: '动态',
src: 'https://cdn.nlark.com/yuque/0/2019/png/280373/1568102197856-assets/web-upload/0a3840c5-1699-4507-b1d8-dfbbe0683fd0.png',
url: '../pages/other'
},
...
]
}
})
```
```css
/* index.wxss */
page {
--add-action:#39b54a; /*定义颜色*/
}
```
## 3 colorUI
结合[操作条cu-bar](https://github.com/weilanwl/ColorUI/tree/master/demo/pages/component/bar)使用
```html
<!-- index.wxml -->
<menu navs="{{navs}}" />
<view class="cu-bar foot tabbar bg-white">
<view class="action text-green">
<view class="cuIcon-homefill"></view> 首页
</view>
<view class="action text-gray">
<view class="cuIcon-similar"></view> 分类
</view>
<view class="action text-gray add-action">
<!-- 此处删去原有button-->
发布
</view>
<view class="action text-gray">
<view class="cuIcon-cart">
<view class="cu-tag badge">99</view>
</view>
购物车
</view>
<view class="action text-gray">
<view class="cuIcon-my">
<view class="cu-tag badge"></view>
</view>
我的
</view>
</view>
```
![图3-1 结合colorUI使用](https://imgkr.cn-bj.ufileos.com/467557c4-a24c-4e16-a6a7-1d5492d8c72f.gif)
## 4 属性列表
| 属性 |类型| 默认值|必填|说明|
| -- | --|--|--|--|
| navs | Array | | 是 |导航菜单列表 {name,icon,url}|
## 5 ToDo
- [ ] 待修复:展开边界有像素点不顺畅
## License
[MIT](https://github.com/MakerGYT/mini-menu/blob/master/LICENSE) © MakerGYT
没有合适的资源?快使用搜索试试~ 我知道了~
微信小程序:王者荣耀战力查询微信小程序源码下载支持安卓苹果微信QQ等多区查询
共235个文件
js:43个
json:43个
wxss:38个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 10 下载量 17 浏览量
2022-07-09
06:50:00
上传
评论
收藏 954KB ZIP 举报
温馨提示
这是一款战力查询的微信小程序源码 源码内自带了接口 目前支持了微信,QQ,苹果,安卓全区都可以查询 支持流量主收益,而且搭建安装简单 使用微信开发者工具打开源码然后设置一下合法域名上传审核即可 该小程序还有战区修改教程等等,具体功能等你来挖掘 另外该小程序无需服务器和域名,让你无成本即可上线运营!
资源推荐
资源详情
资源评论
收起资源包目录
微信小程序:王者荣耀战力查询微信小程序源码下载支持安卓苹果微信QQ等多区查询 (235个子文件)
【点击查最新更新】.bat 26B
config 304B
description 73B
exclude 240B
HEAD 188B
HEAD 188B
HEAD 32B
HEAD 23B
readme.html 4KB
readme.html 4KB
pack-0ec69337a26e543b6985fb0f4ca36df89002dd30.idx 2KB
index 2KB
官方技术论坛.jpg 51KB
关注官方小程序发现更多免费资源.jpg 31KB
fhpic_2.jpg 30KB
关注公众号下载免费资源.jpg 27KB
kbpic_2.jpg 27KB
cfpic_2.jpg 26KB
cfpic_1.jpg 25KB
fhpic_1.jpg 23KB
kbpic_1.jpg 20KB
CCFB2473FA3C51DFAA9D4C74F098FAA7.js 81KB
rename.js 10KB
heroList.js 4KB
index.js 4KB
heroList.js 3KB
heroList.js 3KB
heroList.js 3KB
index.js 3KB
page-title.js 2KB
index.js 2KB
home.js 2KB
A2FA18E6FA3C51DFC49C70E1E3A8FAA7.js 2KB
input.js 2KB
search.js 1KB
g-page.js 1KB
index.js 1KB
button.js 990B
top.js 905B
other.js 892B
cu-custom.js 878B
introduce.js 837B
index.js 795B
wechat.js 793B
page.js 683B
link.js 668B
navs-bong.js 634B
navs-bong.js 634B
tag-swiper.js 541B
app.js 501B
tips.js 445B
loadModal.js 393B
91F917D4FA3C51DFF79F7FD3ACA8FAA7.js 343B
020A7106FA3C51DF646C19014078FAA7.js 333B
android_h.js 272B
p_apple.js 272B
loading.js 263B
log.js 209B
F04804E7FA3C51DF962E6CE07288FAA7.js 155B
cell-list.js 153B
follow.js 145B
header.js 65B
tip.js 65B
app.js 9B
project.config.json 2KB
app.json 1KB
project.config.json 1KB
project.private.config.json 327B
rename.json 316B
app.json 298B
tag-swiper.json 293B
wechat.json 293B
follow.json 293B
cell-list.json 293B
page-title.json 293B
g-page.json 293B
header.json 293B
loading.json 293B
input.json 293B
search.json 293B
top.json 293B
page.json 293B
button.json 293B
loadModal.json 293B
tips.json 237B
heroList.json 228B
sitemap.json 197B
sitemap.json 191B
index.json 144B
heroList.json 132B
heroList.json 132B
heroList.json 128B
home.json 98B
android_h.json 81B
p_apple.json 81B
link.json 78B
log.json 75B
cu-custom.json 52B
tip.json 52B
index.json 52B
共 235 条
- 1
- 2
- 3
sakura喔
- 粉丝: 984
- 资源: 233
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页