张延森 4 år sedan
förälder
incheckning
57b1ae5137
5 ändrade filer med 225 tillägg och 301 borttagningar
  1. 32
    0
      src/components/Spin/index.jsx
  2. 77
    0
      src/components/Spin/index.less
  3. 3
    3
      src/layouts/index.jsx
  4. 104
    101
      src/pages/ShouYe/index.jsx
  5. 9
    197
      yarn.lock

+ 32
- 0
src/components/Spin/index.jsx Visa fil

@@ -0,0 +1,32 @@
1
+import React from 'react'
2
+import { View } from '@tarojs/components'
3
+import './index.less'
4
+
5
+const cubeLen = 9
6
+
7
+export default props => {
8
+
9
+  const color = props.color || '#9e1068'
10
+  const tipText = props.tips || 'LOADING'
11
+  const cubeStyle = { backgroundColor: color }
12
+  const tipStyle = { color }
13
+
14
+  return (
15
+    <>
16
+      {
17
+        props.loading ? (
18
+          <View className="cubes-box">
19
+            <View className="cubes">
20
+              {
21
+                new Array(cubeLen).fill(0).map((_, inx) => (
22
+                  <View key={inx} class={`sk-cube sk-cube${inx + 1}`} style={cubeStyle}></View>
23
+                ))
24
+              }
25
+            </View>
26
+            <View className="cubes-tip" style={tipStyle}>{tipText}</View>
27
+          </View>
28
+        ) : props.children
29
+      }
30
+    </>
31
+  )
32
+}

+ 77
- 0
src/components/Spin/index.less Visa fil

@@ -0,0 +1,77 @@
1
+.cubes-box {
2
+  width: 100vw;
3
+  height: 100rpx;
4
+  position: relative;
5
+  top: 40%;
6
+  transform: translateY(-50%);
7
+
8
+  .cubes {
9
+    width: 80rpx;
10
+    height: 80rpx;
11
+    margin: auto;
12
+  
13
+    .sk-cube {
14
+      width: 33%;
15
+      height: 33%;
16
+      // background-color: #9e1068;
17
+      float: left;
18
+      animation: gridScaleDelay 1.3s infinite ease-in-out;
19
+    }
20
+   
21
+    .sk-cube1 {
22
+      animation-delay: 0.2s;
23
+    }
24
+     
25
+    .sk-cube2 {
26
+      animation-delay: 0.3s;
27
+    }
28
+     
29
+    .sk-cube3 {
30
+      animation-delay: 0.4s;
31
+    }
32
+     
33
+    .sk-cube4 {
34
+      animation-delay: 0.1s;
35
+    }
36
+     
37
+    .sk-cube5 {
38
+      animation-delay: 0.2s;
39
+    }
40
+     
41
+    .sk-cube6 {
42
+      animation-delay: 0.3s;
43
+    }
44
+     
45
+    .sk-cube7 {
46
+      animation-delay: 0s;
47
+    }
48
+     
49
+     .sk-cube8 {
50
+      animation-delay: 0.1s;
51
+     }
52
+     
53
+    .sk-cube9 {
54
+      animation-delay: 0.2s;
55
+    }
56
+  }
57
+    
58
+
59
+  .cubes-tip {
60
+    display: inline-block;
61
+    margin-top: 40rpx;
62
+    width: 100%;
63
+    text-align: center;
64
+  }
65
+}
66
+
67
+@keyframes gridScaleDelay {
68
+  0%,
69
+  70%,
70
+  100% {
71
+   transform: scale3D(1, 1, 1);
72
+  }
73
+
74
+  35% {
75
+   transform: scale3D(0, 0, 1);
76
+  }
77
+}

+ 3
- 3
src/layouts/index.jsx Visa fil

@@ -1,12 +1,12 @@
1 1
 import React from 'react'
2 2
 import { useModel } from '@/store'
3
-
4
-const Spin = <></>
3
+import Spin from '@/components/Spin'
5 4
 
