快乐的梦鱼 2 settimane fa
parent
commit
d447f2df85
3 ha cambiato i file con 38 aggiunte e 8 eliminazioni
  1. 28 0
      package-lock.json
  2. 1 0
      package.json
  3. 9 8
      src/pages/index.vue

+ 28 - 0
package-lock.json

@@ -27,6 +27,7 @@
         "mysql2": "^3.16.0",
         "nuxt": "^4.2.2",
         "pinia": "^3.0.1",
+        "tailwindcss-primeui": "^0.6.1",
         "tslib": "^2.8.1",
         "vue": "^3.5.13",
         "vue-router": "^4.5.0",
@@ -1937,6 +1938,17 @@
         }
       }
     },
+    "node_modules/@nuxt/cli/node_modules/commander": {
+      "version": "13.1.0",
+      "resolved": "https://registry.npmmirror.com/commander/-/commander-13.1.0.tgz",
+      "integrity": "sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==",
+      "license": "MIT",
+      "optional": true,
+      "peer": true,
+      "engines": {
+        "node": ">=18"
+      }
+    },
     "node_modules/@nuxt/cli/node_modules/perfect-debounce": {
       "version": "2.0.0",
       "resolved": "https://registry.npmmirror.com/perfect-debounce/-/perfect-debounce-2.0.0.tgz",
@@ -12300,6 +12312,22 @@
         "url": "https://github.com/sponsors/sindresorhus"
       }
     },
+    "node_modules/tailwindcss": {
+      "version": "4.2.1",
+      "resolved": "https://registry.npmmirror.com/tailwindcss/-/tailwindcss-4.2.1.tgz",
+      "integrity": "sha512-/tBrSQ36vCleJkAOsy9kbNTgaxvGbyOamC30PRePTQe/o1MFwEKHQk4Cn7BNGaPtjp+PuUrByJehM1hgxfq4sw==",
+      "license": "MIT",
+      "peer": true
+    },
+    "node_modules/tailwindcss-primeui": {
+      "version": "0.6.1",
+      "resolved": "https://registry.npmmirror.com/tailwindcss-primeui/-/tailwindcss-primeui-0.6.1.tgz",
+      "integrity": "sha512-T69Rylcrmnt8zy9ik+qZvsLuRIrS9/k6rYJSIgZ1trnbEzGDDQSCIdmfyZknevqiHwpSJHSmQ9XT2C+S/hJY4A==",
+      "license": "MIT",
+      "peerDependencies": {
+        "tailwindcss": ">=3.1.0"
+      }
+    },
     "node_modules/tar": {
       "version": "7.5.2",
       "resolved": "https://registry.npmmirror.com/tar/-/tar-7.5.2.tgz",

+ 1 - 0
package.json

@@ -33,6 +33,7 @@
     "mysql2": "^3.16.0",
     "nuxt": "^4.2.2",
     "pinia": "^3.0.1",
+    "tailwindcss-primeui": "^0.6.1",
     "tslib": "^2.8.1",
     "vue": "^3.5.13",
     "vue-router": "^4.5.0",

+ 9 - 8
src/pages/index.vue

@@ -182,7 +182,7 @@
             </div> -->
 
             <!-- 通知公告 -->
-            <div class="main-box flex-fill">
+            <!-- <div class="main-box flex-fill">
               <div class="section-title">
                 <h2>
                   <Icon name="famicons:logo-designernews" />
@@ -201,13 +201,8 @@
                   </div>
                 </SimplePageContentLoader>
               </div>
-            </div>
-          </div>
-        </div>
-
-        <!-- 精彩推荐 -->
-        <div class="row mt-lg-3 mt-md-2 mt-sm-2">
-          <div class="col col-12">
+            </div> -->
+        
             <!-- 精彩推荐 -->
             <div class="main-box mt-lg-3 mt-md-2 mt-sm-2">
               <div class="section-title">
@@ -228,6 +223,12 @@
           </div>
         </div>
 
+        <!-- 精彩推荐 -->
+        <!-- <div class="row mt-lg-3 mt-md-2 mt-sm-2">
+          <div class="col col-12">
+          </div>
+        </div> -->
+
         <hr class="main-hr" />
 
         <!-- 公共服务 -->