Răsfoiți Sursa

feat(页面): 添加关于页面的标题并调整卡片样式

为关于页面添加动态标题 'DDAC - 了解我们',并调整 DCard 组件的宽度和移除注释代码
piks 3 săptămâni în urmă
părinte
comite
2257088657
2 a modificat fișierele cu 5 adăugiri și 2 ștergeri
  1. 1 2
      app/components/about/DCard.vue
  2. 4 0
      app/pages/web/about.vue

+ 1 - 2
app/components/about/DCard.vue

@@ -138,13 +138,12 @@ const dcards = [
       margin-top: 12px;
       display: inline-flex;
       height: 34px;
-      width: 146px;
+      width: 164px;
       justify-content: center;
       align-items: center;
       font-size: 16px;
       font-weight: 400;
       border-radius: 20px;
-      // border: 1px solid rgba(13, 0, 34, 0.00);
       background: linear-gradient(180deg, rgba(32, 0, 84, 0.00) 0%, #4905B7 100%);
       box-shadow: 0 4px 4px 0 rgba(98, 0, 255, 0.30) inset;
     }

+ 4 - 0
app/pages/web/about.vue

@@ -41,6 +41,10 @@ import Flowchart from '~/components/about/Flowchart.vue';
 import MatrixCard from '~/components/about/MatrixCard.vue';
 import DCard from '~/components/about/DCard.vue';
 
+useHead({
+  title: 'DDAC - 了解我们',
+})
+
 </script>
 <style lang="scss" scoped>
 .about {