longzhicheng пре 1 година
родитељ
комит
cbbc30c68f
5 измењених фајлова са 8954 додато и 6258 уклоњено
  1. 1 1
      package.json
  2. 8800 6150
      pnpm-lock.yaml
  3. 10 107
      src/auto-imports.d.ts
  4. BIN
      src/static/img/jd_bg.png
  5. 143 0
      uni-pages.d.ts

+ 1 - 1
package.json

@@ -60,7 +60,7 @@
60 60
     "lodash-es": "^4.17.21",
61 61
     "mp-html": "^2.4.2",
62 62
     "nutui-uniapp": "^1.1.8",
63
-    "pinia": "^2.0.36",
63
+    "pinia": "2.0.36",
64 64
     "sass": "^1.64.2",
65 65
     "vue": "^3.3.4",
66 66
     "vue-i18n": "^9.2.2"

Разлика између датотеке није приказан због своје велике величине
+ 8800 - 6150
pnpm-lock.yaml


+ 10 - 107
src/auto-imports.d.ts

@@ -69,6 +69,7 @@ declare global {
69 69
   const onUnload: typeof import('@dcloudio/uni-app')['onUnload']
70 70
   const onUnmounted: typeof import('vue')['onUnmounted']
71 71
   const onUpdated: typeof import('vue')['onUpdated']
72
+  const onWatcherCleanup: typeof import('vue')['onWatcherCleanup']
72 73
   const provide: typeof import('vue')['provide']
73 74
   const reactive: typeof import('vue')['reactive']
74 75
   const readonly: typeof import('vue')['readonly']
@@ -96,10 +97,13 @@ declare global {
96 97
   const useCustomStyleProp: typeof import('./composables/useProps')['useCustomStyleProp']
97 98
   const useDacangStore: typeof import('./stores/dacangStore')['useDacangStore']
98 99
   const useDirectionProp: typeof import('./composables/useProps')['useDirectionProp']
100
+  const useId: typeof import('vue')['useId']
101
+  const useModel: typeof import('vue')['useModel']
99 102
   const usePageStore: typeof import('./stores/page')['usePageStore']
100 103
   const usePageStoreWidthOut: typeof import('./stores/page')['usePageStoreWidthOut']
101 104
   const useSizeProp: typeof import('./composables/useProps')['useSizeProp']
102 105
   const useSlots: typeof import('vue')['useSlots']
106
+  const useTemplateRef: typeof import('vue')['useTemplateRef']
103 107
   const useTypeProp: typeof import('./composables/useProps')['useTypeProp']
104 108
   const useUserStore: typeof import('./stores/userStore')['useUserStore']
105 109
   const useVariantProp: typeof import('./composables/useProps')['useVariantProp']
@@ -111,7 +115,8 @@ declare global {
111 115
 // for type re-export
112 116
 declare global {
113 117
   // @ts-ignore
114
-  export type { Component, ComponentPublicInstance, ComputedRef, InjectionKey, PropType, Ref, VNode } from 'vue'
118
+  export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
119
+  import('vue')
115 120
 }
116 121
 // for vue template auto import
117 122
 import { UnwrapRef } from 'vue'
@@ -181,6 +186,7 @@ declare module 'vue' {
181 186
     readonly onUnload: UnwrapRef<typeof import('@dcloudio/uni-app')['onUnload']>
182 187
     readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
183 188
     readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
189
+    readonly onWatcherCleanup: UnwrapRef<typeof import('vue')['onWatcherCleanup']>
184 190
     readonly provide: UnwrapRef<typeof import('vue')['provide']>
185 191
     readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
186 192
     readonly readonly: UnwrapRef<typeof import('vue')['readonly']>
@@ -208,116 +214,13 @@ declare module 'vue' {
208 214
     readonly useCustomStyleProp: UnwrapRef<typeof import('./composables/useProps')['useCustomStyleProp']>
209 215
     readonly useDacangStore: UnwrapRef<typeof import('./stores/dacangStore')['useDacangStore']>
210 216
     readonly useDirectionProp: UnwrapRef<typeof import('./composables/useProps')['useDirectionProp']>
217
+    readonly useId: UnwrapRef<typeof import('vue')['useId']>
218
+    readonly useModel: UnwrapRef<typeof import('vue')['useModel']>
211 219
     readonly usePageStore: UnwrapRef<typeof import('./stores/page')['usePageStore']>
212 220
     readonly usePageStoreWidthOut: UnwrapRef<typeof import('./stores/page')['usePageStoreWidthOut']>
213 221
     readonly useSizeProp: UnwrapRef<typeof import('./composables/useProps')['useSizeProp']>
214 222
     readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']>
215
-    readonly useTypeProp: UnwrapRef<typeof import('./composables/useProps')['useTypeProp']>
216
-    readonly useUserStore: UnwrapRef<typeof import('./stores/userStore')['useUserStore']>
217
-    readonly useVariantProp: UnwrapRef<typeof import('./composables/useProps')['useVariantProp']>
218
-    readonly watch: UnwrapRef<typeof import('vue')['watch']>
219
-    readonly watchEffect: UnwrapRef<typeof import('vue')['watchEffect']>
220
-    readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']>
221
-    readonly watchSyncEffect: UnwrapRef<typeof import('vue')['watchSyncEffect']>
222
-  }
223
-}
224
-declare module '@vue/runtime-core' {
225
-  interface ComponentCustomProperties {
226
-    readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
227
-    readonly PositionProp: UnwrapRef<typeof import('./composables/useProps')['PositionProp']>
228
-    readonly acceptHMRUpdate: UnwrapRef<typeof import('pinia')['acceptHMRUpdate']>
229
-    readonly computed: UnwrapRef<typeof import('vue')['computed']>
230
-    readonly createApp: UnwrapRef<typeof import('vue')['createApp']>
231
-    readonly createPinia: UnwrapRef<typeof import('pinia')['createPinia']>
232
-    readonly customRef: UnwrapRef<typeof import('vue')['customRef']>
233
-    readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']>
234
-    readonly defineComponent: UnwrapRef<typeof import('vue')['defineComponent']>
235
-    readonly defineStore: UnwrapRef<typeof import('pinia')['defineStore']>
236
-    readonly effectScope: UnwrapRef<typeof import('vue')['effectScope']>
237
-    readonly getActivePinia: UnwrapRef<typeof import('pinia')['getActivePinia']>
238
-    readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>
239
-    readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
240
-    readonly h: UnwrapRef<typeof import('vue')['h']>
241
-    readonly inject: UnwrapRef<typeof import('vue')['inject']>
242
-    readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>
243
-    readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
244
-    readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']>
245
-    readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
246
-    readonly mapActions: UnwrapRef<typeof import('pinia')['mapActions']>
247
-    readonly mapGetters: UnwrapRef<typeof import('pinia')['mapGetters']>
248
-    readonly mapState: UnwrapRef<typeof import('pinia')['mapState']>
249
-    readonly mapStores: UnwrapRef<typeof import('pinia')['mapStores']>
250
-    readonly mapWritableState: UnwrapRef<typeof import('pinia')['mapWritableState']>
251
-    readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>
252
-    readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
253
-    readonly onActivated: UnwrapRef<typeof import('vue')['onActivated']>
254
-    readonly onAddToFavorites: UnwrapRef<typeof import('@dcloudio/uni-app')['onAddToFavorites']>
255
-    readonly onBackPress: UnwrapRef<typeof import('@dcloudio/uni-app')['onBackPress']>
256
-    readonly onBeforeMount: UnwrapRef<typeof import('vue')['onBeforeMount']>
257
-    readonly onBeforeUnmount: UnwrapRef<typeof import('vue')['onBeforeUnmount']>
258
-    readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']>
259
-    readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']>
260
-    readonly onError: UnwrapRef<typeof import('@dcloudio/uni-app')['onError']>
261
-    readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']>
262
-    readonly onHide: UnwrapRef<typeof import('@dcloudio/uni-app')['onHide']>
263
-    readonly onLaunch: UnwrapRef<typeof import('@dcloudio/uni-app')['onLaunch']>
264
-    readonly onLoad: UnwrapRef<typeof import('@dcloudio/uni-app')['onLoad']>
265
-    readonly onMounted: UnwrapRef<typeof import('vue')['onMounted']>
266
-    readonly onNavigationBarButtonTap: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarButtonTap']>
267
-    readonly onNavigationBarSearchInputChanged: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputChanged']>
268
-    readonly onNavigationBarSearchInputClicked: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputClicked']>
269
-    readonly onNavigationBarSearchInputConfirmed: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputConfirmed']>
270
-    readonly onNavigationBarSearchInputFocusChanged: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputFocusChanged']>
271
-    readonly onPageNotFound: UnwrapRef<typeof import('@dcloudio/uni-app')['onPageNotFound']>
272
-    readonly onPageScroll: UnwrapRef<typeof import('@dcloudio/uni-app')['onPageScroll']>
273
-    readonly onPullDownRefresh: UnwrapRef<typeof import('@dcloudio/uni-app')['onPullDownRefresh']>
274
-    readonly onReachBottom: UnwrapRef<typeof import('@dcloudio/uni-app')['onReachBottom']>
275
-    readonly onReady: UnwrapRef<typeof import('@dcloudio/uni-app')['onReady']>
276
-    readonly onRenderTracked: UnwrapRef<typeof import('vue')['onRenderTracked']>
277
-    readonly onRenderTriggered: UnwrapRef<typeof import('vue')['onRenderTriggered']>
278
-    readonly onResize: UnwrapRef<typeof import('@dcloudio/uni-app')['onResize']>
279
-    readonly onScopeDispose: UnwrapRef<typeof import('vue')['onScopeDispose']>
280
-    readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']>
281
-    readonly onShareAppMessage: UnwrapRef<typeof import('@dcloudio/uni-app')['onShareAppMessage']>
282
-    readonly onShareTimeline: UnwrapRef<typeof import('@dcloudio/uni-app')['onShareTimeline']>
283
-    readonly onShow: UnwrapRef<typeof import('@dcloudio/uni-app')['onShow']>
284
-    readonly onTabItemTap: UnwrapRef<typeof import('@dcloudio/uni-app')['onTabItemTap']>
285
-    readonly onThemeChange: UnwrapRef<typeof import('@dcloudio/uni-app')['onThemeChange']>
286
-    readonly onUnhandledRejection: UnwrapRef<typeof import('@dcloudio/uni-app')['onUnhandledRejection']>
287
-    readonly onUnload: UnwrapRef<typeof import('@dcloudio/uni-app')['onUnload']>
288
-    readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
289
-    readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
290
-    readonly provide: UnwrapRef<typeof import('vue')['provide']>
291
-    readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
292
-    readonly readonly: UnwrapRef<typeof import('vue')['readonly']>
293
-    readonly ref: UnwrapRef<typeof import('vue')['ref']>
294
-    readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']>
295
-    readonly setActivePinia: UnwrapRef<typeof import('pinia')['setActivePinia']>
296
-    readonly setMapStoreSuffix: UnwrapRef<typeof import('pinia')['setMapStoreSuffix']>
297
-    readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']>
298
-    readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']>
299
-    readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']>
300
-    readonly storeToRefs: UnwrapRef<typeof import('pinia')['storeToRefs']>
301
-    readonly toRaw: UnwrapRef<typeof import('vue')['toRaw']>
302
-    readonly toRef: UnwrapRef<typeof import('vue')['toRef']>
303
-    readonly toRefs: UnwrapRef<typeof import('vue')['toRefs']>
304
-    readonly toValue: UnwrapRef<typeof import('vue')['toValue']>
305
-    readonly triggerRef: UnwrapRef<typeof import('vue')['triggerRef']>
306
-    readonly unref: UnwrapRef<typeof import('vue')['unref']>
307
-    readonly useAddressStore: UnwrapRef<typeof import('./stores/addressStore')['useAddressStore']>
308
-    readonly useAppStore: UnwrapRef<typeof import('./stores/app')['useAppStore']>
309
-    readonly useAppStoreWidthOut: UnwrapRef<typeof import('./stores/app')['useAppStoreWidthOut']>
310
-    readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']>
311
-    readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']>
312
-    readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']>
313
-    readonly useCustomClassProp: UnwrapRef<typeof import('./composables/useProps')['useCustomClassProp']>
314
-    readonly useCustomStyleProp: UnwrapRef<typeof import('./composables/useProps')['useCustomStyleProp']>
315
-    readonly useDacangStore: UnwrapRef<typeof import('./stores/dacangStore')['useDacangStore']>
316
-    readonly useDirectionProp: UnwrapRef<typeof import('./composables/useProps')['useDirectionProp']>
317
-    readonly usePageStore: UnwrapRef<typeof import('./stores/page')['usePageStore']>
318
-    readonly usePageStoreWidthOut: UnwrapRef<typeof import('./stores/page')['usePageStoreWidthOut']>
319
-    readonly useSizeProp: UnwrapRef<typeof import('./composables/useProps')['useSizeProp']>
320
-    readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']>
223
+    readonly useTemplateRef: UnwrapRef<typeof import('vue')['useTemplateRef']>
321 224
     readonly useTypeProp: UnwrapRef<typeof import('./composables/useProps')['useTypeProp']>
322 225
     readonly useUserStore: UnwrapRef<typeof import('./stores/userStore')['useUserStore']>
323 226
     readonly useVariantProp: UnwrapRef<typeof import('./composables/useProps')['useVariantProp']>

BIN
src/static/img/jd_bg.png


+ 143 - 0
uni-pages.d.ts

@@ -0,0 +1,143 @@
1
+/* eslint-disable */
2
+/* prettier-ignore */
3
+// @ts-nocheck
4
+// Generated by vite-plugin-uni-pages
5
+
6
+interface NavigateToOptions {
7
+  url: "/pages/home/index" |
8
+       "/pages/account-cancel/index" |
9
+       "/pages/accumulate-income/index" |
10
+       "/pages/after-sales-order-list/index" |
11
+       "/pages/already-realname/index" |
12
+       "/pages/announcement/index" |
13
+       "/pages/annuity/index" |
14
+       "/pages/article/detail" |
15
+       "/pages/article/list" |
16
+       "/pages/bangfuzhongxin/index" |
17
+       "/pages/feedback/index" |
18
+       "/pages/guest_member_new/index" |
19
+       "/pages/help-center/index" |
20
+       "/pages/immediate-withdrawal/index" |
21
+       "/pages/invite-friends/index" |
22
+       "/pages/invite-partners/index" |
23
+       "/pages/message/index" |
24
+       "/pages/miaosha/index-bak-old" |
25
+       "/pages/miaosha/index-bak" |
26
+       "/pages/miaosha/index" |
27
+       "/pages/mine/my-address" |
28
+       "/pages/my-integral/detail" |
29
+       "/pages/my-integral/index" |
30
+       "/pages/my-integral/meet-scan-code" |
31
+       "/pages/my-integral/user-invation" |
32
+       "/pages/my-invitation/index" |
33
+       "/pages/my-profile/index" |
34
+       "/pages/my-relation-merchant/index" |
35
+       "/pages/my-relation-product/index" |
36
+       "/pages/my-reply/index" |
37
+       "/pages/my-rules/index" |
38
+       "/pages/order/comment" |
39
+       "/pages/order/detail" |
40
+       "/pages/order/index" |
41
+       "/pages/order/logistics" |
42
+       "/pages/order/obligation-detail" |
43
+       "/pages/order/third-order-temp" |
44
+       "/pages/order/third-order" |
45
+       "/pages/order-confirm/index" |
46
+       "/pages/order_addcart/index-bak" |
47
+       "/pages/order_addcart/index-new" |
48
+       "/pages/order_addcart/index" |
49
+       "/pages/payment/index" |
50
+       "/pages/payment/success" |
51
+       "/pages/pension_account/index" |
52
+       "/pages/pension_choice_platform/index" |
53
+       "/pages/pension_record/detail" |
54
+       "/pages/pension_record/index" |
55
+       "/pages/pension_record/list" |
56
+       "/pages/personalization-options/index" |
57
+       "/pages/product/dingshenglianmeng" |
58
+       "/pages/product/integral" |
59
+       "/pages/product/zibuyangsheng" |
60
+       "/pages/real-name-authentication/index" |
61
+       "/pages/red-integral/index" |
62
+       "/pages/refund/detail" |
63
+       "/pages/refund/drawback" |
64
+       "/pages/refund/index" |
65
+       "/pages/refund/option" |
66
+       "/pages/revenue-sharing/detail" |
67
+       "/pages/revenue-sharing/index" |
68
+       "/pages/search/index-bak" |
69
+       "/pages/search/index" |
70
+       "/pages/search/search-dacang" |
71
+       "/pages/setting/index" |
72
+       "/pages/share-the-product/index" |
73
+       "/pages/submit-order/index" |
74
+       "/pages/third_party_binding/index" |
75
+       "/pages/to-coupon/to-coupon" |
76
+       "/pages/user/index" |
77
+       "/pages/version-update/index" |
78
+       "/pages/vip/index" |
79
+       "/pages/webview/agreement" |
80
+       "/pages/withdrawal-record/index" |
81
+       "/pages/zibuyangsheng/index" |
82
+       "/pages/dacang/list/index" |
83
+       "/pages/home/components/announcement" |
84
+       "/pages/home/components/banner" |
85
+       "/pages/home/components/header" |
86
+       "/pages/home/components/navs" |
87
+       "/pages/home/components/product-list" |
88
+       "/pages/order/components/AllItemList" |
89
+       "/pages/order/components/ObligationOrderList" |
90
+       "/pages/order/components/Order2List" |
91
+       "/pages/order/components/Order3List" |
92
+       "/pages/order/components/Order4List" |
93
+       "/pages/order/components/OrderItem" |
94
+       "/pages/order/components/OrderObligationItem" |
95
+       "/pages/order/components/OtherOrderItem" |
96
+       "/pages/order/components/RefundOrderItem" |
97
+       "/pages/real-name-authentication/components/authentication-success" |
98
+       "/pages/refund/components/GoodStatusPopup" |
99
+       "/pages/refund/components/RefundReasonPopup" |
100
+       "/pages/refund/scancode/kdlist" |
101
+       "/pages/refund/scancode/scancode" |
102
+       "/pages/refund/scancode/xsjllist" |
103
+       "/pages/store/home/index" |
104
+       "/pages/store/home/search" |
105
+       "/pages/store/nearby/index-bak" |
106
+       "/pages/store/nearby/index" |
107
+       "/pages/store/product/detail" |
108
+       "/pages/store/product/dy-live-product-list" |
109
+       "/pages/store/product/dy-live" |
110
+       "/pages/store/product/other" |
111
+       "/pages/user/about/index" |
112
+       "/pages/user/address/create-4-level" |
113
+       "/pages/user/address/create-five" |
114
+       "/pages/user/address/create" |
115
+       "/pages/user/address/edit" |
116
+       "/pages/user/address/index" |
117
+       "/pages/user/address/order-address" |
118
+       "/pages/user/login/bind-phone" |
119
+       "/pages/user/login/index" |
120
+       "/pages/user/login/invite-login" |
121
+       "/pages/user/login/other-phone" |
122
+       "/pages/user/login/register-agreement" |
123
+       "/pages/user/login/user-agreement" |
124
+       "/pages/dacang/list/components/banner" |
125
+       "/pages/dacang/list/components/dacang-header" |
126
+       "/pages/store/home/components/MerchantHeader" |
127
+       "/pages/store/home/components/MerchantProductCard" |
128
+       "/pages/store/home/components/MerchantProductList";
129
+}
130
+interface RedirectToOptions extends NavigateToOptions {}
131
+
132
+interface SwitchTabOptions {
133
+  url: "/pages/home/index" | "/pages/store/nearby/index" | "/pages/dacang/list/index" | "/pages/order_addcart/index" | "/pages/user/index"
134
+}
135
+
136
+type ReLaunchOptions = NavigateToOptions | SwitchTabOptions;
137
+
138
+declare interface Uni {
139
+  navigateTo(options: UniNamespace.NavigateToOptions & NavigateToOptions): void;
140
+  redirectTo(options: UniNamespace.RedirectToOptions & RedirectToOptions): void;
141
+  switchTab(options: UniNamespace.SwitchTabOptions & SwitchTabOptions): void;
142
+  reLaunch(options: UniNamespace.ReLaunchOptions & ReLaunchOptions): void;
143
+}