Commit 8418b8f20770f96dccd5a293bdb93869ac1cc8e3

Authored by vking
2 parents da4c49b6 436e9ec0

Merge remote-tracking branch 'origin/master'

@@ -12,7 +12,7 @@ Component({ @@ -12,7 +12,7 @@ Component({
12 }, 12 },
13 attached(){ 13 attached(){
14 let peoplelist=[] 14 let peoplelist=[]
15 - for(let i=0;i<=Math.ceil((30-4)/5);i++){ 15 + for(let i=0;i<Math.ceil((30-4)/5);i++){
16 peoplelist.push({ 16 peoplelist.push({
17 list:[] 17 list:[]
18 }) 18 })
@@ -28,6 +28,7 @@ Component({ @@ -28,6 +28,7 @@ Component({
28 this.setData({ 28 this.setData({
29 peoplelist:peoplelist 29 peoplelist:peoplelist
30 }) 30 })
  31 + console.log(peoplelist)
31 }, 32 },
32 ready(){ 33 ready(){
33 this.editpeoplelist(this.data.count); 34 this.editpeoplelist(this.data.count);
1 -<swiper class="people-list" display-multiple-items="1" next-margin="46rpx" circular="{{true}}"> 1 +<swiper class="people-list" display-multiple-items="1" next-margin="46rpx">
2 <block wx:for="{{peoplelist}}" wx:key="{{index}}" wx:for-item="itemlist"> 2 <block wx:for="{{peoplelist}}" wx:key="{{index}}" wx:for-item="itemlist">
3 <swiper-item> 3 <swiper-item>
4 <view class="flex-ll"> 4 <view class="flex-ll">