ソースを参照

refactor: 移除未使用的样式和布局组件

删除App.vue中未使用的button样式和about页面中未使用的route配置
移除已不再使用的demo布局组件
feige996 10 ヶ月 前
コミット
cd45d77646
3 ファイル変更0 行追加30 行削除
  1. 0 4
      src/App.vue
  2. 0 17
      src/layouts/demo.vue
  3. 0 9
      src/pages/about/components/request.vue

+ 0 - 4
src/App.vue

@@ -17,10 +17,6 @@ onHide(() => {
 </script>
 
 <style lang="scss">
-button::after {
-  border: none;
-}
-
 swiper,
 scroll-view {
   flex: 1;

+ 0 - 17
src/layouts/demo.vue

@@ -1,17 +0,0 @@
-<script lang="ts" setup>
-import type { ConfigProviderThemeVars } from 'wot-design-uni'
-
-const themeVars: ConfigProviderThemeVars = {
-  // colorTheme: 'red',
-  // buttonPrimaryBgColor: '#07c160',
-  // buttonPrimaryColor: '#07c160',
-}
-</script>
-
-<template>
-  <wd-config-provider :theme-vars="themeVars">
-    <slot />
-    <wd-toast />
-    <wd-message-box />
-  </wd-config-provider>
-</template>

+ 0 - 9
src/pages/about/components/request.vue

@@ -1,12 +1,3 @@
-<route lang="json5">
-{
-  layout: 'demo',
-  style: {
-    navigationBarTitleText: '请求',
-  },
-}
-</route>
-
 <script lang="ts" setup>
 import type { IFooItem } from '@/service/index/foo'
 import { getFooAPI } from '@/service/index/foo'