Comments (11)
https://docs.alipay.com/mini/component-ext/grid 看下文档先,或者你贴一下你的代码
from mini-antui.
@Phieo 代码贴在上面了,就是示例里面的代码,一点都不敢改。没有任何报错。
from mini-antui.
我试了是没问题的,你看下你的版本号,以及你的JS部分代码有没有问题。
from mini-antui.
平台
windows 10 1903
小程序开发工具版本 0.28.5
node 10.15.3
复现操作
1.打开小程序开发工具,新建项目
2.在项目打开powershell
, 执行yarn init -y
3.安装mini-antui,执行yarn add mini-antui
4.使用在pages/index/index.json
里面添加
{
"usingComponents":{
"grid":"mini-antui/es/grid/index"
}
}
5.复制https://github.com/ant-mini-program/mini-antui/blob/master/examples/pages/grid/4/index.axml
里面的和https://github.com/ant-mini-program/mini-antui/blob/master/examples/pages/grid/4/index.js
里面的代码进去
from mini-antui.
提供下项目的目录结构
from mini-antui.
from mini-antui.
真机预览可以吗?
from mini-antui.
from mini-antui.
from mini-antui.
用小程序开发者工具新建项目,点击API示例,然后看下创建出来的小程序能够打开扩展组件-grid页面
from mini-antui.
非常感谢,这下可以了。
我把前面会出问题的页面放进去,也能运行了。
这简直太神奇了
from mini-antui.
Related Issues (20)
- 单位什么时候换成 rpx HOT 1
- popup 样式有问题 HOT 1
- 0.4.32 版本更新计划 HOT 1
- Calendar 组件 didUpdate 没有更新 tagData
- amount-input组件失焦时候样式问题 HOT 1
- 刮刮卡有个bug HOT 1
- scratch组件width的单位问题
- Filter的max设置为1时 onMaskTap不会触发回调 HOT 3
- modal组件的蒙层点击事件
- Can't resolve '../../ules/mini-antui/es/list/index? HOT 4
- 小程序云
- Can not find Component /node_modules/mini-antui/es/card/index in Page: pages/index/index HOT 1
- Modal组件反馈
- 商家应用中-video组件在真机无法播放视频,提示视频地址为空 HOT 1
- input-item type=number 数字为1000时,最后一个0有遮挡 HOT 1
- 在商家应用pc端使用的时候icon不显示
- 在popup内使用scroll-view 真机调试无法滚动。 HOT 6
- 语法报错了v-tab
- Popup组件设置了Z-index,在iPhone6真机调试中,遮罩无效,被遮挡 HOT 2
- VTabs纵向选项卡从下往上滑动会回到第一个标签的位置
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mini-antui.