From 9ab4955166b7b1370fc2a49b152353241ca9e64a Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期一, 16 十月 2023 09:22:23 +0800 Subject: [PATCH] 小程序 --- minipro_standard/uni_modules/uview-ui/components/u-calendar/header.vue | 99 ------------------------------------------------- 1 files changed, 0 insertions(+), 99 deletions(-) diff --git a/minipro_standard/uni_modules/uview-ui/components/u-calendar/header.vue b/minipro_standard/uni_modules/uview-ui/components/u-calendar/header.vue index 31cf35a..e69de29 100644 --- a/minipro_standard/uni_modules/uview-ui/components/u-calendar/header.vue +++ b/minipro_standard/uni_modules/uview-ui/components/u-calendar/header.vue @@ -1,99 +0,0 @@ -<template> - <view class="u-calendar-header u-border-bottom"> - <text - class="u-calendar-header__title" - v-if="showTitle" - >{{ title }}</text> - <text - class="u-calendar-header__subtitle" - v-if="showSubtitle" - >{{ subtitle }}</text> - <view class="u-calendar-header__weekdays"> - <text class="u-calendar-header__weekdays__weekday">涓�</text> - <text class="u-calendar-header__weekdays__weekday">浜�</text> - <text class="u-calendar-header__weekdays__weekday">涓�</text> - <text class="u-calendar-header__weekdays__weekday">鍥�</text> - <text class="u-calendar-header__weekdays__weekday">浜�</text> - <text class="u-calendar-header__weekdays__weekday">鍏�</text> - <text class="u-calendar-header__weekdays__weekday">鏃�</text> - </view> - </view> -</template> - -<script> - export default { - name: 'u-calendar-header', - mixins: [uni.$u.mpMixin, uni.$u.mixin], - props: { - // 鏍囬 - title: { - type: String, - default: '' - }, - // 鍓爣棰� - subtitle: { - type: String, - default: '' - }, - // 鏄惁鏄剧ず鏍囬 - showTitle: { - type: Boolean, - default: true - }, - // 鏄惁鏄剧ず鍓爣棰� - showSubtitle: { - type: Boolean, - default: true - }, - }, - data() { - return { - - } - }, - methods: { - name() { - - } - }, - } -</script> - -<style lang="scss" scoped> - @import "../../libs/css/components.scss"; - - .u-calendar-header { - padding-bottom: 4px; - - &__title { - font-size: 16px; - color: $u-main-color; - text-align: center; - height: 42px; - line-height: 42px; - font-weight: bold; - } - - &__subtitle { - font-size: 14px; - color: $u-main-color; - height: 40px; - text-align: center; - line-height: 40px; - font-weight: bold; - } - - &__weekdays { - @include flex; - justify-content: space-between; - - &__weekday { - font-size: 13px; - color: $u-main-color; - line-height: 30px; - flex: 1; - text-align: center; - } - } - } -</style> -- Gitblit v1.9.3