hookehuyr

style(WeRunAuth): 移除多余的内边距并简化授权提示文本

......@@ -3,7 +3,7 @@
<!-- 未授权状态 -->
<view v-if="isAuthorized === false" class="auth-prompt">
<view class="px-5 py-6 bg-white rounded-xl shadow-md mx-4 mt-4">
<view class="flex flex-col items-center justify-center py-8">
<view class="flex flex-col items-center justify-center">
<!-- <view class="mb-4">
<image
src="https://placehold.co/100x100/e2f3ff/0369a1?text=步数&font=roboto"
......@@ -12,7 +12,7 @@
</view> -->
<text class="text-lg font-medium mb-2">获取微信运动数据</text>
<text class="text-gray-500 text-center mb-4 px-4">
授权后可查看您的步数信息,与家人一起记录健康生活
授权后可查看您的步数信息
</text>
<view class="bg-blue-50 border border-blue-200 rounded-lg p-4 mb-4 mx-4">
<text class="text-blue-800 text-sm font-medium block mb-2">数据用途说明:</text>
......@@ -35,7 +35,7 @@
<view v-else-if="isAuthorized === true">
<slot :isLoading="isLoading" />
</view>
<!-- 初始状态或检查中 - 不显示任何内容,避免闪烁 -->
<view v-else>
<slot :isLoading="true" />
......