From b2bc292cede8a2cd4105f0da8666129451d271ec Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Thu, 16 Nov 2023 15:35:56 +0800
Subject: [PATCH] 移除 CLoading 组件

---
 /dev/null |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/layout/loading/CLoading.vue b/layout/loading/CLoading.vue
deleted file mode 100644
index a77eec2..0000000
--- a/layout/loading/CLoading.vue
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * CLoading - 加载中状态
- * @author Tevin
- */
-
-<template>
-    <view class="c-loading">
-        <AtActivityIndicator
-            :isOpened="show"
-            mode="center"
-        ></AtActivityIndicator>
-        <view
-            class="c-loading-content"
-            :class="show?'off':''"
-        >
-            <slot />
-        </view>
-    </view>
-</template>
-
-<script>
-import Taro from '@tarojs/taro';
-import { AtActivityIndicator } from 'taro-ui-vue';
-import './cLoading.scss';
-
-export default {
-    name: 'CLoading',
-    components: {
-        AtActivityIndicator,
-    },
-    props: {
-        show: {
-            type: Boolean,
-            default: false,
-        },
-    },
-    data() {
-        return {};
-    },
-};
-</script>
diff --git a/layout/loading/cLoading.scss b/layout/loading/cLoading.scss
deleted file mode 100644
index a465779..0000000
--- a/layout/loading/cLoading.scss
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * CLoading
- * @author Tevin
- */
-
-@import "../../common/sassMixin";
-
-.c-loading {
-    position: relative;
-    .at-loading {
-        width: 60px;
-        height: 60px;
-        .at-loading__ring {
-            width: 60px;
-            height: 60px;
-            border-width: 2PX;
-        }
-    }
-    .c-loading-content {
-        opacity: 1;
-        transition: opacity 0.1s;
-        &.off {
-            opacity: 0.35;
-            transition: opacity 0.5s 0.1s;
-        }
-    }
-}
\ No newline at end of file
diff --git a/layout/loading/index.js b/layout/loading/index.js
deleted file mode 100644
index 9cbd211..0000000
--- a/layout/loading/index.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * CLoading
- * @author Tevin
- */
-
-import CLoading from '@components/layout/loading/CLoading.vue';
-
-export {
-    CLoading,
-}
\ No newline at end of file

--
Gitblit v1.9.1