先上效果图
使用注意事项
1:注意在app.json中注册页面路径
2:如果要增加新的item,可到js中对listservice数组进行增加
3:listservice参数[
title:分类标题
items:这个分类下的所有item[
name:这个item的名字
url:这个item点击跳转路径
]]
wxml代码
{ {item.title}}
{ {item.detail}}
{ {item.name}}
wxss
page{
background:#eeecec;
}
.enable{
z-index: 99999;
background: #404040;
opacity: 0.8;
position: absolute;
width: 100;
bottom: 0px;
top: 0px;
left: 0px;
right: 0px;
display: flex;
justify-content: center;
align-items: center;
color: #ffffff;
}
.enable text{