调整分包,完成隐私协议(样式待优化)

This commit is contained in:
2024-07-18 14:18:05 +08:00
parent 765b3ad111
commit 00384d7382
1045 changed files with 34254 additions and 98 deletions

1
node_modules/@vant/weapp/dist/collapse/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1 @@
export {};

46
node_modules/@vant/weapp/dist/collapse/index.js generated vendored Normal file
View File

@@ -0,0 +1,46 @@
import { VantComponent } from '../common/component';
import { useChildren } from '../common/relation';
VantComponent({
relation: useChildren('collapse-item'),
props: {
value: {
type: null,
observer: 'updateExpanded',
},
accordion: {
type: Boolean,
observer: 'updateExpanded',
},
border: {
type: Boolean,
value: true,
},
},
methods: {
updateExpanded() {
this.children.forEach((child) => {
child.updateExpanded();
});
},
switch(name, expanded) {
const { accordion, value } = this.data;
const changeItem = name;
if (!accordion) {
name = expanded
? (value || []).concat(name)
: (value || []).filter((activeName) => activeName !== name);
}
else {
name = expanded ? name : '';
}
if (expanded) {
this.$emit('open', changeItem);
}
else {
this.$emit('close', changeItem);
}
this.$emit('change', name);
this.$emit('input', name);
},
},
});

3
node_modules/@vant/weapp/dist/collapse/index.json generated vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"component": true
}

3
node_modules/@vant/weapp/dist/collapse/index.wxml generated vendored Normal file
View File

@@ -0,0 +1,3 @@
<view class="custom-class van-collapse {{ border ? 'van-hairline--top-bottom' : '' }}">
<slot />
</view>

1
node_modules/@vant/weapp/dist/collapse/index.wxss generated vendored Normal file
View File

@@ -0,0 +1 @@
@import '../common/index.wxss';