6 5
 export default function(props) {
7 6
   const { user } = useModel('user')
8 7
 
9
-  const loading = !user || !user.personId
8
+  // const loading = !user || !user.personId
9
+  const loading = false
10 10
 
11 11
   return (
12 12
     <Spin loading={loading}>{ props.children }</Spin>

+ 104
- 101
src/pages/ShouYe/index.jsx Visa fil

@@ -2,6 +2,7 @@ import React, { useState } from 'react'
2 2
 import NavHeader from '@/components/NavHeader/index'
3 3
 import { Swiper, SwiperItem, Text } from '@tarojs/components'
4 4
 import Taro from '@tarojs/taro'
5
+import Page from '@/layouts'
5 6
 import '@/assets/css/reset.less'
6 7
 import '@/assets/css/iconfont.less'
7 8
 import './index.less'
@@ -57,133 +58,135 @@ export default function Index(props) {
57 58
   }
58 59
 
59 60
   return (
60
-    <view className='ShouYe flex-v'>
61
-      <NavHeader BgColor='#f35844' Title='首页'></NavHeader>
62
-      <view className='flex-item'>
63
-
64
-        {/* 广告 */}
65
-        <view className='AdvLayer' style={{ display: ShowAdvLayer ? 'block' : 'none' }}>
66
-          <view className='centerLabel'>
67
-            <image mode='aspectFit' src={TestImg}></image>
68
-            <Text className='iconfont iconguanbi'></Text>
61
+    <Page>
62
+      <view className='ShouYe flex-v'>
63
+        <NavHeader BgColor='#f35844' Title='首页'></NavHeader>
64
+        <view className='flex-item'>
65
+
66
+          {/* 广告 */}
67
+          <view className='AdvLayer' style={{ display: ShowAdvLayer ? 'block' : 'none' }}>
68
+            <view className='centerLabel'>
69
+              <image mode='aspectFit' src={TestImg}></image>
70
+              <Text className='iconfont iconguanbi'></Text>
71
+            </view>
69 72
           </view>
70
-        </view>
71 73
 
72
-        {/* 正文 */}
73
-        <view className='PageContainer'>
74
-          <scroll-view scroll-y='true' style='height: 100%;' refresher-enabled={true} onrefresherrefresh={OnRefresh} refresher-triggered={IsPull} refresher-background='#f35844'>
75
-            <view className='Content'>
74
+          {/* 正文 */}
75
+          <view className='PageContainer'>
76
+            <scroll-view scroll-y='true' style='height: 100%;' refresher-enabled={true} onrefresherrefresh={OnRefresh} refresher-triggered={IsPull} refresher-background='#f35844'>
77
+              <view className='Content'>
76 78
 
77
-              {/* 背景图 */}
78
-              <view className='TopBg'></view>
79
+                {/* 背景图 */}
80
+                <view className='TopBg'></view>
79 81
 
80
-              <view>
82
+                <view>
81 83
 
82
-                {/* 欢迎词 */}
83
-                <Text className='Welcome'>欢迎来到远道智慧社区!</Text>
84
+                  {/* 欢迎词 */}
85
+                  <Text className='Welcome'>欢迎来到远道智慧社区!</Text>
84 86
 
85
-                {/* banner */}
86
-                <view className='BannerContainer'>
87
-                  <view>
87
+                  {/* banner */}
88
+                  <view className='BannerContainer'>
88 89
                     <view>
89
-                      <Swiper className='BannerSwiper' autoplay circular indicator-dots indicator-color='rgba(0,0,0,0.4)' indicator-active-color='rgba(255,255,255,0.8)'>
90
-                        {
91
-                          BannerList.map((item, index) => (
92
-                            <SwiperItem className='SwiperItem' key={`Banner-${index}`}>
93
-                              <view className='BannerItem'>
94
-                                <image mode='aspectFill' src={item.img}></image>
95
-                              </view>
96
-                            </SwiperItem>
97
-                          ))
98
-                        }
99
-                      </Swiper>
90
+                      <view>
91
+                        <Swiper className='BannerSwiper' autoplay circular indicator-dots indicator-color='rgba(0,0,0,0.4)' indicator-active-color='rgba(255,255,255,0.8)'>
92
+                          {
93
+                            BannerList.map((item, index) => (
94
+                              <SwiperItem className='SwiperItem' key={`Banner-${index}`}>
95
+                                <view className='BannerItem'>
96
+                                  <image mode='aspectFill' src={item.img}></image>
97
+                                </view>
98
+                              </SwiperItem>
99
+                            ))
100
+                          }
101
+                        </Swiper>
102
+                      </view>
100 103
                     </view>
101 104
                   </view>
102
-                </view>
103 105
 
104
-                {/* 导航 */}
105
-                <view className='NavContainer flex-h'>
106
-                  {
107
-                    NavList.map((item, index) => (
108
-                      <view key={`Nav-${index}`} className='flex-item'>
109
-                        <view onClick={NavClick(item)}>
110
-                          <view className='centerLabel'>
111
-                            <Text className={`iconfont ${item.icon}`}></Text>
112
-                            <Text>{item.name}</Text>
106
+                  {/* 导航 */}
107
+                  <view className='NavContainer flex-h'>
108
+                    {
109
+                      NavList.map((item, index) => (
110
+                        <view key={`Nav-${index}`} className='flex-item'>
111
+                          <view onClick={NavClick(item)}>
112
+                            <view className='centerLabel'>
113
+                              <Text className={`iconfont ${item.icon}`}></Text>
114
+                              <Text>{item.name}</Text>
115
+                            </view>
113 116
                           </view>
114 117
                         </view>
115
-                      </view>
116
-                    ))
117
-                  }
118
-                </view>
118
+                      ))
119
+                    }
120
+                  </view>
119 121
 
120
-                {/* 热门活动 */}
121
-                <view className='HotActivityContainer'>
122
-                  <view>
123
-                    <view className='Title'>
124
-                      <Text onClick={() => { Taro.navigateTo({ url: '/pages/ShouYe/HuoDong/index' }) }}>热门活动</Text>
125
-                      <Text className='iconfont icongengduo' onClick={() => { Taro.navigateTo({ url: '/pages/ShouYe/HuoDong/index' }) }}></Text>
126
-                    </view>
127
-                    <view className='Activity'>
128
-                      <image className='centerLabel' mode='aspectFill' src={TestImg}></image>
122
+                  {/* 热门活动 */}
123
+                  <view className='HotActivityContainer'>
124
+                    <view>
125
+                      <view className='Title'>
126
+                        <Text onClick={() => { Taro.navigateTo({ url: '/pages/ShouYe/HuoDong/index' }) }}>热门活动</Text>
127
+                        <Text className='iconfont icongengduo' onClick={() => { Taro.navigateTo({ url: '/pages/ShouYe/HuoDong/index' }) }}></Text>
128
+                      </view>
129
+                      <view className='Activity'>
130
+                        <image className='centerLabel' mode='aspectFill' src={TestImg}></image>
131
+                      </view>
129 132
                     </view>
130 133
                   </view>
131
-                </view>
132 134
 
133
-                {/* 业主专区 */}
134
-                <view className='OwnerContainer'>
135
-                  <view>
136
-                    <view className='Title'>
137
-                      <Text>业主专区</Text>
138
-                    </view>
139
-                    <view className='OwnerList flex-h'>
140
-                      {
141
-                        OwnerList.map((item, index) => (
142
-                          <view className='flex-item' key={`Owners-${index}`}>
143
-                            <Text className={`iconfont ${item.icon}`}></Text>
144
-                            <Text>{item.name}</Text>
145
-                          </view>
146
-                        ))
147
-                      }
135
+                  {/* 业主专区 */}
136
+                  <view className='OwnerContainer'>
137
+                    <view>
138
+                      <view className='Title'>
139
+                        <Text>业主专区</Text>
140
+                      </view>
141
+                      <view className='OwnerList flex-h'>
142
+                        {
143
+                          OwnerList.map((item, index) => (
144
+                            <view className='flex-item' key={`Owners-${index}`}>
145
+                              <Text className={`iconfont ${item.icon}`}></Text>
146
+                              <Text>{item.name}</Text>
147
+                            </view>
148
+                          ))
149
+                        }
150
+                      </view>
148 151
                     </view>
149 152
                   </view>
150
-                </view>
151 153
 
152
-                {/* 热门资讯 */}
153
-                <view className='NewsContainer'>
154
-                  <view>
155
-                    <view className='Title flex-h'>
156
-                      <Text className='flex-item'>热门资讯</Text>
157
-                      <Text onClick={() => { Taro.navigateTo({ url: '/pages/ShouYe/ZiXun/index' }) }}>查看全部</Text>
158
-                      <Text className='iconfont iconjiantouright'></Text>
159
-                    </view>
160
-                    <view className='List'>
161
-                      {
162
-                        NewsList.map((item, index) => (
163
-                          <view key={`News-${index}`} className='flex-h'>
164
-                            <view className='Img'>
165
-                              <image mode='aspectFill' src={item.img} className='centerLabel'></image>
166
-                            </view>
167
-                            <view className='flex-item'>
168
-                              <Text>{item.title}</Text>
169
-                              <Text>{item.desc}</Text>
154
+                  {/* 热门资讯 */}
155
+                  <view className='NewsContainer'>
156
+                    <view>
157
+                      <view className='Title flex-h'>
158
+                        <Text className='flex-item'>热门资讯</Text>
159
+                        <Text onClick={() => { Taro.navigateTo({ url: '/pages/ShouYe/ZiXun/index' }) }}>查看全部</Text>
160
+                        <Text className='iconfont iconjiantouright'></Text>
161
+                      </view>
162
+                      <view className='List'>
163
+                        {
164
+                          NewsList.map((item, index) => (
165
+                            <view key={`News-${index}`} className='flex-h'>
166
+                              <view className='Img'>
167
+                                <image mode='aspectFill' src={item.img} className='centerLabel'></image>
168
+                              </view>
169
+                              <view className='flex-item'>
170
+                                <Text>{item.title}</Text>
171
+                                <Text>{item.desc}</Text>
172
+                              </view>
170 173
                             </view>
171
-                          </view>
172
-                        ))
173
-                      }
174
+                          ))
175
+                        }
176
+                      </view>
174 177
                     </view>
175 178
                   </view>
176
-                </view>
177 179
 
178
-                <view className='PageBottom'></view>
180
+                  <view className='PageBottom'></view>
181
+
182
+                </view>
179 183
 
180 184
               </view>
185
+            </scroll-view>
186
+          </view>
181 187
 
182
-            </view>
183
-          </scroll-view>
184 188
         </view>
185
-
186
-      </view>
187
-    </view >
189
+      </view >
190
+    </Page>
188 191
   )
189 192
 }

+ 9
- 197
yarn.lock Visa fil

@@ -1138,13 +1138,6 @@
1138 1138
     webpack-format-messages "^2.0.5"
1139 1139
     yauzl "2.10.0"
1140 1140
 
1141
-"@tarojs/plugin-babel@^2.2.10":
1142
-  version "2.2.10"
1143
-  resolved "https://registry.npm.taobao.org/@tarojs/plugin-babel/download/@tarojs/plugin-babel-2.2.10.tgz#587c872e7a1fc07c2e8d0a165523bd33d8fa7856"
1144
-  integrity sha1-WHyHLnofwHwujQoWVSO9M9j6eFY=
1145
-  dependencies:
1146
-    babel-core "^6.26.0"
1147
-
1148 1141
 "@tarojs/react@3.0.14":
1149 1142
   version "3.0.14"
1150 1143
   resolved "https://registry.npm.taobao.org/@tarojs/react/download/@tarojs/react-3.0.14.tgz#1664fd68d65620ea610994c822f55af523479390"
@@ -1207,16 +1200,6 @@
1207 1200
   dependencies:
1208 1201
     loader-utils "^1.2.3"
1209 1202
 
1210
-"@tarojs/taro-weapp@^2.2.10":
1211
-  version "2.2.10"
1212
-  resolved "https://registry.npm.taobao.org/@tarojs/taro-weapp/download/@tarojs/taro-weapp-2.2.10.tgz#4eea6bac5e6d3e0aedf39f480a40aecf5db35304"
1213
-  integrity sha1-TuprrF5tPgrt859ICkCuz12zUwQ=
1214
-  dependencies:
1215
-    "@tarojs/taro" "^2.2.10"
1216
-    "@tarojs/utils" "^2.2.10"
1217
-    lodash "^4.17.10"
1218
-    prop-types "^15.6.1"
1219
-
1220 1203
 "@tarojs/taro@3.0.14":
1221 1204
   version "3.0.14"
1222 1205
   resolved "https://registry.npm.taobao.org/@tarojs/taro/download/@tarojs/taro-3.0.14.tgz?cache=0&sync_timestamp=1605862215749&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Ftaro%2Fdownload%2F%40tarojs%2Ftaro-3.0.14.tgz#d6b03ccc568ba3da3d22ec424bd10228810262cf"
@@ -1225,23 +1208,6 @@
1225 1208
     "@tarojs/api" "3.0.14"
1226 1209
     "@tarojs/taro-h5" "3.0.14"
1227 1210
 
1228
-"@tarojs/taro@^2.2.10":
1229
-  version "2.2.15"
1230
-  resolved "https://registry.npm.taobao.org/@tarojs/taro/download/@tarojs/taro-2.2.15.tgz?cache=0&sync_timestamp=1605862215749&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Ftaro%2Fdownload%2F%40tarojs%2Ftaro-2.2.15.tgz#56a03df6b0f3f3b520f11f794a8c69cfebf7a060"
1231
-  integrity sha1-VqA99rDz87Ug8R95Soxpz+v3oGA=
1232
-  dependencies:
1233
-    "@tarojs/utils" "2.2.15"
1234
-
1235
-"@tarojs/utils@2.2.15":
1236
-  version "2.2.15"
1237
-  resolved "https://registry.npm.taobao.org/@tarojs/utils/download/@tarojs/utils-2.2.15.tgz#9de0a530af78accc76a91a2ad09d67a9bb3565e5"
1238
-  integrity sha1-neClMK94rMx2qRoq0J1nqbs1ZeU=
1239
-
1240
-"@tarojs/utils@^2.2.10":
1241
-  version "2.2.10"
1242
-  resolved "https://registry.npm.taobao.org/@tarojs/utils/download/@tarojs/utils-2.2.10.tgz#ddf82a77aeccfc315c2fb78b3d1c079860aed350"
1243
-  integrity sha1-3fgqd67M/DFcL7eLPRwHmGCu01A=
1244
-
1245 1211
 "@tarojs/webpack-runner@3.0.14":
1246 1212
   version "3.0.14"
1247 1213
   resolved "https://registry.npm.taobao.org/@tarojs/webpack-runner/download/@tarojs/webpack-runner-3.0.14.tgz?cache=0&sync_timestamp=1605865144538&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Fwebpack-runner%2Fdownload%2F%40tarojs%2Fwebpack-runner-3.0.14.tgz#847f250d13ce51d87fdd856f858fb3cae4ba9b82"
@@ -1975,40 +1941,6 @@ aws4@^1.8.0:
1975 1941
   resolved "https://registry.npm.taobao.org/aws4/download/aws4-1.11.0.tgz?cache=0&sync_timestamp=1604101385256&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Faws4%2Fdownload%2Faws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59"
1976 1942
   integrity sha1-1h9G2DslGSUOJ4Ta9bCUeai0HFk=
1977 1943
 
1978
-babel-code-frame@^6.26.0:
1979
-  version "6.26.0"
1980
-  resolved "https://registry.npm.taobao.org/babel-code-frame/download/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b"
1981
-  integrity sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=
1982
-  dependencies:
1983
-    chalk "^1.1.3"
1984
-    esutils "^2.0.2"
1985
-    js-tokens "^3.0.2"
1986
-
1987
-babel-core@^6.26.0:
1988
-  version "6.26.3"
1989
-  resolved "https://registry.npm.taobao.org/babel-core/download/babel-core-6.26.3.tgz#b2e2f09e342d0f0c88e2f02e067794125e75c207"
1990
-  integrity sha1-suLwnjQtDwyI4vAuBneUEl51wgc=
1991
-  dependencies:
1992
-    babel-code-frame "^6.26.0"
1993
-    babel-generator "^6.26.0"
1994
-    babel-helpers "^6.24.1"
1995
-    babel-messages "^6.23.0"
1996
-    babel-register "^6.26.0"
1997
-    babel-runtime "^6.26.0"
1998
-    babel-template "^6.26.0"
1999
-    babel-traverse "^6.26.0"
2000
-    babel-types "^6.26.0"
2001
-    babylon "^6.18.0"
2002
-    convert-source-map "^1.5.1"
2003
-    debug "^2.6.9"
2004
-    json5 "^0.5.1"
2005
-    lodash "^4.17.4"
2006
-    minimatch "^3.0.4"
2007
-    path-is-absolute "^1.0.1"
2008
-    private "^0.1.8"
2009
-    slash "^1.0.0"
2010
-    source-map "^0.5.7"
2011
-
2012 1944
 babel-eslint@^10.0.0:
2013 1945
   version "10.1.0"
2014 1946
   resolved "https://registry.npm.taobao.org/babel-eslint/download/babel-eslint-10.1.0.tgz?cache=0&sync_timestamp=1600349064486&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbabel-eslint%2Fdownload%2Fbabel-eslint-10.1.0.tgz#6968e568a910b78fb3779cdd8b6ac2f479943232"
@@ -2021,20 +1953,6 @@ babel-eslint@^10.0.0:
2021 1953
     eslint-visitor-keys "^1.0.0"
2022 1954
     resolve "^1.12.0"
2023 1955
 
2024
-babel-generator@^6.26.0:
2025
-  version "6.26.1"
2026
-  resolved "https://registry.npm.taobao.org/babel-generator/download/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90"
2027
-  integrity sha1-GERAjTuPDTWkBOp6wYDwh6YBvZA=
2028
-  dependencies:
2029
-    babel-messages "^6.23.0"
2030
-    babel-runtime "^6.26.0"
2031
-    babel-types "^6.26.0"
2032
-    detect-indent "^4.0.0"
2033
-    jsesc "^1.3.0"
2034
-    lodash "^4.17.4"
2035
-    source-map "^0.5.7"
2036
-    trim-right "^1.0.1"
2037
-
2038 1956
 babel-helper-builder-react-jsx@^6.24.1:
2039 1957
   version "6.26.0"
2040 1958
   resolved "https://registry.npm.taobao.org/babel-helper-builder-react-jsx/download/babel-helper-builder-react-jsx-6.26.0.tgz#39ff8313b75c8b65dceff1f31d383e0ff2a408a0"
@@ -2044,14 +1962,6 @@ babel-helper-builder-react-jsx@^6.24.1:
2044 1962
     babel-types "^6.26.0"
2045 1963
     esutils "^2.0.2"
2046 1964
 
2047
-babel-helpers@^6.24.1:
2048
-  version "6.24.1"
2049
-  resolved "https://registry.npm.taobao.org/babel-helpers/download/babel-helpers-6.24.1.tgz#3471de9caec388e5c850e597e58a26ddf37602b2"
2050
-  integrity sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=
2051
-  dependencies:
2052
-    babel-runtime "^6.22.0"
2053
-    babel-template "^6.24.1"
2054
-
2055 1965
 babel-loader@8.0.6:
2056 1966
   version "8.0.6"
2057 1967
   resolved "https://registry.npm.taobao.org/babel-loader/download/babel-loader-8.0.6.tgz#e33bdb6f362b03f4bb141a0c21ab87c501b70dfb"
@@ -2062,13 +1972,6 @@ babel-loader@8.0.6:
2062 1972
     mkdirp "^0.5.1"
2063 1973
     pify "^4.0.1"
2064 1974
 
2065
-babel-messages@^6.23.0:
2066
-  version "6.23.0"
2067
-  resolved "https://registry.npm.taobao.org/babel-messages/download/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e"
2068
-  integrity sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=
2069
-  dependencies:
2070
-    babel-runtime "^6.22.0"
2071
-
2072 1975
 babel-plugin-dynamic-import-node@^2.3.3:
2073 1976
   version "2.3.3"
2074 1977
   resolved "https://registry.npm.taobao.org/babel-plugin-dynamic-import-node/download/babel-plugin-dynamic-import-node-2.3.3.tgz#84fda19c976ec5c6defef57f9427b3def66e17a3"
@@ -2114,19 +2017,6 @@ babel-preset-taro@3.0.14:
2114 2017
     babel-plugin-transform-taroapi "3.0.14"
2115 2018
     core-js "^3.6.5"
2116 2019
 
2117
-babel-register@^6.26.0:
2118
-  version "6.26.0"
2119
-  resolved "https://registry.npm.taobao.org/babel-register/download/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071"
2120
-  integrity sha1-btAhFz4vy0htestFxgCahW9kcHE=
2121
-  dependencies:
2122
-    babel-core "^6.26.0"
2123
-    babel-runtime "^6.26.0"
2124
-    core-js "^2.5.0"
2125
-    home-or-tmp "^2.0.0"
2126
-    lodash "^4.17.4"
2127
-    mkdirp "^0.5.1"
2128
-    source-map-support "^0.4.15"
2129
-
2130 2020
 babel-runtime@^6.0.0, babel-runtime@^6.22.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0:
2131 2021
   version "6.26.0"
2132 2022
   resolved "https://registry.npm.taobao.org/babel-runtime/download/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
@@ -2135,32 +2025,6 @@ babel-runtime@^6.0.0, babel-runtime@^6.22.0, babel-runtime@^6.23.0, babel-runtim
2135 2025
     core-js "^2.4.0"
2136 2026
     regenerator-runtime "^0.11.0"
2137 2027
 
2138
-babel-template@^6.24.1, babel-template@^6.26.0:
2139
-  version "6.26.0"
2140
-  resolved "https://registry.npm.taobao.org/babel-template/download/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02"
2141
-  integrity sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=
2142
-  dependencies:
2143
-    babel-runtime "^6.26.0"
2144
-    babel-traverse "^6.26.0"
2145
-    babel-types "^6.26.0"
2146
-    babylon "^6.18.0"
2147
-    lodash "^4.17.4"
2148
-
2149
-babel-traverse@^6.26.0:
2150
-  version "6.26.0"
2151
-  resolved "https://registry.npm.taobao.org/babel-traverse/download/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee"
2152
-  integrity sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=
2153
-  dependencies:
2154
-    babel-code-frame "^6.26.0"
2155
-    babel-messages "^6.23.0"
2156
-    babel-runtime "^6.26.0"
2157
-    babel-types "^6.26.0"
2158
-    babylon "^6.18.0"
2159
-    debug "^2.6.8"
2160
-    globals "^9.18.0"
2161
-    invariant "^2.2.2"
2162
-    lodash "^4.17.4"
2163
-
2164 2028
 babel-types@^6.26.0:
2165 2029
   version "6.26.0"
2166 2030
   resolved "https://registry.npm.taobao.org/babel-types/download/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497"
@@ -2171,11 +2035,6 @@ babel-types@^6.26.0:
2171 2035
     lodash "^4.17.4"
2172 2036
     to-fast-properties "^1.0.3"
2173 2037
 
2174
-babylon@^6.18.0:
2175
-  version "6.18.0"
2176
-  resolved "https://registry.npm.taobao.org/babylon/download/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3"
2177
-  integrity sha1-ry87iPpvXB5MY00aD46sT1WzleM=
2178
-
2179 2038
 bail@^1.0.0:
2180 2039
   version "1.0.5"
2181 2040
   resolved "https://registry.npm.taobao.org/bail/download/bail-1.0.5.tgz#b6fa133404a392cbc1f8c4bf63f5953351e7a776"
@@ -3025,7 +2884,7 @@ content-type@~1.0.4:
3025 2884
   resolved "https://registry.npm.taobao.org/content-type/download/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b"
3026 2885
   integrity sha1-4TjMdeBAxyexlm/l5fjJruJW/js=
3027 2886
 
3028
-convert-source-map@1.7.0, convert-source-map@^1.5.1, convert-source-map@^1.7.0:
2887
+convert-source-map@1.7.0, convert-source-map@^1.7.0:
3029 2888
   version "1.7.0"
3030 2889
   resolved "https://registry.npm.taobao.org/convert-source-map/download/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442"
3031 2890
   integrity sha1-F6LLiC1/d9NJBYXizmxSRCSjpEI=
@@ -3108,7 +2967,7 @@ core-js-compat@^3.6.2:
3108 2967
     browserslist "^4.14.6"
3109 2968
     semver "7.0.0"
3110 2969
 
3111
-core-js@^2.4.0, core-js@^2.5.0:
2970
+core-js@^2.4.0:
3112 2971
   version "2.6.11"
3113 2972
   resolved "https://registry.npm.taobao.org/core-js/download/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c"
3114 2973
   integrity sha1-OIMUafmSK97Y7iHJ3EaYXgOZMIw=
@@ -3400,7 +3259,7 @@ data-urls@^1.1.0:
3400 3259
     whatwg-mimetype "^2.2.0"
3401 3260
     whatwg-url "^7.0.0"
3402 3261
 
3403
-debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.8, debug@^2.6.9:
3262
+debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.9:
3404 3263
   version "2.6.9"
3405 3264
   resolved "https://registry.npm.taobao.org/debug/download/debug-2.6.9.tgz?cache=0&sync_timestamp=1605791507452&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdebug%2Fdownload%2Fdebug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
3406 3265
   integrity sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=
@@ -3560,13 +3419,6 @@ destroy@~1.0.4:
3560 3419
   resolved "https://registry.npm.taobao.org/destroy/download/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80"
3561 3420
   integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=
3562 3421
 
3563
-detect-indent@^4.0.0:
3564
-  version "4.0.0"
3565
-  resolved "https://registry.npm.taobao.org/detect-indent/download/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208"
3566
-  integrity sha1-920GQ1LN9Docts5hnE7jqUdd4gg=
3567
-  dependencies:
3568
-    repeating "^2.0.0"
3569
-
3570 3422
 detect-node@^2.0.4:
3571 3423
   version "2.0.4"
3572 3424
   resolved "https://registry.npm.taobao.org/detect-node/download/detect-node-2.0.4.tgz#014ee8f8f669c5c58023da64b8179c083a28c46c"
@@ -4782,11 +4634,6 @@ globals@^12.1.0:
4782 4634
   dependencies:
4783 4635
     type-fest "^0.8.1"
4784 4636
 
4785
-globals@^9.18.0:
4786
-  version "9.18.0"
4787
-  resolved "https://registry.npm.taobao.org/globals/download/globals-9.18.0.tgz?cache=0&sync_timestamp=1603667223347&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fglobals%2Fdownload%2Fglobals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a"
4788
-  integrity sha1-qjiWs+abSH8X4x7SFD1pqOMMLYo=
4789
-
4790 4637
 globby@^6.1.0:
4791 4638
   version "6.1.0"
4792 4639
   resolved "https://registry.npm.taobao.org/globby/download/globby-6.1.0.tgz?cache=0&sync_timestamp=1600349143804&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fglobby%2Fdownload%2Fglobby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c"
@@ -4987,14 +4834,6 @@ hmac-drbg@^1.0.0:
4987 4834
     minimalistic-assert "^1.0.0"
4988 4835
     minimalistic-crypto-utils "^1.0.1"
4989 4836
 
4990
-home-or-tmp@^2.0.0:
4991
-  version "2.0.0"
4992
-  resolved "https://registry.npm.taobao.org/home-or-tmp/download/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8"
4993
-  integrity sha1-42w/LSyufXRqhX440Y1fMqeILbg=
4994
-  dependencies:
4995
-    os-homedir "^1.0.0"
4996
-    os-tmpdir "^1.0.1"
4997
-
4998 4837
 hosted-git-info@^2.1.4:
4999 4838
   version "2.8.8"
5000 4839
   resolved "https://registry.npm.taobao.org/hosted-git-info/download/hosted-git-info-2.8.8.tgz#7539bd4bc1e0e0a895815a2e0262420b12858488"
@@ -5790,11 +5629,6 @@ js-base64@^2.1.8, js-base64@^2.1.9:
5790 5629
   resolved "https://registry.npm.taobao.org/js-tokens/download/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
5791 5630
   integrity sha1-GSA/tZmR35jjoocFDUZHzerzJJk=
5792 5631
 
5793
-js-tokens@^3.0.2:
5794
-  version "3.0.2"
5795
-  resolved "https://registry.npm.taobao.org/js-tokens/download/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
5796
-  integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls=
5797
-
5798 5632
 js-yaml@^3.13.1:
5799 5633
   version "3.14.0"
5800 5634
   resolved "https://registry.npm.taobao.org/js-yaml/download/js-yaml-3.14.0.tgz#a7a34170f26a21bb162424d8adacb4113a69e482"
@@ -5840,11 +5674,6 @@ jsdom@^15.2.1:
5840 5674
     ws "^7.0.0"
5841 5675
     xml-name-validator "^3.0.0"
5842 5676
 
5843
-jsesc@^1.3.0:
5844
-  version "1.3.0"
5845
-  resolved "https://registry.npm.taobao.org/jsesc/download/jsesc-1.3.0.tgz?cache=0&sync_timestamp=1603891224688&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjsesc%2Fdownload%2Fjsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b"
5846
-  integrity sha1-RsP+yMGJKxKwgz25vHYiF226s0s=
5847
-
5848 5677
 jsesc@^2.5.1:
5849 5678
   version "2.5.2"
5850 5679
   resolved "https://registry.npm.taobao.org/jsesc/download/jsesc-2.5.2.tgz?cache=0&sync_timestamp=1603891198638&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjsesc%2Fdownload%2Fjsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4"
@@ -5885,7 +5714,7 @@ json3@^3.3.2:
5885 5714
   resolved "https://registry.npm.taobao.org/json3/download/json3-3.3.3.tgz#7fc10e375fc5ae42c4705a5cc0aa6f62be305b81"
5886 5715
   integrity sha1-f8EON1/FrkLEcFpcwKpvYr4wW4E=
5887 5716
 
5888
-json5@^0.5.0, json5@^0.5.1:
5717
+json5@^0.5.0:
5889 5718
   version "0.5.1"
5890 5719
   resolved "https://registry.npm.taobao.org/json5/download/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821"
5891 5720
   integrity sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=
@@ -6166,7 +5995,7 @@ lodash.sortby@^4.7.0:
6166 5995
   resolved "https://registry.npm.taobao.org/lodash.sortby/download/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
6167 5996
   integrity sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=
6168 5997
 
6169
-lodash@4.17.20, lodash@^4.0.0, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.3, lodash@^4.17.4, lodash@~4.17.10:
5998
+lodash@4.17.20, lodash@^4.0.0, lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.3, lodash@^4.17.4, lodash@~4.17.10:
6170 5999
   version "4.17.20"
6171 6000
   resolved "https://registry.npm.taobao.org/lodash/download/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
6172 6001
   integrity sha1-tEqbYpe8tpjxxRo1RaKzs2jVnFI=
@@ -7152,7 +6981,7 @@ os-homedir@^1.0.0:
7152 6981
   resolved "https://registry.npm.taobao.org/os-homedir/download/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3"
7153 6982
   integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M=
7154 6983
 
7155
-os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.2:
6984
+os-tmpdir@^1.0.0, os-tmpdir@~1.0.2:
7156 6985
   version "1.0.2"
7157 6986
   resolved "https://registry.npm.taobao.org/os-tmpdir/download/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
7158 6987
   integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=
@@ -7359,7 +7188,7 @@ path-exists@^4.0.0:
7359 7188
   resolved "https://registry.npm.taobao.org/path-exists/download/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3"
7360 7189
   integrity sha1-UTvb4tO5XXdi6METfvoZXGxhtbM=
7361 7190
 
7362
-path-is-absolute@^1.0.0, path-is-absolute@^1.0.1:
7191
+path-is-absolute@^1.0.0:
7363 7192
   version "1.0.1"
7364 7193
   resolved "https://registry.npm.taobao.org/path-is-absolute/download/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
7365 7194
   integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
@@ -7783,11 +7612,6 @@ pretty-error@^2.0.2:
7783 7612
     lodash "^4.17.20"
7784 7613
     renderkid "^2.0.4"
7785 7614
 
7786
-private@^0.1.8:
7787
-  version "0.1.8"
7788
-  resolved "https://registry.npm.taobao.org/private/download/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff"
7789
-  integrity sha1-I4Hts2ifelPWUxkAYPz4ItLzaP8=
7790
-
7791 7615
 process-nextick-args@~2.0.0:
7792 7616
   version "2.0.1"
7793 7617
   resolved "https://registry.npm.taobao.org/process-nextick-args/download/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"
@@ -7815,7 +7639,7 @@ promise@^7.1.1:
7815 7639
   dependencies:
7816 7640
     asap "~2.0.3"
7817 7641
 
7818
-prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2:
7642
+prop-types@^15.6.2, prop-types@^15.7.2:
7819 7643
   version "15.7.2"
7820 7644
   resolved "https://registry.npm.taobao.org/prop-types/download/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5"
7821 7645
   integrity sha1-UsQedbjIfnK52TYOAga5ncv/psU=
@@ -8927,13 +8751,6 @@ source-map-resolve@^0.5.0, source-map-resolve@^0.5.2:
8927 8751
     source-map-url "^0.4.0"
8928 8752
     urix "^0.1.0"
8929 8753
 
8930
-source-map-support@^0.4.15:
8931
-  version "0.4.18"
8932
-  resolved "https://registry.npm.taobao.org/source-map-support/download/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f"
8933
-  integrity sha1-Aoam3ovkJkEzhZTpfM6nXwosWF8=
8934
-  dependencies:
8935
-    source-map "^0.5.6"
8936
-
8937 8754
 source-map-support@^0.5.16, source-map-support@~0.5.12:
8938 8755
   version "0.5.19"
8939 8756
   resolved "https://registry.npm.taobao.org/source-map-support/download/source-map-support-0.5.19.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsource-map-support%2Fdownload%2Fsource-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"
@@ -8959,7 +8776,7 @@ source-map@^0.4.2:
8959 8776
   dependencies:
8960 8777
     amdefine ">=0.0.4"
8961 8778
 
8962
-source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@^0.5.7:
8779
+source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6:
8963 8780
   version "0.5.7"
8964 8781
   resolved "https://registry.npm.taobao.org/source-map/download/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
8965 8782
   integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=
@@ -9678,11 +9495,6 @@ trim-newlines@^2.0.0:
9678 9495
   resolved "https://registry.npm.taobao.org/trim-newlines/download/trim-newlines-2.0.0.tgz#b403d0b91be50c331dfc4b82eeceb22c3de16d20"
9679 9496
   integrity sha1-tAPQuRvlDDMd/EuC7s6yLD3hbSA=
9680 9497
 
9681
-trim-right@^1.0.1:
9682
-  version "1.0.1"
9683
-  resolved "https://registry.npm.taobao.org/trim-right/download/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003"
9684
-  integrity sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=
9685
-
9686 9498
 trim-trailing-lines@^1.0.0:
9687 9499
   version "1.1.4"
9688 9500
   resolved "https://registry.npm.taobao.org/trim-trailing-lines/download/trim-trailing-lines-1.1.4.tgz#bd4abbec7cc880462f10b2c8b5ce1d8d1ec7c2c0"