换ubuntu
This commit is contained in:
2
utils/dist/goods-action/index.d.ts
vendored
2
utils/dist/goods-action/index.d.ts
vendored
@@ -1 +1 @@
|
||||
export {};
|
||||
export {};
|
||||
|
||||
44
utils/dist/goods-action/index.js
vendored
44
utils/dist/goods-action/index.js
vendored
@@ -1,22 +1,22 @@
|
||||
import { VantComponent } from '../common/component';
|
||||
VantComponent({
|
||||
relation: {
|
||||
type: 'descendant',
|
||||
name: 'goods-action-button',
|
||||
linked(child) {
|
||||
this.children.push(child);
|
||||
},
|
||||
unlinked(child) {
|
||||
this.children = this.children.filter((item) => item !== child);
|
||||
}
|
||||
},
|
||||
beforeCreate() {
|
||||
this.children = [];
|
||||
},
|
||||
props: {
|
||||
safeAreaInsetBottom: {
|
||||
type: Boolean,
|
||||
value: true
|
||||
}
|
||||
}
|
||||
});
|
||||
import { VantComponent } from '../common/component';
|
||||
VantComponent({
|
||||
relation: {
|
||||
type: 'descendant',
|
||||
name: 'goods-action-button',
|
||||
linked(child) {
|
||||
this.children.push(child);
|
||||
},
|
||||
unlinked(child) {
|
||||
this.children = this.children.filter((item) => item !== child);
|
||||
}
|
||||
},
|
||||
beforeCreate() {
|
||||
this.children = [];
|
||||
},
|
||||
props: {
|
||||
safeAreaInsetBottom: {
|
||||
type: Boolean,
|
||||
value: true
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
6
utils/dist/goods-action/index.json
vendored
6
utils/dist/goods-action/index.json
vendored
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"component": true
|
||||
}
|
||||
{
|
||||
"component": true
|
||||
}
|
||||
|
||||
10
utils/dist/goods-action/index.wxml
vendored
10
utils/dist/goods-action/index.wxml
vendored
@@ -1,5 +1,5 @@
|
||||
<wxs src="../wxs/utils.wxs" module="utils" />
|
||||
|
||||
<view class="custom-class {{ utils.bem('goods-action', { safe: safeAreaInsetBottom }) }}">
|
||||
<slot />
|
||||
</view>
|
||||
<wxs src="../wxs/utils.wxs" module="utils" />
|
||||
|
||||
<view class="custom-class {{ utils.bem('goods-action', { safe: safeAreaInsetBottom }) }}">
|
||||
<slot />
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user