{ width: col.width, textAlign: col.align }" > <view class="cell-wrapper"> <view class="cell-content stock-item-content f32" :class="col.prop"> <!-- 自定义插槽 --> <template v-if="col.slot && $slots[col.slot]"> <slot
'<view><slot-comp generic:scoped-slots-test="test-slot-comp-test" vue-id="551070e6-1" bind:__l="__l" vue-slots="{{[\'test\']}}"></slot-comp><slot-comp generic:scoped-slots-test="test-slot-comp-test1" vue-id="551070e6-2" bind:__l="__l" vue-slots="{{[\'test\']}...
defineProperty(ns, 'default', { enumerable: true, value: value }); /***/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); /***/ return ns; /***/ }; /***/ /*...
组件的循环渲染 1.4.6新增 当需要循环渲染WePY组件时(类似于通过 wx:for 循环渲染原生的wxml标签),必须使用WePY定义的 辅助标签 repeat ,代码如下: 1. /** 2. project 3. └── src 4. ├── components 5. | └── child.wpy 6. ├── pages 7. | ├── index.wpy index 页面配置、结构、...
[item.id].rows}}" wx:for-index="index2" wx:for-item="item2" wx:key="id"> <van-card bindtap="onTapGoods" price="{{item2.start_price}}" desc="" title="{{item2.goods_name}}" thumb="{{ item2.goods_infos[0].content }}"> <view slot="footer"> <van-icon size="24px" ...