chore: style

This commit is contained in:
菲鸽 2024-01-29 20:19:15 +08:00
parent a4434b0270
commit 5b7541a03a

View File

@ -11,7 +11,7 @@
<view class="text-green-500">多语言测试</view> <view class="text-green-500">多语言测试</view>
<view class="m-4">{{ $t('app.name') }}</view> <view class="m-4">{{ $t('app.name') }}</view>
<view class="text-green-500">切换语言 </view> <view class="text-green-500 mt-12">切换语言 </view>
<view class="uni-list"> <view class="uni-list">
<radio-group @change="radioChange" class="radio-group"> <radio-group @change="radioChange" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="item in languages" :key="item.value"> <label class="uni-list-cell uni-list-cell-pd" v-for="item in languages" :key="item.value">
@ -24,7 +24,7 @@
</view> </view>
<!-- http://localhost:9000/#/pages/index/i18n --> <!-- http://localhost:9000/#/pages/index/i18n -->
<button @click="testI18n">测试弹窗</button> <button @click="testI18n" class="mt-20 mb-44">测试弹窗</button>
</view> </view>
</template> </template>
@ -66,7 +66,7 @@ const radioChange = (evt) => {
.radio-group { .radio-group {
width: 200px; width: 200px;
margin: auto; margin: 10px auto;
border-radius: 12px; border-radius: 12px;
} }