6 files added
1 files renamed
1 files modified
New file |
| | |
| | | /** |
| | | * CCard - 列表卡片(主体) |
| | | * @author Tevin |
| | | */ |
| | | |
| | | <template> |
| | | <view class="c-card"> |
| | | <slot /> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import Taro from '@tarojs/taro'; |
| | | import {} from 'taro-ui-vue'; |
| | | import './cCard.scss'; |
| | | |
| | | export default { |
| | | name: 'CCard', |
| | | components: {}, |
| | | props: {}, |
| | | data() { |
| | | return {}; |
| | | }, |
| | | methods: {}, |
| | | }; |
| | | </script> |
New file |
| | |
| | | /** |
| | | * CCardAction - 列表卡片操作 |
| | | * @author Tevin |
| | | */ |
| | | |
| | | <template> |
| | | <view class="c-card-action"> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import Taro from '@tarojs/taro'; |
| | | import {} from 'taro-ui-vue'; |
| | | |
| | | export default { |
| | | name: 'CCardAction', |
| | | components: {}, |
| | | props: {}, |
| | | data() { |
| | | return {}; |
| | | }, |
| | | methods: {}, |
| | | }; |
| | | </script> |
New file |
| | |
| | | /** |
| | | * CCardContent - 列表卡片内容 |
| | | * @author Tevin |
| | | */ |
| | | |
| | | <template> |
| | | <view class="c-card-content"> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import Taro from '@tarojs/taro'; |
| | | import {} from 'taro-ui-vue'; |
| | | |
| | | export default { |
| | | name: 'CCardContent', |
| | | components: {}, |
| | | props: {}, |
| | | data() { |
| | | return {}; |
| | | }, |
| | | methods: {}, |
| | | }; |
| | | </script> |
New file |
| | |
| | | /** |
| | | * CCardTitle - 列表卡片标题 |
| | | * @author Tevin |
| | | */ |
| | | |
| | | <template> |
| | | <view class="c-card-title"> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import Taro from '@tarojs/taro'; |
| | | import {} from 'taro-ui-vue'; |
| | | |
| | | export default { |
| | | name: 'CCardTitle', |
| | | components: {}, |
| | | props: {}, |
| | | data() { |
| | | return {}; |
| | | }, |
| | | methods: {}, |
| | | }; |
| | | </script> |
New file |
| | |
| | | /** |
| | | * CCard |
| | | * @author Tevin |
| | | */ |
| | | |
| | | @import "../../common/sassMixin"; |
| | | |
| | | .c-card { |
| | | margin: 0 16px 16px; |
| | | background-color: #fff; |
| | | border-radius: 8px; |
| | | } |
New file |
| | |
| | | /** |
| | | * CCard |
| | | * @author Tevin |
| | | */ |
| | | |
| | | import CCard from '@components/layout/card/CCard.vue'; |
| | | import CCardTitle from '@components/layout/card/CCard.vue'; |
| | | import CCardContent from '@components/layout/card/CCard.vue'; |
| | | import CCardAction from '@components/layout/card/CCard.vue'; |
| | | |
| | | export { |
| | | CCard, |
| | | CCardTitle, |
| | | CCardContent, |
| | | CCardAction, |
| | | } |
| | |
| | | <script> |
| | | import Taro from '@tarojs/taro'; |
| | | import {} from 'taro-ui-vue'; |
| | | import './CDescription.scss'; |
| | | import './cDescription.scss'; |
| | | |
| | | export default { |
| | | name: 'CDescription', |