li.shaoyi hai 3 meses
pai
achega
7f3eebf5c8

+ 17 - 1
oem/snhl/config/router.json

@@ -74,7 +74,23 @@
             },
             {
                 "authType": 2,
-                "sort": 6,
+                "sort": 8,
+                "title": "积分信息",
+                "code": "bottom_points",
+                "component": "views/footer/index.vue",
+                "children": [
+                    {
+                        "authType": 2,
+                        "sort": 1,
+                        "title": "我的积分",
+                        "code": "bottom_points_account",
+                        "component": "views/footer/points/account/index.vue"
+                    }
+                ]
+            },
+            {
+                "authType": 2,
+                "sort": 9,
                 "title": "资金信息",
                 "code": "bottom_capital",
                 "component": "views/footer/index.vue",

+ 16 - 0
public/config/router.json

@@ -283,6 +283,22 @@
             {
                 "authType": 2,
                 "sort": 8,
+                "title": "积分信息",
+                "code": "bottom_points",
+                "component": "views/footer/index.vue",
+                "children": [
+                    {
+                        "authType": 2,
+                        "sort": 1,
+                        "title": "我的积分",
+                        "code": "bottom_points_account",
+                        "component": "views/footer/points/account/index.vue"
+                    }
+                ]
+            },
+            {
+                "authType": 2,
+                "sort": 9,
                 "title": "pcroute.bottom.bottom_capital",
                 "code": "bottom_capital",
                 "component": "views/footer/index.vue",

+ 11 - 0
src/packages/mobile/router/index.ts

@@ -268,6 +268,17 @@ const routes: RouteRecordRaw[] = [
     ]
   },
   {
+    path: '/points',
+    component: Page,
+    children: [
+      {
+        path: 'account',
+        name: 'points-account',
+        component: () => import('../views/points/account/index.vue'),
+      }
+    ]
+  },
+  {
     path: '/rules',
     component: Page,
     children: [

+ 3 - 0
src/packages/mobile/views/mine/Index.vue

@@ -87,6 +87,9 @@
                 <li @click="routerTo('order-inout')">
                     <Iconfont label-direction="bottom" icon="g-icon-inout--line">{{ $t('mine.positiontransfer') }}</Iconfont>
                 </li>
+                <li @click="routerTo('points-account')">
+                    <Iconfont label-direction="bottom" icon="g-icon-swap--line">积分信息</Iconfont>
+                </li>
             </ul>
         </app-block>
         <app-block class="g-navmenu">

+ 10 - 0
src/packages/mobile/views/points/account/index.vue

@@ -0,0 +1,10 @@
+<template>
+    <app-view>
+        <template #header>
+            <app-navbar title="积分信息" />
+        </template>
+    </app-view>
+</template>
+
+<script lang="ts" setup>
+</script>

+ 9 - 0
src/packages/pc/views/footer/points/account/index.vue

@@ -0,0 +1,9 @@
+<!-- 积分信息-我的积分 -->
+<template>
+    <app-table>
+    </app-table>
+</template>
+
+<script lang="ts" setup>
+import AppTable from '@pc/components/base/table/index.vue'
+</script>

+ 11 - 0
src/packages/snhl/router/index.ts

@@ -217,6 +217,17 @@ const routes: Array<RouteRecordRaw> = [
     ]
   },
   {
+    path: '/points',
+    component: Page,
+    children: [
+      {
+        path: 'account',
+        name: 'points-account',
+        component: () => import('@mobile/views/points/account/index.vue'),
+      }
+    ]
+  },
+  {
     path: '/mine',
     component: Page,
     children: [

+ 3 - 0
src/packages/snhl/views/mine/index.vue

@@ -79,6 +79,9 @@
                 <li @click="routerTo('order-delivery')">
                     <Iconfont label-direction="bottom" icon="g-icon-delivery--line">{{ $t('mine.delivery') }}</Iconfont>
                 </li>
+                <li @click="routerTo('points-account')">
+                    <Iconfont label-direction="bottom" icon="g-icon-swap--line">积分信息</Iconfont>
+                </li>
             </ul>
         </app-block>
         <app-block class="g-navmenu">