Przeglądaj źródła

refactor(core): 移除景点子包相关页面及样式调整

- 从components.d.ts中删除WdCalendarView组件声明
- 从pages.json中移除subPack-attractions子包及其所有页面配置
- 修改plate组件样式,切换less为scss预处理器
- 修正plate组件中calc函数写法的语法错误
- 从uni-pages.d.ts中移除与景点子包相关的路由声明
zhangtao 15 godzin temu
rodzic
commit
9c189f0a7b

+ 0 - 1
src/components.d.ts

@@ -17,7 +17,6 @@ declare module 'vue' {
     WdActionSheet: typeof import('wot-design-uni/components/wd-action-sheet/wd-action-sheet.vue')['default']
     WdBadge: typeof import('wot-design-uni/components/wd-badge/wd-badge.vue')['default']
     WdButton: typeof import('wot-design-uni/components/wd-button/wd-button.vue')['default']
-    WdCalendarView: typeof import('wot-design-uni/components/wd-calendar-view/wd-calendar-view.vue')['default']
     WdCard: typeof import('wot-design-uni/components/wd-card/wd-card.vue')['default']
     WdCell: typeof import('wot-design-uni/components/wd-cell/wd-cell.vue')['default']
     WdCellGroup: typeof import('wot-design-uni/components/wd-cell-group/wd-cell-group.vue')['default']

+ 0 - 31
src/pages.json

@@ -648,37 +648,6 @@
           }
         }
       ]
-    },
-    {
-      "root": "subPack-attractions",
-      "pages": [
-        {
-          "path": "attractionsDetail/attractionsDetail",
-          "name": "attractions-detail",
-          "islogin": false,
-          "style": {
-            "navigationBarTitleText": "",
-            "navigationStyle": "custom"
-          }
-        },
-        {
-          "path": "attractionsReservation/attractionsReservation",
-          "name": "attractions-reservation-info",
-          "islogin": true,
-          "style": {
-            "navigationBarTitleText": "预定信息"
-          }
-        },
-        {
-          "path": "commonTab/index",
-          "name": "attractions-tabbar",
-          "islogin": false,
-          "style": {
-            "navigationBarTitleText": "",
-            "navigationStyle": "custom"
-          }
-        }
-      ]
     }
   ]
 }

+ 2 - 2
src/subPack-charge/components/plate/index.vue

@@ -278,7 +278,7 @@ watch(() => props.plateNumber, (newVal) => {
   </view>
 </template>
 
-<style scoped lang='less'>
+<style scoped lang='scss'>
     .plate {
         display: flex;
         justify-content: space-between;
@@ -352,7 +352,7 @@ watch(() => props.plateNumber, (newVal) => {
             padding: 0 19rpx 20rpx;
             .item {
                 display: inline-block;
-                width: calc(~"(100% - 72rpx) / 10");
+                width: calc((100% - 72rpx) / 10);
                 height: 84rpx;
                 margin-right: 8rpx;
                 margin-bottom: 8rpx;

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

@@ -62,10 +62,7 @@ interface NavigateToOptions {
        "/subPack-djk/welfare/index" |
        "/subPack-refueling/commonTab/index" |
        "/subPack-refueling/orderDetaile/index" |
-       "/subPack-refueling/webView/index" |
-       "/subPack-attractions/attractionsDetail/attractionsDetail" |
-       "/subPack-attractions/attractionsReservation/attractionsReservation" |
-       "/subPack-attractions/commonTab/index";
+       "/subPack-refueling/webView/index";
 }
 interface RedirectToOptions extends NavigateToOptions {}