Selaa lähdekoodia

```
feat(pages): 添加加油子包页面配置

添加了加油子包的页面配置,包括通用标签页和网页视图页面,
同时更新了uni-pages.d.ts中的类型定义以支持新的页面路径。

BREAKING CHANGE: 移除了WdCurtain组件的类型声明
```

zhangtao 1 päivä sitten
vanhempi
commit
d1a1014b72
3 muutettua tiedostoa jossa 24 lisäystä ja 2 poistoa
  1. 0 1
      src/components.d.ts
  2. 21 0
      src/pages.json
  3. 3 1
      src/uni-pages.d.ts

+ 0 - 1
src/components.d.ts

@@ -25,7 +25,6 @@ declare module 'vue' {
     WdCircle: typeof import('wot-design-uni/components/wd-circle/wd-circle.vue')['default']
     WdConfigProvider: typeof import('wot-design-uni/components/wd-config-provider/wd-config-provider.vue')['default']
     WdCountDown: typeof import('wot-design-uni/components/wd-count-down/wd-count-down.vue')['default']
-    WdCurtain: typeof import('wot-design-uni/components/wd-curtain/wd-curtain.vue')['default']
     WdDivider: typeof import('wot-design-uni/components/wd-divider/wd-divider.vue')['default']
     WdIcon: typeof import('wot-design-uni/components/wd-icon/wd-icon.vue')['default']
     WdInput: typeof import('wot-design-uni/components/wd-input/wd-input.vue')['default']

+ 21 - 0
src/pages.json

@@ -576,6 +576,27 @@
           }
         }
       ]
+    },
+    {
+      "root": "subPack-refueling",
+      "pages": [
+        {
+          "path": "commonTab/index",
+          "name": "refueling-tabbar",
+          "islogin": false,
+          "style": {
+            "navigationBarTitleText": "加油"
+          }
+        },
+        {
+          "path": "webView/index",
+          "name": "refueling-webview",
+          "islogin": false,
+          "style": {
+            "navigationBarTitleText": "支付"
+          }
+        }
+      ]
     }
   ]
 }

+ 3 - 1
src/uni-pages.d.ts

@@ -54,7 +54,9 @@ interface NavigateToOptions {
        "/subPack-djk/goodsinfo/index" |
        "/subPack-djk/orderDetaile/index" |
        "/subPack-djk/shopinfo/index" |
-       "/subPack-djk/welfare/index";
+       "/subPack-djk/welfare/index" |
+       "/subPack-refueling/commonTab/index" |
+       "/subPack-refueling/webView/index";
 }
 interface RedirectToOptions extends NavigateToOptions {}