You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
565 B
29 lines
565 B
|
3 years ago
|
<template>
|
||
|
|
<view class="s-page" :class="custom_class" :style="custom_style">
|
||
|
|
<!-- 页面内容 -->
|
||
|
|
<view class="s-page__wrap">
|
||
|
|
<slot />
|
||
|
|
</view>
|
||
|
|
<!-- toast -->
|
||
|
|
<s-toast />
|
||
|
|
<!-- dialog -->
|
||
|
|
<s-dialog />
|
||
|
|
</view>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
import componentMixin from '../../mixins/componentMixin';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* s-page 页面
|
||
|
|
* @description 页面容器组件
|
||
|
|
* @example <s-page custom-class="Home-Page"></s-page>
|
||
|
|
*/
|
||
|
|
export default {
|
||
|
|
name: 'SPage',
|
||
|
|
mixins: [componentMixin],
|
||
|
|
};
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style lang="scss" src="./index.scss"></style>
|