小程序npm和node模块

This commit is contained in:
Abin
2026-01-05 18:07:10 +08:00
parent a07c8f7ef9
commit 66b2e3ddac
1402 changed files with 35461 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
export {};
+24
View File
@@ -0,0 +1,24 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var component_1 = require("../common/component");
var relation_1 = require("../common/relation");
(0, component_1.VantComponent)({
field: true,
relation: (0, relation_1.useChildren)('radio'),
props: {
value: {
type: null,
observer: 'updateChildren',
},
direction: String,
disabled: {
type: Boolean,
observer: 'updateChildren',
},
},
methods: {
updateChildren: function () {
this.children.forEach(function (child) { return child.updateFromParent(); });
},
},
});
+3
View File
@@ -0,0 +1,3 @@
{
"component": true
}
+5
View File
@@ -0,0 +1,5 @@
<wxs src="../wxs/utils.wxs" module="utils" />
<view class="{{ utils.bem('radio-group', [direction]) }}">
<slot></slot>
</view>
+1
View File
@@ -0,0 +1 @@
@import '../common/index.wxss';.van-radio-group--horizontal{display:flex;flex-wrap:wrap}