| 1234567891011121314151617181920212223242526272829303132 | 
							- import { VantComponent } from '../common/component';
 
- VantComponent({
 
-   relation: {
 
-     type: 'descendant',
 
-     name: 'goods-action-button',
 
-     current: 'goods-action',
 
-     linked() {
 
-       this.updateStyle();
 
-     },
 
-     unlinked() {
 
-       this.updateStyle();
 
-     },
 
-     linkChanged() {
 
-       this.updateStyle();
 
-     },
 
-   },
 
-   props: {
 
-     safeAreaInsetBottom: {
 
-       type: Boolean,
 
-       value: true,
 
-     },
 
-   },
 
-   methods: {
 
-     updateStyle() {
 
-       wx.nextTick(() => {
 
-         this.children.forEach((child) => {
 
-           child.updateStyle();
 
-         });
 
-       });
 
-     },
 
-   },
 
- });
 
 
  |