<text lang="cn">
#### 自定义面板
自定义各个面板的样式。
</text>

```html
<template>
    <div>
    <s-collapse bordered="{{false}}" defaultActiveKey="{{['1']}}">
        <s-panel header="This is panel header 1" key="1" style="{{panelStyle}}">
            <p>
                A dog is a type of domesticated animal.
                Known for its loyalty and faithfulness,
                it can be found as a welcome guest in many households across the world.
            </p>
            <template slot="extra">
                <s-icon type="setting"/>
            </template>
        </s-panel>
        <s-panel header="This is panel header 2" active key="2" style="{{panelStyle}}" expandIcon="double-right">
            <p>
                A dog is a type of domesticated animal.
                Known for its loyalty and faithfulness,
                it can be found as a welcome guest in many households across the world.
            </p>
        </s-panel>
        <s-panel header="This is panel header 3" key="3" style="{{panelStyle}}" expandIcon="expandIcon">
            <p>
                A dog is a type of domesticated animal.
                Known for its loyalty and faithfulness,
                it can be found as a welcome guest in many households across the world.
            </p>
            <template slot="expandIcon">
                <span><s-icon type="caret-right" rotate="{{isActive ? 90 : 0}}" class="{{prefixCls}}-arrow" /></span>
            </template>
        </s-panel>
    </s-collapse>
  </div>
</template>
<script>
import san from 'san';
import {Collapse, Icon} from 'santd';

const customPanelStyle = {
    'background': '#f7f7f7',
    'border-radius': '4px',
    'margin-bottom': '24px',
    'border': 0,
    'overflow': 'hidden'
};

export default {
    components: {
        's-collapse': Collapse,
        's-panel': Collapse.Panel,
        's-icon': Icon
    },
    initData() {
        return {
            panelStyle: customPanelStyle
        };
    }
}
</script>
```
