iview / iview-mpvue Goto Github PK
View Code? Open in Web Editor NEWThis project forked from talkingdata/iview-weapp
一套高质量的微信小程序 UI 组件库
Home Page: https://weapp.iviewui.com
License: Other
This project forked from talkingdata/iview-weapp
一套高质量的微信小程序 UI 组件库
Home Page: https://weapp.iviewui.com
License: Other
官方的example,pages/index/index.vue,增加一个data={a:'aaa'},
然后在页面上增加变量a的输出,如下:
<template>
<div>
L: {{a}}
<scoll-view></scoll-view>
<i-panel title="布局">
L: {{a}}
<i-cell-group>
L: {{a}}
结果是前俩个都可以显示a的值aaa
,但是第三个无法显示
<template>
<i-row>
<i-row>1</i-row>
<i-row>2</i-row>
</i-row>
</template>
<script>
import iRow from 'iview-mpvue/dist/components/row/row'
import iCol from 'iview-mpvue/dist/components/col/col'
export default {
components: {
'i-row': iRow,
'i-col': iCol
}
}
</script>
<style>
</style>
VM3859:1 ./modules/iview-mpvue/dist/components/row/row.vue.wxml
./modules/iview-mpvue/dist/components/row/row.vue.wxml:-1:-1:-1: Template `./modules/iview-mpvue/dist/components/row/row.vue.wxml:33c54a79` is being called recursively, will be stop.
<div v-for="(row, index) in logs" :key="index" class="log-item"> <i-card :title="row" extra="extra"> <p slot="content">{{row}}</p> <p slot="footer">footer</p> </i-card> </div>
这样书写时,content中的绑定内容row无法显示,同时还发现在i-col组件中使用双花括号无法绑定数据:
<div v-for="(row, index) in cols" :key="index"> <i-col :span="row.span" i-class="col-class">{{row.content}}</i-col> </div>
大佬们,你们开发的iview-mpvue组件已经有19个,其余的类似model这些组件大概什么时候能完成?有没一个计划?
List列表的Cell slot没有效果嘛,icon和switch都出不来
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.