hookehuyr

style(ui): 调整确认弹窗内容和按钮样式

修改确认弹窗中内容和按钮的显示顺序
为"助力码"按钮添加背景色、圆角和内边距样式
<!--
* @Date: 2025-01-09 00:00:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-09-19 17:26:08
* @LastEditTime: 2025-09-19 17:58:30
* @FilePath: /lls_program/src/components/RankingCard.vue
* @Description: 排行榜卡片组件
-->
......@@ -43,7 +43,7 @@
<!-- 排行榜日期 -->
<view class="rank-date relative">
{{ currentDate }}
<view v-if="activeTab === 'support'" class="absolute font-bold text-white top-0" style="right: 30rpx;" @tap="joinOrganization">助力码</view>
<view v-if="activeTab === 'support'" class="absolute font-bold text-white bg-orange-500 top-0 rounded-full px-4 py-1" style="right: 30rpx; font-size: 23rpx;" @tap="joinOrganization">助力码</view>
</view>
<!-- 助力榜空状态提示 -->
......
......@@ -41,7 +41,7 @@
<!-- 排行榜日期 -->
<view v-if="!loading" class="rank-date relative">
{{ currentDate }}
<view v-if="activeTab === 'support'" class="absolute font-bold text-white top-0" style="right: 70rpx;" @tap="joinOrganization">助力码</view>
<view v-if="activeTab === 'support'" class="absolute font-bold text-white bg-orange-500 top-0 rounded-full px-4 py-1" style="right: 70rpx; font-size: 23rpx;" @tap="joinOrganization">助力码</view>
</view>
<!-- 助力榜空状态提示 -->
......
......@@ -198,7 +198,7 @@ const checkAndMatchKindergarten = async () => {
const showChangeConfirmation = (newKindergarten) => {
Taro.showModal({
title: '更换单位/学校',
content: `您要更换新的单位/学校,参与助力榜吗?\n\n新单位:${newKindergarten.name}`,
content: `新单位:${newKindergarten.name}\n\n您要更换新的单位/学校,参与助力榜吗?`,
confirmText: '确认更换',
cancelText: '取消',
success: (res) => {
......