Browse Source

✨ feat: 美化部分页面、添加下载页面

Pchen. 10 months ago
parent
commit
b98ad9c1a3

+ 10 - 0
src/components/Navbar/index.vue

@@ -20,6 +20,16 @@
         </a-tooltip>
       </li>
 
+      <li v-if="!isElectron()">
+        <a-tooltip content="下载专区">
+          <a-button class="nav-btn" type="outline" :shape="'circle'" @click="$router.push('/download/down')">
+            <template #icon>
+              <icon-download />
+            </template>
+          </a-button>
+        </a-tooltip>
+      </li>
+
       <li v-if="avatar">
         <a-dropdown trigger="hover">
           <a-avatar class="nav-btn" :size="32" :style="{ marginRight: '8px', cursor: 'pointer' }">

+ 1 - 1
src/pages/Main/Main.vue

@@ -17,7 +17,7 @@
         <Section2 />
     </div>
     <div class="footer">
-        <span>© {{ new Date().getFullYear() }} CTBU_RunForge</span>
+        <span>© {{ new Date().getFullYear() }} RunForge - 自助乐跑平台</span>
     </div>
 
 </template>

+ 1 - 1
src/pages/Main/components/center.vue

@@ -1,7 +1,7 @@
 <template>
     <div class="center">
         <h1>RunForge</h1>
-        <h2>—— 让跑步的意义由技术重新定义</h2>
+        <h2>—— 智能自助校园乐跑平台</h2>
         <div class="animated-button" @click="$router.push('/lepao')">
             <span>立即体验</span>
         </div>

+ 1 - 1
src/pages/Main/components/section2.vue

@@ -39,7 +39,7 @@ const cards = [
     {
         title: '自由跑区与贴心服务',
         icon: new URL('@/assets/img/homePage/icons/quality.svg', import.meta.url).href,
-        dec: '支持自定义跑步区域,注册即送免费乐跑,体验便捷又人性化',
+        dec: '支持自定义跑步区域与乐跑时段,体验便捷又人性化',
         img: new URL('https://cloud.vite.net.cn/view.php/6cf4d3d8f5d9e6b41c525541c8949329.png').href,
         reverse: false
     }

File diff suppressed because it is too large
+ 68 - 0
src/pages/download/index.vue


+ 1 - 1
src/pages/openProxy/index.vue

@@ -9,7 +9,7 @@
                     </a-space>
                 </template>
             </a-result>
-            <a-result status="success" title="启动命令已发送" subtitle="请根据下方输出进行操作,更新一个账号后若还要更新" v-else>
+            <a-result status="success" title="启动命令已发送" subtitle="请根据下方输出进行操作" v-else>
                 <template #extra>
                     <a-space>
                         <a-button type='primary' @click="closeProxy" :loading="loading">关闭登录器</a-button>

+ 1 - 1
src/pages/service/orderList.vue

@@ -1,6 +1,6 @@
 <template>
     <div class="container">
-        <Breadcrumb :items="['售后服务', '工单列表']" />
+        <Breadcrumb :items="['售后服务', '我的工单']" />
 
         <a-card title="工单列表">
             <a-button type="primary" size="large" @click="$router.push('/service/createOrder')">

+ 1 - 0
src/pages/store/orders/orderDetail/index.vue

@@ -32,6 +32,7 @@ import { useRoute } from 'vue-router'
 import { Notification } from '@arco-design/web-vue'
 import { Message } from '@arco-design/web-vue'
 import { IconQq,IconWechatpay, IconAlipayCircle } from '@arco-design/web-vue/es/icon'
+
 const route = useRoute()
 const { id } = route.params
 

+ 20 - 0
src/router/index.js

@@ -183,6 +183,26 @@ const routes = [
             }
         ]
     },
+    {
+        path: "/download",
+        name: "download",
+        component: DEFAULT_LAYOUT,
+        meta: {
+            title: '下载专区',
+            onlyWeb: true,
+            icon: 'icon-download'
+        },
+        children: [
+            {
+                path: 'down',
+                name: 'download.down',
+                component: () => import('../pages/download/index.vue'),
+                meta: {
+                    title: '客户端下载'
+                }
+            }
+        ]
+    },
     {
         path: "/admin",
         name: 'admin',

Some files were not shown because too many files changed in this diff