小程序
小游戏
企业微信
微信支付
扫描小程序码分享
显示几个输入框,用户不够,点击+号新增一个 ,再点击新增一个
4 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
https://developers.weixin.qq.com/miniprogram/dev/reference/wxml/list.html
把这个看一遍,然后把里面的组件换成input。
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
let myArray=[11,22,33];
console.log('原数组:',myArray);
myArray.push(44,55);
console.log('用push在数组后面插入元素:',myArray);
myArray.unshift(66,77);
console.log('用unshift在数组前面插入元素:',myArray);
myArray.splice(2,0,'肾虚少年');
console.log('用splice在数组指定位置插入元素:',myArray);
点击在当前数组push一条空数据进去。在页面上循环出来
for循环
请学会如何「提问」(👈戳我)、【个体工商户】微信认证问题(👈戳我)
<input></input>
<view wx:for={{item}}></view>
<view>+事件</view>
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
https://developers.weixin.qq.com/miniprogram/dev/reference/wxml/list.html
把这个看一遍,然后把里面的组件换成input。
let myArray=[11,22,33];
console.log('原数组:',myArray);
myArray.push(44,55);
console.log('用push在数组后面插入元素:',myArray);
myArray.unshift(66,77);
console.log('用unshift在数组前面插入元素:',myArray);
myArray.splice(2,0,'肾虚少年');
console.log('用splice在数组指定位置插入元素:',myArray);
点击在当前数组push一条空数据进去。在页面上循环出来
for循环
请学会如何「提问」(👈戳我)、【个体工商户】微信认证问题(👈戳我)
<input></input>
<view wx:for={{item}}></view>
<view>+事件</view>