From 627c3e0a6920131d75eafa4646db373ccc936546 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 26 十月 2023 13:52:07 +0800
Subject: [PATCH] 小程序diamante
---
minipro_standard/uni_modules/uview-ui/components/u-calendar/header.vue | 198 ++++++++++++++++++++++++------------------------
1 files changed, 99 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..dc4f7d0 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 +1,99 @@
-<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>
+<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