Browse Source

chore: css

Burt 2 years ago
parent
commit
9d5552e1fe
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/pages/index/index.vue

+ 2 - 2
src/pages/index/index.vue

@@ -4,9 +4,9 @@
     <view class="text-area">
       <text class="title">{{ title }}</text>
     </view>
-    <view class="flex text-red-500">
+    <view class="flex justify-center items-center text-blue-500">
       Demo Count: {{ countStore.count }}
-      <button @click="countStore.increment">新增</button>
+      <button class="ml-2" @click="countStore.increment">新增</button>
     </view>
   </view>
 </template>