换ubuntu
This commit is contained in:
2
utils/dist/panel/index.d.ts
vendored
2
utils/dist/panel/index.d.ts
vendored
@@ -1 +1 @@
|
||||
export {};
|
||||
export {};
|
||||
|
||||
20
utils/dist/panel/index.js
vendored
20
utils/dist/panel/index.js
vendored
@@ -1,10 +1,10 @@
|
||||
import { VantComponent } from '../common/component';
|
||||
VantComponent({
|
||||
classes: ['header-class', 'footer-class'],
|
||||
props: {
|
||||
desc: String,
|
||||
title: String,
|
||||
status: String,
|
||||
useFooterSlot: Boolean
|
||||
}
|
||||
});
|
||||
import { VantComponent } from '../common/component';
|
||||
VantComponent({
|
||||
classes: ['header-class', 'footer-class'],
|
||||
props: {
|
||||
desc: String,
|
||||
title: String,
|
||||
status: String,
|
||||
useFooterSlot: Boolean
|
||||
}
|
||||
});
|
||||
|
||||
12
utils/dist/panel/index.json
vendored
12
utils/dist/panel/index.json
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"van-cell": "../cell/index"
|
||||
}
|
||||
}
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"van-cell": "../cell/index"
|
||||
}
|
||||
}
|
||||
|
||||
38
utils/dist/panel/index.wxml
vendored
38
utils/dist/panel/index.wxml
vendored
@@ -1,19 +1,19 @@
|
||||
<view class="van-panel van-hairline--top-bottom custom-class">
|
||||
<van-cell
|
||||
wx:if="{{ title || desc || status }}"
|
||||
title="{{ title }}"
|
||||
label="{{ desc }}"
|
||||
value="{{ status }}"
|
||||
custom-class="header-class"
|
||||
value-class="van-panel__header-value"
|
||||
/>
|
||||
<slot wx:else name="header" />
|
||||
|
||||
<view class="van-panel__content">
|
||||
<slot />
|
||||
</view>
|
||||
|
||||
<view wx:if="{{ useFooterSlot }}" class="van-panel__footer van-hairline--top footer-class">
|
||||
<slot name="footer" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="van-panel van-hairline--top-bottom custom-class">
|
||||
<van-cell
|
||||
wx:if="{{ title || desc || status }}"
|
||||
title="{{ title }}"
|
||||
label="{{ desc }}"
|
||||
value="{{ status }}"
|
||||
custom-class="header-class"
|
||||
value-class="van-panel__header-value"
|
||||
/>
|
||||
<slot wx:else name="header" />
|
||||
|
||||
<view class="van-panel__content">
|
||||
<slot />
|
||||
</view>
|
||||
|
||||
<view wx:if="{{ useFooterSlot }}" class="van-panel__footer van-hairline--top footer-class">
|
||||
<slot name="footer" />
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user